@harnessio/react-rmg-service-client 0.68.0 → 0.69.0-beta.3
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/useGetArtifactFacetsQuery.d.ts +26 -0
- package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.d.ts +29 -0
- package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.d.ts +35 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.d.ts +34 -0
- package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.d.ts +39 -0
- package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostProcessExecutionActionMutation.d.ts +2 -6
- package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.d.ts +26 -0
- package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.d.ts +29 -0
- package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +30 -0
- package/dist/rmg-service/src/services/index.js +7 -0
- package/dist/rmg-service/src/services/schemas/ArtifactFacets.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/ArtifactFacets.js +4 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMapping.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettings.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/ArtifactVersion.d.ts +26 -0
- package/dist/rmg-service/src/services/schemas/ArtifactVersion.js +1 -0
- package/dist/rmg-service/src/services/schemas/ArtifactVersionList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ArtifactVersionList.js +1 -0
- package/dist/rmg-service/src/services/schemas/Changeset.d.ts +21 -0
- package/dist/rmg-service/src/services/schemas/Changeset.js +4 -0
- package/dist/rmg-service/src/services/schemas/ChangesetCommit.d.ts +22 -0
- package/dist/rmg-service/src/services/schemas/ChangesetCommit.js +1 -0
- package/dist/rmg-service/src/services/schemas/ChangesetCommitList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ChangesetCommitList.js +1 -0
- package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.js +4 -0
- package/dist/rmg-service/src/services/schemas/ChangesetFacets.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/ChangesetFacets.js +4 -0
- package/dist/rmg-service/src/services/schemas/ChangesetList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ChangesetList.js +1 -0
- package/dist/rmg-service/src/services/schemas/ChangesetRef.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ChangesetRef.js +4 -0
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerSettingsRequest.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/ProcessExecutionActionRequest.d.ts +11 -0
- package/dist/rmg-service/src/services/schemas/ProcessExecutionActionRequest.js +4 -0
- package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.d.ts +2 -2
- package/dist/rmg-service/src/services/schemas/ProcessExecutionInfoDto.d.ts +2 -4
- package/dist/rmg-service/src/services/schemas/ProcessExecutionStatus.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/ProcessExecutionStatus.js +4 -0
- package/dist/rmg-service/src/services/schemas/ReleaseRef.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/ReleaseRef.js +4 -0
- package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.js +4 -0
- package/dist/rmg-service/src/services/schemas/UpsertArtifactTrackerSettingsRequest.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.js +1 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalImage.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalImage.js +4 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ArtifactFacets } from '../schemas/ArtifactFacets';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetArtifactFacetsQueryQueryParams {
|
|
7
|
+
orgIdentifier?: string;
|
|
8
|
+
projectIdentifier?: string;
|
|
9
|
+
registry?: string;
|
|
10
|
+
artifactPath?: string;
|
|
11
|
+
tag?: string;
|
|
12
|
+
service?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetArtifactFacetsQueryHeaderParams {
|
|
15
|
+
'Harness-Account': string;
|
|
16
|
+
}
|
|
17
|
+
export type GetArtifactFacetsOkResponse = ResponseWithPagination<ArtifactFacets>;
|
|
18
|
+
export type GetArtifactFacetsErrorResponse = ErrorResponseResponse;
|
|
19
|
+
export interface GetArtifactFacetsProps extends Omit<FetcherOptions<GetArtifactFacetsQueryQueryParams, unknown, GetArtifactFacetsQueryHeaderParams>, 'url'> {
|
|
20
|
+
queryParams: GetArtifactFacetsQueryQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function getArtifactFacets(props: GetArtifactFacetsProps): Promise<GetArtifactFacetsOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Distinct filter options (facets) for a scope's artifacts
|
|
25
|
+
*/
|
|
26
|
+
export declare function useGetArtifactFacetsQuery(props: GetArtifactFacetsProps, options?: Omit<UseQueryOptions<GetArtifactFacetsOkResponse, GetArtifactFacetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetArtifactFacetsOkResponse, 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 getArtifactFacets(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/artifacts/facets`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Distinct filter options (facets) for a scope's artifacts
|
|
11
|
+
*/
|
|
12
|
+
export function useGetArtifactFacetsQuery(props, options) {
|
|
13
|
+
return useQuery(['getArtifactFacets', props.queryParams], ({ signal }) => getArtifactFacets(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChangesetFacets } from '../schemas/ChangesetFacets';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetReleaseChangesetFacetsQueryPathParams {
|
|
7
|
+
releaseId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetReleaseChangesetFacetsQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
service?: string;
|
|
13
|
+
tag?: string;
|
|
14
|
+
artifactPath?: string;
|
|
15
|
+
artifactRegistry?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetReleaseChangesetFacetsQueryHeaderParams {
|
|
18
|
+
'Harness-Account': string;
|
|
19
|
+
}
|
|
20
|
+
export type GetReleaseChangesetFacetsOkResponse = ResponseWithPagination<ChangesetFacets>;
|
|
21
|
+
export type GetReleaseChangesetFacetsErrorResponse = ErrorResponseResponse;
|
|
22
|
+
export interface GetReleaseChangesetFacetsProps extends GetReleaseChangesetFacetsQueryPathParams, Omit<FetcherOptions<GetReleaseChangesetFacetsQueryQueryParams, unknown, GetReleaseChangesetFacetsQueryHeaderParams>, 'url'> {
|
|
23
|
+
queryParams: GetReleaseChangesetFacetsQueryQueryParams;
|
|
24
|
+
}
|
|
25
|
+
export declare function getReleaseChangesetFacets(props: GetReleaseChangesetFacetsProps): Promise<GetReleaseChangesetFacetsOkResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Distinct filter options (facets) for a release's changesets
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGetReleaseChangesetFacetsQuery(props: GetReleaseChangesetFacetsProps, options?: Omit<UseQueryOptions<GetReleaseChangesetFacetsOkResponse, GetReleaseChangesetFacetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetReleaseChangesetFacetsOkResponse, 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 getReleaseChangesetFacets(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/facets`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Distinct filter options (facets) for a release's changesets
|
|
11
|
+
*/
|
|
12
|
+
export function useGetReleaseChangesetFacetsQuery(props, options) {
|
|
13
|
+
return useQuery(['getReleaseChangesetFacets', props.releaseId, props.queryParams], ({ signal }) => getReleaseChangesetFacets(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ArtifactVersionList } from '../schemas/ArtifactVersionList';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListArtifactsQueryQueryParams {
|
|
7
|
+
orgIdentifier?: string;
|
|
8
|
+
projectIdentifier?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default 0
|
|
11
|
+
*/
|
|
12
|
+
page?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @default 20
|
|
15
|
+
*/
|
|
16
|
+
size?: number;
|
|
17
|
+
registry?: string;
|
|
18
|
+
artifactPath?: string;
|
|
19
|
+
tag?: string;
|
|
20
|
+
service?: string;
|
|
21
|
+
commitSha?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ListArtifactsQueryHeaderParams {
|
|
24
|
+
'Harness-Account': string;
|
|
25
|
+
}
|
|
26
|
+
export type ListArtifactsOkResponse = ResponseWithPagination<ArtifactVersionList>;
|
|
27
|
+
export type ListArtifactsErrorResponse = ErrorResponseResponse;
|
|
28
|
+
export interface ListArtifactsProps extends Omit<FetcherOptions<ListArtifactsQueryQueryParams, unknown, ListArtifactsQueryHeaderParams>, 'url'> {
|
|
29
|
+
queryParams: ListArtifactsQueryQueryParams;
|
|
30
|
+
}
|
|
31
|
+
export declare function listArtifacts(props: ListArtifactsProps): Promise<ListArtifactsOkResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* List artifacts for a scope
|
|
34
|
+
*/
|
|
35
|
+
export declare function useListArtifactsQuery(props: ListArtifactsProps, options?: Omit<UseQueryOptions<ListArtifactsOkResponse, ListArtifactsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListArtifactsOkResponse, 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 listArtifacts(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/artifacts`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List artifacts for a scope
|
|
11
|
+
*/
|
|
12
|
+
export function useListArtifactsQuery(props, options) {
|
|
13
|
+
return useQuery(['listArtifacts', props.queryParams], ({ signal }) => listArtifacts(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChangesetCommitList } from '../schemas/ChangesetCommitList';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListReleaseChangesetCommitsQueryPathParams {
|
|
7
|
+
releaseId: string;
|
|
8
|
+
changesetId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ListReleaseChangesetCommitsQueryQueryParams {
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @default 0
|
|
15
|
+
*/
|
|
16
|
+
page?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @default 20
|
|
19
|
+
*/
|
|
20
|
+
size?: number;
|
|
21
|
+
}
|
|
22
|
+
export interface ListReleaseChangesetCommitsQueryHeaderParams {
|
|
23
|
+
'Harness-Account': string;
|
|
24
|
+
}
|
|
25
|
+
export type ListReleaseChangesetCommitsOkResponse = ResponseWithPagination<ChangesetCommitList>;
|
|
26
|
+
export type ListReleaseChangesetCommitsErrorResponse = ErrorResponseResponse;
|
|
27
|
+
export interface ListReleaseChangesetCommitsProps extends ListReleaseChangesetCommitsQueryPathParams, Omit<FetcherOptions<ListReleaseChangesetCommitsQueryQueryParams, unknown, ListReleaseChangesetCommitsQueryHeaderParams>, 'url'> {
|
|
28
|
+
queryParams: ListReleaseChangesetCommitsQueryQueryParams;
|
|
29
|
+
}
|
|
30
|
+
export declare function listReleaseChangesetCommits(props: ListReleaseChangesetCommitsProps): Promise<ListReleaseChangesetCommitsOkResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* List commits (with tickets) for a changeset
|
|
33
|
+
*/
|
|
34
|
+
export declare function useListReleaseChangesetCommitsQuery(props: ListReleaseChangesetCommitsProps, options?: Omit<UseQueryOptions<ListReleaseChangesetCommitsOkResponse, ListReleaseChangesetCommitsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListReleaseChangesetCommitsOkResponse, 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 listReleaseChangesetCommits(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/${props.changesetId}/commits`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List commits (with tickets) for a changeset
|
|
11
|
+
*/
|
|
12
|
+
export function useListReleaseChangesetCommitsQuery(props, options) {
|
|
13
|
+
return useQuery(['listReleaseChangesetCommits', props.releaseId, props.changesetId, props.queryParams], ({ signal }) => listReleaseChangesetCommits(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChangesetList } from '../schemas/ChangesetList';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListReleaseChangesetsQueryPathParams {
|
|
7
|
+
releaseId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ListReleaseChangesetsQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @default 0
|
|
14
|
+
*/
|
|
15
|
+
page?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @default 20
|
|
18
|
+
*/
|
|
19
|
+
size?: number;
|
|
20
|
+
artifactPath?: string;
|
|
21
|
+
artifactRegistry?: string;
|
|
22
|
+
sha?: string;
|
|
23
|
+
ticketKey?: string;
|
|
24
|
+
service?: string;
|
|
25
|
+
tag?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ListReleaseChangesetsQueryHeaderParams {
|
|
28
|
+
'Harness-Account': string;
|
|
29
|
+
}
|
|
30
|
+
export type ListReleaseChangesetsOkResponse = ResponseWithPagination<ChangesetList>;
|
|
31
|
+
export type ListReleaseChangesetsErrorResponse = ErrorResponseResponse;
|
|
32
|
+
export interface ListReleaseChangesetsProps extends ListReleaseChangesetsQueryPathParams, Omit<FetcherOptions<ListReleaseChangesetsQueryQueryParams, unknown, ListReleaseChangesetsQueryHeaderParams>, 'url'> {
|
|
33
|
+
queryParams: ListReleaseChangesetsQueryQueryParams;
|
|
34
|
+
}
|
|
35
|
+
export declare function listReleaseChangesets(props: ListReleaseChangesetsProps): Promise<ListReleaseChangesetsOkResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* List changesets for a release
|
|
38
|
+
*/
|
|
39
|
+
export declare function useListReleaseChangesetsQuery(props: ListReleaseChangesetsProps, options?: Omit<UseQueryOptions<ListReleaseChangesetsOkResponse, ListReleaseChangesetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListReleaseChangesetsOkResponse, 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 listReleaseChangesets(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List changesets for a release
|
|
11
|
+
*/
|
|
12
|
+
export function useListReleaseChangesetsQuery(props, options) {
|
|
13
|
+
return useQuery(['listReleaseChangesets', props.releaseId, props.queryParams], ({ signal }) => listReleaseChangesets(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
+
import type { ProcessExecutionActionRequest } from '../schemas/ProcessExecutionActionRequest';
|
|
3
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
6
|
export interface PostProcessExecutionActionMutationPathParams {
|
|
@@ -12,12 +13,7 @@ export interface PostProcessExecutionActionMutationQueryParams {
|
|
|
12
13
|
export interface PostProcessExecutionActionMutationHeaderParams {
|
|
13
14
|
'Harness-Account': string;
|
|
14
15
|
}
|
|
15
|
-
export type PostProcessExecutionActionRequestBody =
|
|
16
|
-
/**
|
|
17
|
-
* Action to perform on the process execution
|
|
18
|
-
*/
|
|
19
|
-
action: 'Abort';
|
|
20
|
-
};
|
|
16
|
+
export type PostProcessExecutionActionRequestBody = ProcessExecutionActionRequest;
|
|
21
17
|
export type PostProcessExecutionActionOkResponse = ResponseWithPagination<{
|
|
22
18
|
/**
|
|
23
19
|
* Result status
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { Changeset } from '../schemas/Changeset';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface RetryReleaseChangesetMutationPathParams {
|
|
7
|
+
releaseId: string;
|
|
8
|
+
changesetId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface RetryReleaseChangesetMutationQueryParams {
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface RetryReleaseChangesetMutationHeaderParams {
|
|
15
|
+
'Harness-Account': string;
|
|
16
|
+
}
|
|
17
|
+
export type RetryReleaseChangesetOkResponse = ResponseWithPagination<Changeset>;
|
|
18
|
+
export type RetryReleaseChangesetErrorResponse = ErrorResponseResponse;
|
|
19
|
+
export interface RetryReleaseChangesetProps extends RetryReleaseChangesetMutationPathParams, Omit<FetcherOptions<RetryReleaseChangesetMutationQueryParams, unknown, RetryReleaseChangesetMutationHeaderParams>, 'url'> {
|
|
20
|
+
queryParams: RetryReleaseChangesetMutationQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function retryReleaseChangeset(props: RetryReleaseChangesetProps): Promise<RetryReleaseChangesetOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Retry a changeset's pipeline
|
|
25
|
+
*/
|
|
26
|
+
export declare function useRetryReleaseChangesetMutation(options?: Omit<UseMutationOptions<RetryReleaseChangesetOkResponse, RetryReleaseChangesetErrorResponse, RetryReleaseChangesetProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RetryReleaseChangesetOkResponse, import("..").Error, RetryReleaseChangesetProps, 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 retryReleaseChangeset(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/${props.changesetId}/retry`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retry a changeset's pipeline
|
|
11
|
+
*/
|
|
12
|
+
export function useRetryReleaseChangesetMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => retryReleaseChangeset(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { Changeset } from '../schemas/Changeset';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { UpdateChangesetTagsRequest } from '../schemas/UpdateChangesetTagsRequest';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateReleaseChangesetTagsMutationPathParams {
|
|
8
|
+
releaseId: string;
|
|
9
|
+
changesetId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateReleaseChangesetTagsMutationQueryParams {
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface UpdateReleaseChangesetTagsMutationHeaderParams {
|
|
16
|
+
'Harness-Account': string;
|
|
17
|
+
}
|
|
18
|
+
export type UpdateReleaseChangesetTagsRequestBody = UpdateChangesetTagsRequest;
|
|
19
|
+
export type UpdateReleaseChangesetTagsOkResponse = ResponseWithPagination<Changeset>;
|
|
20
|
+
export type UpdateReleaseChangesetTagsErrorResponse = ErrorResponseResponse;
|
|
21
|
+
export interface UpdateReleaseChangesetTagsProps extends UpdateReleaseChangesetTagsMutationPathParams, Omit<FetcherOptions<UpdateReleaseChangesetTagsMutationQueryParams, UpdateReleaseChangesetTagsRequestBody, UpdateReleaseChangesetTagsMutationHeaderParams>, 'url'> {
|
|
22
|
+
queryParams: UpdateReleaseChangesetTagsMutationQueryParams;
|
|
23
|
+
body: UpdateReleaseChangesetTagsRequestBody;
|
|
24
|
+
}
|
|
25
|
+
export declare function updateReleaseChangesetTags(props: UpdateReleaseChangesetTagsProps): Promise<UpdateReleaseChangesetTagsOkResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Edit a changeset's from/to tags
|
|
28
|
+
*/
|
|
29
|
+
export declare function useUpdateReleaseChangesetTagsMutation(options?: Omit<UseMutationOptions<UpdateReleaseChangesetTagsOkResponse, UpdateReleaseChangesetTagsErrorResponse, UpdateReleaseChangesetTagsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateReleaseChangesetTagsOkResponse, import("..").Error, UpdateReleaseChangesetTagsProps, 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 updateReleaseChangesetTags(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/${props.changesetId}`, method: 'PATCH' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Edit a changeset's from/to tags
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateReleaseChangesetTagsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateReleaseChangesetTags(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -23,6 +23,8 @@ export type { DeleteTaskCommentErrorResponse, DeleteTaskCommentMutationPathParam
|
|
|
23
23
|
export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
|
|
24
24
|
export type { GetActivityRetryHistoryByIdentifiersErrorResponse, GetActivityRetryHistoryByIdentifiersOkResponse, GetActivityRetryHistoryByIdentifiersProps, GetActivityRetryHistoryByIdentifiersQueryPathParams, GetActivityRetryHistoryByIdentifiersQueryQueryParams, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
|
|
25
25
|
export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
|
|
26
|
+
export type { GetArtifactFacetsErrorResponse, GetArtifactFacetsOkResponse, GetArtifactFacetsProps, GetArtifactFacetsQueryQueryParams, } from './hooks/useGetArtifactFacetsQuery';
|
|
27
|
+
export { getArtifactFacets, useGetArtifactFacetsQuery } from './hooks/useGetArtifactFacetsQuery';
|
|
26
28
|
export type { GetArtifactTrackerServiceMappingErrorResponse, GetArtifactTrackerServiceMappingOkResponse, GetArtifactTrackerServiceMappingProps, GetArtifactTrackerServiceMappingQueryPathParams, GetArtifactTrackerServiceMappingQueryQueryParams, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
|
|
27
29
|
export { getArtifactTrackerServiceMapping, useGetArtifactTrackerServiceMappingQuery, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
|
|
28
30
|
export type { GetArtifactTrackerSettingsErrorResponse, GetArtifactTrackerSettingsOkResponse, GetArtifactTrackerSettingsProps, GetArtifactTrackerSettingsQueryPathParams, GetArtifactTrackerSettingsQueryQueryParams, } from './hooks/useGetArtifactTrackerSettingsQuery';
|
|
@@ -89,6 +91,8 @@ export type { GetProcessExecutionErrorResponse, GetProcessExecutionOkResponse, G
|
|
|
89
91
|
export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
|
|
90
92
|
export type { GetReleaseActivitiesErrorResponse, GetReleaseActivitiesOkResponse, GetReleaseActivitiesProps, GetReleaseActivitiesQueryPathParams, GetReleaseActivitiesQueryQueryParams, } from './hooks/useGetReleaseActivitiesQuery';
|
|
91
93
|
export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
|
|
94
|
+
export type { GetReleaseChangesetFacetsErrorResponse, GetReleaseChangesetFacetsOkResponse, GetReleaseChangesetFacetsProps, GetReleaseChangesetFacetsQueryPathParams, GetReleaseChangesetFacetsQueryQueryParams, } from './hooks/useGetReleaseChangesetFacetsQuery';
|
|
95
|
+
export { getReleaseChangesetFacets, useGetReleaseChangesetFacetsQuery, } from './hooks/useGetReleaseChangesetFacetsQuery';
|
|
92
96
|
export type { GetReleaseConflictsErrorResponse, GetReleaseConflictsOkResponse, GetReleaseConflictsProps, GetReleaseConflictsQueryPathParams, GetReleaseConflictsQueryQueryParams, } from './hooks/useGetReleaseConflictsQuery';
|
|
93
97
|
export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
|
|
94
98
|
export type { GetReleaseDayActivitiesErrorResponse, GetReleaseDayActivitiesOkResponse, GetReleaseDayActivitiesProps, GetReleaseDayActivitiesQueryPathParams, GetReleaseDayActivitiesQueryQueryParams, } from './hooks/useGetReleaseDayActivitiesQuery';
|
|
@@ -127,8 +131,14 @@ export type { ListArtifactTrackerServiceMappingsErrorResponse, ListArtifactTrack
|
|
|
127
131
|
export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
|
|
128
132
|
export type { ListArtifactTrackerSettingsErrorResponse, ListArtifactTrackerSettingsOkResponse, ListArtifactTrackerSettingsProps, ListArtifactTrackerSettingsQueryQueryParams, } from './hooks/useListArtifactTrackerSettingsQuery';
|
|
129
133
|
export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
|
|
134
|
+
export type { ListArtifactsErrorResponse, ListArtifactsOkResponse, ListArtifactsProps, ListArtifactsQueryQueryParams, } from './hooks/useListArtifactsQuery';
|
|
135
|
+
export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
|
|
130
136
|
export type { ListIntegrationExecutionsErrorResponse, ListIntegrationExecutionsOkResponse, ListIntegrationExecutionsProps, ListIntegrationExecutionsQueryQueryParams, } from './hooks/useListIntegrationExecutionsQuery';
|
|
131
137
|
export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
|
|
138
|
+
export type { ListReleaseChangesetCommitsErrorResponse, ListReleaseChangesetCommitsOkResponse, ListReleaseChangesetCommitsProps, ListReleaseChangesetCommitsQueryPathParams, ListReleaseChangesetCommitsQueryQueryParams, } from './hooks/useListReleaseChangesetCommitsQuery';
|
|
139
|
+
export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
|
|
140
|
+
export type { ListReleaseChangesetsErrorResponse, ListReleaseChangesetsOkResponse, ListReleaseChangesetsProps, ListReleaseChangesetsQueryPathParams, ListReleaseChangesetsQueryQueryParams, } from './hooks/useListReleaseChangesetsQuery';
|
|
141
|
+
export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
|
|
132
142
|
export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
|
|
133
143
|
export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
|
|
134
144
|
export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
|
|
@@ -177,6 +187,8 @@ export type { PutReleaseGroupErrorResponse, PutReleaseGroupMutationPathParams, P
|
|
|
177
187
|
export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
|
|
178
188
|
export type { PutReleaseReleaseIdErrorResponse, PutReleaseReleaseIdMutationPathParams, PutReleaseReleaseIdOkResponse, PutReleaseReleaseIdProps, PutReleaseReleaseIdRequestBody, } from './hooks/usePutReleaseReleaseIdMutation';
|
|
179
189
|
export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
|
|
190
|
+
export type { RetryReleaseChangesetErrorResponse, RetryReleaseChangesetMutationPathParams, RetryReleaseChangesetMutationQueryParams, RetryReleaseChangesetOkResponse, RetryReleaseChangesetProps, } from './hooks/useRetryReleaseChangesetMutation';
|
|
191
|
+
export { retryReleaseChangeset, useRetryReleaseChangesetMutation, } from './hooks/useRetryReleaseChangesetMutation';
|
|
180
192
|
export type { ServeUploadErrorResponse, ServeUploadOkResponse, ServeUploadProps, ServeUploadQueryPathParams, } from './hooks/useServeUploadQuery';
|
|
181
193
|
export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
|
|
182
194
|
export type { StartReleaseExecutionErrorResponse, StartReleaseExecutionMutationPathParams, StartReleaseExecutionMutationQueryParams, StartReleaseExecutionOkResponse, StartReleaseExecutionProps, StartReleaseExecutionRequestBody, } from './hooks/useStartReleaseExecutionMutation';
|
|
@@ -191,6 +203,8 @@ export type { UpdateExecutionTaskMetadataErrorResponse, UpdateExecutionTaskMetad
|
|
|
191
203
|
export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
|
|
192
204
|
export type { UpdateExecutionTaskStatusErrorResponse, UpdateExecutionTaskStatusMutationPathParams, UpdateExecutionTaskStatusMutationQueryParams, UpdateExecutionTaskStatusOkResponse, UpdateExecutionTaskStatusProps, UpdateExecutionTaskStatusRequestBody, } from './hooks/useUpdateExecutionTaskStatusMutation';
|
|
193
205
|
export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
|
|
206
|
+
export type { UpdateReleaseChangesetTagsErrorResponse, UpdateReleaseChangesetTagsMutationPathParams, UpdateReleaseChangesetTagsMutationQueryParams, UpdateReleaseChangesetTagsOkResponse, UpdateReleaseChangesetTagsProps, UpdateReleaseChangesetTagsRequestBody, } from './hooks/useUpdateReleaseChangesetTagsMutation';
|
|
207
|
+
export { updateReleaseChangesetTags, useUpdateReleaseChangesetTagsMutation, } from './hooks/useUpdateReleaseChangesetTagsMutation';
|
|
194
208
|
export type { UpdateReleaseConflictErrorResponse, UpdateReleaseConflictMutationPathParams, UpdateReleaseConflictOkResponse, UpdateReleaseConflictProps, UpdateReleaseConflictRequestBody, } from './hooks/useUpdateReleaseConflictMutation';
|
|
195
209
|
export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
|
|
196
210
|
export type { UpdateTaskCommentErrorResponse, UpdateTaskCommentMutationPathParams, UpdateTaskCommentMutationQueryParams, UpdateTaskCommentOkResponse, UpdateTaskCommentProps, UpdateTaskCommentRequestBody, } from './hooks/useUpdateTaskCommentMutation';
|
|
@@ -289,16 +303,26 @@ export type { AdHocReleaseResponse } from './schemas/AdHocReleaseResponse';
|
|
|
289
303
|
export type { AnyValue } from './schemas/AnyValue';
|
|
290
304
|
export type { ApprovalInfoDto } from './schemas/ApprovalInfoDto';
|
|
291
305
|
export type { ApprovedByDto } from './schemas/ApprovedByDto';
|
|
306
|
+
export type { ArtifactFacets } from './schemas/ArtifactFacets';
|
|
292
307
|
export type { ArtifactTagInputVariable } from './schemas/ArtifactTagInputVariable';
|
|
293
308
|
export type { ArtifactTagMetadata } from './schemas/ArtifactTagMetadata';
|
|
294
309
|
export type { ArtifactTrackerServiceMapping } from './schemas/ArtifactTrackerServiceMapping';
|
|
295
310
|
export type { ArtifactTrackerServiceMappingList } from './schemas/ArtifactTrackerServiceMappingList';
|
|
296
311
|
export type { ArtifactTrackerSettings } from './schemas/ArtifactTrackerSettings';
|
|
297
312
|
export type { ArtifactTrackerSettingsList } from './schemas/ArtifactTrackerSettingsList';
|
|
313
|
+
export type { ArtifactVersion } from './schemas/ArtifactVersion';
|
|
314
|
+
export type { ArtifactVersionList } from './schemas/ArtifactVersionList';
|
|
298
315
|
export type { ArtifactoryRegistryMetadata } from './schemas/ArtifactoryRegistryMetadata';
|
|
299
316
|
export type { AttachedReleaseGroupDto } from './schemas/AttachedReleaseGroupDto';
|
|
300
317
|
export type { AutoExecuteOnScheduleProperty } from './schemas/AutoExecuteOnScheduleProperty';
|
|
301
318
|
export type { BuildInfo } from './schemas/BuildInfo';
|
|
319
|
+
export type { Changeset } from './schemas/Changeset';
|
|
320
|
+
export type { ChangesetCommit } from './schemas/ChangesetCommit';
|
|
321
|
+
export type { ChangesetCommitList } from './schemas/ChangesetCommitList';
|
|
322
|
+
export type { ChangesetCommitTicket } from './schemas/ChangesetCommitTicket';
|
|
323
|
+
export type { ChangesetFacets } from './schemas/ChangesetFacets';
|
|
324
|
+
export type { ChangesetList } from './schemas/ChangesetList';
|
|
325
|
+
export type { ChangesetRef } from './schemas/ChangesetRef';
|
|
302
326
|
export type { ClusterDeploymentDto } from './schemas/ClusterDeploymentDto';
|
|
303
327
|
export type { CommentedByDto } from './schemas/CommentedByDto';
|
|
304
328
|
export type { ConflictStatus } from './schemas/ConflictStatus';
|
|
@@ -397,10 +421,12 @@ export type { PipelineStageInfo } from './schemas/PipelineStageInfo';
|
|
|
397
421
|
export type { PolicyMetadata } from './schemas/PolicyMetadata';
|
|
398
422
|
export type { PolicySetMetadata } from './schemas/PolicySetMetadata';
|
|
399
423
|
export type { PrimitiveInputVariable } from './schemas/PrimitiveInputVariable';
|
|
424
|
+
export type { ProcessExecutionActionRequest } from './schemas/ProcessExecutionActionRequest';
|
|
400
425
|
export type { ProcessExecutionDetailsResponse } from './schemas/ProcessExecutionDetailsResponse';
|
|
401
426
|
export type { ProcessExecutionDto } from './schemas/ProcessExecutionDto';
|
|
402
427
|
export type { ProcessExecutionInfoDto } from './schemas/ProcessExecutionInfoDto';
|
|
403
428
|
export type { ProcessExecutionInputResponse } from './schemas/ProcessExecutionInputResponse';
|
|
429
|
+
export type { ProcessExecutionStatus } from './schemas/ProcessExecutionStatus';
|
|
404
430
|
export type { ProcessInputSummaryDto } from './schemas/ProcessInputSummaryDto';
|
|
405
431
|
export type { ProcessInputValidationResponse } from './schemas/ProcessInputValidationResponse';
|
|
406
432
|
export type { ReleaseActionRequest } from './schemas/ReleaseActionRequest';
|
|
@@ -418,6 +444,7 @@ export type { ReleaseGroupYaml } from './schemas/ReleaseGroupYaml';
|
|
|
418
444
|
export type { ReleaseInfo } from './schemas/ReleaseInfo';
|
|
419
445
|
export type { ReleaseInputYaml } from './schemas/ReleaseInputYaml';
|
|
420
446
|
export type { ReleaseParentDto } from './schemas/ReleaseParentDto';
|
|
447
|
+
export type { ReleaseRef } from './schemas/ReleaseRef';
|
|
421
448
|
export type { ReleaseType } from './schemas/ReleaseType';
|
|
422
449
|
export type { RepeatUnit } from './schemas/RepeatUnit';
|
|
423
450
|
export type { ReportGenerationRequest } from './schemas/ReportGenerationRequest';
|
|
@@ -454,6 +481,7 @@ export type { TriggerType } from './schemas/TriggerType';
|
|
|
454
481
|
export type { TriggeredBy } from './schemas/TriggeredBy';
|
|
455
482
|
export type { TriggeredByDto } from './schemas/TriggeredByDto';
|
|
456
483
|
export type { UpdateArtifactTrackerServiceMappingRequest } from './schemas/UpdateArtifactTrackerServiceMappingRequest';
|
|
484
|
+
export type { UpdateChangesetTagsRequest } from './schemas/UpdateChangesetTagsRequest';
|
|
457
485
|
export type { UploadResponse } from './schemas/UploadResponse';
|
|
458
486
|
export type { UpsertArtifactTrackerSettingsRequest } from './schemas/UpsertArtifactTrackerSettingsRequest';
|
|
459
487
|
export type { User } from './schemas/User';
|
|
@@ -462,6 +490,8 @@ export type { WebhookEventType } from './schemas/WebhookEventType';
|
|
|
462
490
|
export type { WebhookMetadataResponse } from './schemas/WebhookMetadataResponse';
|
|
463
491
|
export type { WebhookQueueActionRequest } from './schemas/WebhookQueueActionRequest';
|
|
464
492
|
export type { WebhookQueueActionResponse } from './schemas/WebhookQueueActionResponse';
|
|
493
|
+
export type { WebhookSignalArtifacts } from './schemas/WebhookSignalArtifacts';
|
|
494
|
+
export type { WebhookSignalImage } from './schemas/WebhookSignalImage';
|
|
465
495
|
export type { WebhookSignalPipeline } from './schemas/WebhookSignalPipeline';
|
|
466
496
|
export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
|
|
467
497
|
export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
|
|
@@ -10,6 +10,7 @@ export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useD
|
|
|
10
10
|
export { deleteRelease, useDeleteReleaseMutation } from './hooks/useDeleteReleaseMutation';
|
|
11
11
|
export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
|
|
12
12
|
export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
|
|
13
|
+
export { getArtifactFacets, useGetArtifactFacetsQuery } from './hooks/useGetArtifactFacetsQuery';
|
|
13
14
|
export { getArtifactTrackerServiceMapping, useGetArtifactTrackerServiceMappingQuery, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
|
|
14
15
|
export { getArtifactTrackerSettings, useGetArtifactTrackerSettingsQuery, } from './hooks/useGetArtifactTrackerSettingsQuery';
|
|
15
16
|
export { getEventsByEntityTypeAndId, useGetEventsByEntityTypeAndIdQuery, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
|
|
@@ -43,6 +44,7 @@ export { getProcessExecutionInput, useGetProcessExecutionInputQuery, } from './h
|
|
|
43
44
|
export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
|
|
44
45
|
export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
|
|
45
46
|
export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
|
|
47
|
+
export { getReleaseChangesetFacets, useGetReleaseChangesetFacetsQuery, } from './hooks/useGetReleaseChangesetFacetsQuery';
|
|
46
48
|
export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
|
|
47
49
|
export { getReleaseDayActivities, useGetReleaseDayActivitiesQuery, } from './hooks/useGetReleaseDayActivitiesQuery';
|
|
48
50
|
export { getReleaseGroup, useGetReleaseGroupQuery } from './hooks/useGetReleaseGroupQuery';
|
|
@@ -62,7 +64,10 @@ export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQu
|
|
|
62
64
|
export { ingestWebhookSignal, useIngestWebhookSignalMutation, } from './hooks/useIngestWebhookSignalMutation';
|
|
63
65
|
export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
|
|
64
66
|
export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
|
|
67
|
+
export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
|
|
65
68
|
export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
|
|
69
|
+
export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
|
|
70
|
+
export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
|
|
66
71
|
export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
|
|
67
72
|
export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
|
|
68
73
|
export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
|
|
@@ -87,6 +92,7 @@ export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation,
|
|
|
87
92
|
export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
|
|
88
93
|
export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
|
|
89
94
|
export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
|
|
95
|
+
export { retryReleaseChangeset, useRetryReleaseChangesetMutation, } from './hooks/useRetryReleaseChangesetMutation';
|
|
90
96
|
export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
|
|
91
97
|
export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
|
|
92
98
|
export { streamUpload, useStreamUploadMutation } from './hooks/useStreamUploadMutation';
|
|
@@ -94,6 +100,7 @@ export { triggerIntegrationExecution, useTriggerIntegrationExecutionMutation, }
|
|
|
94
100
|
export { updateArtifactTrackerServiceMapping, useUpdateArtifactTrackerServiceMappingMutation, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
|
|
95
101
|
export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
|
|
96
102
|
export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
|
|
103
|
+
export { updateReleaseChangesetTags, useUpdateReleaseChangesetTagsMutation, } from './hooks/useUpdateReleaseChangesetTagsMutation';
|
|
97
104
|
export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
|
|
98
105
|
export { updateTaskComment, useUpdateTaskCommentMutation, } from './hooks/useUpdateTaskCommentMutation';
|
|
99
106
|
export { upsertArtifactTrackerSettings, useUpsertArtifactTrackerSettingsMutation, } from './hooks/useUpsertArtifactTrackerSettingsMutation';
|
|
@@ -5,6 +5,10 @@ export interface ArtifactTrackerServiceMapping {
|
|
|
5
5
|
* @format int64
|
|
6
6
|
*/
|
|
7
7
|
createdAt?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Docker/container registry connector reference.
|
|
10
|
+
*/
|
|
11
|
+
dockerConnectorRefOverride?: string;
|
|
8
12
|
gitConnectorRefOverride?: string;
|
|
9
13
|
identifier: string;
|
|
10
14
|
k8sConnectorRefOverride?: string;
|
|
@@ -3,6 +3,10 @@ export interface ArtifactTrackerSettings {
|
|
|
3
3
|
* @format int64
|
|
4
4
|
*/
|
|
5
5
|
createdAt?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Docker/container registry connector reference.
|
|
8
|
+
*/
|
|
9
|
+
defaultDockerConnectorRef?: string;
|
|
6
10
|
defaultGitConnectorRef?: string;
|
|
7
11
|
defaultK8sConnectorRef?: string;
|
|
8
12
|
defaultK8sNamespace?: string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ChangesetRef } from '../schemas/ChangesetRef';
|
|
2
|
+
import type { ReleaseRef } from '../schemas/ReleaseRef';
|
|
3
|
+
export interface ArtifactVersion {
|
|
4
|
+
artifactPath: string;
|
|
5
|
+
branch?: string;
|
|
6
|
+
/**
|
|
7
|
+
* org/project/pipeline identifier of the pipeline that built this artifact
|
|
8
|
+
*/
|
|
9
|
+
buildPipelineRef?: string;
|
|
10
|
+
/**
|
|
11
|
+
* plan execution (run) of the build pipeline that produced this artifact
|
|
12
|
+
*/
|
|
13
|
+
buildPlanExecutionId?: string;
|
|
14
|
+
changesets?: ChangesetRef[];
|
|
15
|
+
commitSha?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @format int64
|
|
18
|
+
*/
|
|
19
|
+
createdAt?: number;
|
|
20
|
+
id: string;
|
|
21
|
+
registry: string;
|
|
22
|
+
releases?: ReleaseRef[];
|
|
23
|
+
repoName?: string;
|
|
24
|
+
serviceRef?: string;
|
|
25
|
+
tag: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Changeset {
|
|
2
|
+
artifactPath: string;
|
|
3
|
+
commitCount?: number;
|
|
4
|
+
/**
|
|
5
|
+
* @format int64
|
|
6
|
+
*/
|
|
7
|
+
createdAt?: number;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
fromArtifactTag: string;
|
|
10
|
+
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
14
|
+
lastUpdatedAt?: number;
|
|
15
|
+
pipelineExecutionId?: string;
|
|
16
|
+
registry?: string;
|
|
17
|
+
releaseId: string;
|
|
18
|
+
serviceRef?: string;
|
|
19
|
+
status: 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING';
|
|
20
|
+
toArtifactTag: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ChangesetCommitTicket } from '../schemas/ChangesetCommitTicket';
|
|
2
|
+
export interface ChangesetCommit {
|
|
3
|
+
/**
|
|
4
|
+
* @format int64
|
|
5
|
+
*/
|
|
6
|
+
authorDate?: number;
|
|
7
|
+
authorEmail?: string;
|
|
8
|
+
authorName?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
12
|
+
committerDate?: number;
|
|
13
|
+
committerEmail?: string;
|
|
14
|
+
committerName?: string;
|
|
15
|
+
id: string;
|
|
16
|
+
message: string;
|
|
17
|
+
parentShas?: string[];
|
|
18
|
+
repoName?: string;
|
|
19
|
+
sha: string;
|
|
20
|
+
tickets?: ChangesetCommitTicket[];
|
|
21
|
+
url?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export interface CreateArtifactTrackerServiceMappingRequest {
|
|
2
2
|
artifactPath: string;
|
|
3
3
|
artifactRegistry?: string;
|
|
4
|
+
/**
|
|
5
|
+
* Docker/container registry connector reference.
|
|
6
|
+
*/
|
|
7
|
+
dockerConnectorRefOverride?: string;
|
|
4
8
|
/**
|
|
5
9
|
* Optional override for the linked settings' default git connector. Required only when the linked settings has no defaultGitConnectorRef.
|
|
6
10
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface ProcessExecutionActionRequest {
|
|
2
|
+
/**
|
|
3
|
+
* Action to perform on the process execution
|
|
4
|
+
*/
|
|
5
|
+
action: 'Abort';
|
|
6
|
+
/**
|
|
7
|
+
* Message explaining the reason for the action (e.g., why the process execution is being aborted)
|
|
8
|
+
* @example "Production issue detected - aborting process execution"
|
|
9
|
+
*/
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReleaseInfo } from '../schemas/ReleaseInfo';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ProcessExecutionStatus } from '../schemas/ProcessExecutionStatus';
|
|
3
3
|
import type { TriggeredByDto } from '../schemas/TriggeredByDto';
|
|
4
4
|
/**
|
|
5
5
|
* A single execution history row for GET /orchestration/process/{identifier}/executions. Process context comes from the URL path; use executionId to navigate to the execution.
|
|
@@ -39,7 +39,7 @@ export interface ProcessExecutionDto {
|
|
|
39
39
|
* Execution start timestamp in milliseconds
|
|
40
40
|
*/
|
|
41
41
|
startedAt: number;
|
|
42
|
-
status:
|
|
42
|
+
status: ProcessExecutionStatus;
|
|
43
43
|
triggeredBy?: TriggeredByDto;
|
|
44
44
|
/**
|
|
45
45
|
* Last updated timestamp in milliseconds
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ProcessExecutionStatus } from '../schemas/ProcessExecutionStatus';
|
|
1
2
|
import type { TriggeredByDto } from '../schemas/TriggeredByDto';
|
|
2
3
|
/**
|
|
3
4
|
* Summary metadata for a single process execution (GET /orchestration/process/execution/{executionId}).
|
|
@@ -20,9 +21,6 @@ export interface ProcessExecutionInfoDto {
|
|
|
20
21
|
* @format int64
|
|
21
22
|
*/
|
|
22
23
|
startTs: number;
|
|
23
|
-
|
|
24
|
-
* Release-style execution status
|
|
25
|
-
*/
|
|
26
|
-
status: 'Aborted' | 'Failed' | 'InputWaiting' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
|
|
24
|
+
status: ProcessExecutionStatus;
|
|
27
25
|
triggeredBy?: TriggeredByDto;
|
|
28
26
|
}
|
package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export interface UpdateArtifactTrackerServiceMappingRequest {
|
|
2
2
|
artifactPath?: string;
|
|
3
3
|
artifactRegistry?: string;
|
|
4
|
+
/**
|
|
5
|
+
* Docker/container registry connector reference.
|
|
6
|
+
*/
|
|
7
|
+
dockerConnectorRefOverride?: string;
|
|
4
8
|
/**
|
|
5
9
|
* Optional override for the linked settings' default git connector. Required only when the linked settings has no defaultGitConnectorRef.
|
|
6
10
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { WebhookSignalImage } from '../schemas/WebhookSignalImage';
|
|
2
|
+
/**
|
|
3
|
+
* Pre-resolved artifacts attached by the RO Notify step (auto-discovered from CI).
|
|
4
|
+
* Present iff eventType == "ARTIFACT_TRACKER_SIGNAL"; the handler treats absence
|
|
5
|
+
* as a no-op for any other event type.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export interface WebhookSignalArtifacts {
|
|
9
|
+
files?: Array<{
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>;
|
|
12
|
+
images?: WebhookSignalImage[];
|
|
13
|
+
sbom?: Array<{
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { WebhookSignalArtifacts } from '../schemas/WebhookSignalArtifacts';
|
|
1
2
|
import type { WebhookEventType } from '../schemas/WebhookEventType';
|
|
2
3
|
import type { WebhookSignalPipeline } from '../schemas/WebhookSignalPipeline';
|
|
3
4
|
export interface WebhookSignalRequest {
|
|
5
|
+
artifacts?: WebhookSignalArtifacts;
|
|
4
6
|
eventType: WebhookEventType;
|
|
5
7
|
/**
|
|
6
8
|
* Event metadata. Maximum size 10 KiB.
|