@harnessio/react-rmg-service-client 0.64.0 → 0.65.1-beta.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.
- package/dist/rmg-service/src/services/hooks/useCreateArtifactTrackerServiceMappingMutation.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useCreateArtifactTrackerServiceMappingMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useCreateArtifactTrackerSettingsMutation.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useCreateArtifactTrackerSettingsMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useDeleteArtifactTrackerServiceMappingMutation.d.ts +24 -0
- package/dist/rmg-service/src/services/hooks/useDeleteArtifactTrackerServiceMappingMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useDeleteArtifactTrackerSettingsMutation.d.ts +24 -0
- package/dist/rmg-service/src/services/hooks/useDeleteArtifactTrackerSettingsMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetArtifactTrackerServiceMappingQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetArtifactTrackerServiceMappingQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetArtifactTrackerSettingsQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetArtifactTrackerSettingsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsV2Query.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsV2Query.js +20 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsV2Query.d.ts +27 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsV2Query.js +19 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +2 -16
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessExecutionsQuery.d.ts +63 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessExecutionsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.d.ts +0 -1
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesPaginatedQuery.d.ts +31 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesPaginatedQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionPhasesQuery.d.ts +26 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionPhasesQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetProcessExecutionQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetWebhookMatchedSignalExecutionSummariesQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetWebhookMatchedSignalExecutionSummariesQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetWebhookMetadataQuery.d.ts +19 -0
- package/dist/rmg-service/src/services/hooks/useGetWebhookMetadataQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerServiceMappingsQuery.d.ts +30 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerServiceMappingsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerSettingsQuery.d.ts +30 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerSettingsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessExecuteMutation.d.ts +36 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessExecuteMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostProcessExecutionActionMutation.d.ts +36 -0
- package/dist/rmg-service/src/services/hooks/usePostProcessExecutionActionMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostWebhookQueueActionMutation.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/usePostWebhookQueueActionMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useUpdateArtifactTrackerServiceMappingMutation.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/useUpdateArtifactTrackerServiceMappingMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useUpsertArtifactTrackerSettingsMutation.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/useUpsertArtifactTrackerSettingsMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +85 -1
- package/dist/rmg-service/src/services/index.js +21 -0
- package/dist/rmg-service/src/services/requestBodies/WebhookQueueActionRequestRequestBody.d.ts +2 -0
- package/dist/rmg-service/src/services/requestBodies/WebhookQueueActionRequestRequestBody.js +1 -0
- package/dist/rmg-service/src/services/responses/ExecuteProcessResponseResponse.d.ts +4 -0
- package/dist/rmg-service/src/services/responses/ExecuteProcessResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/ExecutionOutputsV2ResponseResponse.d.ts +7 -0
- package/dist/rmg-service/src/services/responses/ExecutionOutputsV2ResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/GetProcessExecutionResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/GetProcessExecutionResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/WebhookMatchedSignalExecutionSummaryListResponseResponse.d.ts +13 -0
- package/dist/rmg-service/src/services/responses/WebhookMatchedSignalExecutionSummaryListResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/WebhookQueueActionResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/WebhookQueueActionResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/schemas/AbortedBy.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMapping.d.ts +20 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMapping.js +4 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMappingList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMappingList.js +1 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettings.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettings.js +4 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettingsList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettingsList.js +1 -0
- package/dist/rmg-service/src/services/schemas/BuildInfo.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/BuildInfo.js +4 -0
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.d.ts +18 -0
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.js +4 -0
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerSettingsRequest.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerSettingsRequest.js +4 -0
- package/dist/rmg-service/src/services/schemas/EdgeLayoutList.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/EdgeLayoutList.js +4 -0
- package/dist/rmg-service/src/services/schemas/EntityGitDetails.d.ts +14 -0
- package/dist/rmg-service/src/services/schemas/EntityGitDetails.js +4 -0
- package/dist/rmg-service/src/services/schemas/ExecuteProcessResponseDto.d.ts +31 -0
- package/dist/rmg-service/src/services/schemas/ExecuteProcessResponseDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/ExecutionOutputGroupDto.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/ExecutionOutputGroupDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/ExecutionOutputV2Dto.d.ts +13 -0
- package/dist/rmg-service/src/services/schemas/ExecutionOutputV2Dto.js +4 -0
- package/dist/rmg-service/src/services/schemas/ExecutionTaskDto.d.ts +0 -2
- package/dist/rmg-service/src/services/schemas/ExecutionTriggerInfo.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/ExecutionTriggerInfo.js +1 -0
- package/dist/rmg-service/src/services/schemas/FailureInfoDto.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/FailureInfoDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/GovernanceMetadata.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/GovernanceMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/GraphLayoutNodeDto.d.ts +23 -0
- package/dist/rmg-service/src/services/schemas/GraphLayoutNodeDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +0 -2
- package/dist/rmg-service/src/services/schemas/ManualTaskYaml.js +3 -0
- package/dist/rmg-service/src/services/schemas/MatchedSignalExecutionSummaryDto.d.ts +13 -0
- package/dist/rmg-service/src/services/schemas/MatchedSignalExecutionSummaryDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/NgLabel.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/NgLabel.js +4 -0
- package/dist/rmg-service/src/services/schemas/NgTag.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/NgTag.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhasesResponse.d.ts +19 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhasesResponse.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationStatusList.d.ts +5 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationStatusList.js +1 -0
- package/dist/rmg-service/src/services/schemas/PipelineExecutionSummaryDto.d.ts +94 -0
- package/dist/rmg-service/src/services/schemas/PipelineExecutionSummaryDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/PipelineStageInfo.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/PipelineStageInfo.js +4 -0
- package/dist/rmg-service/src/services/schemas/PolicyMetadata.d.ts +20 -0
- package/dist/rmg-service/src/services/schemas/PolicyMetadata.js +4 -0
- package/dist/rmg-service/src/services/schemas/PolicySetMetadata.d.ts +17 -0
- package/dist/rmg-service/src/services/schemas/PolicySetMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/RerunInfo.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/RerunInfo.js +4 -0
- package/dist/rmg-service/src/services/schemas/ResponseMessage.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ResponseMessage.js +4 -0
- package/dist/rmg-service/src/services/schemas/RetryExecutionMetadata.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/RetryExecutionMetadata.js +4 -0
- package/dist/rmg-service/src/services/schemas/TemplateReferenceSummary.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/TemplateReferenceSummary.js +4 -0
- package/dist/rmg-service/src/services/schemas/TriggeredBy.d.ts +11 -0
- package/dist/rmg-service/src/services/schemas/TriggeredBy.js +4 -0
- package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.d.ts +11 -0
- package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.js +4 -0
- package/dist/rmg-service/src/services/schemas/UpsertArtifactTrackerSettingsRequest.d.ts +7 -0
- package/dist/rmg-service/src/services/schemas/UpsertArtifactTrackerSettingsRequest.js +4 -0
- package/dist/rmg-service/src/services/schemas/WebhookMetadataResponse.d.ts +12 -0
- package/dist/rmg-service/src/services/schemas/WebhookMetadataResponse.js +4 -0
- package/dist/rmg-service/src/services/schemas/WebhookQueueActionRequest.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/WebhookQueueActionRequest.js +4 -0
- package/dist/rmg-service/src/services/schemas/WebhookQueueActionResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/WebhookQueueActionResponse.js +4 -0
- package/package.json +1 -1
- package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +0 -10
- /package/dist/rmg-service/src/services/schemas/{TaskExecuteConfig.js → AbortedBy.js} +0 -0
package/dist/rmg-service/src/services/hooks/useCreateArtifactTrackerServiceMappingMutation.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ArtifactTrackerServiceMapping } from '../schemas/ArtifactTrackerServiceMapping';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { CreateArtifactTrackerServiceMappingRequest } from '../schemas/CreateArtifactTrackerServiceMappingRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateArtifactTrackerServiceMappingMutationQueryParams {
|
|
8
|
+
orgIdentifier?: string;
|
|
9
|
+
projectIdentifier?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface CreateArtifactTrackerServiceMappingMutationHeaderParams {
|
|
12
|
+
'Harness-Account': string;
|
|
13
|
+
}
|
|
14
|
+
export type CreateArtifactTrackerServiceMappingRequestBody = CreateArtifactTrackerServiceMappingRequest;
|
|
15
|
+
export type CreateArtifactTrackerServiceMappingOkResponse = ResponseWithPagination<ArtifactTrackerServiceMapping>;
|
|
16
|
+
export type CreateArtifactTrackerServiceMappingErrorResponse = ErrorResponseResponse;
|
|
17
|
+
export interface CreateArtifactTrackerServiceMappingProps extends Omit<FetcherOptions<CreateArtifactTrackerServiceMappingMutationQueryParams, CreateArtifactTrackerServiceMappingRequestBody, CreateArtifactTrackerServiceMappingMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: CreateArtifactTrackerServiceMappingMutationQueryParams;
|
|
19
|
+
body: CreateArtifactTrackerServiceMappingRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export declare function createArtifactTrackerServiceMapping(props: CreateArtifactTrackerServiceMappingProps): Promise<CreateArtifactTrackerServiceMappingOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Create a service mapping
|
|
24
|
+
*/
|
|
25
|
+
export declare function useCreateArtifactTrackerServiceMappingMutation(options?: Omit<UseMutationOptions<CreateArtifactTrackerServiceMappingOkResponse, CreateArtifactTrackerServiceMappingErrorResponse, CreateArtifactTrackerServiceMappingProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateArtifactTrackerServiceMappingOkResponse, import("..").Error, CreateArtifactTrackerServiceMappingProps, 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 createArtifactTrackerServiceMapping(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/artifact-tracker/service-mappings`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a service mapping
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateArtifactTrackerServiceMappingMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createArtifactTrackerServiceMapping(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ArtifactTrackerSettings } from '../schemas/ArtifactTrackerSettings';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { CreateArtifactTrackerSettingsRequest } from '../schemas/CreateArtifactTrackerSettingsRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateArtifactTrackerSettingsMutationQueryParams {
|
|
8
|
+
orgIdentifier?: string;
|
|
9
|
+
projectIdentifier?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface CreateArtifactTrackerSettingsMutationHeaderParams {
|
|
12
|
+
'Harness-Account': string;
|
|
13
|
+
}
|
|
14
|
+
export type CreateArtifactTrackerSettingsRequestBody = CreateArtifactTrackerSettingsRequest;
|
|
15
|
+
export type CreateArtifactTrackerSettingsOkResponse = ResponseWithPagination<ArtifactTrackerSettings>;
|
|
16
|
+
export type CreateArtifactTrackerSettingsErrorResponse = ErrorResponseResponse;
|
|
17
|
+
export interface CreateArtifactTrackerSettingsProps extends Omit<FetcherOptions<CreateArtifactTrackerSettingsMutationQueryParams, CreateArtifactTrackerSettingsRequestBody, CreateArtifactTrackerSettingsMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: CreateArtifactTrackerSettingsMutationQueryParams;
|
|
19
|
+
body: CreateArtifactTrackerSettingsRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export declare function createArtifactTrackerSettings(props: CreateArtifactTrackerSettingsProps): Promise<CreateArtifactTrackerSettingsOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Create artifact tracker settings
|
|
24
|
+
*/
|
|
25
|
+
export declare function useCreateArtifactTrackerSettingsMutation(options?: Omit<UseMutationOptions<CreateArtifactTrackerSettingsOkResponse, CreateArtifactTrackerSettingsErrorResponse, CreateArtifactTrackerSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateArtifactTrackerSettingsOkResponse, import("..").Error, CreateArtifactTrackerSettingsProps, 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 createArtifactTrackerSettings(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/artifact-tracker/settings`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create artifact tracker settings
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateArtifactTrackerSettingsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createArtifactTrackerSettings(mutateProps), options);
|
|
14
|
+
}
|
package/dist/rmg-service/src/services/hooks/useDeleteArtifactTrackerServiceMappingMutation.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteArtifactTrackerServiceMappingMutationPathParams {
|
|
6
|
+
identifier: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteArtifactTrackerServiceMappingMutationQueryParams {
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface DeleteArtifactTrackerServiceMappingMutationHeaderParams {
|
|
13
|
+
'Harness-Account': string;
|
|
14
|
+
}
|
|
15
|
+
export type DeleteArtifactTrackerServiceMappingOkResponse = ResponseWithPagination<unknown>;
|
|
16
|
+
export type DeleteArtifactTrackerServiceMappingErrorResponse = ErrorResponseResponse;
|
|
17
|
+
export interface DeleteArtifactTrackerServiceMappingProps extends DeleteArtifactTrackerServiceMappingMutationPathParams, Omit<FetcherOptions<DeleteArtifactTrackerServiceMappingMutationQueryParams, unknown, DeleteArtifactTrackerServiceMappingMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: DeleteArtifactTrackerServiceMappingMutationQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function deleteArtifactTrackerServiceMapping(props: DeleteArtifactTrackerServiceMappingProps): Promise<DeleteArtifactTrackerServiceMappingOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Delete a service mapping
|
|
23
|
+
*/
|
|
24
|
+
export declare function useDeleteArtifactTrackerServiceMappingMutation(options?: Omit<UseMutationOptions<DeleteArtifactTrackerServiceMappingOkResponse, DeleteArtifactTrackerServiceMappingErrorResponse, DeleteArtifactTrackerServiceMappingProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteArtifactTrackerServiceMappingOkResponse, import("..").Error, DeleteArtifactTrackerServiceMappingProps, 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 deleteArtifactTrackerServiceMapping(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/artifact-tracker/service-mappings/${props.identifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete a service mapping
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteArtifactTrackerServiceMappingMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteArtifactTrackerServiceMapping(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteArtifactTrackerSettingsMutationPathParams {
|
|
6
|
+
identifier: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteArtifactTrackerSettingsMutationQueryParams {
|
|
9
|
+
orgIdentifier?: string;
|
|
10
|
+
projectIdentifier?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface DeleteArtifactTrackerSettingsMutationHeaderParams {
|
|
13
|
+
'Harness-Account': string;
|
|
14
|
+
}
|
|
15
|
+
export type DeleteArtifactTrackerSettingsOkResponse = ResponseWithPagination<unknown>;
|
|
16
|
+
export type DeleteArtifactTrackerSettingsErrorResponse = ErrorResponseResponse;
|
|
17
|
+
export interface DeleteArtifactTrackerSettingsProps extends DeleteArtifactTrackerSettingsMutationPathParams, Omit<FetcherOptions<DeleteArtifactTrackerSettingsMutationQueryParams, unknown, DeleteArtifactTrackerSettingsMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: DeleteArtifactTrackerSettingsMutationQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function deleteArtifactTrackerSettings(props: DeleteArtifactTrackerSettingsProps): Promise<DeleteArtifactTrackerSettingsOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Delete artifact tracker settings
|
|
23
|
+
*/
|
|
24
|
+
export declare function useDeleteArtifactTrackerSettingsMutation(options?: Omit<UseMutationOptions<DeleteArtifactTrackerSettingsOkResponse, DeleteArtifactTrackerSettingsErrorResponse, DeleteArtifactTrackerSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteArtifactTrackerSettingsOkResponse, import("..").Error, DeleteArtifactTrackerSettingsProps, 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 deleteArtifactTrackerSettings(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/artifact-tracker/settings/${props.identifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete artifact tracker settings
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteArtifactTrackerSettingsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteArtifactTrackerSettings(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ArtifactTrackerServiceMapping } from '../schemas/ArtifactTrackerServiceMapping';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetArtifactTrackerServiceMappingQueryPathParams {
|
|
7
|
+
identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetArtifactTrackerServiceMappingQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetArtifactTrackerServiceMappingQueryHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type GetArtifactTrackerServiceMappingOkResponse = ResponseWithPagination<ArtifactTrackerServiceMapping>;
|
|
17
|
+
export type GetArtifactTrackerServiceMappingErrorResponse = ErrorResponseResponse;
|
|
18
|
+
export interface GetArtifactTrackerServiceMappingProps extends GetArtifactTrackerServiceMappingQueryPathParams, Omit<FetcherOptions<GetArtifactTrackerServiceMappingQueryQueryParams, unknown, GetArtifactTrackerServiceMappingQueryHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: GetArtifactTrackerServiceMappingQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getArtifactTrackerServiceMapping(props: GetArtifactTrackerServiceMappingProps): Promise<GetArtifactTrackerServiceMappingOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get a service mapping by identifier
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetArtifactTrackerServiceMappingQuery(props: GetArtifactTrackerServiceMappingProps, options?: Omit<UseQueryOptions<GetArtifactTrackerServiceMappingOkResponse, GetArtifactTrackerServiceMappingErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetArtifactTrackerServiceMappingOkResponse, import("..").Error>;
|
|
@@ -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 getArtifactTrackerServiceMapping(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/artifact-tracker/service-mappings/${props.identifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get a service mapping by identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useGetArtifactTrackerServiceMappingQuery(props, options) {
|
|
13
|
+
return useQuery(['getArtifactTrackerServiceMapping', props.identifier, props.queryParams], ({ signal }) => getArtifactTrackerServiceMapping(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ArtifactTrackerSettings } from '../schemas/ArtifactTrackerSettings';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetArtifactTrackerSettingsQueryPathParams {
|
|
7
|
+
identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetArtifactTrackerSettingsQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetArtifactTrackerSettingsQueryHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type GetArtifactTrackerSettingsOkResponse = ResponseWithPagination<ArtifactTrackerSettings>;
|
|
17
|
+
export type GetArtifactTrackerSettingsErrorResponse = ErrorResponseResponse;
|
|
18
|
+
export interface GetArtifactTrackerSettingsProps extends GetArtifactTrackerSettingsQueryPathParams, Omit<FetcherOptions<GetArtifactTrackerSettingsQueryQueryParams, unknown, GetArtifactTrackerSettingsQueryHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: GetArtifactTrackerSettingsQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getArtifactTrackerSettings(props: GetArtifactTrackerSettingsProps): Promise<GetArtifactTrackerSettingsOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get artifact tracker settings by identifier
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetArtifactTrackerSettingsQuery(props: GetArtifactTrackerSettingsProps, options?: Omit<UseQueryOptions<GetArtifactTrackerSettingsOkResponse, GetArtifactTrackerSettingsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetArtifactTrackerSettingsOkResponse, import("..").Error>;
|
|
@@ -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 getArtifactTrackerSettings(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/artifact-tracker/settings/${props.identifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get artifact tracker settings by identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useGetArtifactTrackerSettingsQuery(props, options) {
|
|
13
|
+
return useQuery(['getArtifactTrackerSettings', props.identifier, props.queryParams], ({ signal }) => getArtifactTrackerSettings(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsV2Query.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExecutionOutputsV2ResponseResponse } from '../responses/ExecutionOutputsV2ResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetOrchestrationExecutionActivityOutputsV2QueryPathParams {
|
|
7
|
+
releaseId: string;
|
|
8
|
+
phaseIdentifier: string;
|
|
9
|
+
activityIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GetOrchestrationExecutionActivityOutputsV2QueryQueryParams {
|
|
12
|
+
activityExecutionId?: string;
|
|
13
|
+
orgIdentifier?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetOrchestrationExecutionActivityOutputsV2QueryHeaderParams {
|
|
17
|
+
'Harness-Account': string;
|
|
18
|
+
}
|
|
19
|
+
export type GetOrchestrationExecutionActivityOutputsV2OkResponse = ResponseWithPagination<ExecutionOutputsV2ResponseResponse>;
|
|
20
|
+
export type GetOrchestrationExecutionActivityOutputsV2ErrorResponse = ErrorResponseResponse;
|
|
21
|
+
export interface GetOrchestrationExecutionActivityOutputsV2Props extends GetOrchestrationExecutionActivityOutputsV2QueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionActivityOutputsV2QueryQueryParams, unknown, GetOrchestrationExecutionActivityOutputsV2QueryHeaderParams>, 'url'> {
|
|
22
|
+
queryParams: GetOrchestrationExecutionActivityOutputsV2QueryQueryParams;
|
|
23
|
+
}
|
|
24
|
+
export declare function getOrchestrationExecutionActivityOutputsV2(props: GetOrchestrationExecutionActivityOutputsV2Props): Promise<GetOrchestrationExecutionActivityOutputsV2OkResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve grouped output values for a specific activity execution (v2 format)
|
|
27
|
+
*/
|
|
28
|
+
export declare function useGetOrchestrationExecutionActivityOutputsV2Query(props: GetOrchestrationExecutionActivityOutputsV2Props, options?: Omit<UseQueryOptions<GetOrchestrationExecutionActivityOutputsV2OkResponse, GetOrchestrationExecutionActivityOutputsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionActivityOutputsV2OkResponse, import("..").Error>;
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivityOutputsV2Query.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
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 getOrchestrationExecutionActivityOutputsV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/activity/${props.activityIdentifier}/output/v2`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve grouped output values for a specific activity execution (v2 format)
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrchestrationExecutionActivityOutputsV2Query(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'get-orchestration-execution-activity-outputs-v2',
|
|
15
|
+
props.releaseId,
|
|
16
|
+
props.phaseIdentifier,
|
|
17
|
+
props.activityIdentifier,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => getOrchestrationExecutionActivityOutputsV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsV2Query.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ExecutionOutputsV2ResponseResponse } from '../responses/ExecutionOutputsV2ResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetOrchestrationExecutionPhaseOutputsV2QueryPathParams {
|
|
7
|
+
releaseId: string;
|
|
8
|
+
phaseIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams {
|
|
11
|
+
phaseExecutionId?: string;
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface GetOrchestrationExecutionPhaseOutputsV2QueryHeaderParams {
|
|
16
|
+
'Harness-Account': string;
|
|
17
|
+
}
|
|
18
|
+
export type GetOrchestrationExecutionPhaseOutputsV2OkResponse = ResponseWithPagination<ExecutionOutputsV2ResponseResponse>;
|
|
19
|
+
export type GetOrchestrationExecutionPhaseOutputsV2ErrorResponse = ErrorResponseResponse;
|
|
20
|
+
export interface GetOrchestrationExecutionPhaseOutputsV2Props extends GetOrchestrationExecutionPhaseOutputsV2QueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams, unknown, GetOrchestrationExecutionPhaseOutputsV2QueryHeaderParams>, 'url'> {
|
|
21
|
+
queryParams: GetOrchestrationExecutionPhaseOutputsV2QueryQueryParams;
|
|
22
|
+
}
|
|
23
|
+
export declare function getOrchestrationExecutionPhaseOutputsV2(props: GetOrchestrationExecutionPhaseOutputsV2Props): Promise<GetOrchestrationExecutionPhaseOutputsV2OkResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieve grouped output values for a specific phase execution (v2 format)
|
|
26
|
+
*/
|
|
27
|
+
export declare function useGetOrchestrationExecutionPhaseOutputsV2Query(props: GetOrchestrationExecutionPhaseOutputsV2Props, options?: Omit<UseQueryOptions<GetOrchestrationExecutionPhaseOutputsV2OkResponse, GetOrchestrationExecutionPhaseOutputsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionPhaseOutputsV2OkResponse, import("..").Error>;
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseOutputsV2Query.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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 getOrchestrationExecutionPhaseOutputsV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/output/v2`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve grouped output values for a specific phase execution (v2 format)
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrchestrationExecutionPhaseOutputsV2Query(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'get-orchestration-execution-phase-outputs-v2',
|
|
15
|
+
props.releaseId,
|
|
16
|
+
props.phaseIdentifier,
|
|
17
|
+
props.queryParams,
|
|
18
|
+
], ({ signal }) => getOrchestrationExecutionPhaseOutputsV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
19
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { OrchestrationExecutionPhasesResponse } from '../schemas/OrchestrationExecutionPhasesResponse';
|
|
3
3
|
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
@@ -14,21 +14,7 @@ export interface GetOrchestrationExecutionPhasesQueryQueryParams {
|
|
|
14
14
|
export interface GetOrchestrationExecutionPhasesQueryHeaderParams {
|
|
15
15
|
'Harness-Account': string;
|
|
16
16
|
}
|
|
17
|
-
export type GetOrchestrationExecutionPhasesOkResponse = ResponseWithPagination<
|
|
18
|
-
phases: OrchestrationExecutionPhase[];
|
|
19
|
-
/**
|
|
20
|
-
* ID of the process execution
|
|
21
|
-
*/
|
|
22
|
-
process_execution_id?: string;
|
|
23
|
-
/**
|
|
24
|
-
* ID of the release
|
|
25
|
-
*/
|
|
26
|
-
release_id: string;
|
|
27
|
-
/**
|
|
28
|
-
* Total number of currently running phases
|
|
29
|
-
*/
|
|
30
|
-
total_running_phases: number;
|
|
31
|
-
}>;
|
|
17
|
+
export type GetOrchestrationExecutionPhasesOkResponse = ResponseWithPagination<OrchestrationExecutionPhasesResponse>;
|
|
32
18
|
export type GetOrchestrationExecutionPhasesErrorResponse = ErrorResponseResponse;
|
|
33
19
|
export interface GetOrchestrationExecutionPhasesProps extends GetOrchestrationExecutionPhasesQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionPhasesQueryQueryParams, unknown, GetOrchestrationExecutionPhasesQueryHeaderParams>, 'url'> {
|
|
34
20
|
queryParams: GetOrchestrationExecutionPhasesQueryQueryParams;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ProcessExecutionDto } from '../schemas/ProcessExecutionDto';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { OrchestrationStatusList } from '../schemas/OrchestrationStatusList';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface GetOrchestrationProcessExecutionsQueryPathParams {
|
|
8
|
+
identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetOrchestrationProcessExecutionsQueryQueryParams {
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
page?: number;
|
|
14
|
+
size?: number;
|
|
15
|
+
sort?: string[];
|
|
16
|
+
executionType?: 'PROCESS' | 'RELEASE';
|
|
17
|
+
statuses?: OrchestrationStatusList;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
21
|
+
startTs?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int64
|
|
24
|
+
*/
|
|
25
|
+
endTs?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface GetOrchestrationProcessExecutionsQueryHeaderParams {
|
|
28
|
+
'Harness-Account': string;
|
|
29
|
+
}
|
|
30
|
+
export type GetOrchestrationProcessExecutionsOkResponse = ResponseWithPagination<{
|
|
31
|
+
content: {
|
|
32
|
+
content: ProcessExecutionDto[];
|
|
33
|
+
/**
|
|
34
|
+
* Whether this is the last page
|
|
35
|
+
*/
|
|
36
|
+
last?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Current page number
|
|
39
|
+
*/
|
|
40
|
+
number: number;
|
|
41
|
+
/**
|
|
42
|
+
* Page size
|
|
43
|
+
*/
|
|
44
|
+
size: number;
|
|
45
|
+
/**
|
|
46
|
+
* Total number of process executions
|
|
47
|
+
*/
|
|
48
|
+
totalElements: number;
|
|
49
|
+
/**
|
|
50
|
+
* Total number of pages
|
|
51
|
+
*/
|
|
52
|
+
totalPages: number;
|
|
53
|
+
};
|
|
54
|
+
}>;
|
|
55
|
+
export type GetOrchestrationProcessExecutionsErrorResponse = ErrorResponseResponse;
|
|
56
|
+
export interface GetOrchestrationProcessExecutionsProps extends GetOrchestrationProcessExecutionsQueryPathParams, Omit<FetcherOptions<GetOrchestrationProcessExecutionsQueryQueryParams, unknown, GetOrchestrationProcessExecutionsQueryHeaderParams>, 'url'> {
|
|
57
|
+
queryParams: GetOrchestrationProcessExecutionsQueryQueryParams;
|
|
58
|
+
}
|
|
59
|
+
export declare function getOrchestrationProcessExecutions(props: GetOrchestrationProcessExecutionsProps): Promise<GetOrchestrationProcessExecutionsOkResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Get list of all executions (on-the-go runs) for a specific process
|
|
62
|
+
*/
|
|
63
|
+
export declare function useGetOrchestrationProcessExecutionsQuery(props: GetOrchestrationProcessExecutionsProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessExecutionsOkResponse, GetOrchestrationProcessExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessExecutionsOkResponse, import("..").Error>;
|
|
@@ -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 getOrchestrationProcessExecutions(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}/executions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get list of all executions (on-the-go runs) for a specific process
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrchestrationProcessExecutionsQuery(props, options) {
|
|
13
|
+
return useQuery(['get-orchestrationProcess-executions', props.identifier, props.queryParams], ({ signal }) => getOrchestrationProcessExecutions(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/rmg-service/src/services/hooks/useGetProcessExecutionActivitiesPaginatedQuery.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OrchestrationExecutionActivitiesPaginatedResponseResponse } from '../responses/OrchestrationExecutionActivitiesPaginatedResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetProcessExecutionActivitiesPaginatedQueryPathParams {
|
|
7
|
+
executionId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetProcessExecutionActivitiesPaginatedQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
page?: number;
|
|
13
|
+
size?: number;
|
|
14
|
+
sort?: string[];
|
|
15
|
+
searchTerm?: string;
|
|
16
|
+
phaseExecutionId?: string;
|
|
17
|
+
status?: string[];
|
|
18
|
+
}
|
|
19
|
+
export interface GetProcessExecutionActivitiesPaginatedQueryHeaderParams {
|
|
20
|
+
'Harness-Account': string;
|
|
21
|
+
}
|
|
22
|
+
export type GetProcessExecutionActivitiesPaginatedOkResponse = ResponseWithPagination<OrchestrationExecutionActivitiesPaginatedResponseResponse>;
|
|
23
|
+
export type GetProcessExecutionActivitiesPaginatedErrorResponse = ErrorResponseResponse;
|
|
24
|
+
export interface GetProcessExecutionActivitiesPaginatedProps extends GetProcessExecutionActivitiesPaginatedQueryPathParams, Omit<FetcherOptions<GetProcessExecutionActivitiesPaginatedQueryQueryParams, unknown, GetProcessExecutionActivitiesPaginatedQueryHeaderParams>, 'url'> {
|
|
25
|
+
queryParams: GetProcessExecutionActivitiesPaginatedQueryQueryParams;
|
|
26
|
+
}
|
|
27
|
+
export declare function getProcessExecutionActivitiesPaginated(props: GetProcessExecutionActivitiesPaginatedProps): Promise<GetProcessExecutionActivitiesPaginatedOkResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve paginated list of activities for a process execution.
|
|
30
|
+
*/
|
|
31
|
+
export declare function useGetProcessExecutionActivitiesPaginatedQuery(props: GetProcessExecutionActivitiesPaginatedProps, options?: Omit<UseQueryOptions<GetProcessExecutionActivitiesPaginatedOkResponse, GetProcessExecutionActivitiesPaginatedErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetProcessExecutionActivitiesPaginatedOkResponse, import("..").Error>;
|
|
@@ -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 getProcessExecutionActivitiesPaginated(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/execution/${props.executionId}/activity/list`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve paginated list of activities for a process execution.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetProcessExecutionActivitiesPaginatedQuery(props, options) {
|
|
13
|
+
return useQuery(['get-process-execution-activities-paginated', props.executionId, props.queryParams], ({ signal }) => getProcessExecutionActivitiesPaginated(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OrchestrationExecutionPhasesResponse } from '../schemas/OrchestrationExecutionPhasesResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetProcessExecutionPhasesQueryPathParams {
|
|
7
|
+
executionId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetProcessExecutionPhasesQueryQueryParams {
|
|
10
|
+
status?: string[];
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetProcessExecutionPhasesQueryHeaderParams {
|
|
15
|
+
'Harness-Account': string;
|
|
16
|
+
}
|
|
17
|
+
export type GetProcessExecutionPhasesOkResponse = ResponseWithPagination<OrchestrationExecutionPhasesResponse>;
|
|
18
|
+
export type GetProcessExecutionPhasesErrorResponse = ErrorResponseResponse;
|
|
19
|
+
export interface GetProcessExecutionPhasesProps extends GetProcessExecutionPhasesQueryPathParams, Omit<FetcherOptions<GetProcessExecutionPhasesQueryQueryParams, unknown, GetProcessExecutionPhasesQueryHeaderParams>, 'url'> {
|
|
20
|
+
queryParams: GetProcessExecutionPhasesQueryQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function getProcessExecutionPhases(props: GetProcessExecutionPhasesProps): Promise<GetProcessExecutionPhasesOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieve all phases for a specific process execution.
|
|
25
|
+
*/
|
|
26
|
+
export declare function useGetProcessExecutionPhasesQuery(props: GetProcessExecutionPhasesProps, options?: Omit<UseQueryOptions<GetProcessExecutionPhasesOkResponse, GetProcessExecutionPhasesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetProcessExecutionPhasesOkResponse, import("..").Error>;
|
|
@@ -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 getProcessExecutionPhases(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/execution/${props.executionId}/phases`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve all phases for a specific process execution.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetProcessExecutionPhasesQuery(props, options) {
|
|
13
|
+
return useQuery(['get-process-execution-phases', props.executionId, props.queryParams], ({ signal }) => getProcessExecutionPhases(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GetProcessExecutionResponseResponse } from '../responses/GetProcessExecutionResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetProcessExecutionQueryPathParams {
|
|
7
|
+
executionId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetProcessExecutionQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetProcessExecutionQueryHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type GetProcessExecutionOkResponse = ResponseWithPagination<GetProcessExecutionResponseResponse>;
|
|
17
|
+
export type GetProcessExecutionErrorResponse = ErrorResponseResponse;
|
|
18
|
+
export interface GetProcessExecutionProps extends GetProcessExecutionQueryPathParams, Omit<FetcherOptions<GetProcessExecutionQueryQueryParams, unknown, GetProcessExecutionQueryHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: GetProcessExecutionQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getProcessExecution(props: GetProcessExecutionProps): Promise<GetProcessExecutionOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve a process execution by ID, including persisted execution status.
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetProcessExecutionQuery(props: GetProcessExecutionProps, options?: Omit<UseQueryOptions<GetProcessExecutionOkResponse, GetProcessExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetProcessExecutionOkResponse, import("..").Error>;
|
|
@@ -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 getProcessExecution(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/execution/${props.executionId}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a process execution by ID, including persisted execution status.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetProcessExecutionQuery(props, options) {
|
|
13
|
+
return useQuery(['get-process-execution', props.executionId, props.queryParams], ({ signal }) => getProcessExecution(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|