@harnessio/react-integration-manager-client 0.2.0 → 0.3.0
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/useCreateAgentMutation.d.ts +20 -0
- package/dist/integration-manager/src/services/hooks/useCreateAgentMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.d.ts +20 -0
- package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useDeleteAgentMutation.d.ts +17 -0
- package/dist/integration-manager/src/services/hooks/useDeleteAgentMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useDownloadAgentYamlQuery.d.ts +17 -0
- package/dist/integration-manager/src/services/hooks/useDownloadAgentYamlQuery.js +14 -0
- package/dist/integration-manager/src/services/hooks/useGetAgentQuery.d.ts +18 -0
- package/dist/integration-manager/src/services/hooks/useGetAgentQuery.js +14 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteConnectorCatalogMutation.d.ts +20 -0
- package/dist/integration-manager/src/services/hooks/useGetAirbyteConnectorCatalogMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useListAgentsQuery.d.ts +17 -0
- package/dist/integration-manager/src/services/hooks/useListAgentsQuery.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpdateAgentMutation.d.ts +21 -0
- package/dist/integration-manager/src/services/hooks/useUpdateAgentMutation.js +14 -0
- package/dist/integration-manager/src/services/index.d.ts +40 -0
- package/dist/integration-manager/src/services/index.js +8 -0
- package/dist/integration-manager/src/services/schemas/AirbyteGetAirbyteConnectorCatalogResponse.d.ts +9 -0
- package/dist/integration-manager/src/services/schemas/AirbyteGetAirbyteConnectorCatalogResponse.js +1 -0
- package/dist/integration-manager/src/services/schemas/EnumAirbyteDestinationSyncMode.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/EnumAirbyteDestinationSyncMode.js +4 -0
- package/dist/integration-manager/src/services/schemas/EnumAirbyteSyncMode.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/EnumAirbyteSyncMode.js +4 -0
- package/dist/integration-manager/src/services/schemas/IntegrationconfigCreateAirbyteIntegrationResponse.d.ts +10 -0
- package/dist/integration-manager/src/services/schemas/IntegrationconfigCreateAirbyteIntegrationResponse.js +1 -0
- package/dist/integration-manager/src/services/schemas/IntegrationconfigSyncStatus.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/IntegrationconfigSyncStatus.js +4 -0
- package/dist/integration-manager/src/services/schemas/IntegrationconfigTriggerSyncResponse.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/IntegrationconfigTriggerSyncResponse.js +0 -3
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAgentRequest.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAgentRequest.js +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +18 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetAirbyteConnectorCatalogRequest.d.ts +8 -0
- package/dist/integration-manager/src/services/schemas/OpenapiGetAirbyteConnectorCatalogRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAgentRequest.d.ts +6 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAgentRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +0 -1
- package/dist/integration-manager/src/services/schemas/TypesAgentStatus.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesAgentStatus.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteCatalog.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteCatalog.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteConfiguredStream.d.ts +8 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteConfiguredStream.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteConnector.d.ts +24 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteConnector.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteStream.d.ts +11 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteStream.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesCatalogConfig.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/TypesCatalogConfig.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesEntityMapping.d.ts +15 -0
- package/dist/integration-manager/src/services/schemas/TypesEntityMapping.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesEntityMappingSpec.d.ts +9 -0
- package/dist/integration-manager/src/services/schemas/TypesEntityMappingSpec.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesEntitySchema.d.ts +22 -0
- package/dist/integration-manager/src/services/schemas/TypesEntitySchema.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesIntegrationAgent.d.ts +10 -0
- package/dist/integration-manager/src/services/schemas/TypesIntegrationAgent.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesJsonSchema.d.ts +8 -0
- package/dist/integration-manager/src/services/schemas/TypesJsonSchema.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesLastSyncInfo.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/TypesMappingConfig.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesMappingSpec.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/TypesMappingSpec.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesSchemaMapping.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/TypesSchemaMapping.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesScopeConfig.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesScopeConfig.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesScopeInfo.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/TypesScopeInfo.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationAgent } from '../schemas/TypesIntegrationAgent';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { OpenapiCreateAgentRequest } from '../schemas/OpenapiCreateAgentRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateAgentMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type CreateAgentRequestBody = OpenapiCreateAgentRequest;
|
|
11
|
+
export type CreateAgentOkResponse = ResponseWithPagination<TypesIntegrationAgent>;
|
|
12
|
+
export type CreateAgentErrorResponse = UsererrorError;
|
|
13
|
+
export interface CreateAgentProps extends CreateAgentMutationPathParams, Omit<FetcherOptions<unknown, CreateAgentRequestBody>, 'url'> {
|
|
14
|
+
body: CreateAgentRequestBody;
|
|
15
|
+
}
|
|
16
|
+
export declare function createAgent(props: CreateAgentProps): Promise<CreateAgentOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Create a new integration agent with the specified configuration. Agent names must be unique within the space path scope.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useCreateAgentMutation(options?: Omit<UseMutationOptions<CreateAgentOkResponse, CreateAgentErrorResponse, CreateAgentProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateAgentOkResponse, UsererrorError, CreateAgentProps, 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 createAgent(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/agents`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a new integration agent with the specified configuration. Agent names must be unique within the space path scope.
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateAgentMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createAgent(mutateProps), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationconfigCreateAirbyteIntegrationResponse } from '../schemas/IntegrationconfigCreateAirbyteIntegrationResponse';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { OpenapiCreateAirbyteIntegrationConfigRequest } from '../schemas/OpenapiCreateAirbyteIntegrationConfigRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateAirbyteIntegrationConfigMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type CreateAirbyteIntegrationConfigRequestBody = OpenapiCreateAirbyteIntegrationConfigRequest;
|
|
11
|
+
export type CreateAirbyteIntegrationConfigOkResponse = ResponseWithPagination<IntegrationconfigCreateAirbyteIntegrationResponse>;
|
|
12
|
+
export type CreateAirbyteIntegrationConfigErrorResponse = UsererrorError;
|
|
13
|
+
export interface CreateAirbyteIntegrationConfigProps extends CreateAirbyteIntegrationConfigMutationPathParams, Omit<FetcherOptions<unknown, CreateAirbyteIntegrationConfigRequestBody>, 'url'> {
|
|
14
|
+
body: CreateAirbyteIntegrationConfigRequestBody;
|
|
15
|
+
}
|
|
16
|
+
export declare function createAirbyteIntegrationConfig(props: CreateAirbyteIntegrationConfigProps): Promise<CreateAirbyteIntegrationConfigOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Creates an Airbyte integration with connector catalog information. This endpoint creates the integration config, entity schemas, entity mappings, and airbyte connector with catalog information within a single transaction. Returns the created integration config along with the associated airbyte connector, entity schemas, and entity mappings.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useCreateAirbyteIntegrationConfigMutation(options?: Omit<UseMutationOptions<CreateAirbyteIntegrationConfigOkResponse, CreateAirbyteIntegrationConfigErrorResponse, CreateAirbyteIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateAirbyteIntegrationConfigOkResponse, UsererrorError, CreateAirbyteIntegrationConfigProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.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 createAirbyteIntegrationConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/airbyte`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Creates an Airbyte integration with connector catalog information. This endpoint creates the integration config, entity schemas, entity mappings, and airbyte connector with catalog information within a single transaction. Returns the created integration config along with the associated airbyte connector, entity schemas, and entity mappings.
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateAirbyteIntegrationConfigMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createAirbyteIntegrationConfig(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteAgentMutationPathParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
agent_name: string;
|
|
8
|
+
}
|
|
9
|
+
export type DeleteAgentOkResponse = ResponseWithPagination<unknown>;
|
|
10
|
+
export type DeleteAgentErrorResponse = UsererrorError;
|
|
11
|
+
export interface DeleteAgentProps extends DeleteAgentMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
12
|
+
}
|
|
13
|
+
export declare function deleteAgent(props: DeleteAgentProps): Promise<DeleteAgentOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Delete an integration agent by its name.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useDeleteAgentMutation(options?: Omit<UseMutationOptions<DeleteAgentOkResponse, DeleteAgentErrorResponse, DeleteAgentProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteAgentOkResponse, UsererrorError, DeleteAgentProps, 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 deleteAgent(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/agents/${props.agent_name}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete an integration agent by its name.
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteAgentMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteAgent(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DownloadAgentYamlQueryPathParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
agent_name: string;
|
|
8
|
+
}
|
|
9
|
+
export type DownloadAgentYamlOkResponse = ResponseWithPagination<unknown>;
|
|
10
|
+
export type DownloadAgentYamlErrorResponse = UsererrorError;
|
|
11
|
+
export interface DownloadAgentYamlProps extends DownloadAgentYamlQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
12
|
+
}
|
|
13
|
+
export declare function downloadAgentYaml(props: DownloadAgentYamlProps): Promise<DownloadAgentYamlOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Download the Kubernetes manifest YAML file for deploying the agent. The YAML contains all necessary resources (Namespace, ServiceAccount, Role, RoleBinding, ConfigMap, Deployment, Service, HPA) with the agent name and namespace pre-configured.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useDownloadAgentYamlQuery(props: DownloadAgentYamlProps, options?: Omit<UseQueryOptions<DownloadAgentYamlOkResponse, DownloadAgentYamlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DownloadAgentYamlOkResponse, UsererrorError>;
|
|
@@ -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 downloadAgentYaml(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/agents/${props.agent_name}/yaml`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Download the Kubernetes manifest YAML file for deploying the agent. The YAML contains all necessary resources (Namespace, ServiceAccount, Role, RoleBinding, ConfigMap, Deployment, Service, HPA) with the agent name and namespace pre-configured.
|
|
11
|
+
*/
|
|
12
|
+
export function useDownloadAgentYamlQuery(props, options) {
|
|
13
|
+
return useQuery(['downloadAgentYAML', props.accountIdentifier, props.agent_name], ({ signal }) => downloadAgentYaml(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationAgent } from '../schemas/TypesIntegrationAgent';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetAgentQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
agent_name: string;
|
|
9
|
+
}
|
|
10
|
+
export type GetAgentOkResponse = ResponseWithPagination<TypesIntegrationAgent>;
|
|
11
|
+
export type GetAgentErrorResponse = UsererrorError;
|
|
12
|
+
export interface GetAgentProps extends GetAgentQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function getAgent(props: GetAgentProps): Promise<GetAgentOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Get an integration agent by its name.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useGetAgentQuery(props: GetAgentProps, options?: Omit<UseQueryOptions<GetAgentOkResponse, GetAgentErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAgentOkResponse, UsererrorError>;
|
|
@@ -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 getAgent(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/agents/${props.agent_name}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get an integration agent by its name.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAgentQuery(props, options) {
|
|
13
|
+
return useQuery(['getAgent', props.accountIdentifier, props.agent_name], ({ signal }) => getAgent(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useGetAirbyteConnectorCatalogMutation.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AirbyteGetAirbyteConnectorCatalogResponse } from '../schemas/AirbyteGetAirbyteConnectorCatalogResponse';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { OpenapiGetAirbyteConnectorCatalogRequest } from '../schemas/OpenapiGetAirbyteConnectorCatalogRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface GetAirbyteConnectorCatalogMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type GetAirbyteConnectorCatalogRequestBody = OpenapiGetAirbyteConnectorCatalogRequest;
|
|
11
|
+
export type GetAirbyteConnectorCatalogOkResponse = ResponseWithPagination<AirbyteGetAirbyteConnectorCatalogResponse>;
|
|
12
|
+
export type GetAirbyteConnectorCatalogErrorResponse = UsererrorError;
|
|
13
|
+
export interface GetAirbyteConnectorCatalogProps extends GetAirbyteConnectorCatalogMutationPathParams, Omit<FetcherOptions<unknown, GetAirbyteConnectorCatalogRequestBody>, 'url'> {
|
|
14
|
+
body: GetAirbyteConnectorCatalogRequestBody;
|
|
15
|
+
}
|
|
16
|
+
export declare function getAirbyteConnectorCatalog(props: GetAirbyteConnectorCatalogProps): Promise<GetAirbyteConnectorCatalogOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieves the catalog for an Airbyte connector. This endpoint queries the connector to get available streams and their schemas.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useGetAirbyteConnectorCatalogMutation(options?: Omit<UseMutationOptions<GetAirbyteConnectorCatalogOkResponse, GetAirbyteConnectorCatalogErrorResponse, GetAirbyteConnectorCatalogProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetAirbyteConnectorCatalogOkResponse, UsererrorError, GetAirbyteConnectorCatalogProps, 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 getAirbyteConnectorCatalog(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/airbyte/catalog`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves the catalog for an Airbyte connector. This endpoint queries the connector to get available streams and their schemas.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAirbyteConnectorCatalogMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getAirbyteConnectorCatalog(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationAgent } from '../schemas/TypesIntegrationAgent';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListAgentsQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
}
|
|
9
|
+
export type ListAgentsOkResponse = ResponseWithPagination<TypesIntegrationAgent[]>;
|
|
10
|
+
export type ListAgentsErrorResponse = UsererrorError;
|
|
11
|
+
export interface ListAgentsProps extends ListAgentsQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
12
|
+
}
|
|
13
|
+
export declare function listAgents(props: ListAgentsProps): Promise<ListAgentsOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* List all integration agents in the current space path scope.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useListAgentsQuery(props: ListAgentsProps, options?: Omit<UseQueryOptions<ListAgentsOkResponse, ListAgentsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListAgentsOkResponse, UsererrorError>;
|
|
@@ -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 listAgents(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/agents`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List all integration agents in the current space path scope.
|
|
11
|
+
*/
|
|
12
|
+
export function useListAgentsQuery(props, options) {
|
|
13
|
+
return useQuery(['listAgents', props.accountIdentifier], ({ signal }) => listAgents(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationAgent } from '../schemas/TypesIntegrationAgent';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { OpenapiUpdateAgentRequest } from '../schemas/OpenapiUpdateAgentRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateAgentMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
agent_name: string;
|
|
10
|
+
}
|
|
11
|
+
export type UpdateAgentRequestBody = OpenapiUpdateAgentRequest;
|
|
12
|
+
export type UpdateAgentOkResponse = ResponseWithPagination<TypesIntegrationAgent>;
|
|
13
|
+
export type UpdateAgentErrorResponse = UsererrorError;
|
|
14
|
+
export interface UpdateAgentProps extends UpdateAgentMutationPathParams, Omit<FetcherOptions<unknown, UpdateAgentRequestBody>, 'url'> {
|
|
15
|
+
body: UpdateAgentRequestBody;
|
|
16
|
+
}
|
|
17
|
+
export declare function updateAgent(props: UpdateAgentProps): Promise<UpdateAgentOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Update an existing integration agent. Only the fields provided in the request body will be updated.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useUpdateAgentMutation(options?: Omit<UseMutationOptions<UpdateAgentOkResponse, UpdateAgentErrorResponse, UpdateAgentProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateAgentOkResponse, UsererrorError, UpdateAgentProps, 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 updateAgent(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/agents/${props.agent_name}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update an existing integration agent. Only the fields provided in the request body will be updated.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateAgentMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateAgent(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,24 +1,64 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
+
export type { CreateAgentErrorResponse, CreateAgentMutationPathParams, CreateAgentOkResponse, CreateAgentProps, CreateAgentRequestBody, } from './hooks/useCreateAgentMutation';
|
|
3
|
+
export { createAgent, useCreateAgentMutation } from './hooks/useCreateAgentMutation';
|
|
4
|
+
export type { CreateAirbyteIntegrationConfigErrorResponse, CreateAirbyteIntegrationConfigMutationPathParams, CreateAirbyteIntegrationConfigOkResponse, CreateAirbyteIntegrationConfigProps, CreateAirbyteIntegrationConfigRequestBody, } from './hooks/useCreateAirbyteIntegrationConfigMutation';
|
|
5
|
+
export { createAirbyteIntegrationConfig, useCreateAirbyteIntegrationConfigMutation, } from './hooks/useCreateAirbyteIntegrationConfigMutation';
|
|
2
6
|
export type { CreateIntegrationConfigErrorResponse, CreateIntegrationConfigMutationPathParams, CreateIntegrationConfigOkResponse, CreateIntegrationConfigProps, CreateIntegrationConfigRequestBody, } from './hooks/useCreateIntegrationConfigMutation';
|
|
3
7
|
export { createIntegrationConfig, useCreateIntegrationConfigMutation, } from './hooks/useCreateIntegrationConfigMutation';
|
|
8
|
+
export type { DeleteAgentErrorResponse, DeleteAgentMutationPathParams, DeleteAgentOkResponse, DeleteAgentProps, } from './hooks/useDeleteAgentMutation';
|
|
9
|
+
export { deleteAgent, useDeleteAgentMutation } from './hooks/useDeleteAgentMutation';
|
|
10
|
+
export type { DownloadAgentYamlErrorResponse, DownloadAgentYamlOkResponse, DownloadAgentYamlProps, DownloadAgentYamlQueryPathParams, } from './hooks/useDownloadAgentYamlQuery';
|
|
11
|
+
export { downloadAgentYaml, useDownloadAgentYamlQuery } from './hooks/useDownloadAgentYamlQuery';
|
|
12
|
+
export type { GetAgentErrorResponse, GetAgentOkResponse, GetAgentProps, GetAgentQueryPathParams, } from './hooks/useGetAgentQuery';
|
|
13
|
+
export { getAgent, useGetAgentQuery } from './hooks/useGetAgentQuery';
|
|
14
|
+
export type { GetAirbyteConnectorCatalogErrorResponse, GetAirbyteConnectorCatalogMutationPathParams, GetAirbyteConnectorCatalogOkResponse, GetAirbyteConnectorCatalogProps, GetAirbyteConnectorCatalogRequestBody, } from './hooks/useGetAirbyteConnectorCatalogMutation';
|
|
15
|
+
export { getAirbyteConnectorCatalog, useGetAirbyteConnectorCatalogMutation, } from './hooks/useGetAirbyteConnectorCatalogMutation';
|
|
4
16
|
export type { GetIntegrationConfigErrorResponse, GetIntegrationConfigOkResponse, GetIntegrationConfigProps, GetIntegrationConfigQueryPathParams, } from './hooks/useGetIntegrationConfigQuery';
|
|
5
17
|
export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/useGetIntegrationConfigQuery';
|
|
18
|
+
export type { ListAgentsErrorResponse, ListAgentsOkResponse, ListAgentsProps, ListAgentsQueryPathParams, } from './hooks/useListAgentsQuery';
|
|
19
|
+
export { listAgents, useListAgentsQuery } from './hooks/useListAgentsQuery';
|
|
6
20
|
export type { ListIntegrationConfigsErrorResponse, ListIntegrationConfigsOkResponse, ListIntegrationConfigsProps, ListIntegrationConfigsQueryPathParams, } from './hooks/useListIntegrationConfigsQuery';
|
|
7
21
|
export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
|
|
8
22
|
export type { TriggerSyncErrorResponse, TriggerSyncMutationPathParams, TriggerSyncOkResponse, TriggerSyncProps, } from './hooks/useTriggerSyncMutation';
|
|
9
23
|
export { triggerSync, useTriggerSyncMutation } from './hooks/useTriggerSyncMutation';
|
|
24
|
+
export type { UpdateAgentErrorResponse, UpdateAgentMutationPathParams, UpdateAgentOkResponse, UpdateAgentProps, UpdateAgentRequestBody, } from './hooks/useUpdateAgentMutation';
|
|
25
|
+
export { updateAgent, useUpdateAgentMutation } from './hooks/useUpdateAgentMutation';
|
|
10
26
|
export type { UpdateIntegrationConfigErrorResponse, UpdateIntegrationConfigMutationPathParams, UpdateIntegrationConfigOkResponse, UpdateIntegrationConfigProps, UpdateIntegrationConfigRequestBody, } from './hooks/useUpdateIntegrationConfigMutation';
|
|
11
27
|
export { updateIntegrationConfig, useUpdateIntegrationConfigMutation, } from './hooks/useUpdateIntegrationConfigMutation';
|
|
12
28
|
export type { UpdateIntegrationStatusErrorResponse, UpdateIntegrationStatusMutationPathParams, UpdateIntegrationStatusMutationQueryParams, UpdateIntegrationStatusOkResponse, UpdateIntegrationStatusProps, } from './hooks/useUpdateIntegrationStatusMutation';
|
|
13
29
|
export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
|
|
30
|
+
export type { AirbyteGetAirbyteConnectorCatalogResponse } from './schemas/AirbyteGetAirbyteConnectorCatalogResponse';
|
|
31
|
+
export type { EnumAirbyteDestinationSyncMode } from './schemas/EnumAirbyteDestinationSyncMode';
|
|
32
|
+
export type { EnumAirbyteSyncMode } from './schemas/EnumAirbyteSyncMode';
|
|
14
33
|
export type { EnumIntegrationMode } from './schemas/EnumIntegrationMode';
|
|
15
34
|
export type { EnumIntegrationType } from './schemas/EnumIntegrationType';
|
|
35
|
+
export type { IntegrationconfigCreateAirbyteIntegrationResponse } from './schemas/IntegrationconfigCreateAirbyteIntegrationResponse';
|
|
36
|
+
export type { IntegrationconfigSyncStatus } from './schemas/IntegrationconfigSyncStatus';
|
|
16
37
|
export type { IntegrationconfigTriggerSyncResponse } from './schemas/IntegrationconfigTriggerSyncResponse';
|
|
38
|
+
export type { OpenapiCreateAgentRequest } from './schemas/OpenapiCreateAgentRequest';
|
|
39
|
+
export type { OpenapiCreateAirbyteIntegrationConfigRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigRequest';
|
|
17
40
|
export type { OpenapiCreateIntegrationConfigRequest } from './schemas/OpenapiCreateIntegrationConfigRequest';
|
|
41
|
+
export type { OpenapiGetAirbyteConnectorCatalogRequest } from './schemas/OpenapiGetAirbyteConnectorCatalogRequest';
|
|
42
|
+
export type { OpenapiUpdateAgentRequest } from './schemas/OpenapiUpdateAgentRequest';
|
|
18
43
|
export type { OpenapiUpdateIntegrationConfigRequest } from './schemas/OpenapiUpdateIntegrationConfigRequest';
|
|
44
|
+
export type { TypesAgentStatus } from './schemas/TypesAgentStatus';
|
|
45
|
+
export type { TypesAirbyteCatalog } from './schemas/TypesAirbyteCatalog';
|
|
46
|
+
export type { TypesAirbyteConfiguredStream } from './schemas/TypesAirbyteConfiguredStream';
|
|
47
|
+
export type { TypesAirbyteConnector } from './schemas/TypesAirbyteConnector';
|
|
48
|
+
export type { TypesAirbyteStream } from './schemas/TypesAirbyteStream';
|
|
49
|
+
export type { TypesCatalogConfig } from './schemas/TypesCatalogConfig';
|
|
50
|
+
export type { TypesEntityMapping } from './schemas/TypesEntityMapping';
|
|
51
|
+
export type { TypesEntityMappingSpec } from './schemas/TypesEntityMappingSpec';
|
|
52
|
+
export type { TypesEntitySchema } from './schemas/TypesEntitySchema';
|
|
19
53
|
export type { TypesFieldMapping } from './schemas/TypesFieldMapping';
|
|
54
|
+
export type { TypesIntegrationAgent } from './schemas/TypesIntegrationAgent';
|
|
20
55
|
export type { TypesIntegrationConfig } from './schemas/TypesIntegrationConfig';
|
|
56
|
+
export type { TypesJsonSchema } from './schemas/TypesJsonSchema';
|
|
21
57
|
export type { TypesLastSyncInfo } from './schemas/TypesLastSyncInfo';
|
|
22
58
|
export type { TypesMappingConfig } from './schemas/TypesMappingConfig';
|
|
59
|
+
export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
|
|
60
|
+
export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
|
|
61
|
+
export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
|
|
62
|
+
export type { TypesScopeInfo } from './schemas/TypesScopeInfo';
|
|
23
63
|
export type { TypesSyncState } from './schemas/TypesSyncState';
|
|
24
64
|
export type { UsererrorError } from './schemas/UsererrorError';
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
export { createAgent, useCreateAgentMutation } from './hooks/useCreateAgentMutation';
|
|
2
|
+
export { createAirbyteIntegrationConfig, useCreateAirbyteIntegrationConfigMutation, } from './hooks/useCreateAirbyteIntegrationConfigMutation';
|
|
1
3
|
export { createIntegrationConfig, useCreateIntegrationConfigMutation, } from './hooks/useCreateIntegrationConfigMutation';
|
|
4
|
+
export { deleteAgent, useDeleteAgentMutation } from './hooks/useDeleteAgentMutation';
|
|
5
|
+
export { downloadAgentYaml, useDownloadAgentYamlQuery } from './hooks/useDownloadAgentYamlQuery';
|
|
6
|
+
export { getAgent, useGetAgentQuery } from './hooks/useGetAgentQuery';
|
|
7
|
+
export { getAirbyteConnectorCatalog, useGetAirbyteConnectorCatalogMutation, } from './hooks/useGetAirbyteConnectorCatalogMutation';
|
|
2
8
|
export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/useGetIntegrationConfigQuery';
|
|
9
|
+
export { listAgents, useListAgentsQuery } from './hooks/useListAgentsQuery';
|
|
3
10
|
export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
|
|
4
11
|
export { triggerSync, useTriggerSyncMutation } from './hooks/useTriggerSyncMutation';
|
|
12
|
+
export { updateAgent, useUpdateAgentMutation } from './hooks/useUpdateAgentMutation';
|
|
5
13
|
export { updateIntegrationConfig, useUpdateIntegrationConfigMutation, } from './hooks/useUpdateIntegrationConfigMutation';
|
|
6
14
|
export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
|
package/dist/integration-manager/src/services/schemas/AirbyteGetAirbyteConnectorCatalogResponse.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TypesAirbyteCatalog } from '../schemas/TypesAirbyteCatalog';
|
|
2
|
+
import type { TypesCatalogConfig } from '../schemas/TypesCatalogConfig';
|
|
3
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
|
+
export interface AirbyteGetAirbyteConnectorCatalogResponse {
|
|
5
|
+
catalog?: TypesAirbyteCatalog;
|
|
6
|
+
config?: TypesCatalogConfig;
|
|
7
|
+
integration_type?: EnumIntegrationType;
|
|
8
|
+
k8s_harness_connector_ref?: string;
|
|
9
|
+
}
|
package/dist/integration-manager/src/services/schemas/AirbyteGetAirbyteConnectorCatalogResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumAirbyteDestinationSyncMode = 'append' | 'append_dedup' | 'overwrite';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumAirbyteSyncMode = 'full_refresh' | 'incremental';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TypesAirbyteConnector } from '../schemas/TypesAirbyteConnector';
|
|
2
|
+
import type { TypesEntityMapping } from '../schemas/TypesEntityMapping';
|
|
3
|
+
import type { TypesEntitySchema } from '../schemas/TypesEntitySchema';
|
|
4
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
5
|
+
export interface IntegrationconfigCreateAirbyteIntegrationResponse {
|
|
6
|
+
airbyte_connector?: TypesAirbyteConnector;
|
|
7
|
+
entity_mappings?: TypesEntityMapping[] | null;
|
|
8
|
+
entity_schemas?: TypesEntitySchema[] | null;
|
|
9
|
+
integration_config?: TypesIntegrationConfig;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type IntegrationconfigSyncStatus = string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { TypesAirbyteCatalog } from '../schemas/TypesAirbyteCatalog';
|
|
2
|
+
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
3
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
|
+
export interface OpenapiCreateAirbyteIntegrationConfigRequest {
|
|
6
|
+
discovered_catalog?: TypesAirbyteCatalog;
|
|
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?: TypesMappingConfig;
|
|
17
|
+
name?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/integration-manager/src/services/schemas/OpenapiGetAirbyteConnectorCatalogRequest.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TypesCatalogConfig } from '../schemas/TypesCatalogConfig';
|
|
2
|
+
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
3
|
+
export interface OpenapiGetAirbyteConnectorCatalogRequest {
|
|
4
|
+
config?: TypesCatalogConfig;
|
|
5
|
+
delegate_selectors?: string[] | null;
|
|
6
|
+
integration_type?: EnumIntegrationType;
|
|
7
|
+
k8s_harness_connector_ref?: string;
|
|
8
|
+
}
|
package/dist/integration-manager/src/services/schemas/OpenapiGetAirbyteConnectorCatalogRequest.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TypesAgentStatus = string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EnumAirbyteDestinationSyncMode } from '../schemas/EnumAirbyteDestinationSyncMode';
|
|
2
|
+
import type { TypesAirbyteStream } from '../schemas/TypesAirbyteStream';
|
|
3
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
4
|
+
export interface TypesAirbyteConfiguredStream {
|
|
5
|
+
destination_sync_mode?: EnumAirbyteDestinationSyncMode;
|
|
6
|
+
stream?: TypesAirbyteStream;
|
|
7
|
+
sync_mode?: EnumAirbyteSyncMode;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TypesAirbyteCatalog } from '../schemas/TypesAirbyteCatalog';
|
|
2
|
+
export type TypesAirbyteConnector = {
|
|
3
|
+
config_schema?: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
configured_catalog?: TypesAirbyteCatalog;
|
|
7
|
+
connector_image?: string;
|
|
8
|
+
connector_tag?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format date-time
|
|
11
|
+
*/
|
|
12
|
+
created?: string;
|
|
13
|
+
delegate_selectors?: string[];
|
|
14
|
+
discovered_catalog?: TypesAirbyteCatalog;
|
|
15
|
+
id?: string;
|
|
16
|
+
integration_id?: string;
|
|
17
|
+
k8s_connector_ref?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @format date-time
|
|
20
|
+
*/
|
|
21
|
+
last_updated?: string;
|
|
22
|
+
space_path?: string;
|
|
23
|
+
version?: string;
|
|
24
|
+
} | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TypesJsonSchema } from '../schemas/TypesJsonSchema';
|
|
2
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
3
|
+
export interface TypesAirbyteStream {
|
|
4
|
+
default_cursor_field?: string[];
|
|
5
|
+
json_schema?: TypesJsonSchema;
|
|
6
|
+
name?: string;
|
|
7
|
+
namespace?: string;
|
|
8
|
+
source_defined_cursor?: boolean;
|
|
9
|
+
source_defined_primary_key?: Array<string[]>;
|
|
10
|
+
supported_sync_modes?: EnumAirbyteSyncMode[] | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
2
|
+
import type { TypesEntityMappingSpec } from '../schemas/TypesEntityMappingSpec';
|
|
3
|
+
export interface TypesEntityMapping {
|
|
4
|
+
created?: number;
|
|
5
|
+
entity_schema_id?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
integration_id?: string;
|
|
8
|
+
kind?: string;
|
|
9
|
+
last_updated?: number;
|
|
10
|
+
mapping_config?: TypesMappingConfig;
|
|
11
|
+
mapping_id?: string;
|
|
12
|
+
mappings?: TypesEntityMappingSpec;
|
|
13
|
+
space_path?: string;
|
|
14
|
+
version?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
2
|
+
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
3
|
+
import type { TypesScopeConfig } from '../schemas/TypesScopeConfig';
|
|
4
|
+
export interface TypesEntitySchema {
|
|
5
|
+
created?: number;
|
|
6
|
+
current?: boolean;
|
|
7
|
+
fields?: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
} | null;
|
|
10
|
+
id?: string;
|
|
11
|
+
integration_id?: string;
|
|
12
|
+
integration_mode?: EnumIntegrationMode;
|
|
13
|
+
kind?: string;
|
|
14
|
+
last_updated?: number;
|
|
15
|
+
primary?: boolean;
|
|
16
|
+
schema_mappings?: {
|
|
17
|
+
[key: string]: TypesSchemaMapping;
|
|
18
|
+
} | null;
|
|
19
|
+
scope_config?: TypesScopeConfig;
|
|
20
|
+
space_path?: string;
|
|
21
|
+
version?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TypesAgentStatus } from '../schemas/TypesAgentStatus';
|
|
2
|
+
export interface TypesIntegrationAgent {
|
|
3
|
+
created?: number;
|
|
4
|
+
k8s_connector_ref?: string;
|
|
5
|
+
last_updated?: number;
|
|
6
|
+
name?: string;
|
|
7
|
+
namespace?: string;
|
|
8
|
+
space_path?: string;
|
|
9
|
+
status?: TypesAgentStatus;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED