@harnessio/react-integration-manager-client 0.3.16 → 0.3.18
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/useUpdateIntegrationConfigMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/index.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/EnumAction.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +6 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +6 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +6 -0
- package/dist/integration-manager/src/services/schemas/TypesAirbyteCatalogDiscovered.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultAirbyteStreamSettings.d.ts +7 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultAirbyteStreamSettings.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.d.ts +5 -1
- package/dist/integration-manager/src/services/schemas/TypesIntegrationAgent.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesKindMappingFields.d.ts +5 -0
- package/dist/integration-manager/src/services/schemas/TypesSuggestedMapping.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesSuggestedMapping.js +4 -0
- package/package.json +1 -1
|
@@ -16,6 +16,6 @@ export interface UpdateIntegrationConfigProps extends UpdateIntegrationConfigMut
|
|
|
16
16
|
}
|
|
17
17
|
export declare function updateIntegrationConfig(props: UpdateIntegrationConfigProps): Promise<UpdateIntegrationConfigOkResponse>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Updates an integration configuration. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
|
|
20
20
|
*/
|
|
21
21
|
export declare function useUpdateIntegrationConfigMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOkResponse, UpdateIntegrationConfigErrorResponse, UpdateIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigProps, unknown>;
|
|
@@ -7,7 +7,7 @@ export function updateIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Updates an integration configuration. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
|
|
11
11
|
*/
|
|
12
12
|
export function useUpdateIntegrationConfigMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => updateIntegrationConfig(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ export interface UpdateIntegrationConfigOrgProps extends UpdateIntegrationConfig
|
|
|
17
17
|
}
|
|
18
18
|
export declare function updateIntegrationConfigOrg(props: UpdateIntegrationConfigOrgProps): Promise<UpdateIntegrationConfigOrgOkResponse>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Updates an integration configuration at organization level. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
|
|
21
21
|
*/
|
|
22
22
|
export declare function useUpdateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOrgOkResponse, UpdateIntegrationConfigOrgErrorResponse, UpdateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function updateIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Updates an integration configuration at organization level. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
|
|
11
11
|
*/
|
|
12
12
|
export function useUpdateIntegrationConfigOrgMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => updateIntegrationConfigOrg(mutateProps), options);
|
|
@@ -122,6 +122,7 @@ export type { TypesAirbyteStreamConfigured } from './schemas/TypesAirbyteStreamC
|
|
|
122
122
|
export type { TypesAirbyteTriggerSyncError } from './schemas/TypesAirbyteTriggerSyncError';
|
|
123
123
|
export type { TypesAirbyteTriggerSyncResult } from './schemas/TypesAirbyteTriggerSyncResult';
|
|
124
124
|
export type { TypesCorrelationMapping } from './schemas/TypesCorrelationMapping';
|
|
125
|
+
export type { TypesDefaultAirbyteStreamSettings } from './schemas/TypesDefaultAirbyteStreamSettings';
|
|
125
126
|
export type { TypesDefaultEntityRelation } from './schemas/TypesDefaultEntityRelation';
|
|
126
127
|
export type { TypesDefaultEntitySchema } from './schemas/TypesDefaultEntitySchema';
|
|
127
128
|
export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
|
|
@@ -144,4 +145,5 @@ export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
|
|
|
144
145
|
export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
|
|
145
146
|
export type { TypesScope } from './schemas/TypesScope';
|
|
146
147
|
export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
|
|
148
|
+
export type { TypesSuggestedMapping } from './schemas/TypesSuggestedMapping';
|
|
147
149
|
export type { TypesSyncState } from './schemas/TypesSyncState';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumAction =
|
|
1
|
+
export type EnumAction = 'Merge' | 'Merge_Register' | 'Register';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumIntegrationType = 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow';
|
|
1
|
+
export type EnumIntegrationType = 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow';
|
|
@@ -3,6 +3,7 @@ import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatal
|
|
|
3
3
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
4
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
5
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
6
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
6
7
|
export interface OpenapiCreateAirbyteIntegrationConfigOrgRequest {
|
|
7
8
|
action_per_kind?: {
|
|
8
9
|
[key: string]: EnumAction;
|
|
@@ -28,4 +29,7 @@ export interface OpenapiCreateAirbyteIntegrationConfigOrgRequest {
|
|
|
28
29
|
[key: string]: TypesMappingConfig;
|
|
29
30
|
};
|
|
30
31
|
name?: string;
|
|
32
|
+
replication_mode_per_kind?: {
|
|
33
|
+
[key: string]: EnumAirbyteSyncMode;
|
|
34
|
+
};
|
|
31
35
|
}
|
|
@@ -3,6 +3,7 @@ import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatal
|
|
|
3
3
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
4
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
5
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
6
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
6
7
|
export interface OpenapiCreateAirbyteIntegrationConfigProjectRequest {
|
|
7
8
|
action_per_kind?: {
|
|
8
9
|
[key: string]: EnumAction;
|
|
@@ -28,4 +29,7 @@ export interface OpenapiCreateAirbyteIntegrationConfigProjectRequest {
|
|
|
28
29
|
[key: string]: TypesMappingConfig;
|
|
29
30
|
};
|
|
30
31
|
name?: string;
|
|
32
|
+
replication_mode_per_kind?: {
|
|
33
|
+
[key: string]: EnumAirbyteSyncMode;
|
|
34
|
+
};
|
|
31
35
|
}
|
|
@@ -3,6 +3,7 @@ import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatal
|
|
|
3
3
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
4
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
5
5
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
6
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
6
7
|
export interface OpenapiCreateAirbyteIntegrationConfigRequest {
|
|
7
8
|
action_per_kind?: {
|
|
8
9
|
[key: string]: EnumAction;
|
|
@@ -28,4 +29,7 @@ export interface OpenapiCreateAirbyteIntegrationConfigRequest {
|
|
|
28
29
|
[key: string]: TypesMappingConfig;
|
|
29
30
|
};
|
|
30
31
|
name?: string;
|
|
32
|
+
replication_mode_per_kind?: {
|
|
33
|
+
[key: string]: EnumAirbyteSyncMode;
|
|
34
|
+
};
|
|
31
35
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
|
+
import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
|
|
2
3
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
3
4
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
4
6
|
export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
|
|
5
7
|
action_per_kind?: {
|
|
6
8
|
[key: string]: EnumAction;
|
|
@@ -9,6 +11,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
|
|
|
9
11
|
auto_import_per_kind?: {
|
|
10
12
|
[key: string]: boolean;
|
|
11
13
|
};
|
|
14
|
+
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
12
15
|
entity_mappings_per_kind?: {
|
|
13
16
|
[key: string]: TypesFieldMapping[];
|
|
14
17
|
};
|
|
@@ -22,4 +25,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
|
|
|
22
25
|
[key: string]: TypesMappingConfig;
|
|
23
26
|
};
|
|
24
27
|
name?: string;
|
|
28
|
+
replication_mode_per_kind?: {
|
|
29
|
+
[key: string]: EnumAirbyteSyncMode;
|
|
30
|
+
};
|
|
25
31
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
|
+
import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
|
|
2
3
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
3
4
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
4
6
|
export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
|
|
5
7
|
action_per_kind?: {
|
|
6
8
|
[key: string]: EnumAction;
|
|
@@ -9,6 +11,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
|
|
|
9
11
|
auto_import_per_kind?: {
|
|
10
12
|
[key: string]: boolean;
|
|
11
13
|
};
|
|
14
|
+
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
12
15
|
entity_mappings_per_kind?: {
|
|
13
16
|
[key: string]: TypesFieldMapping[];
|
|
14
17
|
};
|
|
@@ -22,4 +25,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
|
|
|
22
25
|
[key: string]: TypesMappingConfig;
|
|
23
26
|
};
|
|
24
27
|
name?: string;
|
|
28
|
+
replication_mode_per_kind?: {
|
|
29
|
+
[key: string]: EnumAirbyteSyncMode;
|
|
30
|
+
};
|
|
25
31
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { EnumAction } from '../schemas/EnumAction';
|
|
2
|
+
import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
|
|
2
3
|
import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
|
|
3
4
|
import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
|
|
5
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
4
6
|
export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
|
|
5
7
|
action_per_kind?: {
|
|
6
8
|
[key: string]: EnumAction;
|
|
@@ -9,6 +11,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
|
|
|
9
11
|
auto_import_per_kind?: {
|
|
10
12
|
[key: string]: boolean;
|
|
11
13
|
};
|
|
14
|
+
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
12
15
|
entity_mappings_per_kind?: {
|
|
13
16
|
[key: string]: TypesFieldMapping[];
|
|
14
17
|
};
|
|
@@ -22,4 +25,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
|
|
|
22
25
|
[key: string]: TypesMappingConfig;
|
|
23
26
|
};
|
|
24
27
|
name?: string;
|
|
28
|
+
replication_mode_per_kind?: {
|
|
29
|
+
[key: string]: EnumAirbyteSyncMode;
|
|
30
|
+
};
|
|
25
31
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import type { TypesDefaultAirbyteStreamSettings } from '../schemas/TypesDefaultAirbyteStreamSettings';
|
|
1
2
|
import type { TypesAirbyteStream } from '../schemas/TypesAirbyteStream';
|
|
2
3
|
export interface TypesAirbyteCatalogDiscovered {
|
|
4
|
+
default_stream_settings?: {
|
|
5
|
+
[key: string]: TypesDefaultAirbyteStreamSettings;
|
|
6
|
+
};
|
|
3
7
|
streams?: TypesAirbyteStream[] | null;
|
|
4
8
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { EnumAirbyteDestinationSyncMode } from '../schemas/EnumAirbyteDestinationSyncMode';
|
|
2
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
3
|
+
export interface TypesDefaultAirbyteStreamSettings {
|
|
4
|
+
cursor_field?: string[];
|
|
5
|
+
destination_sync_mode?: EnumAirbyteDestinationSyncMode;
|
|
6
|
+
sync_mode?: EnumAirbyteSyncMode;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { TypesAirbyteStream } from '../schemas/TypesAirbyteStream';
|
|
2
|
+
import type { TypesDefaultAirbyteStreamSettings } from '../schemas/TypesDefaultAirbyteStreamSettings';
|
|
2
3
|
import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
|
|
3
4
|
export interface TypesDefaultKind {
|
|
4
5
|
airbyte_stream?: TypesAirbyteStream;
|
|
6
|
+
category?: string;
|
|
7
|
+
default_airbyte_stream_settings?: TypesDefaultAirbyteStreamSettings;
|
|
5
8
|
fields?: {
|
|
6
9
|
[key: string]: any;
|
|
7
10
|
} | null;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export interface TypesHarnessAirbyteConfig {
|
|
2
|
+
gcp_folder_id?: string;
|
|
3
|
+
gcp_harness_connector_ref?: string;
|
|
4
|
+
gcp_org_id?: string;
|
|
5
|
+
github_org?: string;
|
|
6
|
+
github_scm_connector_ref?: string;
|
|
2
7
|
pager_duty_harness_connector_ref?: string;
|
|
3
8
|
service_now_harness_connector_ref?: string;
|
|
4
|
-
since?: string;
|
|
5
9
|
start_date?: string;
|
|
6
10
|
table_filter?: string;
|
|
7
11
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { TypesDefaultMappingField } from '../schemas/TypesDefaultMappingField';
|
|
2
|
+
import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
|
|
3
|
+
import type { TypesSuggestedMapping } from '../schemas/TypesSuggestedMapping';
|
|
2
4
|
export interface TypesKindMappingFields {
|
|
5
|
+
category?: string;
|
|
3
6
|
fields?: TypesDefaultMappingField[] | null;
|
|
4
7
|
kind?: string;
|
|
8
|
+
replication_modes?: EnumAirbyteSyncMode[];
|
|
9
|
+
suggested_mapping?: TypesSuggestedMapping;
|
|
5
10
|
}
|
package/package.json
CHANGED