@harnessio/react-rmg-service-client 0.68.0 → 0.69.0-beta.2

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.
Files changed (69) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.d.ts +26 -0
  2. package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.d.ts +29 -0
  4. package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.d.ts +35 -0
  6. package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.js +14 -0
  7. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.d.ts +34 -0
  8. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.js +14 -0
  9. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.d.ts +39 -0
  10. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.js +14 -0
  11. package/dist/rmg-service/src/services/hooks/usePostProcessExecutionActionMutation.d.ts +2 -6
  12. package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.d.ts +26 -0
  13. package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.js +14 -0
  14. package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.d.ts +29 -0
  15. package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.js +14 -0
  16. package/dist/rmg-service/src/services/index.d.ts +30 -0
  17. package/dist/rmg-service/src/services/index.js +7 -0
  18. package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +1 -1
  19. package/dist/rmg-service/src/services/schemas/AnyValue.d.ts +2 -2
  20. package/dist/rmg-service/src/services/schemas/ArtifactFacets.d.ts +6 -0
  21. package/dist/rmg-service/src/services/schemas/ArtifactFacets.js +4 -0
  22. package/dist/rmg-service/src/services/schemas/ArtifactTagMetadata.d.ts +1 -3
  23. package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMapping.d.ts +4 -0
  24. package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettings.d.ts +4 -0
  25. package/dist/rmg-service/src/services/schemas/ArtifactVersion.d.ts +26 -0
  26. package/dist/rmg-service/src/services/schemas/ArtifactVersion.js +1 -0
  27. package/dist/rmg-service/src/services/schemas/ArtifactVersionList.d.ts +8 -0
  28. package/dist/rmg-service/src/services/schemas/ArtifactVersionList.js +1 -0
  29. package/dist/rmg-service/src/services/schemas/Changeset.d.ts +21 -0
  30. package/dist/rmg-service/src/services/schemas/Changeset.js +4 -0
  31. package/dist/rmg-service/src/services/schemas/ChangesetCommit.d.ts +22 -0
  32. package/dist/rmg-service/src/services/schemas/ChangesetCommit.js +1 -0
  33. package/dist/rmg-service/src/services/schemas/ChangesetCommitList.d.ts +8 -0
  34. package/dist/rmg-service/src/services/schemas/ChangesetCommitList.js +1 -0
  35. package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.d.ts +6 -0
  36. package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.js +4 -0
  37. package/dist/rmg-service/src/services/schemas/ChangesetFacets.d.ts +6 -0
  38. package/dist/rmg-service/src/services/schemas/ChangesetFacets.js +4 -0
  39. package/dist/rmg-service/src/services/schemas/ChangesetList.d.ts +8 -0
  40. package/dist/rmg-service/src/services/schemas/ChangesetList.js +1 -0
  41. package/dist/rmg-service/src/services/schemas/ChangesetRef.d.ts +8 -0
  42. package/dist/rmg-service/src/services/schemas/ChangesetRef.js +4 -0
  43. package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.d.ts +4 -0
  44. package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerSettingsRequest.d.ts +4 -0
  45. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +1 -3
  46. package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +3 -3
  47. package/dist/rmg-service/src/services/schemas/OrchestrationActivityWebhookYaml.d.ts +1 -1
  48. package/dist/rmg-service/src/services/schemas/OutputVariable.d.ts +1 -1
  49. package/dist/rmg-service/src/services/schemas/ProcessExecutionActionRequest.d.ts +11 -0
  50. package/dist/rmg-service/src/services/schemas/ProcessExecutionActionRequest.js +4 -0
  51. package/dist/rmg-service/src/services/schemas/ProcessExecutionDto.d.ts +2 -2
  52. package/dist/rmg-service/src/services/schemas/ProcessExecutionInfoDto.d.ts +2 -4
  53. package/dist/rmg-service/src/services/schemas/ProcessExecutionStatus.d.ts +4 -0
  54. package/dist/rmg-service/src/services/schemas/ProcessExecutionStatus.js +4 -0
  55. package/dist/rmg-service/src/services/schemas/ReleaseRef.d.ts +10 -0
  56. package/dist/rmg-service/src/services/schemas/ReleaseRef.js +4 -0
  57. package/dist/rmg-service/src/services/schemas/StringOrBool.d.ts +1 -1
  58. package/dist/rmg-service/src/services/schemas/StringOrStringArray.d.ts +1 -1
  59. package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +1 -1
  60. package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.d.ts +4 -0
  61. package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.d.ts +4 -0
  62. package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.js +4 -0
  63. package/dist/rmg-service/src/services/schemas/UpsertArtifactTrackerSettingsRequest.d.ts +4 -0
  64. package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.d.ts +16 -0
  65. package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.js +1 -0
  66. package/dist/rmg-service/src/services/schemas/WebhookSignalImage.d.ts +9 -0
  67. package/dist/rmg-service/src/services/schemas/WebhookSignalImage.js +4 -0
  68. package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.d.ts +2 -0
  69. package/package.json +1 -4
@@ -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';
@@ -10,5 +10,5 @@ export interface ActivityInputYaml {
10
10
  input?: string;
11
11
  with?: {
12
12
  [key: string]: string;
13
- } | ReleaseInputYaml;
13
+ } & ReleaseInputYaml;
14
14
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Flexible type that accepts any JSON value (string, number, boolean, object, or array)
3
3
  */
4
- export type AnyValue = string | number | boolean | {
4
+ export type AnyValue = string & number & boolean & {
5
5
  [key: string]: any;
6
- } | Array<{
6
+ } & Array<{
7
7
  [key: string]: any;
8
8
  }>;
@@ -0,0 +1,6 @@
1
+ export interface ArtifactFacets {
2
+ artifactPaths?: string[];
3
+ registries?: string[];
4
+ services?: string[];
5
+ tags?: string[];
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -12,6 +12,4 @@ import type { CustomArtifactMetadata } from '../schemas/CustomArtifactMetadata';
12
12
  * Use the discriminated schemas below to determine which fields are needed per type.
13
13
  *
14
14
  */
15
- export type ArtifactTagMetadata = (DockerRegistryArtifactMetadata | EcrArtifactMetadata | GcrArtifactMetadata | AcrArtifactMetadata | GoogleArtifactRegistryMetadata | Nexus3RegistryArtifactMetadata | ArtifactoryRegistryMetadata | GithubPackageRegistryMetadata | CustomArtifactMetadata) & {
16
- [key: string]: any;
17
- };
15
+ export type ArtifactTagMetadata = DockerRegistryArtifactMetadata & EcrArtifactMetadata & GcrArtifactMetadata & AcrArtifactMetadata & GoogleArtifactRegistryMetadata & Nexus3RegistryArtifactMetadata & ArtifactoryRegistryMetadata & GithubPackageRegistryMetadata & CustomArtifactMetadata;
@@ -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,8 @@
1
+ import type { ArtifactVersion } from '../schemas/ArtifactVersion';
2
+ export interface ArtifactVersionList {
3
+ content?: ArtifactVersion[];
4
+ pageNumber?: number;
5
+ pageSize?: number;
6
+ totalElements?: number;
7
+ totalPages?: number;
8
+ }
@@ -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,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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,8 @@
1
+ import type { ChangesetCommit } from '../schemas/ChangesetCommit';
2
+ export interface ChangesetCommitList {
3
+ content?: ChangesetCommit[];
4
+ pageNumber?: number;
5
+ pageSize?: number;
6
+ totalElements?: number;
7
+ totalPages?: number;
8
+ }
@@ -0,0 +1,6 @@
1
+ export interface ChangesetCommitTicket {
2
+ key: string;
3
+ source?: string;
4
+ type?: string;
5
+ url?: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface ChangesetFacets {
2
+ artifactPaths?: string[];
3
+ registries?: string[];
4
+ services?: string[];
5
+ tags?: string[];
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { Changeset } from '../schemas/Changeset';
2
+ export interface ChangesetList {
3
+ content?: Changeset[];
4
+ pageNumber?: number;
5
+ pageSize?: number;
6
+ totalElements?: number;
7
+ totalPages?: number;
8
+ }
@@ -0,0 +1,8 @@
1
+ export interface ChangesetRef {
2
+ fromArtifactTag?: string;
3
+ /**
4
+ * Changeset slug_id
5
+ */
6
+ id: string;
7
+ toArtifactTag?: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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
  */
@@ -1,4 +1,8 @@
1
1
  export interface CreateArtifactTrackerSettingsRequest {
2
+ /**
3
+ * Docker/container registry connector reference.
4
+ */
5
+ defaultDockerConnectorRef?: string;
2
6
  defaultGitConnectorRef?: string;
3
7
  defaultK8sConnectorRef?: string;
4
8
  defaultK8sNamespace?: string;
@@ -7,6 +7,4 @@ import type { InfrastructureInputVariable } from '../schemas/InfrastructureInput
7
7
  import type { MultiInfrastructureInputVariable } from '../schemas/MultiInfrastructureInputVariable';
8
8
  import type { ConnectorInputVariable } from '../schemas/ConnectorInputVariable';
9
9
  import type { ArtifactTagInputVariable } from '../schemas/ArtifactTagInputVariable';
10
- export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable) & {
11
- [key: string]: any;
12
- };
10
+ export type InputVariable = PrimitiveInputVariable & ServiceInputVariable & MultiServiceInputVariable & EnvironmentInputVariable & MultiEnvironmentInputVariable & InfrastructureInputVariable & MultiInfrastructureInputVariable & ConnectorInputVariable & ArtifactTagInputVariable;
@@ -23,13 +23,13 @@ export interface ManualTaskYaml {
23
23
  /**
24
24
  * Whether this task is required, it can be boolean or string as we support expressions
25
25
  */
26
- required: boolean | string;
26
+ required: boolean & string;
27
27
  /**
28
28
  * List of user groups or references, it can be string or array of strings as we support expressions
29
29
  */
30
- userGroups: string | string[];
30
+ userGroups: string & string[];
31
31
  /**
32
32
  * List of user emails or references, it can be string or array of strings as we support expressions
33
33
  */
34
- users: string | string[];
34
+ users: string & string[];
35
35
  }
@@ -41,6 +41,6 @@ export interface OrchestrationActivityWebhookYaml {
41
41
  /**
42
42
  * User groups that can approve queued signals
43
43
  */
44
- userGroups?: string | string[];
44
+ userGroups?: string & string[];
45
45
  };
46
46
  }
@@ -2,7 +2,7 @@
2
2
  * Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and an optional `description` (new format).
3
3
  *
4
4
  */
5
- export type OutputVariable = string | {
5
+ export type OutputVariable = string & {
6
6
  /**
7
7
  * Human-readable description of the output variable.
8
8
  */
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type { ReleaseInfo } from '../schemas/ReleaseInfo';
2
- import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
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: OrchestrationStatus;
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
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Release-style execution status
3
+ */
4
+ export type ProcessExecutionStatus = 'Aborted' | 'Failed' | 'InputWaiting' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface ReleaseRef {
2
+ /**
3
+ * Release slug_id
4
+ */
5
+ id: string;
6
+ identifier?: string;
7
+ name?: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Flexible type that accepts either a boolean or a string
3
3
  */
4
- export type StringOrBool = boolean | string;
4
+ export type StringOrBool = boolean & string;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Flexible type that accepts either a single string or an array of strings for user references
3
3
  */
4
- export type StringOrStringArray = string | string[];
4
+ export type StringOrStringArray = string & string[];
@@ -6,5 +6,5 @@ export interface TaskExecuteConfig {
6
6
  * Either the literal string "all" (any process can be triggered), the literal string "none" (no process can be triggered), or an array of whitelisted process identifiers.
7
7
  *
8
8
  */
9
- processes: 'all' | 'none' | string[];
9
+ processes: 'all' | ('none' & string[]);
10
10
  }
@@ -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,4 @@
1
+ export interface UpdateChangesetTagsRequest {
2
+ fromArtifactTag?: string;
3
+ toArtifactTag?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,4 +1,8 @@
1
1
  export interface UpsertArtifactTrackerSettingsRequest {
2
+ /**
3
+ * Docker/container registry connector reference.
4
+ */
5
+ defaultDockerConnectorRef?: string;
2
6
  defaultGitConnectorRef?: string;
3
7
  defaultK8sConnectorRef?: string;
4
8
  defaultK8sNamespace?: string;
@@ -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,9 @@
1
+ export interface WebhookSignalImage {
2
+ digest?: string;
3
+ /**
4
+ * e.g. "pkg.qa.harness.io/org/repo/test"
5
+ */
6
+ imageName: string;
7
+ tag: string;
8
+ url?: string;
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.68.0",
3
+ "version": "0.69.0-beta.2",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -27,8 +27,5 @@
27
27
  "build": "yarn generate && tsc",
28
28
  "generate": "oats import --config='./oats.config.ts'",
29
29
  "fmt": "prettier --write ./index.ts"
30
- },
31
- "dependencies": {
32
- "@harnessio/oats-cli": "^3.0.0"
33
30
  }
34
31
  }