@harnessio/react-integration-manager-client 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/integration-manager/src/services/hooks/useGetAirbyteConnectorCatalogQuery.d.ts +2 -2
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.d.ts +4 -3
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts +4 -3
- package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsQuery.d.ts +8 -3
- package/package.json +1 -1
|
@@ -12,9 +12,9 @@ export interface GetAirbyteConnectorCatalogQueryQueryParams {
|
|
|
12
12
|
*/
|
|
13
13
|
integration_type: string;
|
|
14
14
|
/**
|
|
15
|
-
* Reference to the connector
|
|
15
|
+
* Reference to the connector, required when fetch_default=false
|
|
16
16
|
*/
|
|
17
|
-
connector_ref
|
|
17
|
+
connector_ref?: string;
|
|
18
18
|
/**
|
|
19
19
|
* Filter for specific tables/streams
|
|
20
20
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
3
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -18,7 +19,7 @@ export interface ListIntegrationConfigsOrgQueryQueryParams {
|
|
|
18
19
|
*/
|
|
19
20
|
searchterm?: string;
|
|
20
21
|
/**
|
|
21
|
-
* Maximum number of items to return. Defaults to 50 when omitted.
|
|
22
|
+
* Maximum number of items to return. Defaults to 50 when omitted. Maximum allowed is 200.
|
|
22
23
|
*/
|
|
23
24
|
limit?: number;
|
|
24
25
|
/**
|
|
@@ -47,7 +48,7 @@ export interface ListIntegrationConfigsOrgQueryQueryParams {
|
|
|
47
48
|
enabled?: boolean | null;
|
|
48
49
|
}
|
|
49
50
|
export type ListIntegrationConfigsOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
50
|
-
export type ListIntegrationConfigsOrgErrorResponse =
|
|
51
|
+
export type ListIntegrationConfigsOrgErrorResponse = ApierrorsErrorResponse;
|
|
51
52
|
export interface ListIntegrationConfigsOrgProps extends ListIntegrationConfigsOrgQueryPathParams, Omit<FetcherOptions<ListIntegrationConfigsOrgQueryQueryParams, unknown>, 'url'> {
|
|
52
53
|
queryParams: ListIntegrationConfigsOrgQueryQueryParams;
|
|
53
54
|
}
|
|
@@ -55,4 +56,4 @@ export declare function listIntegrationConfigsOrg(props: ListIntegrationConfigsO
|
|
|
55
56
|
/**
|
|
56
57
|
* List integration configurations at organization level
|
|
57
58
|
*/
|
|
58
|
-
export declare function useListIntegrationConfigsOrgQuery(props: ListIntegrationConfigsOrgProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsOrgOkResponse, ListIntegrationConfigsOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsOrgOkResponse,
|
|
59
|
+
export declare function useListIntegrationConfigsOrgQuery(props: ListIntegrationConfigsOrgProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsOrgOkResponse, ListIntegrationConfigsOrgErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsOrgOkResponse, ApierrorsErrorResponse>;
|
package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
3
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -19,7 +20,7 @@ export interface ListIntegrationConfigsProjectQueryQueryParams {
|
|
|
19
20
|
*/
|
|
20
21
|
searchterm?: string;
|
|
21
22
|
/**
|
|
22
|
-
* Maximum number of items to return. Defaults to 50 when omitted.
|
|
23
|
+
* Maximum number of items to return. Defaults to 50 when omitted. Maximum allowed is 200.
|
|
23
24
|
*/
|
|
24
25
|
limit?: number;
|
|
25
26
|
/**
|
|
@@ -48,7 +49,7 @@ export interface ListIntegrationConfigsProjectQueryQueryParams {
|
|
|
48
49
|
enabled?: boolean | null;
|
|
49
50
|
}
|
|
50
51
|
export type ListIntegrationConfigsProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
51
|
-
export type ListIntegrationConfigsProjectErrorResponse =
|
|
52
|
+
export type ListIntegrationConfigsProjectErrorResponse = ApierrorsErrorResponse;
|
|
52
53
|
export interface ListIntegrationConfigsProjectProps extends ListIntegrationConfigsProjectQueryPathParams, Omit<FetcherOptions<ListIntegrationConfigsProjectQueryQueryParams, unknown>, 'url'> {
|
|
53
54
|
queryParams: ListIntegrationConfigsProjectQueryQueryParams;
|
|
54
55
|
}
|
|
@@ -56,4 +57,4 @@ export declare function listIntegrationConfigsProject(props: ListIntegrationConf
|
|
|
56
57
|
/**
|
|
57
58
|
* List integration configurations at project level
|
|
58
59
|
*/
|
|
59
|
-
export declare function useListIntegrationConfigsProjectQuery(props: ListIntegrationConfigsProjectProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsProjectOkResponse, ListIntegrationConfigsProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsProjectOkResponse,
|
|
60
|
+
export declare function useListIntegrationConfigsProjectQuery(props: ListIntegrationConfigsProjectProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsProjectOkResponse, ListIntegrationConfigsProjectErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsProjectOkResponse, ApierrorsErrorResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
|
|
3
|
+
import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
|
|
3
4
|
import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
|
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -17,7 +18,7 @@ export interface ListIntegrationConfigsQueryQueryParams {
|
|
|
17
18
|
*/
|
|
18
19
|
searchterm?: string;
|
|
19
20
|
/**
|
|
20
|
-
* Maximum number of items to return. Defaults to 50 when omitted.
|
|
21
|
+
* Maximum number of items to return. Defaults to 50 when omitted. Maximum allowed is 200.
|
|
21
22
|
*/
|
|
22
23
|
limit?: number;
|
|
23
24
|
/**
|
|
@@ -44,9 +45,13 @@ export interface ListIntegrationConfigsQueryQueryParams {
|
|
|
44
45
|
* When set, filters integrations by enabled state (true = enabled only, false = disabled only). Omit to return all integrations regardless of enabled state.
|
|
45
46
|
*/
|
|
46
47
|
enabled?: boolean | null;
|
|
48
|
+
/**
|
|
49
|
+
* Repeatable query param; each value is a JSON object with id and scope fields (maximum 200). Account-level list route only; each ref scope may be any path within the caller account (account, org, or project). Refs mode is independent of all other list params. Returns 400 for malformed refs, out-of-account scopes, or too many refs. Returns 200 with all matched configs or an empty array when any ref is missing.
|
|
50
|
+
*/
|
|
51
|
+
integration_refs?: string[];
|
|
47
52
|
}
|
|
48
53
|
export type ListIntegrationConfigsOkResponse = ResponseWithPagination<TypesIntegrationConfig[]>;
|
|
49
|
-
export type ListIntegrationConfigsErrorResponse =
|
|
54
|
+
export type ListIntegrationConfigsErrorResponse = ApierrorsErrorResponse;
|
|
50
55
|
export interface ListIntegrationConfigsProps extends ListIntegrationConfigsQueryPathParams, Omit<FetcherOptions<ListIntegrationConfigsQueryQueryParams, unknown>, 'url'> {
|
|
51
56
|
queryParams: ListIntegrationConfigsQueryQueryParams;
|
|
52
57
|
}
|
|
@@ -54,4 +59,4 @@ export declare function listIntegrationConfigs(props: ListIntegrationConfigsProp
|
|
|
54
59
|
/**
|
|
55
60
|
* List integration configurations
|
|
56
61
|
*/
|
|
57
|
-
export declare function useListIntegrationConfigsQuery(props: ListIntegrationConfigsProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsOkResponse, ListIntegrationConfigsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsOkResponse,
|
|
62
|
+
export declare function useListIntegrationConfigsQuery(props: ListIntegrationConfigsProps, options?: Omit<UseQueryOptions<ListIntegrationConfigsOkResponse, ListIntegrationConfigsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationConfigsOkResponse, ApierrorsErrorResponse>;
|
package/package.json
CHANGED