@harnessio/react-integration-manager-client 0.3.14 → 0.3.16

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.
Files changed (34) hide show
  1. package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.d.ts +1 -1
  2. package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.js +1 -1
  3. package/dist/integration-manager/src/services/hooks/useSyncNowOrgMutation.d.ts +19 -0
  4. package/dist/integration-manager/src/services/hooks/useSyncNowOrgMutation.js +14 -0
  5. package/dist/integration-manager/src/services/index.d.ts +5 -0
  6. package/dist/integration-manager/src/services/index.js +1 -0
  7. package/dist/integration-manager/src/services/schemas/EnumAction.d.ts +1 -0
  8. package/dist/integration-manager/src/services/schemas/EnumAction.js +4 -0
  9. package/dist/integration-manager/src/services/schemas/EnumOperator.d.ts +1 -0
  10. package/dist/integration-manager/src/services/schemas/EnumOperator.js +4 -0
  11. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +11 -1
  12. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +11 -1
  13. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +11 -1
  14. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +7 -0
  15. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +7 -0
  16. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +7 -0
  17. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +11 -1
  18. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +11 -1
  19. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +11 -1
  20. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +7 -0
  21. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.js +0 -3
  22. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +7 -0
  23. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.js +0 -3
  24. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +7 -0
  25. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.js +0 -3
  26. package/dist/integration-manager/src/services/schemas/TypesCorrelationMapping.d.ts +6 -0
  27. package/dist/integration-manager/src/services/schemas/TypesCorrelationMapping.js +1 -0
  28. package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +2 -0
  29. package/dist/integration-manager/src/services/schemas/TypesDefaultMappingField.d.ts +1 -0
  30. package/dist/integration-manager/src/services/schemas/TypesEntityMappingSpec.d.ts +1 -0
  31. package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +7 -0
  32. package/dist/integration-manager/src/services/schemas/TypesMappingConfig.d.ts +2 -0
  33. package/dist/integration-manager/src/services/schemas/TypesMappingConfig.js +0 -3
  34. 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);
@@ -0,0 +1,19 @@
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 SyncNowOrgMutationPathParams {
7
+ accountIdentifier: string;
8
+ orgIdentifier: string;
9
+ integrationconfig_identifier: string;
10
+ }
11
+ export type SyncNowOrgOkResponse = ResponseWithPagination<TypesAirbyteTriggerSyncResult>;
12
+ export type SyncNowOrgErrorResponse = ApierrorsErrorResponse;
13
+ export interface SyncNowOrgProps extends SyncNowOrgMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
14
+ }
15
+ export declare function syncNowOrg(props: SyncNowOrgProps): Promise<SyncNowOrgOkResponse>;
16
+ /**
17
+ * Triggers an immediate sync for the integration at organization level. Supported for Airbyte-mode integrations (e.g. ServiceNow). Returns the sync result including success status, logs, and any error details.
18
+ */
19
+ export declare function useSyncNowOrgMutation(options?: Omit<UseMutationOptions<SyncNowOrgOkResponse, SyncNowOrgErrorResponse, SyncNowOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SyncNowOrgOkResponse, ApierrorsErrorResponse, SyncNowOrgProps, 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 syncNowOrg(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}/airbyte-sync`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Triggers an immediate sync for the integration at organization 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 useSyncNowOrgMutation(options) {
13
+ return useMutation((mutateProps) => syncNowOrg(mutateProps), options);
14
+ }
@@ -55,6 +55,8 @@ export type { ListIntegrationConfigsErrorResponse, ListIntegrationConfigsOkRespo
55
55
  export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
56
56
  export type { SyncNowErrorResponse, SyncNowMutationPathParams, SyncNowOkResponse, SyncNowProps, } from './hooks/useSyncNowMutation';
57
57
  export { syncNow, useSyncNowMutation } from './hooks/useSyncNowMutation';
58
+ export type { SyncNowOrgErrorResponse, SyncNowOrgMutationPathParams, SyncNowOrgOkResponse, SyncNowOrgProps, } from './hooks/useSyncNowOrgMutation';
59
+ export { syncNowOrg, useSyncNowOrgMutation } from './hooks/useSyncNowOrgMutation';
58
60
  export type { SyncNowProjectErrorResponse, SyncNowProjectMutationPathParams, SyncNowProjectOkResponse, SyncNowProjectProps, } from './hooks/useSyncNowProjectMutation';
59
61
  export { syncNowProject, useSyncNowProjectMutation } from './hooks/useSyncNowProjectMutation';
60
62
  export type { TriggerSyncErrorResponse, TriggerSyncMutationPathParams, TriggerSyncOkResponse, TriggerSyncProps, } from './hooks/useTriggerSyncMutation';
@@ -87,10 +89,12 @@ export type { AirbyteFetchAirbyteConnectorCatalogResponse } from './schemas/Airb
87
89
  export type { AirbyteGetAirbyteConnectorCatalogResponse } from './schemas/AirbyteGetAirbyteConnectorCatalogResponse';
88
90
  export type { ApierrorsErrorDetail } from './schemas/ApierrorsErrorDetail';
89
91
  export type { ApierrorsErrorResponse } from './schemas/ApierrorsErrorResponse';
92
+ export type { EnumAction } from './schemas/EnumAction';
90
93
  export type { EnumAirbyteDestinationSyncMode } from './schemas/EnumAirbyteDestinationSyncMode';
91
94
  export type { EnumAirbyteSyncMode } from './schemas/EnumAirbyteSyncMode';
92
95
  export type { EnumIntegrationMode } from './schemas/EnumIntegrationMode';
93
96
  export type { EnumIntegrationType } from './schemas/EnumIntegrationType';
97
+ export type { EnumOperator } from './schemas/EnumOperator';
94
98
  export type { IntegrationconfigAirbyteIntegrationResponse } from './schemas/IntegrationconfigAirbyteIntegrationResponse';
95
99
  export type { IntegrationconfigSyncStatus } from './schemas/IntegrationconfigSyncStatus';
96
100
  export type { IntegrationconfigTriggerSyncResponse } from './schemas/IntegrationconfigTriggerSyncResponse';
@@ -117,6 +121,7 @@ export type { TypesAirbyteStream } from './schemas/TypesAirbyteStream';
117
121
  export type { TypesAirbyteStreamConfigured } from './schemas/TypesAirbyteStreamConfigured';
118
122
  export type { TypesAirbyteTriggerSyncError } from './schemas/TypesAirbyteTriggerSyncError';
119
123
  export type { TypesAirbyteTriggerSyncResult } from './schemas/TypesAirbyteTriggerSyncResult';
124
+ export type { TypesCorrelationMapping } from './schemas/TypesCorrelationMapping';
120
125
  export type { TypesDefaultEntityRelation } from './schemas/TypesDefaultEntityRelation';
121
126
  export type { TypesDefaultEntitySchema } from './schemas/TypesDefaultEntitySchema';
122
127
  export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
@@ -26,6 +26,7 @@ export { listIntegrationConfigsOrg, useListIntegrationConfigsOrgQuery, } from '.
26
26
  export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
27
27
  export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
28
28
  export { syncNow, useSyncNowMutation } from './hooks/useSyncNowMutation';
29
+ export { syncNowOrg, useSyncNowOrgMutation } from './hooks/useSyncNowOrgMutation';
29
30
  export { syncNowProject, useSyncNowProjectMutation } from './hooks/useSyncNowProjectMutation';
30
31
  export { triggerSync, useTriggerSyncMutation } from './hooks/useTriggerSyncMutation';
31
32
  export { triggerSyncOrg, useTriggerSyncOrgMutation } from './hooks/useTriggerSyncOrgMutation';
@@ -0,0 +1 @@
1
+ export type EnumAction = string;
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1 @@
1
+ export type EnumOperator = 'contains' | 'eq';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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
- } | null;
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
- } | null;
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
- } | null;
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,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;
@@ -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
- } | null;
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
- } | null;
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
- } | null;
14
+ };
15
+ field_mappings_per_kind?: {
16
+ [key: string]: TypesFieldMapping[];
17
+ };
8
18
  integration_config?: {
9
19
  [key: string]: any;
10
20
  } | null;
@@ -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,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -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;
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -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;
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,6 @@
1
+ import type { EnumOperator } from '../schemas/EnumOperator';
2
+ export interface TypesCorrelationMapping {
3
+ operator?: EnumOperator;
4
+ source_path?: string;
5
+ target_path?: string;
6
+ }
@@ -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;
@@ -2,5 +2,6 @@ export interface TypesDefaultMappingField {
2
2
  description?: string;
3
3
  display_name?: string;
4
4
  field_name?: string;
5
+ is_required?: boolean;
5
6
  target_path?: string;
6
7
  }
@@ -5,5 +5,6 @@ export interface TypesEntityMappingSpec {
5
5
  properties?: {
6
6
  [key: string]: any;
7
7
  } | null;
8
+ requiredPaths?: string[];
8
9
  scope?: TypesScope;
9
10
  }
@@ -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;
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-integration-manager-client",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
4
4
  "description": "Harness React integration manager client - Integration Manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",