@harnessio/react-integration-manager-client 0.6.5 → 0.6.6
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/useCreateIntegrationConfigMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/index.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesLayout.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesLayout.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesLayoutColumn.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/TypesLayoutColumn.js +4 -0
- package/package.json +1 -1
|
@@ -15,6 +15,6 @@ export interface CreateIntegrationConfigProps extends CreateIntegrationConfigMut
|
|
|
15
15
|
}
|
|
16
16
|
export declare function createIntegrationConfig(props: CreateIntegrationConfigProps): Promise<CreateIntegrationConfigOkResponse>;
|
|
17
17
|
/**
|
|
18
|
-
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type '
|
|
18
|
+
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
19
19
|
*/
|
|
20
20
|
export declare function useCreateIntegrationConfigMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigOkResponse, CreateIntegrationConfigErrorResponse, CreateIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigProps, unknown>;
|
|
@@ -7,7 +7,7 @@ export function createIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type '
|
|
10
|
+
* Creates a new integration configuration. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
11
11
|
*/
|
|
12
12
|
export function useCreateIntegrationConfigMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => createIntegrationConfig(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts
CHANGED
|
@@ -16,6 +16,6 @@ export interface CreateIntegrationConfigOrgProps extends CreateIntegrationConfig
|
|
|
16
16
|
}
|
|
17
17
|
export declare function createIntegrationConfigOrg(props: CreateIntegrationConfigOrgProps): Promise<CreateIntegrationConfigOrgOkResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* Creates a new integration configuration at organization level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type '
|
|
19
|
+
* Creates a new integration configuration at organization level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
20
20
|
*/
|
|
21
21
|
export declare function useCreateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<CreateIntegrationConfigOrgOkResponse, CreateIntegrationConfigOrgErrorResponse, CreateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, CreateIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function createIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Creates a new integration configuration at organization level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type '
|
|
10
|
+
* Creates a new integration configuration at organization level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
11
11
|
*/
|
|
12
12
|
export function useCreateIntegrationConfigOrgMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => createIntegrationConfigOrg(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ export interface CreateIntegrationConfigProjectProps extends CreateIntegrationCo
|
|
|
17
17
|
}
|
|
18
18
|
export declare function createIntegrationConfigProject(props: CreateIntegrationConfigProjectProps): Promise<CreateIntegrationConfigProjectOkResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Creates a new integration configuration at project level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type '
|
|
20
|
+
* Creates a new integration configuration at project level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
21
21
|
*/
|
|
22
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
CHANGED
|
@@ -7,7 +7,7 @@ export function createIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Creates a new integration configuration at project level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type '
|
|
10
|
+
* Creates a new integration configuration at project level. If correlation_mapping is provided, source_path must be non-empty and operator must be 'eq'. The correlation_mapping is also persisted into configuration.correlation_mapping. For Custom integrations, integration_mode may be set to 'webhook'. In webhook mode: (a) exactly one entry in kinds; (b) schema_mapping_per_kind is REQUIRED with one entry per kind and mappings.identifier non-empty; (c) configuration.webhook_auth is REQUIRED and must be a valid WebhookAuth object (auth_type 'hmac_auth' or 'jwt_auth'; hmac_auth requires hash_algo + auth_header + secret_ref; jwt_auth rejects any of those fields); (d) payload_schema_per_kind is optional and only supported for the 'custom' kind — other kinds fall back to the built-in default schema; (e) the response configuration.webhook_endpoints_per_kind carries one URL per kind of the shape '/api/v1/accounts/.../webhooks/{16-char-hex}', which external systems POST payloads to.
|
|
11
11
|
*/
|
|
12
12
|
export function useCreateIntegrationConfigProjectMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => createIntegrationConfigProject(mutateProps), options);
|
|
@@ -275,6 +275,8 @@ export type { TypesJsonSchemaType } from './schemas/TypesJsonSchemaType';
|
|
|
275
275
|
export type { TypesK8sConnectorSettings } from './schemas/TypesK8sConnectorSettings';
|
|
276
276
|
export type { TypesKindMappingFields } from './schemas/TypesKindMappingFields';
|
|
277
277
|
export type { TypesLastSyncInfo } from './schemas/TypesLastSyncInfo';
|
|
278
|
+
export type { TypesLayout } from './schemas/TypesLayout';
|
|
279
|
+
export type { TypesLayoutColumn } from './schemas/TypesLayoutColumn';
|
|
278
280
|
export type { TypesListDefaultMappingFieldsResponse } from './schemas/TypesListDefaultMappingFieldsResponse';
|
|
279
281
|
export type { TypesMappingConfig } from './schemas/TypesMappingConfig';
|
|
280
282
|
export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { TypesAirbyteStream } from '../schemas/TypesAirbyteStream';
|
|
2
2
|
import type { TypesDefaultAirbyteStreamSettings } from '../schemas/TypesDefaultAirbyteStreamSettings';
|
|
3
3
|
import type { TimeDuration } from '../schemas/TimeDuration';
|
|
4
|
+
import type { TypesLayout } from '../schemas/TypesLayout';
|
|
4
5
|
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
5
6
|
export interface TypesDefaultKind {
|
|
6
7
|
airbyte_stream?: TypesAirbyteStream;
|
|
@@ -10,6 +11,7 @@ export interface TypesDefaultKind {
|
|
|
10
11
|
fields?: {
|
|
11
12
|
[key: string]: any;
|
|
12
13
|
} | null;
|
|
14
|
+
layout?: TypesLayout;
|
|
13
15
|
optional_secondary?: boolean;
|
|
14
16
|
primary?: boolean;
|
|
15
17
|
primary_kind?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED