@harnessio/react-integration-manager-client 0.3.18 → 0.4.0

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 (71) 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/useGetEntitiesMutation.d.ts +34 -0
  14. package/dist/integration-manager/src/services/hooks/useGetEntitiesMutation.js +28 -0
  15. package/dist/integration-manager/src/services/hooks/useListSettingsOrgQuery.d.ts +18 -0
  16. package/dist/integration-manager/src/services/hooks/useListSettingsOrgQuery.js +14 -0
  17. package/dist/integration-manager/src/services/hooks/useListSettingsProjectQuery.d.ts +19 -0
  18. package/dist/integration-manager/src/services/hooks/useListSettingsProjectQuery.js +14 -0
  19. package/dist/integration-manager/src/services/hooks/useListSettingsQuery.d.ts +17 -0
  20. package/dist/integration-manager/src/services/hooks/useListSettingsQuery.js +14 -0
  21. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.d.ts +1 -1
  22. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigProjectMutation.js +1 -1
  23. package/dist/integration-manager/src/services/hooks/useUpsertSettingsMutation.d.ts +20 -0
  24. package/dist/integration-manager/src/services/hooks/useUpsertSettingsMutation.js +14 -0
  25. package/dist/integration-manager/src/services/hooks/useUpsertSettingsOrgMutation.d.ts +21 -0
  26. package/dist/integration-manager/src/services/hooks/useUpsertSettingsOrgMutation.js +14 -0
  27. package/dist/integration-manager/src/services/hooks/useUpsertSettingsProjectMutation.d.ts +22 -0
  28. package/dist/integration-manager/src/services/hooks/useUpsertSettingsProjectMutation.js +14 -0
  29. package/dist/integration-manager/src/services/index.d.ts +36 -0
  30. package/dist/integration-manager/src/services/index.js +10 -0
  31. package/dist/integration-manager/src/services/schemas/EntityGetEntitiesResponse.d.ts +6 -0
  32. package/dist/integration-manager/src/services/schemas/EntityGetEntitiesResponse.js +1 -0
  33. package/dist/integration-manager/src/services/schemas/EntityPaginationInfo.d.ts +6 -0
  34. package/dist/integration-manager/src/services/schemas/EntityPaginationInfo.js +4 -0
  35. package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
  36. package/dist/integration-manager/src/services/schemas/EnumSyncStatus.d.ts +1 -0
  37. package/dist/integration-manager/src/services/schemas/EnumSyncStatus.js +4 -0
  38. package/dist/integration-manager/src/services/schemas/OpenapiFieldValFilterRequest.d.ts +4 -0
  39. package/dist/integration-manager/src/services/schemas/OpenapiFieldValFilterRequest.js +4 -0
  40. package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesRequest.d.ts +8 -0
  41. package/dist/integration-manager/src/services/schemas/OpenapiGetEntitiesRequest.js +1 -0
  42. package/dist/integration-manager/src/services/schemas/OpenapiIntegrationRequestOpenApi.d.ts +6 -0
  43. package/dist/integration-manager/src/services/schemas/OpenapiIntegrationRequestOpenApi.js +1 -0
  44. package/dist/integration-manager/src/services/schemas/OpenapiSecondaryKindRequestOpenApi.d.ts +5 -0
  45. package/dist/integration-manager/src/services/schemas/OpenapiSecondaryKindRequestOpenApi.js +1 -0
  46. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertAccountRequest.d.ts +4 -0
  47. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertAccountRequest.js +1 -0
  48. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertOrgRequest.d.ts +4 -0
  49. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertOrgRequest.js +1 -0
  50. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertProjectRequest.d.ts +4 -0
  51. package/dist/integration-manager/src/services/schemas/OpenapiSettingsUpsertProjectRequest.js +1 -0
  52. package/dist/integration-manager/src/services/schemas/TypesAirbyteTriggerSyncResult.d.ts +1 -0
  53. package/dist/integration-manager/src/services/schemas/TypesEntity.d.ts +21 -0
  54. package/dist/integration-manager/src/services/schemas/TypesEntity.js +1 -0
  55. package/dist/integration-manager/src/services/schemas/TypesEntityMappingSpec.d.ts +3 -0
  56. package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.d.ts +6 -0
  57. package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.js +0 -3
  58. package/dist/integration-manager/src/services/schemas/TypesIdpSubscription.d.ts +5 -0
  59. package/dist/integration-manager/src/services/schemas/TypesIdpSubscription.js +4 -0
  60. package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +1 -0
  61. package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettings.d.ts +4 -0
  62. package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettings.js +4 -0
  63. package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettingsEntry.d.ts +9 -0
  64. package/dist/integration-manager/src/services/schemas/TypesK8sConnectorSettingsEntry.js +1 -0
  65. package/dist/integration-manager/src/services/schemas/TypesSettingsKey.d.ts +1 -0
  66. package/dist/integration-manager/src/services/schemas/TypesSettingsKey.js +4 -0
  67. package/dist/integration-manager/src/services/schemas/TypesSettingsListResponse.d.ts +4 -0
  68. package/dist/integration-manager/src/services/schemas/TypesSettingsListResponse.js +1 -0
  69. package/dist/integration-manager/src/services/schemas/TypesSyncState.d.ts +2 -0
  70. package/dist/integration-manager/src/services/schemas/TypesSyncState.js +0 -3
  71. 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,34 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { EntityGetEntitiesResponse } from '../schemas/EntityGetEntitiesResponse';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { OpenapiGetEntitiesRequest } from '../schemas/OpenapiGetEntitiesRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetEntitiesMutationPathParams {
8
+ accountIdentifier: string;
9
+ }
10
+ export type GetEntitiesRequestBody = OpenapiGetEntitiesRequest;
11
+ export type GetEntitiesOkResponse = ResponseWithPagination<EntityGetEntitiesResponse>;
12
+ export type GetEntitiesErrorResponse = ApierrorsErrorResponse;
13
+ export interface GetEntitiesProps extends GetEntitiesMutationPathParams, Omit<FetcherOptions<unknown, GetEntitiesRequestBody>, 'url'> {
14
+ body: GetEntitiesRequestBody;
15
+ }
16
+ export declare function getEntities(props: GetEntitiesProps): Promise<GetEntitiesOkResponse>;
17
+ /**
18
+ * Get entities from multiple integrations with linked secondary entities.
19
+ *
20
+ * Request Body (required):
21
+ * - integrations: Required array of integration queries. Each entry includes:
22
+ * - integration_id: Required - integration config identifier.
23
+ * - entity_uuid: Optional - UUID of the primary entity to fetch.
24
+ * - secondary_kinds: Optional - array of secondary entity kinds to fetch via EntityRelation linkage.
25
+ * Each secondary kind can include field_val_filters for filtering.
26
+ * - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
27
+ * - order: Sort order - "asc" or "desc" (default: "desc").
28
+ * - page: Pagination page number (default: 1, 1-based).
29
+ * - limit: Page size (default: 50, max: 2000).
30
+ *
31
+ * For each integration, the primary entity is fetched by UUID, then linked secondary entities
32
+ * are resolved via EntityRelation definitions. Results are returned as a flat list.
33
+ */
34
+ export declare function useGetEntitiesMutation(options?: Omit<UseMutationOptions<GetEntitiesOkResponse, GetEntitiesErrorResponse, GetEntitiesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetEntitiesOkResponse, ApierrorsErrorResponse, GetEntitiesProps, unknown>;
@@ -0,0 +1,28 @@
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 getEntities(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/entities`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get entities from multiple integrations with linked secondary entities.
11
+ *
12
+ * Request Body (required):
13
+ * - integrations: Required array of integration queries. Each entry includes:
14
+ * - integration_id: Required - integration config identifier.
15
+ * - entity_uuid: Optional - UUID of the primary entity to fetch.
16
+ * - secondary_kinds: Optional - array of secondary entity kinds to fetch via EntityRelation linkage.
17
+ * Each secondary kind can include field_val_filters for filtering.
18
+ * - sort_by: Sort field - "created" (default), "last_updated", "name", or "identifier".
19
+ * - order: Sort order - "asc" or "desc" (default: "desc").
20
+ * - page: Pagination page number (default: 1, 1-based).
21
+ * - limit: Page size (default: 50, max: 2000).
22
+ *
23
+ * For each integration, the primary entity is fetched by UUID, then linked secondary entities
24
+ * are resolved via EntityRelation definitions. Results are returned as a flat list.
25
+ */
26
+ export function useGetEntitiesMutation(options) {
27
+ return useMutation((mutateProps) => getEntities(mutateProps), options);
28
+ }
@@ -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';
@@ -35,6 +41,8 @@ export type { GetAirbyteIntegrationConfigProjectErrorResponse, GetAirbyteIntegra
35
41
  export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
36
42
  export type { GetAirbyteIntegrationConfigErrorResponse, GetAirbyteIntegrationConfigOkResponse, GetAirbyteIntegrationConfigProps, GetAirbyteIntegrationConfigQueryPathParams, } from './hooks/useGetAirbyteIntegrationConfigQuery';
37
43
  export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
44
+ export type { GetEntitiesErrorResponse, GetEntitiesMutationPathParams, GetEntitiesOkResponse, GetEntitiesProps, GetEntitiesRequestBody, } from './hooks/useGetEntitiesMutation';
45
+ export { getEntities, useGetEntitiesMutation } from './hooks/useGetEntitiesMutation';
38
46
  export type { GetIntegrationConfigOrgErrorResponse, GetIntegrationConfigOrgOkResponse, GetIntegrationConfigOrgProps, GetIntegrationConfigOrgQueryPathParams, } from './hooks/useGetIntegrationConfigOrgQuery';
39
47
  export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
40
48
  export type { GetIntegrationConfigProjectErrorResponse, GetIntegrationConfigProjectOkResponse, GetIntegrationConfigProjectProps, GetIntegrationConfigProjectQueryPathParams, } from './hooks/useGetIntegrationConfigProjectQuery';
@@ -53,6 +61,12 @@ export type { ListIntegrationConfigsProjectErrorResponse, ListIntegrationConfigs
53
61
  export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
54
62
  export type { ListIntegrationConfigsErrorResponse, ListIntegrationConfigsOkResponse, ListIntegrationConfigsProps, ListIntegrationConfigsQueryPathParams, } from './hooks/useListIntegrationConfigsQuery';
55
63
  export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
64
+ export type { ListSettingsOrgErrorResponse, ListSettingsOrgOkResponse, ListSettingsOrgProps, ListSettingsOrgQueryPathParams, } from './hooks/useListSettingsOrgQuery';
65
+ export { listSettingsOrg, useListSettingsOrgQuery } from './hooks/useListSettingsOrgQuery';
66
+ export type { ListSettingsProjectErrorResponse, ListSettingsProjectOkResponse, ListSettingsProjectProps, ListSettingsProjectQueryPathParams, } from './hooks/useListSettingsProjectQuery';
67
+ export { listSettingsProject, useListSettingsProjectQuery, } from './hooks/useListSettingsProjectQuery';
68
+ export type { ListSettingsErrorResponse, ListSettingsOkResponse, ListSettingsProps, ListSettingsQueryPathParams, } from './hooks/useListSettingsQuery';
69
+ export { listSettings, useListSettingsQuery } from './hooks/useListSettingsQuery';
56
70
  export type { SyncNowErrorResponse, SyncNowMutationPathParams, SyncNowOkResponse, SyncNowProps, } from './hooks/useSyncNowMutation';
57
71
  export { syncNow, useSyncNowMutation } from './hooks/useSyncNowMutation';
58
72
  export type { SyncNowOrgErrorResponse, SyncNowOrgMutationPathParams, SyncNowOrgOkResponse, SyncNowOrgProps, } from './hooks/useSyncNowOrgMutation';
@@ -85,16 +99,25 @@ export type { UpdateIntegrationStatusOrgErrorResponse, UpdateIntegrationStatusOr
85
99
  export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
86
100
  export type { UpdateIntegrationStatusProjectErrorResponse, UpdateIntegrationStatusProjectMutationPathParams, UpdateIntegrationStatusProjectMutationQueryParams, UpdateIntegrationStatusProjectOkResponse, UpdateIntegrationStatusProjectProps, } from './hooks/useUpdateIntegrationStatusProjectMutation';
87
101
  export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
102
+ export type { UpsertSettingsErrorResponse, UpsertSettingsMutationPathParams, UpsertSettingsOkResponse, UpsertSettingsProps, UpsertSettingsRequestBody, } from './hooks/useUpsertSettingsMutation';
103
+ export { upsertSettings, useUpsertSettingsMutation } from './hooks/useUpsertSettingsMutation';
104
+ export type { UpsertSettingsOrgErrorResponse, UpsertSettingsOrgMutationPathParams, UpsertSettingsOrgOkResponse, UpsertSettingsOrgProps, UpsertSettingsOrgRequestBody, } from './hooks/useUpsertSettingsOrgMutation';
105
+ export { upsertSettingsOrg, useUpsertSettingsOrgMutation, } from './hooks/useUpsertSettingsOrgMutation';
106
+ export type { UpsertSettingsProjectErrorResponse, UpsertSettingsProjectMutationPathParams, UpsertSettingsProjectOkResponse, UpsertSettingsProjectProps, UpsertSettingsProjectRequestBody, } from './hooks/useUpsertSettingsProjectMutation';
107
+ export { upsertSettingsProject, useUpsertSettingsProjectMutation, } from './hooks/useUpsertSettingsProjectMutation';
88
108
  export type { AirbyteFetchAirbyteConnectorCatalogResponse } from './schemas/AirbyteFetchAirbyteConnectorCatalogResponse';
89
109
  export type { AirbyteGetAirbyteConnectorCatalogResponse } from './schemas/AirbyteGetAirbyteConnectorCatalogResponse';
90
110
  export type { ApierrorsErrorDetail } from './schemas/ApierrorsErrorDetail';
91
111
  export type { ApierrorsErrorResponse } from './schemas/ApierrorsErrorResponse';
112
+ export type { EntityGetEntitiesResponse } from './schemas/EntityGetEntitiesResponse';
113
+ export type { EntityPaginationInfo } from './schemas/EntityPaginationInfo';
92
114
  export type { EnumAction } from './schemas/EnumAction';
93
115
  export type { EnumAirbyteDestinationSyncMode } from './schemas/EnumAirbyteDestinationSyncMode';
94
116
  export type { EnumAirbyteSyncMode } from './schemas/EnumAirbyteSyncMode';
95
117
  export type { EnumIntegrationMode } from './schemas/EnumIntegrationMode';
96
118
  export type { EnumIntegrationType } from './schemas/EnumIntegrationType';
97
119
  export type { EnumOperator } from './schemas/EnumOperator';
120
+ export type { EnumSyncStatus } from './schemas/EnumSyncStatus';
98
121
  export type { IntegrationconfigAirbyteIntegrationResponse } from './schemas/IntegrationconfigAirbyteIntegrationResponse';
99
122
  export type { IntegrationconfigSyncStatus } from './schemas/IntegrationconfigSyncStatus';
100
123
  export type { IntegrationconfigTriggerSyncResponse } from './schemas/IntegrationconfigTriggerSyncResponse';
@@ -105,7 +128,14 @@ export type { OpenapiCreateAirbyteIntegrationConfigRequest } from './schemas/Ope
105
128
  export type { OpenapiCreateIntegrationConfigOrgRequest } from './schemas/OpenapiCreateIntegrationConfigOrgRequest';
106
129
  export type { OpenapiCreateIntegrationConfigProjectRequest } from './schemas/OpenapiCreateIntegrationConfigProjectRequest';
107
130
  export type { OpenapiCreateIntegrationConfigRequest } from './schemas/OpenapiCreateIntegrationConfigRequest';
131
+ export type { OpenapiFieldValFilterRequest } from './schemas/OpenapiFieldValFilterRequest';
108
132
  export type { OpenapiGetAirbyteConnectorCatalogRequest } from './schemas/OpenapiGetAirbyteConnectorCatalogRequest';
133
+ export type { OpenapiGetEntitiesRequest } from './schemas/OpenapiGetEntitiesRequest';
134
+ export type { OpenapiIntegrationRequestOpenApi } from './schemas/OpenapiIntegrationRequestOpenApi';
135
+ export type { OpenapiSecondaryKindRequestOpenApi } from './schemas/OpenapiSecondaryKindRequestOpenApi';
136
+ export type { OpenapiSettingsUpsertAccountRequest } from './schemas/OpenapiSettingsUpsertAccountRequest';
137
+ export type { OpenapiSettingsUpsertOrgRequest } from './schemas/OpenapiSettingsUpsertOrgRequest';
138
+ export type { OpenapiSettingsUpsertProjectRequest } from './schemas/OpenapiSettingsUpsertProjectRequest';
109
139
  export type { OpenapiUpdateAgentRequest } from './schemas/OpenapiUpdateAgentRequest';
110
140
  export type { OpenapiUpdateAirbyteIntegrationConfigOrgRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest';
111
141
  export type { OpenapiUpdateAirbyteIntegrationConfigProjectRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest';
@@ -128,15 +158,19 @@ export type { TypesDefaultEntitySchema } from './schemas/TypesDefaultEntitySchem
128
158
  export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
129
159
  export type { TypesDefaultMappingField } from './schemas/TypesDefaultMappingField';
130
160
  export type { TypesDefaultRelationEnd } from './schemas/TypesDefaultRelationEnd';
161
+ export type { TypesEntity } from './schemas/TypesEntity';
131
162
  export type { TypesEntityMapping } from './schemas/TypesEntityMapping';
132
163
  export type { TypesEntityMappingSpec } from './schemas/TypesEntityMappingSpec';
133
164
  export type { TypesEntitySchema } from './schemas/TypesEntitySchema';
134
165
  export type { TypesFieldMapping } from './schemas/TypesFieldMapping';
135
166
  export type { TypesHarnessAirbyteConfig } from './schemas/TypesHarnessAirbyteConfig';
167
+ export type { TypesIdpSubscription } from './schemas/TypesIdpSubscription';
136
168
  export type { TypesIntegrationAgent } from './schemas/TypesIntegrationAgent';
137
169
  export type { TypesIntegrationConfig } from './schemas/TypesIntegrationConfig';
138
170
  export type { TypesJsonSchema } from './schemas/TypesJsonSchema';
139
171
  export type { TypesJsonSchemaType } from './schemas/TypesJsonSchemaType';
172
+ export type { TypesK8sConnectorSettings } from './schemas/TypesK8sConnectorSettings';
173
+ export type { TypesK8sConnectorSettingsEntry } from './schemas/TypesK8sConnectorSettingsEntry';
140
174
  export type { TypesKindMappingFields } from './schemas/TypesKindMappingFields';
141
175
  export type { TypesLastSyncInfo } from './schemas/TypesLastSyncInfo';
142
176
  export type { TypesListDefaultMappingFieldsResponse } from './schemas/TypesListDefaultMappingFieldsResponse';
@@ -145,5 +179,7 @@ export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
145
179
  export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
146
180
  export type { TypesScope } from './schemas/TypesScope';
147
181
  export type { TypesScopeConfig } from './schemas/TypesScopeConfig';
182
+ export type { TypesSettingsKey } from './schemas/TypesSettingsKey';
183
+ export type { TypesSettingsListResponse } from './schemas/TypesSettingsListResponse';
148
184
  export type { TypesSuggestedMapping } from './schemas/TypesSuggestedMapping';
149
185
  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';
@@ -16,6 +19,7 @@ export { getAirbyteConnectorCatalog, useGetAirbyteConnectorCatalogQuery, } from
16
19
  export { getAirbyteIntegrationConfigOrg, useGetAirbyteIntegrationConfigOrgQuery, } from './hooks/useGetAirbyteIntegrationConfigOrgQuery';
17
20
  export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
18
21
  export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
22
+ export { getEntities, useGetEntitiesMutation } from './hooks/useGetEntitiesMutation';
19
23
  export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
20
24
  export { getIntegrationConfigProject, useGetIntegrationConfigProjectQuery, } from './hooks/useGetIntegrationConfigProjectQuery';
21
25
  export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/useGetIntegrationConfigQuery';
@@ -25,6 +29,9 @@ export { listDefaultSchemas, useListDefaultSchemasQuery } from './hooks/useListD
25
29
  export { listIntegrationConfigsOrg, useListIntegrationConfigsOrgQuery, } from './hooks/useListIntegrationConfigsOrgQuery';
26
30
  export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
27
31
  export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
32
+ export { listSettingsOrg, useListSettingsOrgQuery } from './hooks/useListSettingsOrgQuery';
33
+ export { listSettingsProject, useListSettingsProjectQuery, } from './hooks/useListSettingsProjectQuery';
34
+ export { listSettings, useListSettingsQuery } from './hooks/useListSettingsQuery';
28
35
  export { syncNow, useSyncNowMutation } from './hooks/useSyncNowMutation';
29
36
  export { syncNowOrg, useSyncNowOrgMutation } from './hooks/useSyncNowOrgMutation';
30
37
  export { syncNowProject, useSyncNowProjectMutation } from './hooks/useSyncNowProjectMutation';
@@ -41,3 +48,6 @@ export { updateIntegrationConfigProject, useUpdateIntegrationConfigProjectMutati
41
48
  export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
42
49
  export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
43
50
  export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
51
+ export { upsertSettings, useUpsertSettingsMutation } from './hooks/useUpsertSettingsMutation';
52
+ export { upsertSettingsOrg, useUpsertSettingsOrgMutation, } from './hooks/useUpsertSettingsOrgMutation';
53
+ export { upsertSettingsProject, useUpsertSettingsProjectMutation, } from './hooks/useUpsertSettingsProjectMutation';
@@ -0,0 +1,6 @@
1
+ import type { TypesEntity } from '../schemas/TypesEntity';
2
+ import type { EntityPaginationInfo } from '../schemas/EntityPaginationInfo';
3
+ export interface EntityGetEntitiesResponse {
4
+ items?: TypesEntity[] | null;
5
+ pagination?: EntityPaginationInfo;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface EntityPaginationInfo {
2
+ page?: number;
3
+ size?: number;
4
+ total?: number;
5
+ total_pages?: number;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1 +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 type EnumSyncStatus = 'ENQUEUED' | 'STARTED';
@@ -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
+ export interface OpenapiFieldValFilterRequest {
2
+ field_name?: string;
3
+ field_values?: string[] | null;
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,8 @@
1
+ import type { OpenapiIntegrationRequestOpenApi } from '../schemas/OpenapiIntegrationRequestOpenApi';
2
+ export interface OpenapiGetEntitiesRequest {
3
+ integrations?: OpenapiIntegrationRequestOpenApi[] | null;
4
+ limit?: number;
5
+ order?: string;
6
+ page?: number;
7
+ sort_by?: string;
8
+ }
@@ -0,0 +1,6 @@
1
+ import type { OpenapiSecondaryKindRequestOpenApi } from '../schemas/OpenapiSecondaryKindRequestOpenApi';
2
+ export interface OpenapiIntegrationRequestOpenApi {
3
+ entity_uuid?: string;
4
+ integration_id?: string;
5
+ secondary_kinds?: OpenapiSecondaryKindRequestOpenApi[];
6
+ }
@@ -0,0 +1,5 @@
1
+ import type { OpenapiFieldValFilterRequest } from '../schemas/OpenapiFieldValFilterRequest';
2
+ export interface OpenapiSecondaryKindRequestOpenApi {
3
+ field_val_filters?: OpenapiFieldValFilterRequest[];
4
+ kind?: string;
5
+ }
@@ -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
+ }
@@ -1,6 +1,7 @@
1
1
  import type { TypesAirbyteTriggerSyncError } from '../schemas/TypesAirbyteTriggerSyncError';
2
2
  export interface TypesAirbyteTriggerSyncResult {
3
3
  error?: TypesAirbyteTriggerSyncError;
4
+ execution_id?: string;
4
5
  integration_id?: string;
5
6
  logs?: string;
6
7
  success?: boolean;
@@ -0,0 +1,21 @@
1
+ import type { TypesIdpSubscription } from '../schemas/TypesIdpSubscription';
2
+ export interface TypesEntity {
3
+ created?: number;
4
+ identifier?: string;
5
+ idp_subscription?: TypesIdpSubscription;
6
+ integration_id?: string;
7
+ integration_space_path?: string;
8
+ integration_type?: string;
9
+ is_deleted?: boolean;
10
+ kind?: string;
11
+ last_updated?: number;
12
+ metadata?: {
13
+ [key: string]: any;
14
+ } | null;
15
+ space_path?: string;
16
+ spec?: {
17
+ [key: string]: any;
18
+ } | null;
19
+ sync_id?: string;
20
+ version?: string;
21
+ }
@@ -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
  }
@@ -1,11 +1,17 @@
1
+ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
1
2
  export interface TypesHarnessAirbyteConfig {
2
3
  gcp_folder_id?: string;
3
4
  gcp_harness_connector_ref?: string;
4
5
  gcp_org_id?: string;
5
6
  github_org?: string;
6
7
  github_scm_connector_ref?: string;
8
+ integration_type?: EnumIntegrationType;
7
9
  pager_duty_harness_connector_ref?: string;
8
10
  service_now_harness_connector_ref?: string;
11
+ sonarqube_host_url?: string;
12
+ sonarqube_organization?: string;
13
+ sonarqube_project_keys?: string[];
14
+ sonarqube_token?: string;
9
15
  start_date?: string;
10
16
  table_filter?: string;
11
17
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,5 @@
1
+ export interface TypesIdpSubscription {
2
+ enabled?: boolean;
3
+ mapping_id?: string;
4
+ reason?: string;
5
+ }
@@ -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 {};
@@ -27,6 +27,7 @@ export interface TypesIntegrationConfig {
27
27
  last_sync_info?: TypesLastSyncInfo;
28
28
  last_updated?: number;
29
29
  name?: string;
30
+ next_sync?: number;
30
31
  space_path?: string;
31
32
  status?: string;
32
33
  sync?: TypesSyncState;
@@ -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
+ }
@@ -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
+ }
@@ -1,3 +1,4 @@
1
+ import type { EnumSyncStatus } from '../schemas/EnumSyncStatus';
1
2
  export interface TypesSyncState {
2
3
  cursor?: {
3
4
  [key: string]: any;
@@ -5,6 +6,7 @@ export interface TypesSyncState {
5
6
  has_more?: boolean;
6
7
  pending?: boolean;
7
8
  started_at?: number;
9
+ status?: EnumSyncStatus;
8
10
  sync_id?: string;
9
11
  total_entities?: number;
10
12
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-integration-manager-client",
3
- "version": "0.3.18",
3
+ "version": "0.4.0",
4
4
  "description": "Harness React integration manager client - Integration Manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",