@harnessio/react-integration-manager-client 0.3.16 → 0.3.17
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/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/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +2 -0
- package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/TypesIntegrationAgent.d.ts +1 -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);
|
|
@@ -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' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow';
|
|
@@ -1,4 +1,5 @@
|
|
|
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';
|
|
4
5
|
export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
|
|
@@ -9,6 +10,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
|
|
|
9
10
|
auto_import_per_kind?: {
|
|
10
11
|
[key: string]: boolean;
|
|
11
12
|
};
|
|
13
|
+
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
12
14
|
entity_mappings_per_kind?: {
|
|
13
15
|
[key: string]: TypesFieldMapping[];
|
|
14
16
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
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';
|
|
4
5
|
export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
|
|
@@ -9,6 +10,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
|
|
|
9
10
|
auto_import_per_kind?: {
|
|
10
11
|
[key: string]: boolean;
|
|
11
12
|
};
|
|
13
|
+
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
12
14
|
entity_mappings_per_kind?: {
|
|
13
15
|
[key: string]: TypesFieldMapping[];
|
|
14
16
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
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';
|
|
4
5
|
export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
|
|
@@ -9,6 +10,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
|
|
|
9
10
|
auto_import_per_kind?: {
|
|
10
11
|
[key: string]: boolean;
|
|
11
12
|
};
|
|
13
|
+
discovered_catalog?: TypesAirbyteCatalogDiscovered;
|
|
12
14
|
entity_mappings_per_kind?: {
|
|
13
15
|
[key: string]: TypesFieldMapping[];
|
|
14
16
|
};
|
package/package.json
CHANGED