@harnessio/react-integration-manager-client 0.3.9 → 0.3.10
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/useCreateAirbyteIntegrationConfigOrgMutation.d.ts +21 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.d.ts +22 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts +21 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts +22 -0
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.d.ts +19 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.js +19 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.d.ts +20 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.js +20 -0
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigOrgQuery.d.ts +19 -0
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigOrgQuery.js +19 -0
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.d.ts +20 -0
- package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.js +20 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.d.ts +17 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.js +14 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts +18 -0
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.js +19 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.d.ts +19 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.d.ts +20 -0
- package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.d.ts +22 -0
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.d.ts +23 -0
- package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts +22 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.d.ts +26 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.d.ts +27 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.js +14 -0
- package/dist/integration-manager/src/services/index.d.ts +43 -0
- package/dist/integration-manager/src/services/index.js +17 -0
- package/dist/integration-manager/src/services/schemas/EnumIntegrationMode.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +20 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +20 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +10 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +10 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +14 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +14 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultEntityRelation.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultEntityRelation.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultEntitySchema.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultRelationEnd.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultRelationEnd.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesEntityMapping.d.ts +0 -1
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiCreateAirbyteIntegrationConfigOrgRequest } from '../schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateAirbyteIntegrationConfigOrgMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type CreateAirbyteIntegrationConfigOrgRequestBody = OpenapiCreateAirbyteIntegrationConfigOrgRequest;
|
|
12
|
+
export type CreateAirbyteIntegrationConfigOrgOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
13
|
+
export type CreateAirbyteIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
|
|
14
|
+
export interface CreateAirbyteIntegrationConfigOrgProps extends CreateAirbyteIntegrationConfigOrgMutationPathParams, Omit<FetcherOptions<unknown, CreateAirbyteIntegrationConfigOrgRequestBody>, 'url'> {
|
|
15
|
+
body: CreateAirbyteIntegrationConfigOrgRequestBody;
|
|
16
|
+
}
|
|
17
|
+
export declare function createAirbyteIntegrationConfigOrg(props: CreateAirbyteIntegrationConfigOrgProps): Promise<CreateAirbyteIntegrationConfigOrgOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Create Airbyte integration configuration at organization level
|
|
20
|
+
*/
|
|
21
|
+
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
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function createAirbyteIntegrationConfigOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/airbyte`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create Airbyte integration configuration at organization level
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateAirbyteIntegrationConfigOrgMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createAirbyteIntegrationConfigOrg(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiCreateAirbyteIntegrationConfigProjectRequest } from '../schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateAirbyteIntegrationConfigProjectMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type CreateAirbyteIntegrationConfigProjectRequestBody = OpenapiCreateAirbyteIntegrationConfigProjectRequest;
|
|
13
|
+
export type CreateAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
14
|
+
export type CreateAirbyteIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
|
|
15
|
+
export interface CreateAirbyteIntegrationConfigProjectProps extends CreateAirbyteIntegrationConfigProjectMutationPathParams, Omit<FetcherOptions<unknown, CreateAirbyteIntegrationConfigProjectRequestBody>, 'url'> {
|
|
16
|
+
body: CreateAirbyteIntegrationConfigProjectRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function createAirbyteIntegrationConfigProject(props: CreateAirbyteIntegrationConfigProjectProps): Promise<CreateAirbyteIntegrationConfigProjectOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Create Airbyte integration configuration at project level
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateAirbyteIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<CreateAirbyteIntegrationConfigProjectOkResponse, CreateAirbyteIntegrationConfigProjectErrorResponse, CreateAirbyteIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateAirbyteIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, CreateAirbyteIntegrationConfigProjectProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function createAirbyteIntegrationConfigProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/airbyte`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create Airbyte integration configuration at project level
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateAirbyteIntegrationConfigProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createAirbyteIntegrationConfigProject(mutateProps), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiCreateIntegrationConfigOrgRequest } from '../schemas/OpenapiCreateIntegrationConfigOrgRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateIntegrationConfigOrgMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type CreateIntegrationConfigOrgRequestBody = OpenapiCreateIntegrationConfigOrgRequest;
|
|
12
|
+
export type CreateIntegrationConfigOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
|
|
13
|
+
export type CreateIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
|
|
14
|
+
export interface CreateIntegrationConfigOrgProps extends CreateIntegrationConfigOrgMutationPathParams, Omit<FetcherOptions<unknown, CreateIntegrationConfigOrgRequestBody>, 'url'> {
|
|
15
|
+
body: CreateIntegrationConfigOrgRequestBody;
|
|
16
|
+
}
|
|
17
|
+
export declare function createIntegrationConfigOrg(props: CreateIntegrationConfigOrgProps): Promise<CreateIntegrationConfigOrgOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Create integration configuration at organization level
|
|
20
|
+
*/
|
|
21
|
+
export declare function useCreateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigOrgOkResponse, CreateIntegrationConfigOrgErrorResponse, CreateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigOrgProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function createIntegrationConfigOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create integration configuration at organization level
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateIntegrationConfigOrgMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createIntegrationConfigOrg(mutateProps), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiCreateIntegrationConfigProjectRequest } from '../schemas/OpenapiCreateIntegrationConfigProjectRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateIntegrationConfigProjectMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type CreateIntegrationConfigProjectRequestBody = OpenapiCreateIntegrationConfigProjectRequest;
|
|
13
|
+
export type CreateIntegrationConfigProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
|
|
14
|
+
export type CreateIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
|
|
15
|
+
export interface CreateIntegrationConfigProjectProps extends CreateIntegrationConfigProjectMutationPathParams, Omit<FetcherOptions<unknown, CreateIntegrationConfigProjectRequestBody>, 'url'> {
|
|
16
|
+
body: CreateIntegrationConfigProjectRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function createIntegrationConfigProject(props: CreateIntegrationConfigProjectProps): Promise<CreateIntegrationConfigProjectOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Create integration configuration at project level
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigProjectOkResponse, CreateIntegrationConfigProjectErrorResponse, CreateIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function createIntegrationConfigProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create integration configuration at project level
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateIntegrationConfigProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createIntegrationConfigProject(mutateProps), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetAirbyteIntegrationConfigOrgQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
integrationconfig_identifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type GetAirbyteIntegrationConfigOrgOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
12
|
+
export type GetAirbyteIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
|
|
13
|
+
export interface GetAirbyteIntegrationConfigOrgProps extends GetAirbyteIntegrationConfigOrgQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function getAirbyteIntegrationConfigOrg(props: GetAirbyteIntegrationConfigOrgProps): Promise<GetAirbyteIntegrationConfigOrgOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get Airbyte integration configuration at organization level
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGetAirbyteIntegrationConfigOrgQuery(props: GetAirbyteIntegrationConfigOrgProps, options?: Omit<UseQueryOptions<GetAirbyteIntegrationConfigOrgOkResponse, GetAirbyteIntegrationConfigOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAirbyteIntegrationConfigOrgOkResponse, ApierrorsErrorResponse>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getAirbyteIntegrationConfigOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Airbyte integration configuration at organization level
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAirbyteIntegrationConfigOrgQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'getAirbyteIntegrationConfigOrg',
|
|
15
|
+
props.accountIdentifier,
|
|
16
|
+
props.orgIdentifier,
|
|
17
|
+
props.integrationconfig_identifier,
|
|
18
|
+
], ({ signal }) => getAirbyteIntegrationConfigOrg(Object.assign(Object.assign({}, props), { signal })), options);
|
|
19
|
+
}
|
package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetAirbyteIntegrationConfigProjectQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
integrationconfig_identifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type GetAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
13
|
+
export type GetAirbyteIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
|
|
14
|
+
export interface GetAirbyteIntegrationConfigProjectProps extends GetAirbyteIntegrationConfigProjectQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
|
+
}
|
|
16
|
+
export declare function getAirbyteIntegrationConfigProject(props: GetAirbyteIntegrationConfigProjectProps): Promise<GetAirbyteIntegrationConfigProjectOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get Airbyte integration configuration at project level
|
|
19
|
+
*/
|
|
20
|
+
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
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getAirbyteIntegrationConfigProject(props) {
|
|
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
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Airbyte integration configuration at project level
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAirbyteIntegrationConfigProjectQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'getAirbyteIntegrationConfigProject',
|
|
15
|
+
props.accountIdentifier,
|
|
16
|
+
props.orgIdentifier,
|
|
17
|
+
props.projectIdentifier,
|
|
18
|
+
props.integrationconfig_identifier,
|
|
19
|
+
], ({ signal }) => getAirbyteIntegrationConfigProject(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetIntegrationConfigOrgQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
integrationconfig_identifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type GetIntegrationConfigOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
|
|
12
|
+
export type GetIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
|
|
13
|
+
export interface GetIntegrationConfigOrgProps extends GetIntegrationConfigOrgQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function getIntegrationConfigOrg(props: GetIntegrationConfigOrgProps): Promise<GetIntegrationConfigOrgOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get integration configuration at organization level
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGetIntegrationConfigOrgQuery(props: GetIntegrationConfigOrgProps, options?: Omit<UseQueryOptions<GetIntegrationConfigOrgOkResponse, GetIntegrationConfigOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetIntegrationConfigOrgOkResponse, ApierrorsErrorResponse>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getIntegrationConfigOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get integration configuration at organization level
|
|
11
|
+
*/
|
|
12
|
+
export function useGetIntegrationConfigOrgQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'getIntegrationConfigOrg',
|
|
15
|
+
props.accountIdentifier,
|
|
16
|
+
props.orgIdentifier,
|
|
17
|
+
props.integrationconfig_identifier,
|
|
18
|
+
], ({ signal }) => getIntegrationConfigOrg(Object.assign(Object.assign({}, props), { signal })), options);
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetIntegrationConfigProjectQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
integrationconfig_identifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type GetIntegrationConfigProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
|
|
13
|
+
export type GetIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
|
|
14
|
+
export interface GetIntegrationConfigProjectProps extends GetIntegrationConfigProjectQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
|
+
}
|
|
16
|
+
export declare function getIntegrationConfigProject(props: GetIntegrationConfigProjectProps): Promise<GetIntegrationConfigProjectOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get integration configuration at project level
|
|
19
|
+
*/
|
|
20
|
+
export declare function useGetIntegrationConfigProjectQuery(props: GetIntegrationConfigProjectProps, options?: Omit<UseQueryOptions<GetIntegrationConfigProjectOkResponse, GetIntegrationConfigProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetIntegrationConfigProjectOkResponse, ApierrorsErrorResponse>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getIntegrationConfigProject(props) {
|
|
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
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get integration configuration at project level
|
|
11
|
+
*/
|
|
12
|
+
export function useGetIntegrationConfigProjectQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'getIntegrationConfigProject',
|
|
15
|
+
props.accountIdentifier,
|
|
16
|
+
props.orgIdentifier,
|
|
17
|
+
props.projectIdentifier,
|
|
18
|
+
props.integrationconfig_identifier,
|
|
19
|
+
], ({ signal }) => getIntegrationConfigProject(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ListIntegrationConfigsOrgQueryPathParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
orgIdentifier: string;
|
|
8
|
+
}
|
|
9
|
+
export type ListIntegrationConfigsOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
10
|
+
export type ListIntegrationConfigsOrgErrorResponse = unknown;
|
|
11
|
+
export interface ListIntegrationConfigsOrgProps extends ListIntegrationConfigsOrgQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
12
|
+
}
|
|
13
|
+
export declare function listIntegrationConfigsOrg(props: ListIntegrationConfigsOrgProps): Promise<ListIntegrationConfigsOrgOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* List integration configurations at organization level
|
|
16
|
+
*/
|
|
17
|
+
export declare function useListIntegrationConfigsOrgQuery(props: ListIntegrationConfigsOrgProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsOrgOkResponse, ListIntegrationConfigsOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsOrgOkResponse, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function listIntegrationConfigsOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List integration configurations at organization level
|
|
11
|
+
*/
|
|
12
|
+
export function useListIntegrationConfigsOrgQuery(props, options) {
|
|
13
|
+
return useQuery(['listIntegrationConfigsOrg', props.accountIdentifier, props.orgIdentifier], ({ signal }) => listIntegrationConfigsOrg(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ListIntegrationConfigsProjectQueryPathParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
orgIdentifier: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type ListIntegrationConfigsProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
11
|
+
export type ListIntegrationConfigsProjectErrorResponse = unknown;
|
|
12
|
+
export interface ListIntegrationConfigsProjectProps extends ListIntegrationConfigsProjectQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function listIntegrationConfigsProject(props: ListIntegrationConfigsProjectProps): Promise<ListIntegrationConfigsProjectOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* List integration configurations at project level
|
|
17
|
+
*/
|
|
18
|
+
export declare function useListIntegrationConfigsProjectQuery(props: ListIntegrationConfigsProjectProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsProjectOkResponse, ListIntegrationConfigsProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsProjectOkResponse, unknown>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function listIntegrationConfigsProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List integration configurations at project level
|
|
11
|
+
*/
|
|
12
|
+
export function useListIntegrationConfigsProjectQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'listIntegrationConfigsProject',
|
|
15
|
+
props.accountIdentifier,
|
|
16
|
+
props.orgIdentifier,
|
|
17
|
+
props.projectIdentifier,
|
|
18
|
+
], ({ signal }) => listIntegrationConfigsProject(Object.assign(Object.assign({}, props), { signal })), options);
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationconfigTriggerSyncResponse } from '../schemas/IntegrationconfigTriggerSyncResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface TriggerSyncOrgMutationPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
integrationconfig_identifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type TriggerSyncOrgOkResponse = ResponseWithPagination<IntegrationconfigTriggerSyncResponse>;
|
|
12
|
+
export type TriggerSyncOrgErrorResponse = ApierrorsErrorResponse;
|
|
13
|
+
export interface TriggerSyncOrgProps extends TriggerSyncOrgMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function triggerSyncOrg(props: TriggerSyncOrgProps): Promise<TriggerSyncOrgOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Trigger full sync for integration at organization level
|
|
18
|
+
*/
|
|
19
|
+
export declare function useTriggerSyncOrgMutation(options?: Omit<UseMutationOptions<TriggerSyncOrgOkResponse, TriggerSyncOrgErrorResponse, TriggerSyncOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerSyncOrgOkResponse, ApierrorsErrorResponse, TriggerSyncOrgProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function triggerSyncOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}/sync`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Trigger full sync for integration at organization level
|
|
11
|
+
*/
|
|
12
|
+
export function useTriggerSyncOrgMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => triggerSyncOrg(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationconfigTriggerSyncResponse } from '../schemas/IntegrationconfigTriggerSyncResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface TriggerSyncProjectMutationPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
integrationconfig_identifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type TriggerSyncProjectOkResponse = ResponseWithPagination<IntegrationconfigTriggerSyncResponse>;
|
|
13
|
+
export type TriggerSyncProjectErrorResponse = ApierrorsErrorResponse;
|
|
14
|
+
export interface TriggerSyncProjectProps extends TriggerSyncProjectMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
|
+
}
|
|
16
|
+
export declare function triggerSyncProject(props: TriggerSyncProjectProps): Promise<TriggerSyncProjectOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Trigger full sync for integration at project level
|
|
19
|
+
*/
|
|
20
|
+
export declare function useTriggerSyncProjectMutation(options?: Omit<UseMutationOptions<TriggerSyncProjectOkResponse, TriggerSyncProjectErrorResponse, TriggerSyncProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerSyncProjectOkResponse, ApierrorsErrorResponse, TriggerSyncProjectProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function triggerSyncProject(props) {
|
|
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
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Trigger full sync for integration at project level
|
|
11
|
+
*/
|
|
12
|
+
export function useTriggerSyncProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => triggerSyncProject(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiUpdateAirbyteIntegrationConfigOrgRequest } from '../schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateAirbyteIntegrationConfigOrgMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
integrationconfig_identifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type UpdateAirbyteIntegrationConfigOrgRequestBody = OpenapiUpdateAirbyteIntegrationConfigOrgRequest;
|
|
13
|
+
export type UpdateAirbyteIntegrationConfigOrgOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
14
|
+
export type UpdateAirbyteIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
|
|
15
|
+
export interface UpdateAirbyteIntegrationConfigOrgProps extends UpdateAirbyteIntegrationConfigOrgMutationPathParams, Omit<FetcherOptions<unknown, UpdateAirbyteIntegrationConfigOrgRequestBody>, 'url'> {
|
|
16
|
+
body: UpdateAirbyteIntegrationConfigOrgRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function updateAirbyteIntegrationConfigOrg(props: UpdateAirbyteIntegrationConfigOrgProps): Promise<UpdateAirbyteIntegrationConfigOrgOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Update Airbyte integration configuration at organization level
|
|
21
|
+
*/
|
|
22
|
+
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
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function updateAirbyteIntegrationConfigOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update Airbyte integration configuration at organization level
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateAirbyteIntegrationConfigOrgMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateAirbyteIntegrationConfigOrg(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiUpdateAirbyteIntegrationConfigProjectRequest } from '../schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateAirbyteIntegrationConfigProjectMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
integrationconfig_identifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type UpdateAirbyteIntegrationConfigProjectRequestBody = OpenapiUpdateAirbyteIntegrationConfigProjectRequest;
|
|
14
|
+
export type UpdateAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
|
|
15
|
+
export type UpdateAirbyteIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
|
|
16
|
+
export interface UpdateAirbyteIntegrationConfigProjectProps extends UpdateAirbyteIntegrationConfigProjectMutationPathParams, Omit<FetcherOptions<unknown, UpdateAirbyteIntegrationConfigProjectRequestBody>, 'url'> {
|
|
17
|
+
body: UpdateAirbyteIntegrationConfigProjectRequestBody;
|
|
18
|
+
}
|
|
19
|
+
export declare function updateAirbyteIntegrationConfigProject(props: UpdateAirbyteIntegrationConfigProjectProps): Promise<UpdateAirbyteIntegrationConfigProjectOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Update Airbyte integration configuration at project level
|
|
22
|
+
*/
|
|
23
|
+
export declare function useUpdateAirbyteIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<UpdateAirbyteIntegrationConfigProjectOkResponse, UpdateAirbyteIntegrationConfigProjectErrorResponse, UpdateAirbyteIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateAirbyteIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, UpdateAirbyteIntegrationConfigProjectProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function updateAirbyteIntegrationConfigProject(props) {
|
|
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
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update Airbyte integration configuration at project level
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateAirbyteIntegrationConfigProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateAirbyteIntegrationConfigProject(mutateProps), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiUpdateIntegrationConfigOrgRequest } from '../schemas/OpenapiUpdateIntegrationConfigOrgRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateIntegrationConfigOrgMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
integrationconfig_identifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type UpdateIntegrationConfigOrgRequestBody = OpenapiUpdateIntegrationConfigOrgRequest;
|
|
13
|
+
export type UpdateIntegrationConfigOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
|
|
14
|
+
export type UpdateIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
|
|
15
|
+
export interface UpdateIntegrationConfigOrgProps extends UpdateIntegrationConfigOrgMutationPathParams, Omit<FetcherOptions<unknown, UpdateIntegrationConfigOrgRequestBody>, 'url'> {
|
|
16
|
+
body: UpdateIntegrationConfigOrgRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function updateIntegrationConfigOrg(props: UpdateIntegrationConfigOrgProps): Promise<UpdateIntegrationConfigOrgOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Update integration configuration at organization level
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOrgOkResponse, UpdateIntegrationConfigOrgErrorResponse, UpdateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigOrgProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function updateIntegrationConfigOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update integration configuration at organization level
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateIntegrationConfigOrgMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateIntegrationConfigOrg(mutateProps), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface UpdateIntegrationStatusOrgMutationPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
integrationconfig_identifier: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateIntegrationStatusOrgMutationQueryParams {
|
|
12
|
+
/**
|
|
13
|
+
* Action to perform: 'enable' or 'disable'
|
|
14
|
+
*/
|
|
15
|
+
action: string;
|
|
16
|
+
}
|
|
17
|
+
export type UpdateIntegrationStatusOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
|
|
18
|
+
export type UpdateIntegrationStatusOrgErrorResponse = ApierrorsErrorResponse;
|
|
19
|
+
export interface UpdateIntegrationStatusOrgProps extends UpdateIntegrationStatusOrgMutationPathParams, Omit<FetcherOptions<UpdateIntegrationStatusOrgMutationQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: UpdateIntegrationStatusOrgMutationQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function updateIntegrationStatusOrg(props: UpdateIntegrationStatusOrgProps): Promise<UpdateIntegrationStatusOrgOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Update integration status at organization level
|
|
25
|
+
*/
|
|
26
|
+
export declare function useUpdateIntegrationStatusOrgMutation(options?: Omit<UseMutationOptions<UpdateIntegrationStatusOrgOkResponse, UpdateIntegrationStatusOrgErrorResponse, UpdateIntegrationStatusOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationStatusOrgOkResponse, ApierrorsErrorResponse, UpdateIntegrationStatusOrgProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function updateIntegrationStatusOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}/status`, method: 'PATCH' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update integration status at organization level
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateIntegrationStatusOrgMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateIntegrationStatusOrg(mutateProps), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface UpdateIntegrationStatusProjectMutationPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
integrationconfig_identifier: string;
|
|
11
|
+
}
|
|
12
|
+
export interface UpdateIntegrationStatusProjectMutationQueryParams {
|
|
13
|
+
/**
|
|
14
|
+
* Action to perform: 'enable' or 'disable'
|
|
15
|
+
*/
|
|
16
|
+
action: string;
|
|
17
|
+
}
|
|
18
|
+
export type UpdateIntegrationStatusProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
|
|
19
|
+
export type UpdateIntegrationStatusProjectErrorResponse = ApierrorsErrorResponse;
|
|
20
|
+
export interface UpdateIntegrationStatusProjectProps extends UpdateIntegrationStatusProjectMutationPathParams, Omit<FetcherOptions<UpdateIntegrationStatusProjectMutationQueryParams, unknown>, 'url'> {
|
|
21
|
+
queryParams: UpdateIntegrationStatusProjectMutationQueryParams;
|
|
22
|
+
}
|
|
23
|
+
export declare function updateIntegrationStatusProject(props: UpdateIntegrationStatusProjectProps): Promise<UpdateIntegrationStatusProjectOkResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Update integration status at project level
|
|
26
|
+
*/
|
|
27
|
+
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
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function updateIntegrationStatusProject(props) {
|
|
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
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update integration status at project level
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateIntegrationStatusProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateIntegrationStatusProject(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -3,8 +3,16 @@ export type { CreateAgentErrorResponse, CreateAgentMutationPathParams, CreateAge
|
|
|
3
3
|
export { createAgent, useCreateAgentMutation } from './hooks/useCreateAgentMutation';
|
|
4
4
|
export type { CreateAirbyteIntegrationConfigErrorResponse, CreateAirbyteIntegrationConfigMutationPathParams, CreateAirbyteIntegrationConfigOkResponse, CreateAirbyteIntegrationConfigProps, CreateAirbyteIntegrationConfigRequestBody, } from './hooks/useCreateAirbyteIntegrationConfigMutation';
|
|
5
5
|
export { createAirbyteIntegrationConfig, useCreateAirbyteIntegrationConfigMutation, } from './hooks/useCreateAirbyteIntegrationConfigMutation';
|
|
6
|
+
export type { CreateAirbyteIntegrationConfigOrgErrorResponse, CreateAirbyteIntegrationConfigOrgMutationPathParams, CreateAirbyteIntegrationConfigOrgOkResponse, CreateAirbyteIntegrationConfigOrgProps, CreateAirbyteIntegrationConfigOrgRequestBody, } from './hooks/useCreateAirbyteIntegrationConfigOrgMutation';
|
|
7
|
+
export { createAirbyteIntegrationConfigOrg, useCreateAirbyteIntegrationConfigOrgMutation, } from './hooks/useCreateAirbyteIntegrationConfigOrgMutation';
|
|
8
|
+
export type { CreateAirbyteIntegrationConfigProjectErrorResponse, CreateAirbyteIntegrationConfigProjectMutationPathParams, CreateAirbyteIntegrationConfigProjectOkResponse, CreateAirbyteIntegrationConfigProjectProps, CreateAirbyteIntegrationConfigProjectRequestBody, } from './hooks/useCreateAirbyteIntegrationConfigProjectMutation';
|
|
9
|
+
export { createAirbyteIntegrationConfigProject, useCreateAirbyteIntegrationConfigProjectMutation, } from './hooks/useCreateAirbyteIntegrationConfigProjectMutation';
|
|
6
10
|
export type { CreateIntegrationConfigErrorResponse, CreateIntegrationConfigMutationPathParams, CreateIntegrationConfigOkResponse, CreateIntegrationConfigProps, CreateIntegrationConfigRequestBody, } from './hooks/useCreateIntegrationConfigMutation';
|
|
7
11
|
export { createIntegrationConfig, useCreateIntegrationConfigMutation, } from './hooks/useCreateIntegrationConfigMutation';
|
|
12
|
+
export type { CreateIntegrationConfigOrgErrorResponse, CreateIntegrationConfigOrgMutationPathParams, CreateIntegrationConfigOrgOkResponse, CreateIntegrationConfigOrgProps, CreateIntegrationConfigOrgRequestBody, } from './hooks/useCreateIntegrationConfigOrgMutation';
|
|
13
|
+
export { createIntegrationConfigOrg, useCreateIntegrationConfigOrgMutation, } from './hooks/useCreateIntegrationConfigOrgMutation';
|
|
14
|
+
export type { CreateIntegrationConfigProjectErrorResponse, CreateIntegrationConfigProjectMutationPathParams, CreateIntegrationConfigProjectOkResponse, CreateIntegrationConfigProjectProps, CreateIntegrationConfigProjectRequestBody, } from './hooks/useCreateIntegrationConfigProjectMutation';
|
|
15
|
+
export { createIntegrationConfigProject, useCreateIntegrationConfigProjectMutation, } from './hooks/useCreateIntegrationConfigProjectMutation';
|
|
8
16
|
export type { DeleteAgentErrorResponse, DeleteAgentMutationPathParams, DeleteAgentOkResponse, DeleteAgentProps, } from './hooks/useDeleteAgentMutation';
|
|
9
17
|
export { deleteAgent, useDeleteAgentMutation } from './hooks/useDeleteAgentMutation';
|
|
10
18
|
export type { DownloadAgentYamlErrorResponse, DownloadAgentYamlOkResponse, DownloadAgentYamlProps, DownloadAgentYamlQueryPathParams, } from './hooks/useDownloadAgentYamlQuery';
|
|
@@ -15,8 +23,16 @@ export type { GetAgentErrorResponse, GetAgentOkResponse, GetAgentProps, GetAgent
|
|
|
15
23
|
export { getAgent, useGetAgentQuery } from './hooks/useGetAgentQuery';
|
|
16
24
|
export type { GetAirbyteConnectorCatalogErrorResponse, GetAirbyteConnectorCatalogOkResponse, GetAirbyteConnectorCatalogProps, GetAirbyteConnectorCatalogQueryPathParams, GetAirbyteConnectorCatalogQueryQueryParams, } from './hooks/useGetAirbyteConnectorCatalogQuery';
|
|
17
25
|
export { getAirbyteConnectorCatalog, useGetAirbyteConnectorCatalogQuery, } from './hooks/useGetAirbyteConnectorCatalogQuery';
|
|
26
|
+
export type { GetAirbyteIntegrationConfigOrgErrorResponse, GetAirbyteIntegrationConfigOrgOkResponse, GetAirbyteIntegrationConfigOrgProps, GetAirbyteIntegrationConfigOrgQueryPathParams, } from './hooks/useGetAirbyteIntegrationConfigOrgQuery';
|
|
27
|
+
export { getAirbyteIntegrationConfigOrg, useGetAirbyteIntegrationConfigOrgQuery, } from './hooks/useGetAirbyteIntegrationConfigOrgQuery';
|
|
28
|
+
export type { GetAirbyteIntegrationConfigProjectErrorResponse, GetAirbyteIntegrationConfigProjectOkResponse, GetAirbyteIntegrationConfigProjectProps, GetAirbyteIntegrationConfigProjectQueryPathParams, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
|
|
29
|
+
export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
|
|
18
30
|
export type { GetAirbyteIntegrationConfigErrorResponse, GetAirbyteIntegrationConfigOkResponse, GetAirbyteIntegrationConfigProps, GetAirbyteIntegrationConfigQueryPathParams, } from './hooks/useGetAirbyteIntegrationConfigQuery';
|
|
19
31
|
export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
|
|
32
|
+
export type { GetIntegrationConfigOrgErrorResponse, GetIntegrationConfigOrgOkResponse, GetIntegrationConfigOrgProps, GetIntegrationConfigOrgQueryPathParams, } from './hooks/useGetIntegrationConfigOrgQuery';
|
|
33
|
+
export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
|
|
34
|
+
export type { GetIntegrationConfigProjectErrorResponse, GetIntegrationConfigProjectOkResponse, GetIntegrationConfigProjectProps, GetIntegrationConfigProjectQueryPathParams, } from './hooks/useGetIntegrationConfigProjectQuery';
|
|
35
|
+
export { getIntegrationConfigProject, useGetIntegrationConfigProjectQuery, } from './hooks/useGetIntegrationConfigProjectQuery';
|
|
20
36
|
export type { GetIntegrationConfigErrorResponse, GetIntegrationConfigOkResponse, GetIntegrationConfigProps, GetIntegrationConfigQueryPathParams, } from './hooks/useGetIntegrationConfigQuery';
|
|
21
37
|
export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/useGetIntegrationConfigQuery';
|
|
22
38
|
export type { ListAgentsErrorResponse, ListAgentsOkResponse, ListAgentsProps, ListAgentsQueryPathParams, } from './hooks/useListAgentsQuery';
|
|
@@ -25,18 +41,36 @@ export type { ListDefaultMappingFieldsErrorResponse, ListDefaultMappingFieldsOkR
|
|
|
25
41
|
export { listDefaultMappingFields, useListDefaultMappingFieldsQuery, } from './hooks/useListDefaultMappingFieldsQuery';
|
|
26
42
|
export type { ListDefaultSchemasErrorResponse, ListDefaultSchemasOkResponse, ListDefaultSchemasProps, ListDefaultSchemasQueryPathParams, ListDefaultSchemasQueryQueryParams, } from './hooks/useListDefaultSchemasQuery';
|
|
27
43
|
export { listDefaultSchemas, useListDefaultSchemasQuery } from './hooks/useListDefaultSchemasQuery';
|
|
44
|
+
export type { ListIntegrationConfigsOrgErrorResponse, ListIntegrationConfigsOrgOkResponse, ListIntegrationConfigsOrgProps, ListIntegrationConfigsOrgQueryPathParams, } from './hooks/useListIntegrationConfigsOrgQuery';
|
|
45
|
+
export { listIntegrationConfigsOrg, useListIntegrationConfigsOrgQuery, } from './hooks/useListIntegrationConfigsOrgQuery';
|
|
46
|
+
export type { ListIntegrationConfigsProjectErrorResponse, ListIntegrationConfigsProjectOkResponse, ListIntegrationConfigsProjectProps, ListIntegrationConfigsProjectQueryPathParams, } from './hooks/useListIntegrationConfigsProjectQuery';
|
|
47
|
+
export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
|
|
28
48
|
export type { ListIntegrationConfigsErrorResponse, ListIntegrationConfigsOkResponse, ListIntegrationConfigsProps, ListIntegrationConfigsQueryPathParams, } from './hooks/useListIntegrationConfigsQuery';
|
|
29
49
|
export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
|
|
30
50
|
export type { TriggerSyncErrorResponse, TriggerSyncMutationPathParams, TriggerSyncOkResponse, TriggerSyncProps, } from './hooks/useTriggerSyncMutation';
|
|
31
51
|
export { triggerSync, useTriggerSyncMutation } from './hooks/useTriggerSyncMutation';
|
|
52
|
+
export type { TriggerSyncOrgErrorResponse, TriggerSyncOrgMutationPathParams, TriggerSyncOrgOkResponse, TriggerSyncOrgProps, } from './hooks/useTriggerSyncOrgMutation';
|
|
53
|
+
export { triggerSyncOrg, useTriggerSyncOrgMutation } from './hooks/useTriggerSyncOrgMutation';
|
|
54
|
+
export type { TriggerSyncProjectErrorResponse, TriggerSyncProjectMutationPathParams, TriggerSyncProjectOkResponse, TriggerSyncProjectProps, } from './hooks/useTriggerSyncProjectMutation';
|
|
55
|
+
export { triggerSyncProject, useTriggerSyncProjectMutation, } from './hooks/useTriggerSyncProjectMutation';
|
|
32
56
|
export type { UpdateAgentErrorResponse, UpdateAgentMutationPathParams, UpdateAgentOkResponse, UpdateAgentProps, UpdateAgentRequestBody, } from './hooks/useUpdateAgentMutation';
|
|
33
57
|
export { updateAgent, useUpdateAgentMutation } from './hooks/useUpdateAgentMutation';
|
|
34
58
|
export type { UpdateAirbyteIntegrationConfigErrorResponse, UpdateAirbyteIntegrationConfigMutationPathParams, UpdateAirbyteIntegrationConfigOkResponse, UpdateAirbyteIntegrationConfigProps, UpdateAirbyteIntegrationConfigRequestBody, } from './hooks/useUpdateAirbyteIntegrationConfigMutation';
|
|
35
59
|
export { updateAirbyteIntegrationConfig, useUpdateAirbyteIntegrationConfigMutation, } from './hooks/useUpdateAirbyteIntegrationConfigMutation';
|
|
60
|
+
export type { UpdateAirbyteIntegrationConfigOrgErrorResponse, UpdateAirbyteIntegrationConfigOrgMutationPathParams, UpdateAirbyteIntegrationConfigOrgOkResponse, UpdateAirbyteIntegrationConfigOrgProps, UpdateAirbyteIntegrationConfigOrgRequestBody, } from './hooks/useUpdateAirbyteIntegrationConfigOrgMutation';
|
|
61
|
+
export { updateAirbyteIntegrationConfigOrg, useUpdateAirbyteIntegrationConfigOrgMutation, } from './hooks/useUpdateAirbyteIntegrationConfigOrgMutation';
|
|
62
|
+
export type { UpdateAirbyteIntegrationConfigProjectErrorResponse, UpdateAirbyteIntegrationConfigProjectMutationPathParams, UpdateAirbyteIntegrationConfigProjectOkResponse, UpdateAirbyteIntegrationConfigProjectProps, UpdateAirbyteIntegrationConfigProjectRequestBody, } from './hooks/useUpdateAirbyteIntegrationConfigProjectMutation';
|
|
63
|
+
export { updateAirbyteIntegrationConfigProject, useUpdateAirbyteIntegrationConfigProjectMutation, } from './hooks/useUpdateAirbyteIntegrationConfigProjectMutation';
|
|
36
64
|
export type { UpdateIntegrationConfigErrorResponse, UpdateIntegrationConfigMutationPathParams, UpdateIntegrationConfigOkResponse, UpdateIntegrationConfigProps, UpdateIntegrationConfigRequestBody, } from './hooks/useUpdateIntegrationConfigMutation';
|
|
37
65
|
export { updateIntegrationConfig, useUpdateIntegrationConfigMutation, } from './hooks/useUpdateIntegrationConfigMutation';
|
|
66
|
+
export type { UpdateIntegrationConfigOrgErrorResponse, UpdateIntegrationConfigOrgMutationPathParams, UpdateIntegrationConfigOrgOkResponse, UpdateIntegrationConfigOrgProps, UpdateIntegrationConfigOrgRequestBody, } from './hooks/useUpdateIntegrationConfigOrgMutation';
|
|
67
|
+
export { updateIntegrationConfigOrg, useUpdateIntegrationConfigOrgMutation, } from './hooks/useUpdateIntegrationConfigOrgMutation';
|
|
38
68
|
export type { UpdateIntegrationStatusErrorResponse, UpdateIntegrationStatusMutationPathParams, UpdateIntegrationStatusMutationQueryParams, UpdateIntegrationStatusOkResponse, UpdateIntegrationStatusProps, } from './hooks/useUpdateIntegrationStatusMutation';
|
|
39
69
|
export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
|
|
70
|
+
export type { UpdateIntegrationStatusOrgErrorResponse, UpdateIntegrationStatusOrgMutationPathParams, UpdateIntegrationStatusOrgMutationQueryParams, UpdateIntegrationStatusOrgOkResponse, UpdateIntegrationStatusOrgProps, } from './hooks/useUpdateIntegrationStatusOrgMutation';
|
|
71
|
+
export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
|
|
72
|
+
export type { UpdateIntegrationStatusProjectErrorResponse, UpdateIntegrationStatusProjectMutationPathParams, UpdateIntegrationStatusProjectMutationQueryParams, UpdateIntegrationStatusProjectOkResponse, UpdateIntegrationStatusProjectProps, } from './hooks/useUpdateIntegrationStatusProjectMutation';
|
|
73
|
+
export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
|
|
40
74
|
export type { AirbyteFetchAirbyteConnectorCatalogResponse } from './schemas/AirbyteFetchAirbyteConnectorCatalogResponse';
|
|
41
75
|
export type { AirbyteGetAirbyteConnectorCatalogResponse } from './schemas/AirbyteGetAirbyteConnectorCatalogResponse';
|
|
42
76
|
export type { ApierrorsErrorDetail } from './schemas/ApierrorsErrorDetail';
|
|
@@ -49,11 +83,18 @@ export type { IntegrationconfigAirbyteIntegrationResponse } from './schemas/Inte
|
|
|
49
83
|
export type { IntegrationconfigSyncStatus } from './schemas/IntegrationconfigSyncStatus';
|
|
50
84
|
export type { IntegrationconfigTriggerSyncResponse } from './schemas/IntegrationconfigTriggerSyncResponse';
|
|
51
85
|
export type { OpenapiCreateAgentRequest } from './schemas/OpenapiCreateAgentRequest';
|
|
86
|
+
export type { OpenapiCreateAirbyteIntegrationConfigOrgRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest';
|
|
87
|
+
export type { OpenapiCreateAirbyteIntegrationConfigProjectRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest';
|
|
52
88
|
export type { OpenapiCreateAirbyteIntegrationConfigRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigRequest';
|
|
89
|
+
export type { OpenapiCreateIntegrationConfigOrgRequest } from './schemas/OpenapiCreateIntegrationConfigOrgRequest';
|
|
90
|
+
export type { OpenapiCreateIntegrationConfigProjectRequest } from './schemas/OpenapiCreateIntegrationConfigProjectRequest';
|
|
53
91
|
export type { OpenapiCreateIntegrationConfigRequest } from './schemas/OpenapiCreateIntegrationConfigRequest';
|
|
54
92
|
export type { OpenapiGetAirbyteConnectorCatalogRequest } from './schemas/OpenapiGetAirbyteConnectorCatalogRequest';
|
|
55
93
|
export type { OpenapiUpdateAgentRequest } from './schemas/OpenapiUpdateAgentRequest';
|
|
94
|
+
export type { OpenapiUpdateAirbyteIntegrationConfigOrgRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest';
|
|
95
|
+
export type { OpenapiUpdateAirbyteIntegrationConfigProjectRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest';
|
|
56
96
|
export type { OpenapiUpdateAirbyteIntegrationConfigRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigRequest';
|
|
97
|
+
export type { OpenapiUpdateIntegrationConfigOrgRequest } from './schemas/OpenapiUpdateIntegrationConfigOrgRequest';
|
|
57
98
|
export type { OpenapiUpdateIntegrationConfigRequest } from './schemas/OpenapiUpdateIntegrationConfigRequest';
|
|
58
99
|
export type { TypesAgentStatus } from './schemas/TypesAgentStatus';
|
|
59
100
|
export type { TypesAirbyteCatalogConfigured } from './schemas/TypesAirbyteCatalogConfigured';
|
|
@@ -61,9 +102,11 @@ export type { TypesAirbyteCatalogDiscovered } from './schemas/TypesAirbyteCatalo
|
|
|
61
102
|
export type { TypesAirbyteConnector } from './schemas/TypesAirbyteConnector';
|
|
62
103
|
export type { TypesAirbyteStream } from './schemas/TypesAirbyteStream';
|
|
63
104
|
export type { TypesAirbyteStreamConfigured } from './schemas/TypesAirbyteStreamConfigured';
|
|
105
|
+
export type { TypesDefaultEntityRelation } from './schemas/TypesDefaultEntityRelation';
|
|
64
106
|
export type { TypesDefaultEntitySchema } from './schemas/TypesDefaultEntitySchema';
|
|
65
107
|
export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
|
|
66
108
|
export type { TypesDefaultMappingField } from './schemas/TypesDefaultMappingField';
|
|
109
|
+
export type { TypesDefaultRelationEnd } from './schemas/TypesDefaultRelationEnd';
|
|
67
110
|
export type { TypesEntityMapping } from './schemas/TypesEntityMapping';
|
|
68
111
|
export type { TypesEntityMappingSpec } from './schemas/TypesEntityMappingSpec';
|
|
69
112
|
export type { TypesEntitySchema } from './schemas/TypesEntitySchema';
|
|
@@ -1,19 +1,36 @@
|
|
|
1
1
|
export { createAgent, useCreateAgentMutation } from './hooks/useCreateAgentMutation';
|
|
2
2
|
export { createAirbyteIntegrationConfig, useCreateAirbyteIntegrationConfigMutation, } from './hooks/useCreateAirbyteIntegrationConfigMutation';
|
|
3
|
+
export { createAirbyteIntegrationConfigOrg, useCreateAirbyteIntegrationConfigOrgMutation, } from './hooks/useCreateAirbyteIntegrationConfigOrgMutation';
|
|
4
|
+
export { createAirbyteIntegrationConfigProject, useCreateAirbyteIntegrationConfigProjectMutation, } from './hooks/useCreateAirbyteIntegrationConfigProjectMutation';
|
|
3
5
|
export { createIntegrationConfig, useCreateIntegrationConfigMutation, } from './hooks/useCreateIntegrationConfigMutation';
|
|
6
|
+
export { createIntegrationConfigOrg, useCreateIntegrationConfigOrgMutation, } from './hooks/useCreateIntegrationConfigOrgMutation';
|
|
7
|
+
export { createIntegrationConfigProject, useCreateIntegrationConfigProjectMutation, } from './hooks/useCreateIntegrationConfigProjectMutation';
|
|
4
8
|
export { deleteAgent, useDeleteAgentMutation } from './hooks/useDeleteAgentMutation';
|
|
5
9
|
export { downloadAgentYaml, useDownloadAgentYamlQuery } from './hooks/useDownloadAgentYamlQuery';
|
|
6
10
|
export { fetchAirbyteConnectorCatalog, useFetchAirbyteConnectorCatalogMutation, } from './hooks/useFetchAirbyteConnectorCatalogMutation';
|
|
7
11
|
export { getAgent, useGetAgentQuery } from './hooks/useGetAgentQuery';
|
|
8
12
|
export { getAirbyteConnectorCatalog, useGetAirbyteConnectorCatalogQuery, } from './hooks/useGetAirbyteConnectorCatalogQuery';
|
|
13
|
+
export { getAirbyteIntegrationConfigOrg, useGetAirbyteIntegrationConfigOrgQuery, } from './hooks/useGetAirbyteIntegrationConfigOrgQuery';
|
|
14
|
+
export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
|
|
9
15
|
export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
|
|
16
|
+
export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
|
|
17
|
+
export { getIntegrationConfigProject, useGetIntegrationConfigProjectQuery, } from './hooks/useGetIntegrationConfigProjectQuery';
|
|
10
18
|
export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/useGetIntegrationConfigQuery';
|
|
11
19
|
export { listAgents, useListAgentsQuery } from './hooks/useListAgentsQuery';
|
|
12
20
|
export { listDefaultMappingFields, useListDefaultMappingFieldsQuery, } from './hooks/useListDefaultMappingFieldsQuery';
|
|
13
21
|
export { listDefaultSchemas, useListDefaultSchemasQuery } from './hooks/useListDefaultSchemasQuery';
|
|
22
|
+
export { listIntegrationConfigsOrg, useListIntegrationConfigsOrgQuery, } from './hooks/useListIntegrationConfigsOrgQuery';
|
|
23
|
+
export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
|
|
14
24
|
export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
|
|
15
25
|
export { triggerSync, useTriggerSyncMutation } from './hooks/useTriggerSyncMutation';
|
|
26
|
+
export { triggerSyncOrg, useTriggerSyncOrgMutation } from './hooks/useTriggerSyncOrgMutation';
|
|
27
|
+
export { triggerSyncProject, useTriggerSyncProjectMutation, } from './hooks/useTriggerSyncProjectMutation';
|
|
16
28
|
export { updateAgent, useUpdateAgentMutation } from './hooks/useUpdateAgentMutation';
|
|
17
29
|
export { updateAirbyteIntegrationConfig, useUpdateAirbyteIntegrationConfigMutation, } from './hooks/useUpdateAirbyteIntegrationConfigMutation';
|
|
30
|
+
export { updateAirbyteIntegrationConfigOrg, useUpdateAirbyteIntegrationConfigOrgMutation, } from './hooks/useUpdateAirbyteIntegrationConfigOrgMutation';
|
|
31
|
+
export { updateAirbyteIntegrationConfigProject, useUpdateAirbyteIntegrationConfigProjectMutation, } from './hooks/useUpdateAirbyteIntegrationConfigProjectMutation';
|
|
18
32
|
export { updateIntegrationConfig, useUpdateIntegrationConfigMutation, } from './hooks/useUpdateIntegrationConfigMutation';
|
|
33
|
+
export { updateIntegrationConfigOrg, useUpdateIntegrationConfigOrgMutation, } from './hooks/useUpdateIntegrationConfigOrgMutation';
|
|
19
34
|
export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
|
|
35
|
+
export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
|
|
36
|
+
export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumIntegrationMode = 'airbyte' | '
|
|
1
|
+
export type EnumIntegrationMode = 'airbyte' | 'platform' | 'webhook';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumIntegrationType = 'HarnessCD' | 'HarnessScope' | 'ServiceNow';
|
|
1
|
+
export type EnumIntegrationType = 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'ServiceNow';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
|
|
2
|
+
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
3
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
|
+
export interface OpenapiCreateAirbyteIntegrationConfigOrgRequest {
|
|
6
|
+
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
7
|
+
entity_mappings_per_kind?: {
|
|
8
|
+
[key: string]: TypesFieldMapping[];
|
|
9
|
+
} | null;
|
|
10
|
+
identifier?: string;
|
|
11
|
+
integration_config?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
} | null;
|
|
14
|
+
integration_type?: EnumIntegrationType;
|
|
15
|
+
kinds?: string[] | null;
|
|
16
|
+
mapping_config_per_kind?: {
|
|
17
|
+
[key: string]: TypesMappingConfig;
|
|
18
|
+
};
|
|
19
|
+
name?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
|
|
2
|
+
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
3
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
|
+
export interface OpenapiCreateAirbyteIntegrationConfigProjectRequest {
|
|
6
|
+
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
7
|
+
entity_mappings_per_kind?: {
|
|
8
|
+
[key: string]: TypesFieldMapping[];
|
|
9
|
+
} | null;
|
|
10
|
+
identifier?: string;
|
|
11
|
+
integration_config?: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
} | null;
|
|
14
|
+
integration_type?: EnumIntegrationType;
|
|
15
|
+
kinds?: string[] | null;
|
|
16
|
+
mapping_config_per_kind?: {
|
|
17
|
+
[key: string]: TypesMappingConfig;
|
|
18
|
+
};
|
|
19
|
+
name?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
2
|
+
export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
3
|
+
configuration?: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
} | null;
|
|
6
|
+
identifier?: string;
|
|
7
|
+
integration_type?: EnumIntegrationType;
|
|
8
|
+
kinds?: string[];
|
|
9
|
+
name?: string;
|
|
10
|
+
}
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
2
|
+
export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
3
|
+
configuration?: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
} | null;
|
|
6
|
+
identifier?: string;
|
|
7
|
+
integration_type?: EnumIntegrationType;
|
|
8
|
+
kinds?: string[];
|
|
9
|
+
name?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
2
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
|
+
export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
|
|
4
|
+
entity_mappings_per_kind?: {
|
|
5
|
+
[key: string]: TypesFieldMapping[];
|
|
6
|
+
} | null;
|
|
7
|
+
integration_config?: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
} | null;
|
|
10
|
+
mapping_config_per_kind?: {
|
|
11
|
+
[key: string]: TypesMappingConfig;
|
|
12
|
+
};
|
|
13
|
+
name?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
2
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
|
+
export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
|
|
4
|
+
entity_mappings_per_kind?: {
|
|
5
|
+
[key: string]: TypesFieldMapping[];
|
|
6
|
+
} | null;
|
|
7
|
+
integration_config?: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
} | null;
|
|
10
|
+
mapping_config_per_kind?: {
|
|
11
|
+
[key: string]: TypesMappingConfig;
|
|
12
|
+
};
|
|
13
|
+
name?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
2
2
|
import type { TypesDefaultKind } from '../schemas/TypesDefaultKind';
|
|
3
|
+
import type { TypesDefaultEntityRelation } from '../schemas/TypesDefaultEntityRelation';
|
|
3
4
|
import type { TypesScopeConfig } from '../schemas/TypesScopeConfig';
|
|
4
5
|
export interface TypesDefaultEntitySchema {
|
|
5
6
|
configuration?: {
|
|
@@ -11,6 +12,7 @@ export interface TypesDefaultEntitySchema {
|
|
|
11
12
|
[key: string]: TypesDefaultKind;
|
|
12
13
|
} | null;
|
|
13
14
|
last_updated?: number;
|
|
15
|
+
relations?: TypesDefaultEntityRelation[];
|
|
14
16
|
scope_config?: TypesScopeConfig;
|
|
15
17
|
version?: string;
|
|
16
18
|
}
|
|
@@ -2,7 +2,6 @@ import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
|
2
2
|
import type { TypesEntityMappingSpec } from '../schemas/TypesEntityMappingSpec';
|
|
3
3
|
export interface TypesEntityMapping {
|
|
4
4
|
created?: number;
|
|
5
|
-
entity_schema_id?: string;
|
|
6
5
|
id?: string;
|
|
7
6
|
integration_id?: string;
|
|
8
7
|
kind?: string;
|
package/package.json
CHANGED