@harnessio/react-integration-manager-client 0.4.3 → 0.4.5

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.
@@ -0,0 +1,12 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ export type GetHealthOkResponse = ResponseWithPagination<string>;
5
+ export type GetHealthErrorResponse = unknown;
6
+ export interface GetHealthProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
7
+ }
8
+ export declare function getHealth(props: GetHealthProps): Promise<GetHealthOkResponse>;
9
+ /**
10
+ * Liveness probe
11
+ */
12
+ export declare function useGetHealthQuery(props: GetHealthProps, options?: Omit<UseQueryOptions<GetHealthOkResponse, GetHealthErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetHealthOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getHealth(props) {
7
+ return fetcher(Object.assign({ url: `/health`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Liveness probe
11
+ */
12
+ export function useGetHealthQuery(props, options) {
13
+ return useQuery(['getHealth'], ({ signal }) => getHealth(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -43,6 +43,8 @@ export type { GetAirbyteIntegrationConfigErrorResponse, GetAirbyteIntegrationCon
43
43
  export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
44
44
  export type { GetEntitiesErrorResponse, GetEntitiesMutationPathParams, GetEntitiesOkResponse, GetEntitiesProps, GetEntitiesRequestBody, } from './hooks/useGetEntitiesMutation';
45
45
  export { getEntities, useGetEntitiesMutation } from './hooks/useGetEntitiesMutation';
46
+ export type { GetHealthErrorResponse, GetHealthOkResponse, GetHealthProps, } from './hooks/useGetHealthQuery';
47
+ export { getHealth, useGetHealthQuery } from './hooks/useGetHealthQuery';
46
48
  export type { GetIntegrationConfigOrgErrorResponse, GetIntegrationConfigOrgOkResponse, GetIntegrationConfigOrgProps, GetIntegrationConfigOrgQueryPathParams, } from './hooks/useGetIntegrationConfigOrgQuery';
47
49
  export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
48
50
  export type { GetIntegrationConfigProjectErrorResponse, GetIntegrationConfigProjectOkResponse, GetIntegrationConfigProjectProps, GetIntegrationConfigProjectQueryPathParams, } from './hooks/useGetIntegrationConfigProjectQuery';
@@ -20,6 +20,7 @@ export { getAirbyteIntegrationConfigOrg, useGetAirbyteIntegrationConfigOrgQuery,
20
20
  export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
21
21
  export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
22
22
  export { getEntities, useGetEntitiesMutation } from './hooks/useGetEntitiesMutation';
23
+ export { getHealth, useGetHealthQuery } from './hooks/useGetHealthQuery';
23
24
  export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
24
25
  export { getIntegrationConfigProject, useGetIntegrationConfigProjectQuery, } from './hooks/useGetIntegrationConfigProjectQuery';
25
26
  export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/useGetIntegrationConfigQuery';
@@ -1 +1 @@
1
- export type EnumIntegrationType = 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
1
+ export type EnumIntegrationType = 'DataDog' | 'GCP' | 'GitHub' | 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'PagerDuty' | 'ServiceNow' | 'SonarQube';
@@ -4,5 +4,6 @@ export interface OpenapiGetEntitiesRequest {
4
4
  limit?: number;
5
5
  order?: string;
6
6
  page?: number;
7
+ skip_count?: boolean | null;
7
8
  sort_by?: string;
8
9
  }
@@ -1,4 +1,5 @@
1
1
  export interface TypesAirbyteConnectorImageSettings {
2
+ datadog?: string;
2
3
  gcp?: string;
3
4
  github?: string;
4
5
  pagerduty?: string;
@@ -1,6 +1,8 @@
1
1
  import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
2
2
  export interface TypesHarnessAirbyteConfig {
3
3
  analytics_duration_months?: number;
4
+ datadog_harness_connector_ref?: string;
5
+ datadog_service_dependencies_env?: string;
4
6
  gcp_folder_id?: string;
5
7
  gcp_harness_connector_ref?: string;
6
8
  gcp_org_id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-integration-manager-client",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Harness React integration manager client - Integration Manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",