@harnessio/react-integration-service-client 0.0.0-stage → 0.0.1
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/README.md +38 -2
- package/dist/fetcher/index.d.ts +17 -0
- package/dist/fetcher/index.js +65 -0
- package/dist/integration-service/src/index.d.ts +6 -0
- package/dist/integration-service/src/index.js +10 -0
- package/dist/integration-service/src/services/helpers.d.ts +14 -0
- package/dist/integration-service/src/services/helpers.js +1 -0
- package/dist/integration-service/src/services/hooks/useCancelIngestionRunMutation.d.ts +16 -0
- package/dist/integration-service/src/services/hooks/useCancelIngestionRunMutation.js +11 -0
- package/dist/integration-service/src/services/hooks/useCheckIntegrationRefMutation.d.ts +42 -0
- package/dist/integration-service/src/services/hooks/useCheckIntegrationRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useClearDefaultIntegrationJobRefMutation.d.ts +41 -0
- package/dist/integration-service/src/services/hooks/useClearDefaultIntegrationJobRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useCreateIntegrationJobRefMutation.d.ts +42 -0
- package/dist/integration-service/src/services/hooks/useCreateIntegrationJobRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useCreateIntegrationRefMutation.d.ts +39 -0
- package/dist/integration-service/src/services/hooks/useCreateIntegrationRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useDeleteIngestionJobSinkMutation.d.ts +12 -0
- package/dist/integration-service/src/services/hooks/useDeleteIngestionJobSinkMutation.js +11 -0
- package/dist/integration-service/src/services/hooks/useDeleteIngestionLimitMutation.d.ts +13 -0
- package/dist/integration-service/src/services/hooks/useDeleteIngestionLimitMutation.js +11 -0
- package/dist/integration-service/src/services/hooks/useDeleteIntegrationJobRefMutation.d.ts +40 -0
- package/dist/integration-service/src/services/hooks/useDeleteIntegrationJobRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useDeleteIntegrationRefMutation.d.ts +37 -0
- package/dist/integration-service/src/services/hooks/useDeleteIntegrationRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useDiscoverIntegrationRefMutation.d.ts +42 -0
- package/dist/integration-service/src/services/hooks/useDiscoverIntegrationRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useGetDefinitionQuery.d.ts +13 -0
- package/dist/integration-service/src/services/hooks/useGetDefinitionQuery.js +11 -0
- package/dist/integration-service/src/services/hooks/useGetIngestionLimitQuery.d.ts +14 -0
- package/dist/integration-service/src/services/hooks/useGetIngestionLimitQuery.js +11 -0
- package/dist/integration-service/src/services/hooks/useGetIngestionRunQuery.d.ts +16 -0
- package/dist/integration-service/src/services/hooks/useGetIngestionRunQuery.js +11 -0
- package/dist/integration-service/src/services/hooks/useGetIntegrationJobRefQuery.d.ts +41 -0
- package/dist/integration-service/src/services/hooks/useGetIntegrationJobRefQuery.js +30 -0
- package/dist/integration-service/src/services/hooks/useGetIntegrationRefQuery.d.ts +38 -0
- package/dist/integration-service/src/services/hooks/useGetIntegrationRefQuery.js +30 -0
- package/dist/integration-service/src/services/hooks/useIngestionRunStdoutMutation.d.ts +16 -0
- package/dist/integration-service/src/services/hooks/useIngestionRunStdoutMutation.js +11 -0
- package/dist/integration-service/src/services/hooks/useListDefinitionsQuery.d.ts +14 -0
- package/dist/integration-service/src/services/hooks/useListDefinitionsQuery.js +11 -0
- package/dist/integration-service/src/services/hooks/useListIngestionJobsQuery.d.ts +26 -0
- package/dist/integration-service/src/services/hooks/useListIngestionJobsQuery.js +11 -0
- package/dist/integration-service/src/services/hooks/useListIngestionLimitsQuery.d.ts +10 -0
- package/dist/integration-service/src/services/hooks/useListIngestionLimitsQuery.js +11 -0
- package/dist/integration-service/src/services/hooks/useListIntegrationJobRunsRefQuery.d.ts +77 -0
- package/dist/integration-service/src/services/hooks/useListIntegrationJobRunsRefQuery.js +30 -0
- package/dist/integration-service/src/services/hooks/useListIntegrationJobsRefQuery.d.ts +38 -0
- package/dist/integration-service/src/services/hooks/useListIntegrationJobsRefQuery.js +30 -0
- package/dist/integration-service/src/services/hooks/useListIntegrationsRefQuery.d.ts +86 -0
- package/dist/integration-service/src/services/hooks/useListIntegrationsRefQuery.js +30 -0
- package/dist/integration-service/src/services/hooks/usePublishLibraryRevisionMutation.d.ts +16 -0
- package/dist/integration-service/src/services/hooks/usePublishLibraryRevisionMutation.js +11 -0
- package/dist/integration-service/src/services/hooks/usePutIngestionJobSinkMutation.d.ts +15 -0
- package/dist/integration-service/src/services/hooks/usePutIngestionJobSinkMutation.js +11 -0
- package/dist/integration-service/src/services/hooks/usePutIngestionLimitMutation.d.ts +16 -0
- package/dist/integration-service/src/services/hooks/usePutIngestionLimitMutation.js +11 -0
- package/dist/integration-service/src/services/hooks/useRepinIntegrationJobRefMutation.d.ts +41 -0
- package/dist/integration-service/src/services/hooks/useRepinIntegrationJobRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useResetIntegrationJobCheckpointsRefMutation.d.ts +49 -0
- package/dist/integration-service/src/services/hooks/useResetIntegrationJobCheckpointsRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useRotateIntegrationJobWebhookTokenRefMutation.d.ts +46 -0
- package/dist/integration-service/src/services/hooks/useRotateIntegrationJobWebhookTokenRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useSetDefaultIntegrationJobRefMutation.d.ts +41 -0
- package/dist/integration-service/src/services/hooks/useSetDefaultIntegrationJobRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useSyncIntegrationJobRefMutation.d.ts +41 -0
- package/dist/integration-service/src/services/hooks/useSyncIntegrationJobRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useUpdateIntegrationJobRefMutation.d.ts +45 -0
- package/dist/integration-service/src/services/hooks/useUpdateIntegrationJobRefMutation.js +30 -0
- package/dist/integration-service/src/services/hooks/useUpdateIntegrationRefMutation.d.ts +42 -0
- package/dist/integration-service/src/services/hooks/useUpdateIntegrationRefMutation.js +30 -0
- package/dist/integration-service/src/services/index.d.ts +89 -0
- package/dist/integration-service/src/services/index.js +32 -0
- package/dist/integration-service/src/services/schemas/CheckpointView.d.ts +7 -0
- package/dist/integration-service/src/services/schemas/CheckpointView.js +4 -0
- package/dist/integration-service/src/services/schemas/Composition.d.ts +6 -0
- package/dist/integration-service/src/services/schemas/Composition.js +4 -0
- package/dist/integration-service/src/services/schemas/Detail.d.ts +11 -0
- package/dist/integration-service/src/services/schemas/Detail.js +1 -0
- package/dist/integration-service/src/services/schemas/Failure.d.ts +4 -0
- package/dist/integration-service/src/services/schemas/Failure.js +4 -0
- package/dist/integration-service/src/services/schemas/Health.d.ts +16 -0
- package/dist/integration-service/src/services/schemas/Health.js +4 -0
- package/dist/integration-service/src/services/schemas/IntegrationRequest.d.ts +17 -0
- package/dist/integration-service/src/services/schemas/IntegrationRequest.js +1 -0
- package/dist/integration-service/src/services/schemas/IntegrationResponse.d.ts +33 -0
- package/dist/integration-service/src/services/schemas/IntegrationResponse.js +1 -0
- package/dist/integration-service/src/services/schemas/JobView.d.ts +41 -0
- package/dist/integration-service/src/services/schemas/JobView.js +1 -0
- package/dist/integration-service/src/services/schemas/JsonNode.d.ts +29 -0
- package/dist/integration-service/src/services/schemas/JsonNode.js +4 -0
- package/dist/integration-service/src/services/schemas/LastRun.d.ts +9 -0
- package/dist/integration-service/src/services/schemas/LastRun.js +4 -0
- package/dist/integration-service/src/services/schemas/Limits.d.ts +35 -0
- package/dist/integration-service/src/services/schemas/Limits.js +4 -0
- package/dist/integration-service/src/services/schemas/LimitsDoc.d.ts +10 -0
- package/dist/integration-service/src/services/schemas/LimitsDoc.js +1 -0
- package/dist/integration-service/src/services/schemas/LoadIssue.d.ts +4 -0
- package/dist/integration-service/src/services/schemas/LoadIssue.js +4 -0
- package/dist/integration-service/src/services/schemas/PublishRequest.d.ts +5 -0
- package/dist/integration-service/src/services/schemas/PublishRequest.js +4 -0
- package/dist/integration-service/src/services/schemas/Result.d.ts +9 -0
- package/dist/integration-service/src/services/schemas/Result.js +1 -0
- package/dist/integration-service/src/services/schemas/Run.d.ts +48 -0
- package/dist/integration-service/src/services/schemas/Run.js +1 -0
- package/dist/integration-service/src/services/schemas/RunnerTarget.d.ts +4 -0
- package/dist/integration-service/src/services/schemas/RunnerTarget.js +4 -0
- package/dist/integration-service/src/services/schemas/SinkRequest.d.ts +3 -0
- package/dist/integration-service/src/services/schemas/SinkRequest.js +4 -0
- package/dist/integration-service/src/services/schemas/State.d.ts +4 -0
- package/dist/integration-service/src/services/schemas/State.js +4 -0
- package/dist/integration-service/src/services/schemas/StreamRun.d.ts +11 -0
- package/dist/integration-service/src/services/schemas/StreamRun.js +4 -0
- package/dist/integration-service/src/services/schemas/StreamSchema.d.ts +6 -0
- package/dist/integration-service/src/services/schemas/StreamSchema.js +4 -0
- package/dist/integration-service/src/services/schemas/Trigger.d.ts +6 -0
- package/dist/integration-service/src/services/schemas/Trigger.js +4 -0
- package/dist/integration-service/src/services/schemas/Use.d.ts +6 -0
- package/dist/integration-service/src/services/schemas/Use.js +4 -0
- package/dist/integration-service/src/services/schemas/WebhookView.d.ts +4 -0
- package/dist/integration-service/src/services/schemas/WebhookView.js +4 -0
- package/package.json +29 -4
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
function isProjectPathParams(pathParams) {
|
|
7
|
+
return !!(pathParams.org &&
|
|
8
|
+
pathParams.project);
|
|
9
|
+
}
|
|
10
|
+
function isOrgPathParams(pathParams) {
|
|
11
|
+
return !!(pathParams.org &&
|
|
12
|
+
!pathParams.project);
|
|
13
|
+
}
|
|
14
|
+
export function syncIntegrationJobRef(props) {
|
|
15
|
+
let url = `/v1/integrations/${props.pathParams.integration}/jobs/${props.pathParams.job}/sync`;
|
|
16
|
+
let method = 'POST';
|
|
17
|
+
if (isProjectPathParams(props.pathParams)) {
|
|
18
|
+
url = `/v1/orgs/${props.pathParams.org}/projects/${props.pathParams.project}/integrations/${props.pathParams.integration}/jobs/${props.pathParams.job}/sync`;
|
|
19
|
+
method = 'POST';
|
|
20
|
+
}
|
|
21
|
+
else if (isOrgPathParams(props.pathParams)) {
|
|
22
|
+
url = `/v1/orgs/${props.pathParams.org}/integrations/${props.pathParams.integration}/jobs/${props.pathParams.job}/sync`;
|
|
23
|
+
method = 'POST';
|
|
24
|
+
}
|
|
25
|
+
return fetcher(Object.assign({ url,
|
|
26
|
+
method }, props));
|
|
27
|
+
}
|
|
28
|
+
export function useSyncIntegrationJobRefMutation(options) {
|
|
29
|
+
return useMutation((mutateProps) => syncIntegrationJobRef(mutateProps), options);
|
|
30
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { JobView } from '../schemas/JobView';
|
|
3
|
+
import type { JsonNode } from '../schemas/JsonNode';
|
|
4
|
+
import type { GetPathParamsType, ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface UpdateIntegrationJobRefAccountPathParams {
|
|
7
|
+
integration: string;
|
|
8
|
+
job: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UpdateIntegrationJobRefAccountHeaderParams {
|
|
11
|
+
'Harness-Account': string;
|
|
12
|
+
}
|
|
13
|
+
export type UpdateIntegrationJobRefAccountRequestBody = JsonNode;
|
|
14
|
+
export type UpdateIntegrationJobRefAccountOKResponse = JobView;
|
|
15
|
+
export type UpdateIntegrationJobRefAccountErrorResponse = unknown;
|
|
16
|
+
export interface UpdateIntegrationJobRefOrgPathParams {
|
|
17
|
+
org: string;
|
|
18
|
+
integration: string;
|
|
19
|
+
job: string;
|
|
20
|
+
}
|
|
21
|
+
export interface UpdateIntegrationJobRefOrgHeaderParams {
|
|
22
|
+
'Harness-Account': string;
|
|
23
|
+
}
|
|
24
|
+
export type UpdateIntegrationJobRefOrgRequestBody = JsonNode;
|
|
25
|
+
export type UpdateIntegrationJobRefOrgOKResponse = JobView;
|
|
26
|
+
export type UpdateIntegrationJobRefOrgErrorResponse = unknown;
|
|
27
|
+
export interface UpdateIntegrationJobRefProjectPathParams {
|
|
28
|
+
org: string;
|
|
29
|
+
project: string;
|
|
30
|
+
integration: string;
|
|
31
|
+
job: string;
|
|
32
|
+
}
|
|
33
|
+
export interface UpdateIntegrationJobRefProjectHeaderParams {
|
|
34
|
+
'Harness-Account': string;
|
|
35
|
+
}
|
|
36
|
+
export type UpdateIntegrationJobRefProjectRequestBody = JsonNode;
|
|
37
|
+
export type UpdateIntegrationJobRefProjectOKResponse = JobView;
|
|
38
|
+
export type UpdateIntegrationJobRefProjectErrorResponse = unknown;
|
|
39
|
+
export type UpdateIntegrationJobRefOKResponse<T> = T extends UpdateIntegrationJobRefProjectPathParams ? ResponseWithPagination<UpdateIntegrationJobRefProjectOKResponse> : T extends UpdateIntegrationJobRefOrgPathParams ? ResponseWithPagination<UpdateIntegrationJobRefOrgOKResponse> : ResponseWithPagination<UpdateIntegrationJobRefAccountOKResponse>;
|
|
40
|
+
export type UpdateIntegrationJobRefErrorResponse<T> = T extends UpdateIntegrationJobRefProjectPathParams ? UpdateIntegrationJobRefProjectErrorResponse : T extends UpdateIntegrationJobRefOrgPathParams ? UpdateIntegrationJobRefOrgErrorResponse : UpdateIntegrationJobRefAccountErrorResponse;
|
|
41
|
+
export interface UpdateIntegrationJobRefProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
42
|
+
pathParams: UpdateIntegrationJobRefAccountPathParams | UpdateIntegrationJobRefOrgPathParams | UpdateIntegrationJobRefProjectPathParams;
|
|
43
|
+
}
|
|
44
|
+
export declare function updateIntegrationJobRef<T extends UpdateIntegrationJobRefProps = UpdateIntegrationJobRefProps>(props: T): Promise<UpdateIntegrationJobRefOKResponse<GetPathParamsType<T>>>;
|
|
45
|
+
export declare function useUpdateIntegrationJobRefMutation(options?: Omit<UseMutationOptions<UpdateIntegrationJobRefOKResponse<unknown>, UpdateIntegrationJobRefErrorResponse<unknown>, UpdateIntegrationJobRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<JobView>, unknown, UpdateIntegrationJobRefProps, unknown>;
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
function isProjectPathParams(pathParams) {
|
|
7
|
+
return !!(pathParams.org &&
|
|
8
|
+
pathParams.project);
|
|
9
|
+
}
|
|
10
|
+
function isOrgPathParams(pathParams) {
|
|
11
|
+
return !!(pathParams.org &&
|
|
12
|
+
!pathParams.project);
|
|
13
|
+
}
|
|
14
|
+
export function updateIntegrationJobRef(props) {
|
|
15
|
+
let url = `/v1/integrations/${props.pathParams.integration}/jobs/${props.pathParams.job}`;
|
|
16
|
+
let method = 'PUT';
|
|
17
|
+
if (isProjectPathParams(props.pathParams)) {
|
|
18
|
+
url = `/v1/orgs/${props.pathParams.org}/projects/${props.pathParams.project}/integrations/${props.pathParams.integration}/jobs/${props.pathParams.job}`;
|
|
19
|
+
method = 'PUT';
|
|
20
|
+
}
|
|
21
|
+
else if (isOrgPathParams(props.pathParams)) {
|
|
22
|
+
url = `/v1/orgs/${props.pathParams.org}/integrations/${props.pathParams.integration}/jobs/${props.pathParams.job}`;
|
|
23
|
+
method = 'PUT';
|
|
24
|
+
}
|
|
25
|
+
return fetcher(Object.assign({ url,
|
|
26
|
+
method }, props));
|
|
27
|
+
}
|
|
28
|
+
export function useUpdateIntegrationJobRefMutation(options) {
|
|
29
|
+
return useMutation((mutateProps) => updateIntegrationJobRef(mutateProps), options);
|
|
30
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { IntegrationResponse } from '../schemas/IntegrationResponse';
|
|
3
|
+
import type { IntegrationRequest } from '../schemas/IntegrationRequest';
|
|
4
|
+
import type { GetPathParamsType, ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface UpdateIntegrationRefAccountPathParams {
|
|
7
|
+
integration: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateIntegrationRefAccountHeaderParams {
|
|
10
|
+
'Harness-Account': string;
|
|
11
|
+
}
|
|
12
|
+
export type UpdateIntegrationRefAccountRequestBody = IntegrationRequest;
|
|
13
|
+
export type UpdateIntegrationRefAccountOKResponse = IntegrationResponse;
|
|
14
|
+
export type UpdateIntegrationRefAccountErrorResponse = unknown;
|
|
15
|
+
export interface UpdateIntegrationRefOrgPathParams {
|
|
16
|
+
org: string;
|
|
17
|
+
integration: string;
|
|
18
|
+
}
|
|
19
|
+
export interface UpdateIntegrationRefOrgHeaderParams {
|
|
20
|
+
'Harness-Account': string;
|
|
21
|
+
}
|
|
22
|
+
export type UpdateIntegrationRefOrgRequestBody = IntegrationRequest;
|
|
23
|
+
export type UpdateIntegrationRefOrgOKResponse = IntegrationResponse;
|
|
24
|
+
export type UpdateIntegrationRefOrgErrorResponse = unknown;
|
|
25
|
+
export interface UpdateIntegrationRefProjectPathParams {
|
|
26
|
+
org: string;
|
|
27
|
+
project: string;
|
|
28
|
+
integration: string;
|
|
29
|
+
}
|
|
30
|
+
export interface UpdateIntegrationRefProjectHeaderParams {
|
|
31
|
+
'Harness-Account': string;
|
|
32
|
+
}
|
|
33
|
+
export type UpdateIntegrationRefProjectRequestBody = IntegrationRequest;
|
|
34
|
+
export type UpdateIntegrationRefProjectOKResponse = IntegrationResponse;
|
|
35
|
+
export type UpdateIntegrationRefProjectErrorResponse = unknown;
|
|
36
|
+
export type UpdateIntegrationRefOKResponse<T> = T extends UpdateIntegrationRefProjectPathParams ? ResponseWithPagination<UpdateIntegrationRefProjectOKResponse> : T extends UpdateIntegrationRefOrgPathParams ? ResponseWithPagination<UpdateIntegrationRefOrgOKResponse> : ResponseWithPagination<UpdateIntegrationRefAccountOKResponse>;
|
|
37
|
+
export type UpdateIntegrationRefErrorResponse<T> = T extends UpdateIntegrationRefProjectPathParams ? UpdateIntegrationRefProjectErrorResponse : T extends UpdateIntegrationRefOrgPathParams ? UpdateIntegrationRefOrgErrorResponse : UpdateIntegrationRefAccountErrorResponse;
|
|
38
|
+
export interface UpdateIntegrationRefProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
39
|
+
pathParams: UpdateIntegrationRefAccountPathParams | UpdateIntegrationRefOrgPathParams | UpdateIntegrationRefProjectPathParams;
|
|
40
|
+
}
|
|
41
|
+
export declare function updateIntegrationRef<T extends UpdateIntegrationRefProps = UpdateIntegrationRefProps>(props: T): Promise<UpdateIntegrationRefOKResponse<GetPathParamsType<T>>>;
|
|
42
|
+
export declare function useUpdateIntegrationRefMutation(options?: Omit<UseMutationOptions<UpdateIntegrationRefOKResponse<unknown>, UpdateIntegrationRefErrorResponse<unknown>, UpdateIntegrationRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<IntegrationResponse>, unknown, UpdateIntegrationRefProps, unknown>;
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
function isProjectPathParams(pathParams) {
|
|
7
|
+
return !!(pathParams.org &&
|
|
8
|
+
pathParams.project);
|
|
9
|
+
}
|
|
10
|
+
function isOrgPathParams(pathParams) {
|
|
11
|
+
return !!(pathParams.org &&
|
|
12
|
+
!pathParams.project);
|
|
13
|
+
}
|
|
14
|
+
export function updateIntegrationRef(props) {
|
|
15
|
+
let url = `/v1/integrations/${props.pathParams.integration}`;
|
|
16
|
+
let method = 'PUT';
|
|
17
|
+
if (isProjectPathParams(props.pathParams)) {
|
|
18
|
+
url = `/v1/orgs/${props.pathParams.org}/projects/${props.pathParams.project}/integrations/${props.pathParams.integration}`;
|
|
19
|
+
method = 'PUT';
|
|
20
|
+
}
|
|
21
|
+
else if (isOrgPathParams(props.pathParams)) {
|
|
22
|
+
url = `/v1/orgs/${props.pathParams.org}/integrations/${props.pathParams.integration}`;
|
|
23
|
+
method = 'PUT';
|
|
24
|
+
}
|
|
25
|
+
return fetcher(Object.assign({ url,
|
|
26
|
+
method }, props));
|
|
27
|
+
}
|
|
28
|
+
export function useUpdateIntegrationRefMutation(options) {
|
|
29
|
+
return useMutation((mutateProps) => updateIntegrationRef(mutateProps), options);
|
|
30
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
+
export type { CancelIngestionRunErrorResponse, CancelIngestionRunMutationPathParams, CancelIngestionRunOkResponse, CancelIngestionRunProps, } from './hooks/useCancelIngestionRunMutation';
|
|
3
|
+
export { cancelIngestionRun, useCancelIngestionRunMutation, } from './hooks/useCancelIngestionRunMutation';
|
|
4
|
+
export type { CheckIntegrationRefAccountErrorResponse, CheckIntegrationRefAccountOKResponse, CheckIntegrationRefAccountPathParams, CheckIntegrationRefAccountRequestBody, CheckIntegrationRefOrgErrorResponse, CheckIntegrationRefOrgOKResponse, CheckIntegrationRefOrgPathParams, CheckIntegrationRefOrgRequestBody, CheckIntegrationRefProjectErrorResponse, CheckIntegrationRefProjectOKResponse, CheckIntegrationRefProjectPathParams, CheckIntegrationRefProjectRequestBody, CheckIntegrationRefProps, } from './hooks/useCheckIntegrationRefMutation';
|
|
5
|
+
export { checkIntegrationRef, useCheckIntegrationRefMutation, } from './hooks/useCheckIntegrationRefMutation';
|
|
6
|
+
export type { ClearDefaultIntegrationJobRefAccountErrorResponse, ClearDefaultIntegrationJobRefAccountOKResponse, ClearDefaultIntegrationJobRefAccountPathParams, ClearDefaultIntegrationJobRefOrgErrorResponse, ClearDefaultIntegrationJobRefOrgOKResponse, ClearDefaultIntegrationJobRefOrgPathParams, ClearDefaultIntegrationJobRefProjectErrorResponse, ClearDefaultIntegrationJobRefProjectOKResponse, ClearDefaultIntegrationJobRefProjectPathParams, ClearDefaultIntegrationJobRefProps, } from './hooks/useClearDefaultIntegrationJobRefMutation';
|
|
7
|
+
export { clearDefaultIntegrationJobRef, useClearDefaultIntegrationJobRefMutation, } from './hooks/useClearDefaultIntegrationJobRefMutation';
|
|
8
|
+
export type { CreateIntegrationJobRefAccountErrorResponse, CreateIntegrationJobRefAccountOKResponse, CreateIntegrationJobRefAccountPathParams, CreateIntegrationJobRefAccountRequestBody, CreateIntegrationJobRefOrgErrorResponse, CreateIntegrationJobRefOrgOKResponse, CreateIntegrationJobRefOrgPathParams, CreateIntegrationJobRefOrgRequestBody, CreateIntegrationJobRefProjectErrorResponse, CreateIntegrationJobRefProjectOKResponse, CreateIntegrationJobRefProjectPathParams, CreateIntegrationJobRefProjectRequestBody, CreateIntegrationJobRefProps, } from './hooks/useCreateIntegrationJobRefMutation';
|
|
9
|
+
export { createIntegrationJobRef, useCreateIntegrationJobRefMutation, } from './hooks/useCreateIntegrationJobRefMutation';
|
|
10
|
+
export type { CreateIntegrationRefAccountErrorResponse, CreateIntegrationRefAccountOKResponse, CreateIntegrationRefAccountRequestBody, CreateIntegrationRefOrgErrorResponse, CreateIntegrationRefOrgOKResponse, CreateIntegrationRefOrgPathParams, CreateIntegrationRefOrgRequestBody, CreateIntegrationRefProjectErrorResponse, CreateIntegrationRefProjectOKResponse, CreateIntegrationRefProjectPathParams, CreateIntegrationRefProjectRequestBody, CreateIntegrationRefProps, } from './hooks/useCreateIntegrationRefMutation';
|
|
11
|
+
export { createIntegrationRef, useCreateIntegrationRefMutation, } from './hooks/useCreateIntegrationRefMutation';
|
|
12
|
+
export type { DeleteIngestionJobSinkErrorResponse, DeleteIngestionJobSinkMutationPathParams, DeleteIngestionJobSinkOkResponse, DeleteIngestionJobSinkProps, } from './hooks/useDeleteIngestionJobSinkMutation';
|
|
13
|
+
export { deleteIngestionJobSink, useDeleteIngestionJobSinkMutation, } from './hooks/useDeleteIngestionJobSinkMutation';
|
|
14
|
+
export type { DeleteIngestionLimitErrorResponse, DeleteIngestionLimitMutationPathParams, DeleteIngestionLimitOkResponse, DeleteIngestionLimitProps, } from './hooks/useDeleteIngestionLimitMutation';
|
|
15
|
+
export { deleteIngestionLimit, useDeleteIngestionLimitMutation, } from './hooks/useDeleteIngestionLimitMutation';
|
|
16
|
+
export type { DeleteIntegrationJobRefAccountErrorResponse, DeleteIntegrationJobRefAccountOKResponse, DeleteIntegrationJobRefAccountPathParams, DeleteIntegrationJobRefOrgErrorResponse, DeleteIntegrationJobRefOrgOKResponse, DeleteIntegrationJobRefOrgPathParams, DeleteIntegrationJobRefProjectErrorResponse, DeleteIntegrationJobRefProjectOKResponse, DeleteIntegrationJobRefProjectPathParams, DeleteIntegrationJobRefProps, } from './hooks/useDeleteIntegrationJobRefMutation';
|
|
17
|
+
export { deleteIntegrationJobRef, useDeleteIntegrationJobRefMutation, } from './hooks/useDeleteIntegrationJobRefMutation';
|
|
18
|
+
export type { DeleteIntegrationRefAccountErrorResponse, DeleteIntegrationRefAccountOKResponse, DeleteIntegrationRefAccountPathParams, DeleteIntegrationRefOrgErrorResponse, DeleteIntegrationRefOrgOKResponse, DeleteIntegrationRefOrgPathParams, DeleteIntegrationRefProjectErrorResponse, DeleteIntegrationRefProjectOKResponse, DeleteIntegrationRefProjectPathParams, DeleteIntegrationRefProps, } from './hooks/useDeleteIntegrationRefMutation';
|
|
19
|
+
export { deleteIntegrationRef, useDeleteIntegrationRefMutation, } from './hooks/useDeleteIntegrationRefMutation';
|
|
20
|
+
export type { DiscoverIntegrationRefAccountErrorResponse, DiscoverIntegrationRefAccountOKResponse, DiscoverIntegrationRefAccountPathParams, DiscoverIntegrationRefAccountRequestBody, DiscoverIntegrationRefOrgErrorResponse, DiscoverIntegrationRefOrgOKResponse, DiscoverIntegrationRefOrgPathParams, DiscoverIntegrationRefOrgRequestBody, DiscoverIntegrationRefProjectErrorResponse, DiscoverIntegrationRefProjectOKResponse, DiscoverIntegrationRefProjectPathParams, DiscoverIntegrationRefProjectRequestBody, DiscoverIntegrationRefProps, } from './hooks/useDiscoverIntegrationRefMutation';
|
|
21
|
+
export { discoverIntegrationRef, useDiscoverIntegrationRefMutation, } from './hooks/useDiscoverIntegrationRefMutation';
|
|
22
|
+
export type { GetDefinitionErrorResponse, GetDefinitionOkResponse, GetDefinitionProps, GetDefinitionQueryPathParams, } from './hooks/useGetDefinitionQuery';
|
|
23
|
+
export { getDefinition, useGetDefinitionQuery } from './hooks/useGetDefinitionQuery';
|
|
24
|
+
export type { GetIngestionLimitErrorResponse, GetIngestionLimitOkResponse, GetIngestionLimitProps, GetIngestionLimitQueryPathParams, } from './hooks/useGetIngestionLimitQuery';
|
|
25
|
+
export { getIngestionLimit, useGetIngestionLimitQuery } from './hooks/useGetIngestionLimitQuery';
|
|
26
|
+
export type { GetIngestionRunErrorResponse, GetIngestionRunOkResponse, GetIngestionRunProps, GetIngestionRunQueryPathParams, } from './hooks/useGetIngestionRunQuery';
|
|
27
|
+
export { getIngestionRun, useGetIngestionRunQuery } from './hooks/useGetIngestionRunQuery';
|
|
28
|
+
export type { GetIntegrationJobRefAccountErrorResponse, GetIntegrationJobRefAccountOKResponse, GetIntegrationJobRefAccountPathParams, GetIntegrationJobRefOrgErrorResponse, GetIntegrationJobRefOrgOKResponse, GetIntegrationJobRefOrgPathParams, GetIntegrationJobRefProjectErrorResponse, GetIntegrationJobRefProjectOKResponse, GetIntegrationJobRefProjectPathParams, GetIntegrationJobRefProps, } from './hooks/useGetIntegrationJobRefQuery';
|
|
29
|
+
export { getIntegrationJobRef, useGetIntegrationJobRefQuery, } from './hooks/useGetIntegrationJobRefQuery';
|
|
30
|
+
export type { GetIntegrationRefAccountErrorResponse, GetIntegrationRefAccountOKResponse, GetIntegrationRefAccountPathParams, GetIntegrationRefOrgErrorResponse, GetIntegrationRefOrgOKResponse, GetIntegrationRefOrgPathParams, GetIntegrationRefProjectErrorResponse, GetIntegrationRefProjectOKResponse, GetIntegrationRefProjectPathParams, GetIntegrationRefProps, } from './hooks/useGetIntegrationRefQuery';
|
|
31
|
+
export { getIntegrationRef, useGetIntegrationRefQuery } from './hooks/useGetIntegrationRefQuery';
|
|
32
|
+
export type { IngestionRunStdoutErrorResponse, IngestionRunStdoutMutationPathParams, IngestionRunStdoutOkResponse, IngestionRunStdoutProps, } from './hooks/useIngestionRunStdoutMutation';
|
|
33
|
+
export { ingestionRunStdout, useIngestionRunStdoutMutation, } from './hooks/useIngestionRunStdoutMutation';
|
|
34
|
+
export type { ListDefinitionsErrorResponse, ListDefinitionsOkResponse, ListDefinitionsProps, ListDefinitionsQueryQueryParams, } from './hooks/useListDefinitionsQuery';
|
|
35
|
+
export { listDefinitions, useListDefinitionsQuery } from './hooks/useListDefinitionsQuery';
|
|
36
|
+
export type { ListIngestionJobsErrorResponse, ListIngestionJobsOkResponse, ListIngestionJobsProps, ListIngestionJobsQueryQueryParams, } from './hooks/useListIngestionJobsQuery';
|
|
37
|
+
export { listIngestionJobs, useListIngestionJobsQuery } from './hooks/useListIngestionJobsQuery';
|
|
38
|
+
export type { ListIngestionLimitsErrorResponse, ListIngestionLimitsOkResponse, ListIngestionLimitsProps, } from './hooks/useListIngestionLimitsQuery';
|
|
39
|
+
export { listIngestionLimits, useListIngestionLimitsQuery, } from './hooks/useListIngestionLimitsQuery';
|
|
40
|
+
export type { ListIntegrationJobRunsRefAccountErrorResponse, ListIntegrationJobRunsRefAccountOKResponse, ListIntegrationJobRunsRefAccountPathParams, ListIntegrationJobRunsRefAccountQueryParams, ListIntegrationJobRunsRefOrgErrorResponse, ListIntegrationJobRunsRefOrgOKResponse, ListIntegrationJobRunsRefOrgPathParams, ListIntegrationJobRunsRefOrgQueryParams, ListIntegrationJobRunsRefProjectErrorResponse, ListIntegrationJobRunsRefProjectOKResponse, ListIntegrationJobRunsRefProjectPathParams, ListIntegrationJobRunsRefProjectQueryParams, ListIntegrationJobRunsRefProps, } from './hooks/useListIntegrationJobRunsRefQuery';
|
|
41
|
+
export { listIntegrationJobRunsRef, useListIntegrationJobRunsRefQuery, } from './hooks/useListIntegrationJobRunsRefQuery';
|
|
42
|
+
export type { ListIntegrationJobsRefAccountErrorResponse, ListIntegrationJobsRefAccountOKResponse, ListIntegrationJobsRefAccountPathParams, ListIntegrationJobsRefOrgErrorResponse, ListIntegrationJobsRefOrgOKResponse, ListIntegrationJobsRefOrgPathParams, ListIntegrationJobsRefProjectErrorResponse, ListIntegrationJobsRefProjectOKResponse, ListIntegrationJobsRefProjectPathParams, ListIntegrationJobsRefProps, } from './hooks/useListIntegrationJobsRefQuery';
|
|
43
|
+
export { listIntegrationJobsRef, useListIntegrationJobsRefQuery, } from './hooks/useListIntegrationJobsRefQuery';
|
|
44
|
+
export type { ListIntegrationsRefAccountErrorResponse, ListIntegrationsRefAccountOKResponse, ListIntegrationsRefAccountQueryParams, ListIntegrationsRefOrgErrorResponse, ListIntegrationsRefOrgOKResponse, ListIntegrationsRefOrgPathParams, ListIntegrationsRefOrgQueryParams, ListIntegrationsRefProjectErrorResponse, ListIntegrationsRefProjectOKResponse, ListIntegrationsRefProjectPathParams, ListIntegrationsRefProjectQueryParams, ListIntegrationsRefProps, } from './hooks/useListIntegrationsRefQuery';
|
|
45
|
+
export { listIntegrationsRef, useListIntegrationsRefQuery, } from './hooks/useListIntegrationsRefQuery';
|
|
46
|
+
export type { PublishLibraryRevisionErrorResponse, PublishLibraryRevisionMutationPathParams, PublishLibraryRevisionOkResponse, PublishLibraryRevisionProps, PublishLibraryRevisionRequestBody, } from './hooks/usePublishLibraryRevisionMutation';
|
|
47
|
+
export { publishLibraryRevision, usePublishLibraryRevisionMutation, } from './hooks/usePublishLibraryRevisionMutation';
|
|
48
|
+
export type { PutIngestionJobSinkErrorResponse, PutIngestionJobSinkMutationPathParams, PutIngestionJobSinkOkResponse, PutIngestionJobSinkProps, PutIngestionJobSinkRequestBody, } from './hooks/usePutIngestionJobSinkMutation';
|
|
49
|
+
export { putIngestionJobSink, usePutIngestionJobSinkMutation, } from './hooks/usePutIngestionJobSinkMutation';
|
|
50
|
+
export type { PutIngestionLimitErrorResponse, PutIngestionLimitMutationPathParams, PutIngestionLimitOkResponse, PutIngestionLimitProps, PutIngestionLimitRequestBody, } from './hooks/usePutIngestionLimitMutation';
|
|
51
|
+
export { putIngestionLimit, usePutIngestionLimitMutation, } from './hooks/usePutIngestionLimitMutation';
|
|
52
|
+
export type { RepinIntegrationJobRefAccountErrorResponse, RepinIntegrationJobRefAccountOKResponse, RepinIntegrationJobRefAccountPathParams, RepinIntegrationJobRefOrgErrorResponse, RepinIntegrationJobRefOrgOKResponse, RepinIntegrationJobRefOrgPathParams, RepinIntegrationJobRefProjectErrorResponse, RepinIntegrationJobRefProjectOKResponse, RepinIntegrationJobRefProjectPathParams, RepinIntegrationJobRefProps, } from './hooks/useRepinIntegrationJobRefMutation';
|
|
53
|
+
export { repinIntegrationJobRef, useRepinIntegrationJobRefMutation, } from './hooks/useRepinIntegrationJobRefMutation';
|
|
54
|
+
export type { ResetIntegrationJobCheckpointsRefAccountErrorResponse, ResetIntegrationJobCheckpointsRefAccountOKResponse, ResetIntegrationJobCheckpointsRefAccountPathParams, ResetIntegrationJobCheckpointsRefAccountQueryParams, ResetIntegrationJobCheckpointsRefOrgErrorResponse, ResetIntegrationJobCheckpointsRefOrgOKResponse, ResetIntegrationJobCheckpointsRefOrgPathParams, ResetIntegrationJobCheckpointsRefOrgQueryParams, ResetIntegrationJobCheckpointsRefProjectErrorResponse, ResetIntegrationJobCheckpointsRefProjectOKResponse, ResetIntegrationJobCheckpointsRefProjectPathParams, ResetIntegrationJobCheckpointsRefProjectQueryParams, ResetIntegrationJobCheckpointsRefProps, } from './hooks/useResetIntegrationJobCheckpointsRefMutation';
|
|
55
|
+
export { resetIntegrationJobCheckpointsRef, useResetIntegrationJobCheckpointsRefMutation, } from './hooks/useResetIntegrationJobCheckpointsRefMutation';
|
|
56
|
+
export type { RotateIntegrationJobWebhookTokenRefAccountErrorResponse, RotateIntegrationJobWebhookTokenRefAccountOKResponse, RotateIntegrationJobWebhookTokenRefAccountPathParams, RotateIntegrationJobWebhookTokenRefOrgErrorResponse, RotateIntegrationJobWebhookTokenRefOrgOKResponse, RotateIntegrationJobWebhookTokenRefOrgPathParams, RotateIntegrationJobWebhookTokenRefProjectErrorResponse, RotateIntegrationJobWebhookTokenRefProjectOKResponse, RotateIntegrationJobWebhookTokenRefProjectPathParams, RotateIntegrationJobWebhookTokenRefProps, } from './hooks/useRotateIntegrationJobWebhookTokenRefMutation';
|
|
57
|
+
export { rotateIntegrationJobWebhookTokenRef, useRotateIntegrationJobWebhookTokenRefMutation, } from './hooks/useRotateIntegrationJobWebhookTokenRefMutation';
|
|
58
|
+
export type { SetDefaultIntegrationJobRefAccountErrorResponse, SetDefaultIntegrationJobRefAccountOKResponse, SetDefaultIntegrationJobRefAccountPathParams, SetDefaultIntegrationJobRefOrgErrorResponse, SetDefaultIntegrationJobRefOrgOKResponse, SetDefaultIntegrationJobRefOrgPathParams, SetDefaultIntegrationJobRefProjectErrorResponse, SetDefaultIntegrationJobRefProjectOKResponse, SetDefaultIntegrationJobRefProjectPathParams, SetDefaultIntegrationJobRefProps, } from './hooks/useSetDefaultIntegrationJobRefMutation';
|
|
59
|
+
export { setDefaultIntegrationJobRef, useSetDefaultIntegrationJobRefMutation, } from './hooks/useSetDefaultIntegrationJobRefMutation';
|
|
60
|
+
export type { SyncIntegrationJobRefAccountErrorResponse, SyncIntegrationJobRefAccountOKResponse, SyncIntegrationJobRefAccountPathParams, SyncIntegrationJobRefOrgErrorResponse, SyncIntegrationJobRefOrgOKResponse, SyncIntegrationJobRefOrgPathParams, SyncIntegrationJobRefProjectErrorResponse, SyncIntegrationJobRefProjectOKResponse, SyncIntegrationJobRefProjectPathParams, SyncIntegrationJobRefProps, } from './hooks/useSyncIntegrationJobRefMutation';
|
|
61
|
+
export { syncIntegrationJobRef, useSyncIntegrationJobRefMutation, } from './hooks/useSyncIntegrationJobRefMutation';
|
|
62
|
+
export type { UpdateIntegrationJobRefAccountErrorResponse, UpdateIntegrationJobRefAccountOKResponse, UpdateIntegrationJobRefAccountPathParams, UpdateIntegrationJobRefAccountRequestBody, UpdateIntegrationJobRefOrgErrorResponse, UpdateIntegrationJobRefOrgOKResponse, UpdateIntegrationJobRefOrgPathParams, UpdateIntegrationJobRefOrgRequestBody, UpdateIntegrationJobRefProjectErrorResponse, UpdateIntegrationJobRefProjectOKResponse, UpdateIntegrationJobRefProjectPathParams, UpdateIntegrationJobRefProjectRequestBody, UpdateIntegrationJobRefProps, } from './hooks/useUpdateIntegrationJobRefMutation';
|
|
63
|
+
export { updateIntegrationJobRef, useUpdateIntegrationJobRefMutation, } from './hooks/useUpdateIntegrationJobRefMutation';
|
|
64
|
+
export type { UpdateIntegrationRefAccountErrorResponse, UpdateIntegrationRefAccountOKResponse, UpdateIntegrationRefAccountPathParams, UpdateIntegrationRefAccountRequestBody, UpdateIntegrationRefOrgErrorResponse, UpdateIntegrationRefOrgOKResponse, UpdateIntegrationRefOrgPathParams, UpdateIntegrationRefOrgRequestBody, UpdateIntegrationRefProjectErrorResponse, UpdateIntegrationRefProjectOKResponse, UpdateIntegrationRefProjectPathParams, UpdateIntegrationRefProjectRequestBody, UpdateIntegrationRefProps, } from './hooks/useUpdateIntegrationRefMutation';
|
|
65
|
+
export { updateIntegrationRef, useUpdateIntegrationRefMutation, } from './hooks/useUpdateIntegrationRefMutation';
|
|
66
|
+
export type { CheckpointView } from './schemas/CheckpointView';
|
|
67
|
+
export type { Composition } from './schemas/Composition';
|
|
68
|
+
export type { Detail } from './schemas/Detail';
|
|
69
|
+
export type { Failure } from './schemas/Failure';
|
|
70
|
+
export type { Health } from './schemas/Health';
|
|
71
|
+
export type { IntegrationRequest } from './schemas/IntegrationRequest';
|
|
72
|
+
export type { IntegrationResponse } from './schemas/IntegrationResponse';
|
|
73
|
+
export type { JobView } from './schemas/JobView';
|
|
74
|
+
export type { JsonNode } from './schemas/JsonNode';
|
|
75
|
+
export type { LastRun } from './schemas/LastRun';
|
|
76
|
+
export type { Limits } from './schemas/Limits';
|
|
77
|
+
export type { LimitsDoc } from './schemas/LimitsDoc';
|
|
78
|
+
export type { LoadIssue } from './schemas/LoadIssue';
|
|
79
|
+
export type { PublishRequest } from './schemas/PublishRequest';
|
|
80
|
+
export type { Result } from './schemas/Result';
|
|
81
|
+
export type { Run } from './schemas/Run';
|
|
82
|
+
export type { RunnerTarget } from './schemas/RunnerTarget';
|
|
83
|
+
export type { SinkRequest } from './schemas/SinkRequest';
|
|
84
|
+
export type { State } from './schemas/State';
|
|
85
|
+
export type { StreamRun } from './schemas/StreamRun';
|
|
86
|
+
export type { StreamSchema } from './schemas/StreamSchema';
|
|
87
|
+
export type { Trigger } from './schemas/Trigger';
|
|
88
|
+
export type { Use } from './schemas/Use';
|
|
89
|
+
export type { WebhookView } from './schemas/WebhookView';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export { cancelIngestionRun, useCancelIngestionRunMutation, } from './hooks/useCancelIngestionRunMutation';
|
|
2
|
+
export { checkIntegrationRef, useCheckIntegrationRefMutation, } from './hooks/useCheckIntegrationRefMutation';
|
|
3
|
+
export { clearDefaultIntegrationJobRef, useClearDefaultIntegrationJobRefMutation, } from './hooks/useClearDefaultIntegrationJobRefMutation';
|
|
4
|
+
export { createIntegrationJobRef, useCreateIntegrationJobRefMutation, } from './hooks/useCreateIntegrationJobRefMutation';
|
|
5
|
+
export { createIntegrationRef, useCreateIntegrationRefMutation, } from './hooks/useCreateIntegrationRefMutation';
|
|
6
|
+
export { deleteIngestionJobSink, useDeleteIngestionJobSinkMutation, } from './hooks/useDeleteIngestionJobSinkMutation';
|
|
7
|
+
export { deleteIngestionLimit, useDeleteIngestionLimitMutation, } from './hooks/useDeleteIngestionLimitMutation';
|
|
8
|
+
export { deleteIntegrationJobRef, useDeleteIntegrationJobRefMutation, } from './hooks/useDeleteIntegrationJobRefMutation';
|
|
9
|
+
export { deleteIntegrationRef, useDeleteIntegrationRefMutation, } from './hooks/useDeleteIntegrationRefMutation';
|
|
10
|
+
export { discoverIntegrationRef, useDiscoverIntegrationRefMutation, } from './hooks/useDiscoverIntegrationRefMutation';
|
|
11
|
+
export { getDefinition, useGetDefinitionQuery } from './hooks/useGetDefinitionQuery';
|
|
12
|
+
export { getIngestionLimit, useGetIngestionLimitQuery } from './hooks/useGetIngestionLimitQuery';
|
|
13
|
+
export { getIngestionRun, useGetIngestionRunQuery } from './hooks/useGetIngestionRunQuery';
|
|
14
|
+
export { getIntegrationJobRef, useGetIntegrationJobRefQuery, } from './hooks/useGetIntegrationJobRefQuery';
|
|
15
|
+
export { getIntegrationRef, useGetIntegrationRefQuery } from './hooks/useGetIntegrationRefQuery';
|
|
16
|
+
export { ingestionRunStdout, useIngestionRunStdoutMutation, } from './hooks/useIngestionRunStdoutMutation';
|
|
17
|
+
export { listDefinitions, useListDefinitionsQuery } from './hooks/useListDefinitionsQuery';
|
|
18
|
+
export { listIngestionJobs, useListIngestionJobsQuery } from './hooks/useListIngestionJobsQuery';
|
|
19
|
+
export { listIngestionLimits, useListIngestionLimitsQuery, } from './hooks/useListIngestionLimitsQuery';
|
|
20
|
+
export { listIntegrationJobRunsRef, useListIntegrationJobRunsRefQuery, } from './hooks/useListIntegrationJobRunsRefQuery';
|
|
21
|
+
export { listIntegrationJobsRef, useListIntegrationJobsRefQuery, } from './hooks/useListIntegrationJobsRefQuery';
|
|
22
|
+
export { listIntegrationsRef, useListIntegrationsRefQuery, } from './hooks/useListIntegrationsRefQuery';
|
|
23
|
+
export { publishLibraryRevision, usePublishLibraryRevisionMutation, } from './hooks/usePublishLibraryRevisionMutation';
|
|
24
|
+
export { putIngestionJobSink, usePutIngestionJobSinkMutation, } from './hooks/usePutIngestionJobSinkMutation';
|
|
25
|
+
export { putIngestionLimit, usePutIngestionLimitMutation, } from './hooks/usePutIngestionLimitMutation';
|
|
26
|
+
export { repinIntegrationJobRef, useRepinIntegrationJobRefMutation, } from './hooks/useRepinIntegrationJobRefMutation';
|
|
27
|
+
export { resetIntegrationJobCheckpointsRef, useResetIntegrationJobCheckpointsRefMutation, } from './hooks/useResetIntegrationJobCheckpointsRefMutation';
|
|
28
|
+
export { rotateIntegrationJobWebhookTokenRef, useRotateIntegrationJobWebhookTokenRefMutation, } from './hooks/useRotateIntegrationJobWebhookTokenRefMutation';
|
|
29
|
+
export { setDefaultIntegrationJobRef, useSetDefaultIntegrationJobRefMutation, } from './hooks/useSetDefaultIntegrationJobRefMutation';
|
|
30
|
+
export { syncIntegrationJobRef, useSyncIntegrationJobRefMutation, } from './hooks/useSyncIntegrationJobRefMutation';
|
|
31
|
+
export { updateIntegrationJobRef, useUpdateIntegrationJobRefMutation, } from './hooks/useUpdateIntegrationJobRefMutation';
|
|
32
|
+
export { updateIntegrationRef, useUpdateIntegrationRefMutation, } from './hooks/useUpdateIntegrationRefMutation';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StreamSchema } from '../schemas/StreamSchema';
|
|
2
|
+
export interface Detail {
|
|
3
|
+
category?: 'action' | 'auth' | 'connector' | 'stream' | 'trigger';
|
|
4
|
+
iconName?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
streams?: StreamSchema[];
|
|
7
|
+
template?: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
version?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Composition } from '../schemas/Composition';
|
|
2
|
+
import type { RunnerTarget } from '../schemas/RunnerTarget';
|
|
3
|
+
export interface IntegrationRequest {
|
|
4
|
+
auth?: Composition;
|
|
5
|
+
connector?: Composition;
|
|
6
|
+
description?: string;
|
|
7
|
+
identifier?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
runner?: RunnerTarget;
|
|
10
|
+
tags?: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
16
|
+
version?: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Composition } from '../schemas/Composition';
|
|
2
|
+
import type { State } from '../schemas/State';
|
|
3
|
+
import type { RunnerTarget } from '../schemas/RunnerTarget';
|
|
4
|
+
export interface IntegrationResponse {
|
|
5
|
+
accountId?: string;
|
|
6
|
+
auth?: Composition;
|
|
7
|
+
connector?: Composition;
|
|
8
|
+
/**
|
|
9
|
+
* @format int64
|
|
10
|
+
*/
|
|
11
|
+
created?: number;
|
|
12
|
+
createdBy?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
health?: State;
|
|
15
|
+
id?: string;
|
|
16
|
+
identifier?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
parentUniqueId?: string;
|
|
19
|
+
runner?: RunnerTarget;
|
|
20
|
+
tags?: {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
};
|
|
23
|
+
uniqueId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @format int64
|
|
26
|
+
*/
|
|
27
|
+
updated?: number;
|
|
28
|
+
updatedBy?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @format int64
|
|
31
|
+
*/
|
|
32
|
+
version?: number;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Use } from '../schemas/Use';
|
|
2
|
+
import type { CheckpointView } from '../schemas/CheckpointView';
|
|
3
|
+
import type { Health } from '../schemas/Health';
|
|
4
|
+
import type { LastRun } from '../schemas/LastRun';
|
|
5
|
+
import type { Trigger } from '../schemas/Trigger';
|
|
6
|
+
import type { WebhookView } from '../schemas/WebhookView';
|
|
7
|
+
export interface JobView {
|
|
8
|
+
action?: Use;
|
|
9
|
+
actionVersion?: string;
|
|
10
|
+
checkpoints?: {
|
|
11
|
+
[key: string]: CheckpointView;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @format date-time
|
|
15
|
+
*/
|
|
16
|
+
createdAt?: string;
|
|
17
|
+
default?: boolean;
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
health?: Health;
|
|
20
|
+
id?: string;
|
|
21
|
+
identifier?: string;
|
|
22
|
+
integration?: string;
|
|
23
|
+
lastRun?: LastRun;
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @format date-time
|
|
27
|
+
*/
|
|
28
|
+
nextRunAt?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @format date-time
|
|
31
|
+
*/
|
|
32
|
+
rateLimitedUntil?: string;
|
|
33
|
+
sink?: string;
|
|
34
|
+
streams?: string[];
|
|
35
|
+
trigger?: Trigger;
|
|
36
|
+
/**
|
|
37
|
+
* @format date-time
|
|
38
|
+
*/
|
|
39
|
+
updatedAt?: string;
|
|
40
|
+
webhook?: WebhookView;
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface JsonNode {
|
|
2
|
+
array?: boolean;
|
|
3
|
+
bigDecimal?: boolean;
|
|
4
|
+
bigInteger?: boolean;
|
|
5
|
+
binary?: boolean;
|
|
6
|
+
boolean?: boolean;
|
|
7
|
+
container?: boolean;
|
|
8
|
+
double?: boolean;
|
|
9
|
+
embeddedValue?: boolean;
|
|
10
|
+
empty?: boolean;
|
|
11
|
+
float?: boolean;
|
|
12
|
+
floatingPointNumber?: boolean;
|
|
13
|
+
int?: boolean;
|
|
14
|
+
integralNumber?: boolean;
|
|
15
|
+
long?: boolean;
|
|
16
|
+
missingNode?: boolean;
|
|
17
|
+
nodeType?: 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING';
|
|
18
|
+
null?: boolean;
|
|
19
|
+
number?: boolean;
|
|
20
|
+
object?: boolean;
|
|
21
|
+
pojo?: boolean;
|
|
22
|
+
short?: boolean;
|
|
23
|
+
string?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated
|
|
26
|
+
*/
|
|
27
|
+
textual?: boolean;
|
|
28
|
+
valueNode?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface Limits {
|
|
2
|
+
/**
|
|
3
|
+
* @format int64
|
|
4
|
+
*/
|
|
5
|
+
bytesPerSec?: number;
|
|
6
|
+
/**
|
|
7
|
+
* @format int32
|
|
8
|
+
*/
|
|
9
|
+
maxConcurrentRuns?: number;
|
|
10
|
+
/**
|
|
11
|
+
* @format int64
|
|
12
|
+
*/
|
|
13
|
+
maxRunBytes?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @format int64
|
|
16
|
+
*/
|
|
17
|
+
maxRunRecords?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
21
|
+
maxRunSeconds?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int32
|
|
24
|
+
*/
|
|
25
|
+
maxRunsPerHour?: number;
|
|
26
|
+
paused?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @format int64
|
|
29
|
+
*/
|
|
30
|
+
recordsPerSec?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @format int32
|
|
33
|
+
*/
|
|
34
|
+
syncPerMinute?: number;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|