@harnessio/react-integration-manager-client 0.3.11 → 0.3.13
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/useSyncNowMutation.d.ts +2 -2
- package/dist/integration-manager/src/services/hooks/useSyncNowMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useSyncNowProjectMutation.d.ts +20 -0
- package/dist/integration-manager/src/services/hooks/useSyncNowProjectMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts +23 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js +14 -0
- package/dist/integration-manager/src/services/index.d.ts +8 -2
- package/dist/integration-manager/src/services/index.js +2 -0
- package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +6 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteConnector.d.ts +0 -3
- package/dist/integration-manager/src/services/schemas/TypesAirbyteTriggerSyncError.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteTriggerSyncError.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteTriggerSyncResult.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultMappingField.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesJsonSchema.d.ts +2 -1
- package/dist/integration-manager/src/services/schemas/TypesJsonSchema.js +0 -3
- package/dist/integration-manager/src/services/schemas/TypesJsonSchemaType.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesJsonSchemaType.js +4 -0
- package/package.json +1 -1
- package/dist/integration-manager/src/services/schemas/TypesSyncNowError.d.ts +0 -4
- package/dist/integration-manager/src/services/schemas/TypesSyncNowResult.d.ts +0 -7
- /package/dist/integration-manager/src/services/schemas/{TypesSyncNowError.js → OpenapiUpdateIntegrationConfigProjectRequest.js} +0 -0
- /package/dist/integration-manager/src/services/schemas/{TypesSyncNowResult.js → TypesAirbyteTriggerSyncResult.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TypesAirbyteTriggerSyncResult } from '../schemas/TypesAirbyteTriggerSyncResult';
|
|
3
3
|
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -7,7 +7,7 @@ export interface SyncNowMutationPathParams {
|
|
|
7
7
|
accountIdentifier: string;
|
|
8
8
|
integrationconfig_identifier: string;
|
|
9
9
|
}
|
|
10
|
-
export type SyncNowOkResponse = ResponseWithPagination<
|
|
10
|
+
export type SyncNowOkResponse = ResponseWithPagination<TypesAirbyteTriggerSyncResult>;
|
|
11
11
|
export type SyncNowErrorResponse = ApierrorsErrorResponse;
|
|
12
12
|
export interface SyncNowProps extends SyncNowMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
13
13
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function syncNow(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}/sync
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}/airbyte-sync`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Triggers an immediate sync for the integration. Supported for Airbyte-mode integrations (e.g. ServiceNow); calls the k8s-agent sync-now API via the delegate flow. Returns the sync result including success status, logs, and any error details.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesAirbyteTriggerSyncResult } from '../schemas/TypesAirbyteTriggerSyncResult';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface SyncNowProjectMutationPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
integrationconfig_identifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type SyncNowProjectOkResponse = ResponseWithPagination<TypesAirbyteTriggerSyncResult>;
|
|
13
|
+
export type SyncNowProjectErrorResponse = ApierrorsErrorResponse;
|
|
14
|
+
export interface SyncNowProjectProps extends SyncNowProjectMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
|
+
}
|
|
16
|
+
export declare function syncNowProject(props: SyncNowProjectProps): Promise<SyncNowProjectOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Triggers an immediate sync for the integration at project level. Supported for Airbyte-mode integrations (e.g. ServiceNow). Returns the sync result including success status, logs, and any error details.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useSyncNowProjectMutation(options?: Omit<UseMutationOptions<SyncNowProjectOkResponse, SyncNowProjectErrorResponse, SyncNowProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SyncNowProjectOkResponse, ApierrorsErrorResponse, SyncNowProjectProps, 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 syncNowProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}/airbyte-sync`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Triggers an immediate sync for the integration at project level. Supported for Airbyte-mode integrations (e.g. ServiceNow). Returns the sync result including success status, logs, and any error details.
|
|
11
|
+
*/
|
|
12
|
+
export function useSyncNowProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => syncNowProject(mutateProps), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiUpdateIntegrationConfigProjectRequest } from '../schemas/OpenapiUpdateIntegrationConfigProjectRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateIntegrationConfigProjectMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
integrationconfig_identifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type UpdateIntegrationConfigProjectRequestBody = OpenapiUpdateIntegrationConfigProjectRequest;
|
|
14
|
+
export type UpdateIntegrationConfigProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
|
|
15
|
+
export type UpdateIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
|
|
16
|
+
export interface UpdateIntegrationConfigProjectProps extends UpdateIntegrationConfigProjectMutationPathParams, Omit<FetcherOptions<unknown, UpdateIntegrationConfigProjectRequestBody>, 'url'> {
|
|
17
|
+
body: UpdateIntegrationConfigProjectRequestBody;
|
|
18
|
+
}
|
|
19
|
+
export declare function updateIntegrationConfigProject(props: UpdateIntegrationConfigProjectProps): Promise<UpdateIntegrationConfigProjectOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Update integration configuration at project level
|
|
22
|
+
*/
|
|
23
|
+
export declare function useUpdateIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigProjectOkResponse, UpdateIntegrationConfigProjectErrorResponse, UpdateIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js
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 updateIntegrationConfigProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update integration configuration at project level
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateIntegrationConfigProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateIntegrationConfigProject(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -49,6 +49,8 @@ export type { ListIntegrationConfigsErrorResponse, ListIntegrationConfigsOkRespo
|
|
|
49
49
|
export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
|
|
50
50
|
export type { SyncNowErrorResponse, SyncNowMutationPathParams, SyncNowOkResponse, SyncNowProps, } from './hooks/useSyncNowMutation';
|
|
51
51
|
export { syncNow, useSyncNowMutation } from './hooks/useSyncNowMutation';
|
|
52
|
+
export type { SyncNowProjectErrorResponse, SyncNowProjectMutationPathParams, SyncNowProjectOkResponse, SyncNowProjectProps, } from './hooks/useSyncNowProjectMutation';
|
|
53
|
+
export { syncNowProject, useSyncNowProjectMutation } from './hooks/useSyncNowProjectMutation';
|
|
52
54
|
export type { TriggerSyncErrorResponse, TriggerSyncMutationPathParams, TriggerSyncOkResponse, TriggerSyncProps, } from './hooks/useTriggerSyncMutation';
|
|
53
55
|
export { triggerSync, useTriggerSyncMutation } from './hooks/useTriggerSyncMutation';
|
|
54
56
|
export type { TriggerSyncOrgErrorResponse, TriggerSyncOrgMutationPathParams, TriggerSyncOrgOkResponse, TriggerSyncOrgProps, } from './hooks/useTriggerSyncOrgMutation';
|
|
@@ -67,6 +69,8 @@ export type { UpdateIntegrationConfigErrorResponse, UpdateIntegrationConfigMutat
|
|
|
67
69
|
export { updateIntegrationConfig, useUpdateIntegrationConfigMutation, } from './hooks/useUpdateIntegrationConfigMutation';
|
|
68
70
|
export type { UpdateIntegrationConfigOrgErrorResponse, UpdateIntegrationConfigOrgMutationPathParams, UpdateIntegrationConfigOrgOkResponse, UpdateIntegrationConfigOrgProps, UpdateIntegrationConfigOrgRequestBody, } from './hooks/useUpdateIntegrationConfigOrgMutation';
|
|
69
71
|
export { updateIntegrationConfigOrg, useUpdateIntegrationConfigOrgMutation, } from './hooks/useUpdateIntegrationConfigOrgMutation';
|
|
72
|
+
export type { UpdateIntegrationConfigProjectErrorResponse, UpdateIntegrationConfigProjectMutationPathParams, UpdateIntegrationConfigProjectOkResponse, UpdateIntegrationConfigProjectProps, UpdateIntegrationConfigProjectRequestBody, } from './hooks/useUpdateIntegrationConfigProjectMutation';
|
|
73
|
+
export { updateIntegrationConfigProject, useUpdateIntegrationConfigProjectMutation, } from './hooks/useUpdateIntegrationConfigProjectMutation';
|
|
70
74
|
export type { UpdateIntegrationStatusErrorResponse, UpdateIntegrationStatusMutationPathParams, UpdateIntegrationStatusMutationQueryParams, UpdateIntegrationStatusOkResponse, UpdateIntegrationStatusProps, } from './hooks/useUpdateIntegrationStatusMutation';
|
|
71
75
|
export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
|
|
72
76
|
export type { UpdateIntegrationStatusOrgErrorResponse, UpdateIntegrationStatusOrgMutationPathParams, UpdateIntegrationStatusOrgMutationQueryParams, UpdateIntegrationStatusOrgOkResponse, UpdateIntegrationStatusOrgProps, } from './hooks/useUpdateIntegrationStatusOrgMutation';
|
|
@@ -97,6 +101,7 @@ export type { OpenapiUpdateAirbyteIntegrationConfigOrgRequest } from './schemas/
|
|
|
97
101
|
export type { OpenapiUpdateAirbyteIntegrationConfigProjectRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest';
|
|
98
102
|
export type { OpenapiUpdateAirbyteIntegrationConfigRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigRequest';
|
|
99
103
|
export type { OpenapiUpdateIntegrationConfigOrgRequest } from './schemas/OpenapiUpdateIntegrationConfigOrgRequest';
|
|
104
|
+
export type { OpenapiUpdateIntegrationConfigProjectRequest } from './schemas/OpenapiUpdateIntegrationConfigProjectRequest';
|
|
100
105
|
export type { OpenapiUpdateIntegrationConfigRequest } from './schemas/OpenapiUpdateIntegrationConfigRequest';
|
|
101
106
|
export type { TypesAgentStatus } from './schemas/TypesAgentStatus';
|
|
102
107
|
export type { TypesAirbyteCatalogConfigured } from './schemas/TypesAirbyteCatalogConfigured';
|
|
@@ -104,6 +109,8 @@ export type { TypesAirbyteCatalogDiscovered } from './schemas/TypesAirbyteCatalo
|
|
|
104
109
|
export type { TypesAirbyteConnector } from './schemas/TypesAirbyteConnector';
|
|
105
110
|
export type { TypesAirbyteStream } from './schemas/TypesAirbyteStream';
|
|
106
111
|
export type { TypesAirbyteStreamConfigured } from './schemas/TypesAirbyteStreamConfigured';
|
|
112
|
+
export type { TypesAirbyteTriggerSyncError } from './schemas/TypesAirbyteTriggerSyncError';
|
|
113
|
+
export type { TypesAirbyteTriggerSyncResult } from './schemas/TypesAirbyteTriggerSyncResult';
|
|
107
114
|
export type { TypesDefaultEntityRelation } from './schemas/TypesDefaultEntityRelation';
|
|
108
115
|
export type { TypesDefaultEntitySchema } from './schemas/TypesDefaultEntitySchema';
|
|
109
116
|
export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
|
|
@@ -117,6 +124,7 @@ export type { TypesHarnessAirbyteConfig } from './schemas/TypesHarnessAirbyteCon
|
|
|
117
124
|
export type { TypesIntegrationAgent } from './schemas/TypesIntegrationAgent';
|
|
118
125
|
export type { TypesIntegrationConfig } from './schemas/TypesIntegrationConfig';
|
|
119
126
|
export type { TypesJsonSchema } from './schemas/TypesJsonSchema';
|
|
127
|
+
export type { TypesJsonSchemaType } from './schemas/TypesJsonSchemaType';
|
|
120
128
|
export type { TypesKindMappingFields } from './schemas/TypesKindMappingFields';
|
|
121
129
|
export type { TypesLastSyncInfo } from './schemas/TypesLastSyncInfo';
|
|
122
130
|
export type { TypesListDefaultMappingFieldsResponse } from './schemas/TypesListDefaultMappingFieldsResponse';
|
|
@@ -125,6 +133,4 @@ export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
|
|
|
125
133
|
export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
|
|
126
134
|
export type { TypesScope } from './schemas/TypesScope';
|
|
127
135
|
export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
|
|
128
|
-
export type { TypesSyncNowError } from './schemas/TypesSyncNowError';
|
|
129
|
-
export type { TypesSyncNowResult } from './schemas/TypesSyncNowResult';
|
|
130
136
|
export type { TypesSyncState } from './schemas/TypesSyncState';
|
|
@@ -23,6 +23,7 @@ export { listIntegrationConfigsOrg, useListIntegrationConfigsOrgQuery, } from '.
|
|
|
23
23
|
export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
|
|
24
24
|
export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
|
|
25
25
|
export { syncNow, useSyncNowMutation } from './hooks/useSyncNowMutation';
|
|
26
|
+
export { syncNowProject, useSyncNowProjectMutation } from './hooks/useSyncNowProjectMutation';
|
|
26
27
|
export { triggerSync, useTriggerSyncMutation } from './hooks/useTriggerSyncMutation';
|
|
27
28
|
export { triggerSyncOrg, useTriggerSyncOrgMutation } from './hooks/useTriggerSyncOrgMutation';
|
|
28
29
|
export { triggerSyncProject, useTriggerSyncProjectMutation, } from './hooks/useTriggerSyncProjectMutation';
|
|
@@ -32,6 +33,7 @@ export { updateAirbyteIntegrationConfigOrg, useUpdateAirbyteIntegrationConfigOrg
|
|
|
32
33
|
export { updateAirbyteIntegrationConfigProject, useUpdateAirbyteIntegrationConfigProjectMutation, } from './hooks/useUpdateAirbyteIntegrationConfigProjectMutation';
|
|
33
34
|
export { updateIntegrationConfig, useUpdateIntegrationConfigMutation, } from './hooks/useUpdateIntegrationConfigMutation';
|
|
34
35
|
export { updateIntegrationConfigOrg, useUpdateIntegrationConfigOrgMutation, } from './hooks/useUpdateIntegrationConfigOrgMutation';
|
|
36
|
+
export { updateIntegrationConfigProject, useUpdateIntegrationConfigProjectMutation, } from './hooks/useUpdateIntegrationConfigProjectMutation';
|
|
35
37
|
export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
|
|
36
38
|
export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
|
|
37
39
|
export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumIntegrationType = 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'ServiceNow';
|
|
1
|
+
export type EnumIntegrationType = 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow';
|
|
@@ -3,6 +3,7 @@ import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
|
3
3
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
4
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
5
|
export interface OpenapiCreateAirbyteIntegrationConfigOrgRequest {
|
|
6
|
+
auto_import?: boolean | null;
|
|
6
7
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
7
8
|
entity_mappings_per_kind?: {
|
|
8
9
|
[key: string]: TypesFieldMapping[];
|
|
@@ -3,6 +3,7 @@ import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
|
3
3
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
4
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
5
|
export interface OpenapiCreateAirbyteIntegrationConfigProjectRequest {
|
|
6
|
+
auto_import?: boolean | null;
|
|
6
7
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
7
8
|
entity_mappings_per_kind?: {
|
|
8
9
|
[key: string]: TypesFieldMapping[];
|
|
@@ -3,6 +3,7 @@ import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
|
3
3
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
4
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
5
|
export interface OpenapiCreateAirbyteIntegrationConfigRequest {
|
|
6
|
+
auto_import?: boolean | null;
|
|
6
7
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
7
8
|
entity_mappings_per_kind?: {
|
|
8
9
|
[key: string]: TypesFieldMapping[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
2
2
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
3
|
export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
|
|
4
|
+
auto_import?: boolean | null;
|
|
4
5
|
entity_mappings_per_kind?: {
|
|
5
6
|
[key: string]: TypesFieldMapping[];
|
|
6
7
|
} | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
2
2
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
3
|
export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
|
|
4
|
+
auto_import?: boolean | null;
|
|
4
5
|
entity_mappings_per_kind?: {
|
|
5
6
|
[key: string]: TypesFieldMapping[];
|
|
6
7
|
} | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
2
2
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
3
|
export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
|
|
4
|
+
auto_import?: boolean | null;
|
|
4
5
|
entity_mappings_per_kind?: {
|
|
5
6
|
[key: string]: TypesFieldMapping[];
|
|
6
7
|
} | null;
|
|
@@ -7,15 +7,12 @@ export type TypesAirbyteConnector = {
|
|
|
7
7
|
* @format date-time
|
|
8
8
|
*/
|
|
9
9
|
created?: string;
|
|
10
|
-
delegate_selectors?: string[];
|
|
11
10
|
id?: string;
|
|
12
11
|
integration_id?: string;
|
|
13
|
-
k8s_connector_ref?: string;
|
|
14
12
|
/**
|
|
15
13
|
* @format date-time
|
|
16
14
|
*/
|
|
17
15
|
last_updated?: string;
|
|
18
|
-
namespace?: string;
|
|
19
16
|
space_path?: string;
|
|
20
17
|
version?: string;
|
|
21
18
|
} | null;
|
|
@@ -3,6 +3,7 @@ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
|
3
3
|
import type { TypesLastSyncInfo } from '../schemas/TypesLastSyncInfo';
|
|
4
4
|
import type { TypesSyncState } from '../schemas/TypesSyncState';
|
|
5
5
|
export interface TypesIntegrationConfig {
|
|
6
|
+
auto_import?: boolean;
|
|
6
7
|
configuration?: {
|
|
7
8
|
[key: string]: any;
|
|
8
9
|
} | null;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { TypesJsonSchemaType } from '../schemas/TypesJsonSchemaType';
|
|
1
2
|
export interface TypesJsonSchema {
|
|
2
3
|
$schema?: string;
|
|
3
4
|
properties?: {
|
|
4
5
|
[key: string]: any;
|
|
5
6
|
} | null;
|
|
6
7
|
required?: string[] | null;
|
|
7
|
-
type?:
|
|
8
|
+
type?: TypesJsonSchemaType;
|
|
8
9
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TypesJsonSchemaType = string[] | null;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|