@harnessio/react-integration-manager-client 0.3.14 → 0.3.15
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/useListDefaultMappingFieldsQuery.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.js +1 -1
- package/dist/integration-manager/src/services/index.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/EnumAction.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/EnumAction.js +4 -0
- package/dist/integration-manager/src/services/schemas/EnumOperator.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/EnumOperator.js +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +11 -1
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +11 -1
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +11 -1
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +11 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +11 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +11 -1
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.js +0 -3
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.js +0 -3
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.js +0 -3
- package/dist/integration-manager/src/services/schemas/TypesCorrelationMapping.d.ts +6 -0
- package/dist/integration-manager/src/services/schemas/TypesCorrelationMapping.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultMappingField.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesEntityMappingSpec.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/TypesMappingConfig.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesMappingConfig.js +0 -3
- package/package.json +1 -1
|
@@ -17,6 +17,6 @@ export interface ListDefaultMappingFieldsProps extends ListDefaultMappingFieldsQ
|
|
|
17
17
|
}
|
|
18
18
|
export declare function listDefaultMappingFields(props: ListDefaultMappingFieldsProps): Promise<ListDefaultMappingFieldsOkResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Returns fields from the default mapping for the given integration type. Query 'integration_type' is required. Only primary kinds are included. Only fields inside the mapping's metadata (properties.metadata) are returned. Response is mappings: an array of { kind, fields } where fields is a list of { field_name, display_name, description }. Optional query 'kind' filters to a single kind; when omitted, all primary kinds are returned.
|
|
20
|
+
* Returns fields from the default mapping for the given integration type. Query 'integration_type' is required. Only primary kinds are included. Only fields inside the mapping's metadata (properties.metadata) are returned. Response is mappings: an array of { kind, fields } where fields is a list of { field_name, display_name, description, target_path, is_required }. Optional query 'kind' filters to a single kind; when omitted, all primary kinds are returned.
|
|
21
21
|
*/
|
|
22
22
|
export declare function useListDefaultMappingFieldsQuery(props: ListDefaultMappingFieldsProps, options?: Omit<UseQueryOptions<ListDefaultMappingFieldsOkResponse, ListDefaultMappingFieldsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListDefaultMappingFieldsOkResponse, ApierrorsErrorResponse>;
|
|
@@ -7,7 +7,7 @@ export function listDefaultMappingFields(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration/default-mapping-fields`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Returns fields from the default mapping for the given integration type. Query 'integration_type' is required. Only primary kinds are included. Only fields inside the mapping's metadata (properties.metadata) are returned. Response is mappings: an array of { kind, fields } where fields is a list of { field_name, display_name, description }. Optional query 'kind' filters to a single kind; when omitted, all primary kinds are returned.
|
|
10
|
+
* Returns fields from the default mapping for the given integration type. Query 'integration_type' is required. Only primary kinds are included. Only fields inside the mapping's metadata (properties.metadata) are returned. Response is mappings: an array of { kind, fields } where fields is a list of { field_name, display_name, description, target_path, is_required }. Optional query 'kind' filters to a single kind; when omitted, all primary kinds are returned.
|
|
11
11
|
*/
|
|
12
12
|
export function useListDefaultMappingFieldsQuery(props, options) {
|
|
13
13
|
return useQuery(['listDefaultMappingFields', props.accountIdentifier, props.queryParams], ({ signal }) => listDefaultMappingFields(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -87,10 +87,12 @@ export type { AirbyteFetchAirbyteConnectorCatalogResponse } from './schemas/Airb
|
|
|
87
87
|
export type { AirbyteGetAirbyteConnectorCatalogResponse } from './schemas/AirbyteGetAirbyteConnectorCatalogResponse';
|
|
88
88
|
export type { ApierrorsErrorDetail } from './schemas/ApierrorsErrorDetail';
|
|
89
89
|
export type { ApierrorsErrorResponse } from './schemas/ApierrorsErrorResponse';
|
|
90
|
+
export type { EnumAction } from './schemas/EnumAction';
|
|
90
91
|
export type { EnumAirbyteDestinationSyncMode } from './schemas/EnumAirbyteDestinationSyncMode';
|
|
91
92
|
export type { EnumAirbyteSyncMode } from './schemas/EnumAirbyteSyncMode';
|
|
92
93
|
export type { EnumIntegrationMode } from './schemas/EnumIntegrationMode';
|
|
93
94
|
export type { EnumIntegrationType } from './schemas/EnumIntegrationType';
|
|
95
|
+
export type { EnumOperator } from './schemas/EnumOperator';
|
|
94
96
|
export type { IntegrationconfigAirbyteIntegrationResponse } from './schemas/IntegrationconfigAirbyteIntegrationResponse';
|
|
95
97
|
export type { IntegrationconfigSyncStatus } from './schemas/IntegrationconfigSyncStatus';
|
|
96
98
|
export type { IntegrationconfigTriggerSyncResponse } from './schemas/IntegrationconfigTriggerSyncResponse';
|
|
@@ -117,6 +119,7 @@ export type { TypesAirbyteStream } from './schemas/TypesAirbyteStream';
|
|
|
117
119
|
export type { TypesAirbyteStreamConfigured } from './schemas/TypesAirbyteStreamConfigured';
|
|
118
120
|
export type { TypesAirbyteTriggerSyncError } from './schemas/TypesAirbyteTriggerSyncError';
|
|
119
121
|
export type { TypesAirbyteTriggerSyncResult } from './schemas/TypesAirbyteTriggerSyncResult';
|
|
122
|
+
export type { TypesCorrelationMapping } from './schemas/TypesCorrelationMapping';
|
|
120
123
|
export type { TypesDefaultEntityRelation } from './schemas/TypesDefaultEntityRelation';
|
|
121
124
|
export type { TypesDefaultEntitySchema } from './schemas/TypesDefaultEntitySchema';
|
|
122
125
|
export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumAction = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumOperator = 'contains' | 'eq';
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
|
|
2
3
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
3
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
5
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
6
|
export interface OpenapiCreateAirbyteIntegrationConfigOrgRequest {
|
|
7
|
+
action_per_kind?: {
|
|
8
|
+
[key: string]: EnumAction;
|
|
9
|
+
};
|
|
6
10
|
auto_import?: boolean | null;
|
|
11
|
+
auto_import_per_kind?: {
|
|
12
|
+
[key: string]: boolean;
|
|
13
|
+
};
|
|
7
14
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
8
15
|
entity_mappings_per_kind?: {
|
|
9
16
|
[key: string]: TypesFieldMapping[];
|
|
10
|
-
}
|
|
17
|
+
};
|
|
18
|
+
field_mappings_per_kind?: {
|
|
19
|
+
[key: string]: TypesFieldMapping[];
|
|
20
|
+
};
|
|
11
21
|
identifier?: string;
|
|
12
22
|
integration_config?: {
|
|
13
23
|
[key: string]: any;
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
|
|
2
3
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
3
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
5
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
6
|
export interface OpenapiCreateAirbyteIntegrationConfigProjectRequest {
|
|
7
|
+
action_per_kind?: {
|
|
8
|
+
[key: string]: EnumAction;
|
|
9
|
+
};
|
|
6
10
|
auto_import?: boolean | null;
|
|
11
|
+
auto_import_per_kind?: {
|
|
12
|
+
[key: string]: boolean;
|
|
13
|
+
};
|
|
7
14
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
8
15
|
entity_mappings_per_kind?: {
|
|
9
16
|
[key: string]: TypesFieldMapping[];
|
|
10
|
-
}
|
|
17
|
+
};
|
|
18
|
+
field_mappings_per_kind?: {
|
|
19
|
+
[key: string]: TypesFieldMapping[];
|
|
20
|
+
};
|
|
11
21
|
identifier?: string;
|
|
12
22
|
integration_config?: {
|
|
13
23
|
[key: string]: any;
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
|
|
2
3
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
3
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
5
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
6
|
export interface OpenapiCreateAirbyteIntegrationConfigRequest {
|
|
7
|
+
action_per_kind?: {
|
|
8
|
+
[key: string]: EnumAction;
|
|
9
|
+
};
|
|
6
10
|
auto_import?: boolean | null;
|
|
11
|
+
auto_import_per_kind?: {
|
|
12
|
+
[key: string]: boolean;
|
|
13
|
+
};
|
|
7
14
|
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
8
15
|
entity_mappings_per_kind?: {
|
|
9
16
|
[key: string]: TypesFieldMapping[];
|
|
10
|
-
}
|
|
17
|
+
};
|
|
18
|
+
field_mappings_per_kind?: {
|
|
19
|
+
[key: string]: TypesFieldMapping[];
|
|
20
|
+
};
|
|
11
21
|
identifier?: string;
|
|
12
22
|
integration_config?: {
|
|
13
23
|
[key: string]: any;
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
2
3
|
export interface OpenapiCreateIntegrationConfigOrgRequest {
|
|
4
|
+
action_per_kind?: {
|
|
5
|
+
[key: string]: EnumAction;
|
|
6
|
+
};
|
|
3
7
|
auto_import?: boolean | null;
|
|
8
|
+
auto_import_per_kind?: {
|
|
9
|
+
[key: string]: boolean;
|
|
10
|
+
};
|
|
4
11
|
configuration?: {
|
|
5
12
|
[key: string]: any;
|
|
6
13
|
} | null;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
2
3
|
export interface OpenapiCreateIntegrationConfigProjectRequest {
|
|
4
|
+
action_per_kind?: {
|
|
5
|
+
[key: string]: EnumAction;
|
|
6
|
+
};
|
|
3
7
|
auto_import?: boolean | null;
|
|
8
|
+
auto_import_per_kind?: {
|
|
9
|
+
[key: string]: boolean;
|
|
10
|
+
};
|
|
4
11
|
configuration?: {
|
|
5
12
|
[key: string]: any;
|
|
6
13
|
} | null;
|
package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
2
3
|
export interface OpenapiCreateIntegrationConfigRequest {
|
|
4
|
+
action_per_kind?: {
|
|
5
|
+
[key: string]: EnumAction;
|
|
6
|
+
};
|
|
3
7
|
auto_import?: boolean | null;
|
|
8
|
+
auto_import_per_kind?: {
|
|
9
|
+
[key: string]: boolean;
|
|
10
|
+
};
|
|
4
11
|
configuration?: {
|
|
5
12
|
[key: string]: any;
|
|
6
13
|
} | null;
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
2
3
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
4
|
export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
|
|
5
|
+
action_per_kind?: {
|
|
6
|
+
[key: string]: EnumAction;
|
|
7
|
+
};
|
|
4
8
|
auto_import?: boolean | null;
|
|
9
|
+
auto_import_per_kind?: {
|
|
10
|
+
[key: string]: boolean;
|
|
11
|
+
};
|
|
5
12
|
entity_mappings_per_kind?: {
|
|
6
13
|
[key: string]: TypesFieldMapping[];
|
|
7
|
-
}
|
|
14
|
+
};
|
|
15
|
+
field_mappings_per_kind?: {
|
|
16
|
+
[key: string]: TypesFieldMapping[];
|
|
17
|
+
};
|
|
8
18
|
integration_config?: {
|
|
9
19
|
[key: string]: any;
|
|
10
20
|
} | null;
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
2
3
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
4
|
export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
|
|
5
|
+
action_per_kind?: {
|
|
6
|
+
[key: string]: EnumAction;
|
|
7
|
+
};
|
|
4
8
|
auto_import?: boolean | null;
|
|
9
|
+
auto_import_per_kind?: {
|
|
10
|
+
[key: string]: boolean;
|
|
11
|
+
};
|
|
5
12
|
entity_mappings_per_kind?: {
|
|
6
13
|
[key: string]: TypesFieldMapping[];
|
|
7
|
-
}
|
|
14
|
+
};
|
|
15
|
+
field_mappings_per_kind?: {
|
|
16
|
+
[key: string]: TypesFieldMapping[];
|
|
17
|
+
};
|
|
8
18
|
integration_config?: {
|
|
9
19
|
[key: string]: any;
|
|
10
20
|
} | null;
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
2
3
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
3
4
|
export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
|
|
5
|
+
action_per_kind?: {
|
|
6
|
+
[key: string]: EnumAction;
|
|
7
|
+
};
|
|
4
8
|
auto_import?: boolean | null;
|
|
9
|
+
auto_import_per_kind?: {
|
|
10
|
+
[key: string]: boolean;
|
|
11
|
+
};
|
|
5
12
|
entity_mappings_per_kind?: {
|
|
6
13
|
[key: string]: TypesFieldMapping[];
|
|
7
|
-
}
|
|
14
|
+
};
|
|
15
|
+
field_mappings_per_kind?: {
|
|
16
|
+
[key: string]: TypesFieldMapping[];
|
|
17
|
+
};
|
|
8
18
|
integration_config?: {
|
|
9
19
|
[key: string]: any;
|
|
10
20
|
} | null;
|
package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
export interface OpenapiUpdateIntegrationConfigOrgRequest {
|
|
3
|
+
action_per_kind?: {
|
|
4
|
+
[key: string]: EnumAction;
|
|
5
|
+
};
|
|
2
6
|
auto_import?: boolean | null;
|
|
7
|
+
auto_import_per_kind?: {
|
|
8
|
+
[key: string]: boolean;
|
|
9
|
+
};
|
|
3
10
|
configuration?: {
|
|
4
11
|
[key: string]: any;
|
|
5
12
|
} | null;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
export interface OpenapiUpdateIntegrationConfigProjectRequest {
|
|
3
|
+
action_per_kind?: {
|
|
4
|
+
[key: string]: EnumAction;
|
|
5
|
+
};
|
|
2
6
|
auto_import?: boolean | null;
|
|
7
|
+
auto_import_per_kind?: {
|
|
8
|
+
[key: string]: boolean;
|
|
9
|
+
};
|
|
3
10
|
configuration?: {
|
|
4
11
|
[key: string]: any;
|
|
5
12
|
} | null;
|
package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
export interface OpenapiUpdateIntegrationConfigRequest {
|
|
3
|
+
action_per_kind?: {
|
|
4
|
+
[key: string]: EnumAction;
|
|
5
|
+
};
|
|
2
6
|
auto_import?: boolean | null;
|
|
7
|
+
auto_import_per_kind?: {
|
|
8
|
+
[key: string]: boolean;
|
|
9
|
+
};
|
|
3
10
|
configuration?: {
|
|
4
11
|
[key: string]: any;
|
|
5
12
|
} | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { TypesAirbyteStream } from '../schemas/TypesAirbyteStream';
|
|
1
2
|
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
2
3
|
export interface TypesDefaultKind {
|
|
4
|
+
airbyte_stream?: TypesAirbyteStream;
|
|
3
5
|
fields?: {
|
|
4
6
|
[key: string]: any;
|
|
5
7
|
} | null;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import type { EnumAction } from '../schemas/EnumAction';
|
|
1
2
|
import type { EnumIntegrationMode } from '../schemas/EnumIntegrationMode';
|
|
2
3
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
3
4
|
import type { TypesLastSyncInfo } from '../schemas/TypesLastSyncInfo';
|
|
4
5
|
import type { TypesSyncState } from '../schemas/TypesSyncState';
|
|
5
6
|
export interface TypesIntegrationConfig {
|
|
7
|
+
action_per_kind?: {
|
|
8
|
+
[key: string]: EnumAction;
|
|
9
|
+
};
|
|
6
10
|
auto_import?: boolean;
|
|
11
|
+
auto_import_per_kind?: {
|
|
12
|
+
[key: string]: boolean;
|
|
13
|
+
};
|
|
7
14
|
configuration?: {
|
|
8
15
|
[key: string]: any;
|
|
9
16
|
} | null;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { TypesCorrelationMapping } from '../schemas/TypesCorrelationMapping';
|
|
1
2
|
export interface TypesMappingConfig {
|
|
2
3
|
correlation_field?: string;
|
|
4
|
+
correlation_mapping?: TypesCorrelationMapping;
|
|
3
5
|
display_name_field?: string;
|
|
4
6
|
idp_kind?: string;
|
|
5
7
|
idp_type?: string;
|
package/package.json
CHANGED