@harnessio/react-integration-manager-client 0.3.18 → 0.3.19
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/useDeleteIntegrationConfigMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useDeleteSettingMutation.d.ts +17 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingOrgMutation.d.ts +18 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingOrgMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingProjectMutation.d.ts +19 -0
- package/dist/integration-manager/src/services/hooks/useDeleteSettingProjectMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsOrgQuery.d.ts +18 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsOrgQuery.js +14 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsProjectQuery.d.ts +19 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsProjectQuery.js +14 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsQuery.d.ts +17 -0
- package/dist/integration-manager/src/services/hooks/useListSettingsQuery.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts +1 -1
- package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js +1 -1
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsMutation.d.ts +20 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsOrgMutation.d.ts +21 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsOrgMutation.js +14 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsProjectMutation.d.ts +22 -0
- package/dist/integration-manager/src/services/hooks/useUpsertSettingsProjectMutation.js +14 -0
- package/dist/integration-manager/src/services/index.d.ts +25 -0
- package/dist/integration-manager/src/services/index.js +9 -0
- package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
- package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertAccountRequest.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertAccountRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertOrgRequest.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertOrgRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertProjectRequest.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertProjectRequest.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesEntityMappingSpec.d.ts +3 -0
- package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettings.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettings.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettingsEntry.d.ts +9 -0
- package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettingsEntry.js +1 -0
- package/dist/integration-manager/src/services/schemas/TypesSettingsKey.d.ts +1 -0
- package/dist/integration-manager/src/services/schemas/TypesSettingsKey.js +4 -0
- package/dist/integration-manager/src/services/schemas/TypesSettingsListResponse.d.ts +4 -0
- package/dist/integration-manager/src/services/schemas/TypesSettingsListResponse.js +1 -0
- package/package.json +1 -1
|
@@ -12,6 +12,6 @@ export interface DeleteIntegrationConfigProps extends DeleteIntegrationConfigMut
|
|
|
12
12
|
}
|
|
13
13
|
export declare function deleteIntegrationConfig(props: DeleteIntegrationConfigProps): Promise<DeleteIntegrationConfigOkResponse>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Removes entity mappings, schemas, deletes the airbyte connector document (including stream state), then marks the integration as deleted. On success the response is 200 with an empty body. If the integration was already soft-deleted or removed by a concurrent DELETE, the response is 410 Gone with code INTEGRATION_DELETED.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useDeleteIntegrationConfigMutation(options?: Omit<UseMutationOptions<DeleteIntegrationConfigOkResponse, DeleteIntegrationConfigErrorResponse, DeleteIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteIntegrationConfigOkResponse, ApierrorsErrorResponse, DeleteIntegrationConfigProps, unknown>;
|
|
@@ -7,7 +7,7 @@ export function deleteIntegrationConfig(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Removes entity mappings, schemas, deletes the airbyte connector document (including stream state), then marks the integration as deleted. On success the response is 200 with an empty body. If the integration was already soft-deleted or removed by a concurrent DELETE, the response is 410 Gone with code INTEGRATION_DELETED.
|
|
11
11
|
*/
|
|
12
12
|
export function useDeleteIntegrationConfigMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => deleteIntegrationConfig(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.d.ts
CHANGED
|
@@ -13,6 +13,6 @@ export interface DeleteIntegrationConfigOrgProps extends DeleteIntegrationConfig
|
|
|
13
13
|
}
|
|
14
14
|
export declare function deleteIntegrationConfigOrg(props: DeleteIntegrationConfigOrgProps): Promise<DeleteIntegrationConfigOrgOkResponse>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Same as account-level delete: 200 empty body on success; 410 Gone with INTEGRATION_DELETED when already deleted or concurrent delete.
|
|
17
17
|
*/
|
|
18
18
|
export declare function useDeleteIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<DeleteIntegrationConfigOrgOkResponse, DeleteIntegrationConfigOrgErrorResponse, DeleteIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, DeleteIntegrationConfigOrgProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function deleteIntegrationConfigOrg(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Same as account-level delete: 200 empty body on success; 410 Gone with INTEGRATION_DELETED when already deleted or concurrent delete.
|
|
11
11
|
*/
|
|
12
12
|
export function useDeleteIntegrationConfigOrgMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => deleteIntegrationConfigOrg(mutateProps), options);
|
package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.d.ts
CHANGED
|
@@ -14,6 +14,6 @@ export interface DeleteIntegrationConfigProjectProps extends DeleteIntegrationCo
|
|
|
14
14
|
}
|
|
15
15
|
export declare function deleteIntegrationConfigProject(props: DeleteIntegrationConfigProjectProps): Promise<DeleteIntegrationConfigProjectOkResponse>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Same as account-level delete: 200 empty body on success; 410 Gone with INTEGRATION_DELETED when already deleted or concurrent delete.
|
|
18
18
|
*/
|
|
19
19
|
export declare function useDeleteIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<DeleteIntegrationConfigProjectOkResponse, DeleteIntegrationConfigProjectErrorResponse, DeleteIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, DeleteIntegrationConfigProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function deleteIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Same as account-level delete: 200 empty body on success; 410 Gone with INTEGRATION_DELETED when already deleted or concurrent delete.
|
|
11
11
|
*/
|
|
12
12
|
export function useDeleteIntegrationConfigProjectMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => deleteIntegrationConfigProject(mutateProps), options);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteSettingMutationPathParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
settings_slug: string;
|
|
8
|
+
}
|
|
9
|
+
export type DeleteSettingOkResponse = ResponseWithPagination<unknown>;
|
|
10
|
+
export type DeleteSettingErrorResponse = ApierrorsErrorResponse;
|
|
11
|
+
export interface DeleteSettingProps extends DeleteSettingMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
12
|
+
}
|
|
13
|
+
export declare function deleteSetting(props: DeleteSettingProps): Promise<DeleteSettingOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Remove a settings entry. The slug in the path is the URL-safe form of the JSON field name returned by List (underscores replaced with hyphens). Returns 404 when the entry is not configured.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useDeleteSettingMutation(options?: Omit<UseMutationOptions<DeleteSettingOkResponse, DeleteSettingErrorResponse, DeleteSettingProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteSettingOkResponse, ApierrorsErrorResponse, DeleteSettingProps, 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 deleteSetting(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/settings/${props.settings_slug}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Remove a settings entry. The slug in the path is the URL-safe form of the JSON field name returned by List (underscores replaced with hyphens). Returns 404 when the entry is not configured.
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteSettingMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteSetting(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteSettingOrgMutationPathParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
orgIdentifier: string;
|
|
8
|
+
settings_slug: string;
|
|
9
|
+
}
|
|
10
|
+
export type DeleteSettingOrgOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type DeleteSettingOrgErrorResponse = ApierrorsErrorResponse;
|
|
12
|
+
export interface DeleteSettingOrgProps extends DeleteSettingOrgMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function deleteSettingOrg(props: DeleteSettingOrgProps): Promise<DeleteSettingOrgOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Remove a settings entry. The slug in the path is the URL-safe form of the JSON field name returned by List (underscores replaced with hyphens). Returns 404 when the entry is not configured.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDeleteSettingOrgMutation(options?: Omit<UseMutationOptions<DeleteSettingOrgOkResponse, DeleteSettingOrgErrorResponse, DeleteSettingOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteSettingOrgOkResponse, ApierrorsErrorResponse, DeleteSettingOrgProps, 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 deleteSettingOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/settings/${props.settings_slug}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Remove a settings entry. The slug in the path is the URL-safe form of the JSON field name returned by List (underscores replaced with hyphens). Returns 404 when the entry is not configured.
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteSettingOrgMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteSettingOrg(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteSettingProjectMutationPathParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
orgIdentifier: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
settings_slug: string;
|
|
10
|
+
}
|
|
11
|
+
export type DeleteSettingProjectOkResponse = ResponseWithPagination<unknown>;
|
|
12
|
+
export type DeleteSettingProjectErrorResponse = ApierrorsErrorResponse;
|
|
13
|
+
export interface DeleteSettingProjectProps extends DeleteSettingProjectMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function deleteSettingProject(props: DeleteSettingProjectProps): Promise<DeleteSettingProjectOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Remove a settings entry. The slug in the path is the URL-safe form of the JSON field name returned by List (underscores replaced with hyphens). Returns 404 when the entry is not configured.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useDeleteSettingProjectMutation(options?: Omit<UseMutationOptions<DeleteSettingProjectOkResponse, DeleteSettingProjectErrorResponse, DeleteSettingProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteSettingProjectOkResponse, ApierrorsErrorResponse, DeleteSettingProjectProps, 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 deleteSettingProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/settings/${props.settings_slug}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Remove a settings entry. The slug in the path is the URL-safe form of the JSON field name returned by List (underscores replaced with hyphens). Returns 404 when the entry is not configured.
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteSettingProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteSettingProject(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesSettingsListResponse } from '../schemas/TypesSettingsListResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListSettingsOrgQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type ListSettingsOrgOkResponse = ResponseWithPagination<TypesSettingsListResponse>;
|
|
11
|
+
export type ListSettingsOrgErrorResponse = ApierrorsErrorResponse;
|
|
12
|
+
export interface ListSettingsOrgProps extends ListSettingsOrgQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function listSettingsOrg(props: ListSettingsOrgProps): Promise<ListSettingsOrgOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Return all configured settings for the space. Fields for unconfigured settings are omitted from the response.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useListSettingsOrgQuery(props: ListSettingsOrgProps, options?: Omit<UseQueryOptions<ListSettingsOrgOkResponse, ListSettingsOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListSettingsOrgOkResponse, ApierrorsErrorResponse>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function listSettingsOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/settings`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Return all configured settings for the space. Fields for unconfigured settings are omitted from the response.
|
|
11
|
+
*/
|
|
12
|
+
export function useListSettingsOrgQuery(props, options) {
|
|
13
|
+
return useQuery(['listSettingsOrg', props.accountIdentifier, props.orgIdentifier], ({ signal }) => listSettingsOrg(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesSettingsListResponse } from '../schemas/TypesSettingsListResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListSettingsProjectQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
orgIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type ListSettingsProjectOkResponse = ResponseWithPagination<TypesSettingsListResponse>;
|
|
12
|
+
export type ListSettingsProjectErrorResponse = ApierrorsErrorResponse;
|
|
13
|
+
export interface ListSettingsProjectProps extends ListSettingsProjectQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function listSettingsProject(props: ListSettingsProjectProps): Promise<ListSettingsProjectOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Return all configured settings for the space. Fields for unconfigured settings are omitted from the response.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useListSettingsProjectQuery(props: ListSettingsProjectProps, options?: Omit<UseQueryOptions<ListSettingsProjectOkResponse, ListSettingsProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListSettingsProjectOkResponse, ApierrorsErrorResponse>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function listSettingsProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/settings`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Return all configured settings for the space. Fields for unconfigured settings are omitted from the response.
|
|
11
|
+
*/
|
|
12
|
+
export function useListSettingsProjectQuery(props, options) {
|
|
13
|
+
return useQuery(['listSettingsProject', props.accountIdentifier, props.orgIdentifier, props.projectIdentifier], ({ signal }) => listSettingsProject(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesSettingsListResponse } from '../schemas/TypesSettingsListResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListSettingsQueryPathParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
}
|
|
9
|
+
export type ListSettingsOkResponse = ResponseWithPagination<TypesSettingsListResponse>;
|
|
10
|
+
export type ListSettingsErrorResponse = ApierrorsErrorResponse;
|
|
11
|
+
export interface ListSettingsProps extends ListSettingsQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
12
|
+
}
|
|
13
|
+
export declare function listSettings(props: ListSettingsProps): Promise<ListSettingsOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Return all configured settings for the space. Fields for unconfigured settings are omitted from the response.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useListSettingsQuery(props: ListSettingsProps, options?: Omit<UseQueryOptions<ListSettingsOkResponse, ListSettingsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListSettingsOkResponse, ApierrorsErrorResponse>;
|
|
@@ -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 { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function listSettings(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/settings`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Return all configured settings for the space. Fields for unconfigured settings are omitted from the response.
|
|
11
|
+
*/
|
|
12
|
+
export function useListSettingsQuery(props, options) {
|
|
13
|
+
return useQuery(['listSettings', props.accountIdentifier], ({ signal }) => listSettings(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts
CHANGED
|
@@ -18,6 +18,6 @@ export interface UpdateIntegrationConfigProjectProps extends UpdateIntegrationCo
|
|
|
18
18
|
}
|
|
19
19
|
export declare function updateIntegrationConfigProject(props: UpdateIntegrationConfigProjectProps): Promise<UpdateIntegrationConfigProjectOkResponse>;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Updates an integration configuration at project 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.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useUpdateIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigProjectOkResponse, UpdateIntegrationConfigProjectErrorResponse, UpdateIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigProjectProps, unknown>;
|
package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js
CHANGED
|
@@ -7,7 +7,7 @@ export function updateIntegrationConfigProject(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Updates an integration configuration at project 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 useUpdateIntegrationConfigProjectMutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => updateIntegrationConfigProject(mutateProps), options);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesSettingsListResponse } from '../schemas/TypesSettingsListResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiSettingsUpsertAccountRequest } from '../schemas/OpenapiSettingsUpsertAccountRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpsertSettingsMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type UpsertSettingsRequestBody = OpenapiSettingsUpsertAccountRequest;
|
|
11
|
+
export type UpsertSettingsOkResponse = ResponseWithPagination<TypesSettingsListResponse>;
|
|
12
|
+
export type UpsertSettingsErrorResponse = ApierrorsErrorResponse;
|
|
13
|
+
export interface UpsertSettingsProps extends UpsertSettingsMutationPathParams, Omit<FetcherOptions<unknown, UpsertSettingsRequestBody>, 'url'> {
|
|
14
|
+
body: UpsertSettingsRequestBody;
|
|
15
|
+
}
|
|
16
|
+
export declare function upsertSettings(props: UpsertSettingsProps): Promise<UpsertSettingsOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Create or replace settings entries. Only non-null fields in the request body are written; omitted fields are left unchanged. Returns all settings that were modified.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useUpsertSettingsMutation(options?: Omit<UseMutationOptions<UpsertSettingsOkResponse, UpsertSettingsErrorResponse, UpsertSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpsertSettingsOkResponse, ApierrorsErrorResponse, UpsertSettingsProps, 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 upsertSettings(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/settings`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create or replace settings entries. Only non-null fields in the request body are written; omitted fields are left unchanged. Returns all settings that were modified.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpsertSettingsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => upsertSettings(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesSettingsListResponse } from '../schemas/TypesSettingsListResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiSettingsUpsertOrgRequest } from '../schemas/OpenapiSettingsUpsertOrgRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpsertSettingsOrgMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type UpsertSettingsOrgRequestBody = OpenapiSettingsUpsertOrgRequest;
|
|
12
|
+
export type UpsertSettingsOrgOkResponse = ResponseWithPagination<TypesSettingsListResponse>;
|
|
13
|
+
export type UpsertSettingsOrgErrorResponse = ApierrorsErrorResponse;
|
|
14
|
+
export interface UpsertSettingsOrgProps extends UpsertSettingsOrgMutationPathParams, Omit<FetcherOptions<unknown, UpsertSettingsOrgRequestBody>, 'url'> {
|
|
15
|
+
body: UpsertSettingsOrgRequestBody;
|
|
16
|
+
}
|
|
17
|
+
export declare function upsertSettingsOrg(props: UpsertSettingsOrgProps): Promise<UpsertSettingsOrgOkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Create or replace settings entries. Only non-null fields in the request body are written; omitted fields are left unchanged. Returns all settings that were modified.
|
|
20
|
+
*/
|
|
21
|
+
export declare function useUpsertSettingsOrgMutation(options?: Omit<UseMutationOptions<UpsertSettingsOrgOkResponse, UpsertSettingsOrgErrorResponse, UpsertSettingsOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpsertSettingsOrgOkResponse, ApierrorsErrorResponse, UpsertSettingsOrgProps, 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 upsertSettingsOrg(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/settings`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create or replace settings entries. Only non-null fields in the request body are written; omitted fields are left unchanged. Returns all settings that were modified.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpsertSettingsOrgMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => upsertSettingsOrg(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesSettingsListResponse } from '../schemas/TypesSettingsListResponse';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
4
|
+
import type { OpenapiSettingsUpsertProjectRequest } from '../schemas/OpenapiSettingsUpsertProjectRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpsertSettingsProjectMutationPathParams {
|
|
8
|
+
accountIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
projectIdentifier: string;
|
|
11
|
+
}
|
|
12
|
+
export type UpsertSettingsProjectRequestBody = OpenapiSettingsUpsertProjectRequest;
|
|
13
|
+
export type UpsertSettingsProjectOkResponse = ResponseWithPagination<TypesSettingsListResponse>;
|
|
14
|
+
export type UpsertSettingsProjectErrorResponse = ApierrorsErrorResponse;
|
|
15
|
+
export interface UpsertSettingsProjectProps extends UpsertSettingsProjectMutationPathParams, Omit<FetcherOptions<unknown, UpsertSettingsProjectRequestBody>, 'url'> {
|
|
16
|
+
body: UpsertSettingsProjectRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function upsertSettingsProject(props: UpsertSettingsProjectProps): Promise<UpsertSettingsProjectOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Create or replace settings entries. Only non-null fields in the request body are written; omitted fields are left unchanged. Returns all settings that were modified.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpsertSettingsProjectMutation(options?: Omit<UseMutationOptions<UpsertSettingsProjectOkResponse, UpsertSettingsProjectErrorResponse, UpsertSettingsProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpsertSettingsProjectOkResponse, ApierrorsErrorResponse, UpsertSettingsProjectProps, 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 upsertSettingsProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/settings`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create or replace settings entries. Only non-null fields in the request body are written; omitted fields are left unchanged. Returns all settings that were modified.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpsertSettingsProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => upsertSettingsProject(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -21,6 +21,12 @@ export type { DeleteIntegrationConfigOrgErrorResponse, DeleteIntegrationConfigOr
|
|
|
21
21
|
export { deleteIntegrationConfigOrg, useDeleteIntegrationConfigOrgMutation, } from './hooks/useDeleteIntegrationConfigOrgMutation';
|
|
22
22
|
export type { DeleteIntegrationConfigProjectErrorResponse, DeleteIntegrationConfigProjectMutationPathParams, DeleteIntegrationConfigProjectOkResponse, DeleteIntegrationConfigProjectProps, } from './hooks/useDeleteIntegrationConfigProjectMutation';
|
|
23
23
|
export { deleteIntegrationConfigProject, useDeleteIntegrationConfigProjectMutation, } from './hooks/useDeleteIntegrationConfigProjectMutation';
|
|
24
|
+
export type { DeleteSettingErrorResponse, DeleteSettingMutationPathParams, DeleteSettingOkResponse, DeleteSettingProps, } from './hooks/useDeleteSettingMutation';
|
|
25
|
+
export { deleteSetting, useDeleteSettingMutation } from './hooks/useDeleteSettingMutation';
|
|
26
|
+
export type { DeleteSettingOrgErrorResponse, DeleteSettingOrgMutationPathParams, DeleteSettingOrgOkResponse, DeleteSettingOrgProps, } from './hooks/useDeleteSettingOrgMutation';
|
|
27
|
+
export { deleteSettingOrg, useDeleteSettingOrgMutation } from './hooks/useDeleteSettingOrgMutation';
|
|
28
|
+
export type { DeleteSettingProjectErrorResponse, DeleteSettingProjectMutationPathParams, DeleteSettingProjectOkResponse, DeleteSettingProjectProps, } from './hooks/useDeleteSettingProjectMutation';
|
|
29
|
+
export { deleteSettingProject, useDeleteSettingProjectMutation, } from './hooks/useDeleteSettingProjectMutation';
|
|
24
30
|
export type { DownloadAgentYamlErrorResponse, DownloadAgentYamlOkResponse, DownloadAgentYamlProps, DownloadAgentYamlQueryPathParams, } from './hooks/useDownloadAgentYamlQuery';
|
|
25
31
|
export { downloadAgentYaml, useDownloadAgentYamlQuery } from './hooks/useDownloadAgentYamlQuery';
|
|
26
32
|
export type { FetchAirbyteConnectorCatalogErrorResponse, FetchAirbyteConnectorCatalogMutationPathParams, FetchAirbyteConnectorCatalogOkResponse, FetchAirbyteConnectorCatalogProps, FetchAirbyteConnectorCatalogRequestBody, } from './hooks/useFetchAirbyteConnectorCatalogMutation';
|
|
@@ -53,6 +59,12 @@ export type { ListIntegrationConfigsProjectErrorResponse, ListIntegrationConfigs
|
|
|
53
59
|
export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
|
|
54
60
|
export type { ListIntegrationConfigsErrorResponse, ListIntegrationConfigsOkResponse, ListIntegrationConfigsProps, ListIntegrationConfigsQueryPathParams, } from './hooks/useListIntegrationConfigsQuery';
|
|
55
61
|
export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
|
|
62
|
+
export type { ListSettingsOrgErrorResponse, ListSettingsOrgOkResponse, ListSettingsOrgProps, ListSettingsOrgQueryPathParams, } from './hooks/useListSettingsOrgQuery';
|
|
63
|
+
export { listSettingsOrg, useListSettingsOrgQuery } from './hooks/useListSettingsOrgQuery';
|
|
64
|
+
export type { ListSettingsProjectErrorResponse, ListSettingsProjectOkResponse, ListSettingsProjectProps, ListSettingsProjectQueryPathParams, } from './hooks/useListSettingsProjectQuery';
|
|
65
|
+
export { listSettingsProject, useListSettingsProjectQuery, } from './hooks/useListSettingsProjectQuery';
|
|
66
|
+
export type { ListSettingsErrorResponse, ListSettingsOkResponse, ListSettingsProps, ListSettingsQueryPathParams, } from './hooks/useListSettingsQuery';
|
|
67
|
+
export { listSettings, useListSettingsQuery } from './hooks/useListSettingsQuery';
|
|
56
68
|
export type { SyncNowErrorResponse, SyncNowMutationPathParams, SyncNowOkResponse, SyncNowProps, } from './hooks/useSyncNowMutation';
|
|
57
69
|
export { syncNow, useSyncNowMutation } from './hooks/useSyncNowMutation';
|
|
58
70
|
export type { SyncNowOrgErrorResponse, SyncNowOrgMutationPathParams, SyncNowOrgOkResponse, SyncNowOrgProps, } from './hooks/useSyncNowOrgMutation';
|
|
@@ -85,6 +97,12 @@ export type { UpdateIntegrationStatusOrgErrorResponse, UpdateIntegrationStatusOr
|
|
|
85
97
|
export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
|
|
86
98
|
export type { UpdateIntegrationStatusProjectErrorResponse, UpdateIntegrationStatusProjectMutationPathParams, UpdateIntegrationStatusProjectMutationQueryParams, UpdateIntegrationStatusProjectOkResponse, UpdateIntegrationStatusProjectProps, } from './hooks/useUpdateIntegrationStatusProjectMutation';
|
|
87
99
|
export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
|
|
100
|
+
export type { UpsertSettingsErrorResponse, UpsertSettingsMutationPathParams, UpsertSettingsOkResponse, UpsertSettingsProps, UpsertSettingsRequestBody, } from './hooks/useUpsertSettingsMutation';
|
|
101
|
+
export { upsertSettings, useUpsertSettingsMutation } from './hooks/useUpsertSettingsMutation';
|
|
102
|
+
export type { UpsertSettingsOrgErrorResponse, UpsertSettingsOrgMutationPathParams, UpsertSettingsOrgOkResponse, UpsertSettingsOrgProps, UpsertSettingsOrgRequestBody, } from './hooks/useUpsertSettingsOrgMutation';
|
|
103
|
+
export { upsertSettingsOrg, useUpsertSettingsOrgMutation, } from './hooks/useUpsertSettingsOrgMutation';
|
|
104
|
+
export type { UpsertSettingsProjectErrorResponse, UpsertSettingsProjectMutationPathParams, UpsertSettingsProjectOkResponse, UpsertSettingsProjectProps, UpsertSettingsProjectRequestBody, } from './hooks/useUpsertSettingsProjectMutation';
|
|
105
|
+
export { upsertSettingsProject, useUpsertSettingsProjectMutation, } from './hooks/useUpsertSettingsProjectMutation';
|
|
88
106
|
export type { AirbyteFetchAirbyteConnectorCatalogResponse } from './schemas/AirbyteFetchAirbyteConnectorCatalogResponse';
|
|
89
107
|
export type { AirbyteGetAirbyteConnectorCatalogResponse } from './schemas/AirbyteGetAirbyteConnectorCatalogResponse';
|
|
90
108
|
export type { ApierrorsErrorDetail } from './schemas/ApierrorsErrorDetail';
|
|
@@ -106,6 +124,9 @@ export type { OpenapiCreateIntegrationConfigOrgRequest } from './schemas/Openapi
|
|
|
106
124
|
export type { OpenapiCreateIntegrationConfigProjectRequest } from './schemas/OpenapiCreateIntegrationConfigProjectRequest';
|
|
107
125
|
export type { OpenapiCreateIntegrationConfigRequest } from './schemas/OpenapiCreateIntegrationConfigRequest';
|
|
108
126
|
export type { OpenapiGetAirbyteConnectorCatalogRequest } from './schemas/OpenapiGetAirbyteConnectorCatalogRequest';
|
|
127
|
+
export type { OpenapiSettingsUpsertAccountRequest } from './schemas/OpenapiSettingsUpsertAccountRequest';
|
|
128
|
+
export type { OpenapiSettingsUpsertOrgRequest } from './schemas/OpenapiSettingsUpsertOrgRequest';
|
|
129
|
+
export type { OpenapiSettingsUpsertProjectRequest } from './schemas/OpenapiSettingsUpsertProjectRequest';
|
|
109
130
|
export type { OpenapiUpdateAgentRequest } from './schemas/OpenapiUpdateAgentRequest';
|
|
110
131
|
export type { OpenapiUpdateAirbyteIntegrationConfigOrgRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest';
|
|
111
132
|
export type { OpenapiUpdateAirbyteIntegrationConfigProjectRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest';
|
|
@@ -137,6 +158,8 @@ export type { TypesIntegrationAgent } from './schemas/TypesIntegrationAgent';
|
|
|
137
158
|
export type { TypesIntegrationConfig } from './schemas/TypesIntegrationConfig';
|
|
138
159
|
export type { TypesJsonSchema } from './schemas/TypesJsonSchema';
|
|
139
160
|
export type { TypesJsonSchemaType } from './schemas/TypesJsonSchemaType';
|
|
161
|
+
export type { TypesK8sConnectorSettings } from './schemas/TypesK8sConnectorSettings';
|
|
162
|
+
export type { TypesK8sConnectorSettingsEntry } from './schemas/TypesK8sConnectorSettingsEntry';
|
|
140
163
|
export type { TypesKindMappingFields } from './schemas/TypesKindMappingFields';
|
|
141
164
|
export type { TypesLastSyncInfo } from './schemas/TypesLastSyncInfo';
|
|
142
165
|
export type { TypesListDefaultMappingFieldsResponse } from './schemas/TypesListDefaultMappingFieldsResponse';
|
|
@@ -145,5 +168,7 @@ export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
|
|
|
145
168
|
export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
|
|
146
169
|
export type { TypesScope } from './schemas/TypesScope';
|
|
147
170
|
export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
|
|
171
|
+
export type { TypesSettingsKey } from './schemas/TypesSettingsKey';
|
|
172
|
+
export type { TypesSettingsListResponse } from './schemas/TypesSettingsListResponse';
|
|
148
173
|
export type { TypesSuggestedMapping } from './schemas/TypesSuggestedMapping';
|
|
149
174
|
export type { TypesSyncState } from './schemas/TypesSyncState';
|
|
@@ -9,6 +9,9 @@ export { deleteAgent, useDeleteAgentMutation } from './hooks/useDeleteAgentMutat
|
|
|
9
9
|
export { deleteIntegrationConfig, useDeleteIntegrationConfigMutation, } from './hooks/useDeleteIntegrationConfigMutation';
|
|
10
10
|
export { deleteIntegrationConfigOrg, useDeleteIntegrationConfigOrgMutation, } from './hooks/useDeleteIntegrationConfigOrgMutation';
|
|
11
11
|
export { deleteIntegrationConfigProject, useDeleteIntegrationConfigProjectMutation, } from './hooks/useDeleteIntegrationConfigProjectMutation';
|
|
12
|
+
export { deleteSetting, useDeleteSettingMutation } from './hooks/useDeleteSettingMutation';
|
|
13
|
+
export { deleteSettingOrg, useDeleteSettingOrgMutation } from './hooks/useDeleteSettingOrgMutation';
|
|
14
|
+
export { deleteSettingProject, useDeleteSettingProjectMutation, } from './hooks/useDeleteSettingProjectMutation';
|
|
12
15
|
export { downloadAgentYaml, useDownloadAgentYamlQuery } from './hooks/useDownloadAgentYamlQuery';
|
|
13
16
|
export { fetchAirbyteConnectorCatalog, useFetchAirbyteConnectorCatalogMutation, } from './hooks/useFetchAirbyteConnectorCatalogMutation';
|
|
14
17
|
export { getAgent, useGetAgentQuery } from './hooks/useGetAgentQuery';
|
|
@@ -25,6 +28,9 @@ export { listDefaultSchemas, useListDefaultSchemasQuery } from './hooks/useListD
|
|
|
25
28
|
export { listIntegrationConfigsOrg, useListIntegrationConfigsOrgQuery, } from './hooks/useListIntegrationConfigsOrgQuery';
|
|
26
29
|
export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
|
|
27
30
|
export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
|
|
31
|
+
export { listSettingsOrg, useListSettingsOrgQuery } from './hooks/useListSettingsOrgQuery';
|
|
32
|
+
export { listSettingsProject, useListSettingsProjectQuery, } from './hooks/useListSettingsProjectQuery';
|
|
33
|
+
export { listSettings, useListSettingsQuery } from './hooks/useListSettingsQuery';
|
|
28
34
|
export { syncNow, useSyncNowMutation } from './hooks/useSyncNowMutation';
|
|
29
35
|
export { syncNowOrg, useSyncNowOrgMutation } from './hooks/useSyncNowOrgMutation';
|
|
30
36
|
export { syncNowProject, useSyncNowProjectMutation } from './hooks/useSyncNowProjectMutation';
|
|
@@ -41,3 +47,6 @@ export { updateIntegrationConfigProject, useUpdateIntegrationConfigProjectMutati
|
|
|
41
47
|
export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
|
|
42
48
|
export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
|
|
43
49
|
export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
|
|
50
|
+
export { upsertSettings, useUpsertSettingsMutation } from './hooks/useUpsertSettingsMutation';
|
|
51
|
+
export { upsertSettingsOrg, useUpsertSettingsOrgMutation, } from './hooks/useUpsertSettingsOrgMutation';
|
|
52
|
+
export { upsertSettingsProject, useUpsertSettingsProjectMutation, } from './hooks/useUpsertSettingsProjectMutation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EnumIntegrationType = 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow';
|
|
1
|
+
export type EnumIntegrationType = 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -6,6 +6,10 @@ export interface TypesHarnessAirbyteConfig {
|
|
|
6
6
|
github_scm_connector_ref?: string;
|
|
7
7
|
pager_duty_harness_connector_ref?: string;
|
|
8
8
|
service_now_harness_connector_ref?: string;
|
|
9
|
+
sonarqube_host_url?: string;
|
|
10
|
+
sonarqube_organization?: string;
|
|
11
|
+
sonarqube_project_keys?: string[];
|
|
12
|
+
sonarqube_token?: string;
|
|
9
13
|
start_date?: string;
|
|
10
14
|
table_filter?: string;
|
|
11
15
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TypesSettingsKey } from '../schemas/TypesSettingsKey';
|
|
2
|
+
import type { TypesK8sConnectorSettings } from '../schemas/TypesK8sConnectorSettings';
|
|
3
|
+
export interface TypesK8sConnectorSettingsEntry {
|
|
4
|
+
created?: number;
|
|
5
|
+
key?: TypesSettingsKey;
|
|
6
|
+
space_path?: string;
|
|
7
|
+
updated?: number;
|
|
8
|
+
value?: TypesK8sConnectorSettings;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TypesSettingsKey = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED