@harnessio/react-integration-manager-client 0.3.17 → 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.
Files changed (59) hide show
  1. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.d.ts +1 -1
  2. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.js +1 -1
  3. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.d.ts +1 -1
  4. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigOrgMutation.js +1 -1
  5. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.d.ts +1 -1
  6. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigProjectMutation.js +1 -1
  7. package/dist/integration-manager/src/services/hooks/useDeleteSettingMutation.d.ts +17 -0
  8. package/dist/integration-manager/src/services/hooks/useDeleteSettingMutation.js +14 -0
  9. package/dist/integration-manager/src/services/hooks/useDeleteSettingOrgMutation.d.ts +18 -0
  10. package/dist/integration-manager/src/services/hooks/useDeleteSettingOrgMutation.js +14 -0
  11. package/dist/integration-manager/src/services/hooks/useDeleteSettingProjectMutation.d.ts +19 -0
  12. package/dist/integration-manager/src/services/hooks/useDeleteSettingProjectMutation.js +14 -0
  13. package/dist/integration-manager/src/services/hooks/useListSettingsOrgQuery.d.ts +18 -0
  14. package/dist/integration-manager/src/services/hooks/useListSettingsOrgQuery.js +14 -0
  15. package/dist/integration-manager/src/services/hooks/useListSettingsProjectQuery.d.ts +19 -0
  16. package/dist/integration-manager/src/services/hooks/useListSettingsProjectQuery.js +14 -0
  17. package/dist/integration-manager/src/services/hooks/useListSettingsQuery.d.ts +17 -0
  18. package/dist/integration-manager/src/services/hooks/useListSettingsQuery.js +14 -0
  19. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts +1 -1
  20. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js +1 -1
  21. package/dist/integration-manager/src/services/hooks/useUpsertSettingsMutation.d.ts +20 -0
  22. package/dist/integration-manager/src/services/hooks/useUpsertSettingsMutation.js +14 -0
  23. package/dist/integration-manager/src/services/hooks/useUpsertSettingsOrgMutation.d.ts +21 -0
  24. package/dist/integration-manager/src/services/hooks/useUpsertSettingsOrgMutation.js +14 -0
  25. package/dist/integration-manager/src/services/hooks/useUpsertSettingsProjectMutation.d.ts +22 -0
  26. package/dist/integration-manager/src/services/hooks/useUpsertSettingsProjectMutation.js +14 -0
  27. package/dist/integration-manager/src/services/index.d.ts +27 -0
  28. package/dist/integration-manager/src/services/index.js +9 -0
  29. package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
  30. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +4 -0
  31. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +4 -0
  32. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +4 -0
  33. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertAccountRequest.d.ts +4 -0
  34. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertAccountRequest.js +1 -0
  35. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertOrgRequest.d.ts +4 -0
  36. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertOrgRequest.js +1 -0
  37. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertProjectRequest.d.ts +4 -0
  38. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertProjectRequest.js +1 -0
  39. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +4 -0
  40. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +4 -0
  41. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +4 -0
  42. package/dist/integration-manager/src/services/schemas/TypesAirbyteCatalogDiscovered.d.ts +4 -0
  43. package/dist/integration-manager/src/services/schemas/TypesDefaultAirbyteStreamSettings.d.ts +7 -0
  44. package/dist/integration-manager/src/services/schemas/TypesDefaultAirbyteStreamSettings.js +1 -0
  45. package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +3 -0
  46. package/dist/integration-manager/src/services/schemas/TypesEntityMappingSpec.d.ts +3 -0
  47. package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.d.ts +6 -1
  48. package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettings.d.ts +4 -0
  49. package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettings.js +4 -0
  50. package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettingsEntry.d.ts +9 -0
  51. package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettingsEntry.js +1 -0
  52. package/dist/integration-manager/src/services/schemas/TypesKindMappingFields.d.ts +5 -0
  53. package/dist/integration-manager/src/services/schemas/TypesSettingsKey.d.ts +1 -0
  54. package/dist/integration-manager/src/services/schemas/TypesSettingsKey.js +4 -0
  55. package/dist/integration-manager/src/services/schemas/TypesSettingsListResponse.d.ts +4 -0
  56. package/dist/integration-manager/src/services/schemas/TypesSettingsListResponse.js +1 -0
  57. package/dist/integration-manager/src/services/schemas/TypesSuggestedMapping.d.ts +4 -0
  58. package/dist/integration-manager/src/services/schemas/TypesSuggestedMapping.js +4 -0
  59. 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
- * Soft-deletes the integration (sets is_deleted). Removes entity relations, mappings, schemas, airbyte connector/state. Notifies k8s-agent to stop sync and delete configs. Entity data is cleaned eventually by a cron job. Returns 204 No Content.
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
- * Soft-deletes the integration (sets is_deleted). Removes entity relations, mappings, schemas, airbyte connector/state. Notifies k8s-agent to stop sync and delete configs. Entity data is cleaned eventually by a cron job. Returns 204 No Content.
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);
@@ -13,6 +13,6 @@ export interface DeleteIntegrationConfigOrgProps extends DeleteIntegrationConfig
13
13
  }
14
14
  export declare function deleteIntegrationConfigOrg(props: DeleteIntegrationConfigOrgProps): Promise<DeleteIntegrationConfigOrgOkResponse>;
15
15
  /**
16
- * Delete integration configuration at organization level
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>;
@@ -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
- * Delete integration configuration at organization level
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);
@@ -14,6 +14,6 @@ export interface DeleteIntegrationConfigProjectProps extends DeleteIntegrationCo
14
14
  }
15
15
  export declare function deleteIntegrationConfigProject(props: DeleteIntegrationConfigProjectProps): Promise<DeleteIntegrationConfigProjectOkResponse>;
16
16
  /**
17
- * Delete integration configuration at project level
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>;
@@ -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
- * Delete integration configuration at project level
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
+ }
@@ -18,6 +18,6 @@ export interface UpdateIntegrationConfigProjectProps extends UpdateIntegrationCo
18
18
  }
19
19
  export declare function updateIntegrationConfigProject(props: UpdateIntegrationConfigProjectProps): Promise<UpdateIntegrationConfigProjectOkResponse>;
20
20
  /**
21
- * Update integration configuration at project level
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>;
@@ -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
- * Update integration configuration at project level
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';
@@ -122,6 +143,7 @@ export type { TypesAirbyteStreamConfigured } from './schemas/TypesAirbyteStreamC
122
143
  export type { TypesAirbyteTriggerSyncError } from './schemas/TypesAirbyteTriggerSyncError';
123
144
  export type { TypesAirbyteTriggerSyncResult } from './schemas/TypesAirbyteTriggerSyncResult';
124
145
  export type { TypesCorrelationMapping } from './schemas/TypesCorrelationMapping';
146
+ export type { TypesDefaultAirbyteStreamSettings } from './schemas/TypesDefaultAirbyteStreamSettings';
125
147
  export type { TypesDefaultEntityRelation } from './schemas/TypesDefaultEntityRelation';
126
148
  export type { TypesDefaultEntitySchema } from './schemas/TypesDefaultEntitySchema';
127
149
  export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
@@ -136,6 +158,8 @@ export type { TypesIntegrationAgent } from './schemas/TypesIntegrationAgent';
136
158
  export type { TypesIntegrationConfig } from './schemas/TypesIntegrationConfig';
137
159
  export type { TypesJsonSchema } from './schemas/TypesJsonSchema';
138
160
  export type { TypesJsonSchemaType } from './schemas/TypesJsonSchemaType';
161
+ export type { TypesK8sConnectorSettings } from './schemas/TypesK8sConnectorSettings';
162
+ export type { TypesK8sConnectorSettingsEntry } from './schemas/TypesK8sConnectorSettingsEntry';
139
163
  export type { TypesKindMappingFields } from './schemas/TypesKindMappingFields';
140
164
  export type { TypesLastSyncInfo } from './schemas/TypesLastSyncInfo';
141
165
  export type { TypesListDefaultMappingFieldsResponse } from './schemas/TypesListDefaultMappingFieldsResponse';
@@ -144,4 +168,7 @@ export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
144
168
  export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
145
169
  export type { TypesScope } from './schemas/TypesScope';
146
170
  export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
171
+ export type { TypesSettingsKey } from './schemas/TypesSettingsKey';
172
+ export type { TypesSettingsListResponse } from './schemas/TypesSettingsListResponse';
173
+ export type { TypesSuggestedMapping } from './schemas/TypesSuggestedMapping';
147
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' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow';
1
+ export type EnumIntegrationType = 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
@@ -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
  }
@@ -0,0 +1,4 @@
1
+ import type { TypesK8sConnectorSettings } from '../schemas/TypesK8sConnectorSettings';
2
+ export interface OpenapiSettingsUpsertAccountRequest {
3
+ k8s_connector?: TypesK8sConnectorSettings;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type { TypesK8sConnectorSettings } from '../schemas/TypesK8sConnectorSettings';
2
+ export interface OpenapiSettingsUpsertOrgRequest {
3
+ k8s_connector?: TypesK8sConnectorSettings;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type { TypesK8sConnectorSettings } from '../schemas/TypesK8sConnectorSettings';
2
+ export interface OpenapiSettingsUpsertProjectRequest {
3
+ k8s_connector?: TypesK8sConnectorSettings;
4
+ }
@@ -2,6 +2,7 @@ import type { EnumAction } from '../schemas/EnumAction';
2
2
  import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
3
3
  import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
4
4
  import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
5
+ import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
5
6
  export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
6
7
  action_per_kind?: {
7
8
  [key: string]: EnumAction;
@@ -24,4 +25,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
24
25
  [key: string]: TypesMappingConfig;
25
26
  };
26
27
  name?: string;
28
+ replication_mode_per_kind?: {
29
+ [key: string]: EnumAirbyteSyncMode;
30
+ };
27
31
  }
@@ -2,6 +2,7 @@ import type { EnumAction } from '../schemas/EnumAction';
2
2
  import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
3
3
  import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
4
4
  import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
5
+ import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
5
6
  export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
6
7
  action_per_kind?: {
7
8
  [key: string]: EnumAction;
@@ -24,4 +25,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
24
25
  [key: string]: TypesMappingConfig;
25
26
  };
26
27
  name?: string;
28
+ replication_mode_per_kind?: {
29
+ [key: string]: EnumAirbyteSyncMode;
30
+ };
27
31
  }
@@ -2,6 +2,7 @@ import type { EnumAction } from '../schemas/EnumAction';
2
2
  import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
3
3
  import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
4
4
  import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
5
+ import type { EnumAirbyteSyncMode } from '../schemas/EnumAirbyteSyncMode';
5
6
  export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
6
7
  action_per_kind?: {
7
8
  [key: string]: EnumAction;
@@ -24,4 +25,7 @@ export interface OpenapiUpdateAirbyteIntegrationConfigRequest {
24
25
  [key: string]: TypesMappingConfig;
25
26
  };
26
27
  name?: string;
28
+ replication_mode_per_kind?: {
29
+ [key: string]: EnumAirbyteSyncMode;
30
+ };
27
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
+ }
@@ -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;
@@ -7,4 +7,7 @@ export interface TypesEntityMappingSpec {
7
7
  } | null;
8
8
  requiredPaths?: string[];
9
9
  scope?: TypesScope;
10
+ staticMapping?: {
11
+ [key: string]: any;
12
+ };
10
13
  }
@@ -2,9 +2,14 @@ export interface TypesHarnessAirbyteConfig {
2
2
  gcp_folder_id?: string;
3
3
  gcp_harness_connector_ref?: string;
4
4
  gcp_org_id?: string;
5
+ github_org?: string;
6
+ github_scm_connector_ref?: string;
5
7
  pager_duty_harness_connector_ref?: string;
6
8
  service_now_harness_connector_ref?: string;
7
- since?: string;
9
+ sonarqube_host_url?: string;
10
+ sonarqube_organization?: string;
11
+ sonarqube_project_keys?: string[];
12
+ sonarqube_token?: string;
8
13
  start_date?: string;
9
14
  table_filter?: string;
10
15
  }
@@ -0,0 +1,4 @@
1
+ export interface TypesK8sConnectorSettings {
2
+ k8s_connector_ref?: string;
3
+ namespace?: string;
4
+ }
@@ -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,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
+ }
@@ -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
  }
@@ -0,0 +1 @@
1
+ export type TypesSettingsKey = 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,4 @@
1
+ import type { TypesK8sConnectorSettingsEntry } from '../schemas/TypesK8sConnectorSettingsEntry';
2
+ export interface TypesSettingsListResponse {
3
+ k8s_connector?: TypesK8sConnectorSettingsEntry;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface TypesSuggestedMapping {
2
+ kind?: string;
3
+ type?: string;
4
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-integration-manager-client",
3
- "version": "0.3.17",
3
+ "version": "0.3.19",
4
4
  "description": "Harness React integration manager client - Integration Manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",