@harnessio/react-rmg-service-client 0.69.1-beta.1 → 0.69.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.d.ts +29 -0
  2. package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.d.ts +34 -0
  4. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.d.ts +39 -0
  6. package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.js +14 -0
  7. package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.d.ts +26 -0
  8. package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.js +14 -0
  9. package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.d.ts +29 -0
  10. package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.js +14 -0
  11. package/dist/rmg-service/src/services/index.d.ts +10 -24
  12. package/dist/rmg-service/src/services/index.js +5 -8
  13. package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +1 -1
  14. package/dist/rmg-service/src/services/schemas/AnyValue.d.ts +2 -2
  15. package/dist/rmg-service/src/services/schemas/ArtifactTagMetadata.d.ts +3 -1
  16. package/dist/rmg-service/src/services/schemas/Changeset.d.ts +1 -0
  17. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +3 -1
  18. package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +3 -3
  19. package/dist/rmg-service/src/services/schemas/OrchestrationActivityWebhookYaml.d.ts +1 -1
  20. package/dist/rmg-service/src/services/schemas/OutputVariable.d.ts +1 -1
  21. package/dist/rmg-service/src/services/schemas/StringOrBool.d.ts +1 -1
  22. package/dist/rmg-service/src/services/schemas/StringOrStringArray.d.ts +1 -1
  23. package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +1 -1
  24. package/package.json +4 -1
  25. package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.d.ts +0 -26
  26. package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.js +0 -14
  27. package/dist/rmg-service/src/services/hooks/useGetChangesetFacetsQuery.d.ts +0 -27
  28. package/dist/rmg-service/src/services/hooks/useGetChangesetFacetsQuery.js +0 -14
  29. package/dist/rmg-service/src/services/hooks/useListArtifactsByServiceQuery.d.ts +0 -34
  30. package/dist/rmg-service/src/services/hooks/useListArtifactsByServiceQuery.js +0 -14
  31. package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.d.ts +0 -36
  32. package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.js +0 -14
  33. package/dist/rmg-service/src/services/hooks/useListChangesetCommitsQuery.d.ts +0 -33
  34. package/dist/rmg-service/src/services/hooks/useListChangesetCommitsQuery.js +0 -14
  35. package/dist/rmg-service/src/services/hooks/useListChangesetsQuery.d.ts +0 -37
  36. package/dist/rmg-service/src/services/hooks/useListChangesetsQuery.js +0 -14
  37. package/dist/rmg-service/src/services/hooks/useRetryChangesetMutation.d.ts +0 -25
  38. package/dist/rmg-service/src/services/hooks/useRetryChangesetMutation.js +0 -14
  39. package/dist/rmg-service/src/services/hooks/useUpdateChangesetTagsMutation.d.ts +0 -28
  40. package/dist/rmg-service/src/services/hooks/useUpdateChangesetTagsMutation.js +0 -14
  41. package/dist/rmg-service/src/services/schemas/ArtifactBuild.d.ts +0 -19
  42. package/dist/rmg-service/src/services/schemas/ArtifactBuild.js +0 -4
  43. package/dist/rmg-service/src/services/schemas/ArtifactFacets.d.ts +0 -6
  44. package/dist/rmg-service/src/services/schemas/ArtifactFacets.js +0 -4
  45. package/dist/rmg-service/src/services/schemas/ArtifactServiceGroupList.d.ts +0 -8
  46. package/dist/rmg-service/src/services/schemas/ArtifactServiceGroupList.js +0 -1
  47. package/dist/rmg-service/src/services/schemas/ArtifactServiceItem.d.ts +0 -13
  48. package/dist/rmg-service/src/services/schemas/ArtifactServiceItem.js +0 -1
  49. package/dist/rmg-service/src/services/schemas/ArtifactVersion.d.ts +0 -30
  50. package/dist/rmg-service/src/services/schemas/ArtifactVersion.js +0 -1
  51. package/dist/rmg-service/src/services/schemas/ArtifactVersionList.d.ts +0 -8
  52. package/dist/rmg-service/src/services/schemas/ArtifactVersionList.js +0 -1
  53. package/dist/rmg-service/src/services/schemas/ChangesetRef.d.ts +0 -8
  54. package/dist/rmg-service/src/services/schemas/ChangesetRef.js +0 -4
  55. package/dist/rmg-service/src/services/schemas/ReleaseRef.d.ts +0 -11
  56. package/dist/rmg-service/src/services/schemas/ReleaseRef.js +0 -4
@@ -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,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
+ }
@@ -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,14 +23,10 @@ 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';
28
26
  export type { GetArtifactTrackerServiceMappingErrorResponse, GetArtifactTrackerServiceMappingOkResponse, GetArtifactTrackerServiceMappingProps, GetArtifactTrackerServiceMappingQueryPathParams, GetArtifactTrackerServiceMappingQueryQueryParams, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
29
27
  export { getArtifactTrackerServiceMapping, useGetArtifactTrackerServiceMappingQuery, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
30
28
  export type { GetArtifactTrackerSettingsErrorResponse, GetArtifactTrackerSettingsOkResponse, GetArtifactTrackerSettingsProps, GetArtifactTrackerSettingsQueryPathParams, GetArtifactTrackerSettingsQueryQueryParams, } from './hooks/useGetArtifactTrackerSettingsQuery';
31
29
  export { getArtifactTrackerSettings, useGetArtifactTrackerSettingsQuery, } from './hooks/useGetArtifactTrackerSettingsQuery';
32
- export type { GetChangesetFacetsErrorResponse, GetChangesetFacetsOkResponse, GetChangesetFacetsProps, GetChangesetFacetsQueryQueryParams, } from './hooks/useGetChangesetFacetsQuery';
33
- export { getChangesetFacets, useGetChangesetFacetsQuery } from './hooks/useGetChangesetFacetsQuery';
34
30
  export type { GetEventsByEntityTypeAndIdErrorResponse, GetEventsByEntityTypeAndIdOkResponse, GetEventsByEntityTypeAndIdProps, GetEventsByEntityTypeAndIdQueryPathParams, GetEventsByEntityTypeAndIdQueryQueryParams, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
35
31
  export { getEventsByEntityTypeAndId, useGetEventsByEntityTypeAndIdQuery, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
36
32
  export type { GetFreezeDetailsErrorResponse, GetFreezeDetailsOkResponse, GetFreezeDetailsProps, GetFreezeDetailsQueryPathParams, GetFreezeDetailsQueryQueryParams, } from './hooks/useGetFreezeDetailsQuery';
@@ -93,6 +89,8 @@ export type { GetProcessExecutionErrorResponse, GetProcessExecutionOkResponse, G
93
89
  export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
94
90
  export type { GetReleaseActivitiesErrorResponse, GetReleaseActivitiesOkResponse, GetReleaseActivitiesProps, GetReleaseActivitiesQueryPathParams, GetReleaseActivitiesQueryQueryParams, } from './hooks/useGetReleaseActivitiesQuery';
95
91
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
92
+ export type { GetReleaseChangesetFacetsErrorResponse, GetReleaseChangesetFacetsOkResponse, GetReleaseChangesetFacetsProps, GetReleaseChangesetFacetsQueryPathParams, GetReleaseChangesetFacetsQueryQueryParams, } from './hooks/useGetReleaseChangesetFacetsQuery';
93
+ export { getReleaseChangesetFacets, useGetReleaseChangesetFacetsQuery, } from './hooks/useGetReleaseChangesetFacetsQuery';
96
94
  export type { GetReleaseConflictsErrorResponse, GetReleaseConflictsOkResponse, GetReleaseConflictsProps, GetReleaseConflictsQueryPathParams, GetReleaseConflictsQueryQueryParams, } from './hooks/useGetReleaseConflictsQuery';
97
95
  export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
98
96
  export type { GetReleaseDayActivitiesErrorResponse, GetReleaseDayActivitiesOkResponse, GetReleaseDayActivitiesProps, GetReleaseDayActivitiesQueryPathParams, GetReleaseDayActivitiesQueryQueryParams, } from './hooks/useGetReleaseDayActivitiesQuery';
@@ -131,16 +129,12 @@ export type { ListArtifactTrackerServiceMappingsErrorResponse, ListArtifactTrack
131
129
  export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
132
130
  export type { ListArtifactTrackerSettingsErrorResponse, ListArtifactTrackerSettingsOkResponse, ListArtifactTrackerSettingsProps, ListArtifactTrackerSettingsQueryQueryParams, } from './hooks/useListArtifactTrackerSettingsQuery';
133
131
  export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
134
- export type { ListArtifactsByServiceErrorResponse, ListArtifactsByServiceOkResponse, ListArtifactsByServiceProps, ListArtifactsByServiceQueryQueryParams, } from './hooks/useListArtifactsByServiceQuery';
135
- export { listArtifactsByService, useListArtifactsByServiceQuery, } from './hooks/useListArtifactsByServiceQuery';
136
- export type { ListArtifactsErrorResponse, ListArtifactsOkResponse, ListArtifactsProps, ListArtifactsQueryQueryParams, } from './hooks/useListArtifactsQuery';
137
- export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
138
- export type { ListChangesetCommitsErrorResponse, ListChangesetCommitsOkResponse, ListChangesetCommitsProps, ListChangesetCommitsQueryPathParams, ListChangesetCommitsQueryQueryParams, } from './hooks/useListChangesetCommitsQuery';
139
- export { listChangesetCommits, useListChangesetCommitsQuery, } from './hooks/useListChangesetCommitsQuery';
140
- export type { ListChangesetsErrorResponse, ListChangesetsOkResponse, ListChangesetsProps, ListChangesetsQueryQueryParams, } from './hooks/useListChangesetsQuery';
141
- export { listChangesets, useListChangesetsQuery } from './hooks/useListChangesetsQuery';
142
132
  export type { ListIntegrationExecutionsErrorResponse, ListIntegrationExecutionsOkResponse, ListIntegrationExecutionsProps, ListIntegrationExecutionsQueryQueryParams, } from './hooks/useListIntegrationExecutionsQuery';
143
133
  export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
134
+ export type { ListReleaseChangesetCommitsErrorResponse, ListReleaseChangesetCommitsOkResponse, ListReleaseChangesetCommitsProps, ListReleaseChangesetCommitsQueryPathParams, ListReleaseChangesetCommitsQueryQueryParams, } from './hooks/useListReleaseChangesetCommitsQuery';
135
+ export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
136
+ export type { ListReleaseChangesetsErrorResponse, ListReleaseChangesetsOkResponse, ListReleaseChangesetsProps, ListReleaseChangesetsQueryPathParams, ListReleaseChangesetsQueryQueryParams, } from './hooks/useListReleaseChangesetsQuery';
137
+ export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
144
138
  export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
145
139
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
146
140
  export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
@@ -189,8 +183,8 @@ export type { PutReleaseGroupErrorResponse, PutReleaseGroupMutationPathParams, P
189
183
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
190
184
  export type { PutReleaseReleaseIdErrorResponse, PutReleaseReleaseIdMutationPathParams, PutReleaseReleaseIdOkResponse, PutReleaseReleaseIdProps, PutReleaseReleaseIdRequestBody, } from './hooks/usePutReleaseReleaseIdMutation';
191
185
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
192
- export type { RetryChangesetErrorResponse, RetryChangesetMutationPathParams, RetryChangesetMutationQueryParams, RetryChangesetOkResponse, RetryChangesetProps, } from './hooks/useRetryChangesetMutation';
193
- export { retryChangeset, useRetryChangesetMutation } from './hooks/useRetryChangesetMutation';
186
+ export type { RetryReleaseChangesetErrorResponse, RetryReleaseChangesetMutationPathParams, RetryReleaseChangesetMutationQueryParams, RetryReleaseChangesetOkResponse, RetryReleaseChangesetProps, } from './hooks/useRetryReleaseChangesetMutation';
187
+ export { retryReleaseChangeset, useRetryReleaseChangesetMutation, } from './hooks/useRetryReleaseChangesetMutation';
194
188
  export type { ServeUploadErrorResponse, ServeUploadOkResponse, ServeUploadProps, ServeUploadQueryPathParams, } from './hooks/useServeUploadQuery';
195
189
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
196
190
  export type { StartReleaseExecutionErrorResponse, StartReleaseExecutionMutationPathParams, StartReleaseExecutionMutationQueryParams, StartReleaseExecutionOkResponse, StartReleaseExecutionProps, StartReleaseExecutionRequestBody, } from './hooks/useStartReleaseExecutionMutation';
@@ -201,12 +195,12 @@ export type { TriggerIntegrationExecutionErrorResponse, TriggerIntegrationExecut
201
195
  export { triggerIntegrationExecution, useTriggerIntegrationExecutionMutation, } from './hooks/useTriggerIntegrationExecutionMutation';
202
196
  export type { UpdateArtifactTrackerServiceMappingErrorResponse, UpdateArtifactTrackerServiceMappingMutationPathParams, UpdateArtifactTrackerServiceMappingMutationQueryParams, UpdateArtifactTrackerServiceMappingOkResponse, UpdateArtifactTrackerServiceMappingProps, UpdateArtifactTrackerServiceMappingRequestBody, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
203
197
  export { updateArtifactTrackerServiceMapping, useUpdateArtifactTrackerServiceMappingMutation, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
204
- export type { UpdateChangesetTagsErrorResponse, UpdateChangesetTagsMutationPathParams, UpdateChangesetTagsMutationQueryParams, UpdateChangesetTagsOkResponse, UpdateChangesetTagsProps, UpdateChangesetTagsRequestBody, } from './hooks/useUpdateChangesetTagsMutation';
205
- export { updateChangesetTags, useUpdateChangesetTagsMutation, } from './hooks/useUpdateChangesetTagsMutation';
206
198
  export type { UpdateExecutionTaskMetadataErrorResponse, UpdateExecutionTaskMetadataMutationPathParams, UpdateExecutionTaskMetadataMutationQueryParams, UpdateExecutionTaskMetadataOkResponse, UpdateExecutionTaskMetadataProps, UpdateExecutionTaskMetadataRequestBody, } from './hooks/useUpdateExecutionTaskMetadataMutation';
207
199
  export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
208
200
  export type { UpdateExecutionTaskStatusErrorResponse, UpdateExecutionTaskStatusMutationPathParams, UpdateExecutionTaskStatusMutationQueryParams, UpdateExecutionTaskStatusOkResponse, UpdateExecutionTaskStatusProps, UpdateExecutionTaskStatusRequestBody, } from './hooks/useUpdateExecutionTaskStatusMutation';
209
201
  export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
202
+ export type { UpdateReleaseChangesetTagsErrorResponse, UpdateReleaseChangesetTagsMutationPathParams, UpdateReleaseChangesetTagsMutationQueryParams, UpdateReleaseChangesetTagsOkResponse, UpdateReleaseChangesetTagsProps, UpdateReleaseChangesetTagsRequestBody, } from './hooks/useUpdateReleaseChangesetTagsMutation';
203
+ export { updateReleaseChangesetTags, useUpdateReleaseChangesetTagsMutation, } from './hooks/useUpdateReleaseChangesetTagsMutation';
210
204
  export type { UpdateReleaseConflictErrorResponse, UpdateReleaseConflictMutationPathParams, UpdateReleaseConflictOkResponse, UpdateReleaseConflictProps, UpdateReleaseConflictRequestBody, } from './hooks/useUpdateReleaseConflictMutation';
211
205
  export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
212
206
  export type { UpdateTaskCommentErrorResponse, UpdateTaskCommentMutationPathParams, UpdateTaskCommentMutationQueryParams, UpdateTaskCommentOkResponse, UpdateTaskCommentProps, UpdateTaskCommentRequestBody, } from './hooks/useUpdateTaskCommentMutation';
@@ -305,18 +299,12 @@ export type { AdHocReleaseResponse } from './schemas/AdHocReleaseResponse';
305
299
  export type { AnyValue } from './schemas/AnyValue';
306
300
  export type { ApprovalInfoDto } from './schemas/ApprovalInfoDto';
307
301
  export type { ApprovedByDto } from './schemas/ApprovedByDto';
308
- export type { ArtifactBuild } from './schemas/ArtifactBuild';
309
- export type { ArtifactFacets } from './schemas/ArtifactFacets';
310
- export type { ArtifactServiceGroupList } from './schemas/ArtifactServiceGroupList';
311
- export type { ArtifactServiceItem } from './schemas/ArtifactServiceItem';
312
302
  export type { ArtifactTagInputVariable } from './schemas/ArtifactTagInputVariable';
313
303
  export type { ArtifactTagMetadata } from './schemas/ArtifactTagMetadata';
314
304
  export type { ArtifactTrackerServiceMapping } from './schemas/ArtifactTrackerServiceMapping';
315
305
  export type { ArtifactTrackerServiceMappingList } from './schemas/ArtifactTrackerServiceMappingList';
316
306
  export type { ArtifactTrackerSettings } from './schemas/ArtifactTrackerSettings';
317
307
  export type { ArtifactTrackerSettingsList } from './schemas/ArtifactTrackerSettingsList';
318
- export type { ArtifactVersion } from './schemas/ArtifactVersion';
319
- export type { ArtifactVersionList } from './schemas/ArtifactVersionList';
320
308
  export type { ArtifactoryRegistryMetadata } from './schemas/ArtifactoryRegistryMetadata';
321
309
  export type { AttachedReleaseGroupDto } from './schemas/AttachedReleaseGroupDto';
322
310
  export type { AutoExecuteOnScheduleProperty } from './schemas/AutoExecuteOnScheduleProperty';
@@ -327,7 +315,6 @@ export type { ChangesetCommitList } from './schemas/ChangesetCommitList';
327
315
  export type { ChangesetCommitTicket } from './schemas/ChangesetCommitTicket';
328
316
  export type { ChangesetFacets } from './schemas/ChangesetFacets';
329
317
  export type { ChangesetList } from './schemas/ChangesetList';
330
- export type { ChangesetRef } from './schemas/ChangesetRef';
331
318
  export type { ClusterDeploymentDto } from './schemas/ClusterDeploymentDto';
332
319
  export type { CommentedByDto } from './schemas/CommentedByDto';
333
320
  export type { ConflictStatus } from './schemas/ConflictStatus';
@@ -449,7 +436,6 @@ export type { ReleaseGroupYaml } from './schemas/ReleaseGroupYaml';
449
436
  export type { ReleaseInfo } from './schemas/ReleaseInfo';
450
437
  export type { ReleaseInputYaml } from './schemas/ReleaseInputYaml';
451
438
  export type { ReleaseParentDto } from './schemas/ReleaseParentDto';
452
- export type { ReleaseRef } from './schemas/ReleaseRef';
453
439
  export type { ReleaseType } from './schemas/ReleaseType';
454
440
  export type { RepeatUnit } from './schemas/RepeatUnit';
455
441
  export type { ReportGenerationRequest } from './schemas/ReportGenerationRequest';
@@ -10,10 +10,8 @@ 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';
14
13
  export { getArtifactTrackerServiceMapping, useGetArtifactTrackerServiceMappingQuery, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
15
14
  export { getArtifactTrackerSettings, useGetArtifactTrackerSettingsQuery, } from './hooks/useGetArtifactTrackerSettingsQuery';
16
- export { getChangesetFacets, useGetChangesetFacetsQuery } from './hooks/useGetChangesetFacetsQuery';
17
15
  export { getEventsByEntityTypeAndId, useGetEventsByEntityTypeAndIdQuery, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
18
16
  export { getFreezeDetails, useGetFreezeDetailsQuery } from './hooks/useGetFreezeDetailsQuery';
19
17
  export { getFreezeList, useGetFreezeListQuery } from './hooks/useGetFreezeListQuery';
@@ -45,6 +43,7 @@ export { getProcessExecutionInput, useGetProcessExecutionInputQuery, } from './h
45
43
  export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
46
44
  export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
47
45
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
46
+ export { getReleaseChangesetFacets, useGetReleaseChangesetFacetsQuery, } from './hooks/useGetReleaseChangesetFacetsQuery';
48
47
  export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
49
48
  export { getReleaseDayActivities, useGetReleaseDayActivitiesQuery, } from './hooks/useGetReleaseDayActivitiesQuery';
50
49
  export { getReleaseGroup, useGetReleaseGroupQuery } from './hooks/useGetReleaseGroupQuery';
@@ -64,11 +63,9 @@ export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQu
64
63
  export { ingestWebhookSignal, useIngestWebhookSignalMutation, } from './hooks/useIngestWebhookSignalMutation';
65
64
  export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
66
65
  export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
67
- export { listArtifactsByService, useListArtifactsByServiceQuery, } from './hooks/useListArtifactsByServiceQuery';
68
- export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
69
- export { listChangesetCommits, useListChangesetCommitsQuery, } from './hooks/useListChangesetCommitsQuery';
70
- export { listChangesets, useListChangesetsQuery } from './hooks/useListChangesetsQuery';
71
66
  export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
67
+ export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
68
+ export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
72
69
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
73
70
  export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
74
71
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
@@ -93,15 +90,15 @@ export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation,
93
90
  export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
94
91
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
95
92
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
96
- export { retryChangeset, useRetryChangesetMutation } from './hooks/useRetryChangesetMutation';
93
+ export { retryReleaseChangeset, useRetryReleaseChangesetMutation, } from './hooks/useRetryReleaseChangesetMutation';
97
94
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
98
95
  export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
99
96
  export { streamUpload, useStreamUploadMutation } from './hooks/useStreamUploadMutation';
100
97
  export { triggerIntegrationExecution, useTriggerIntegrationExecutionMutation, } from './hooks/useTriggerIntegrationExecutionMutation';
101
98
  export { updateArtifactTrackerServiceMapping, useUpdateArtifactTrackerServiceMappingMutation, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
102
- export { updateChangesetTags, useUpdateChangesetTagsMutation, } from './hooks/useUpdateChangesetTagsMutation';
103
99
  export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
104
100
  export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
101
+ export { updateReleaseChangesetTags, useUpdateReleaseChangesetTagsMutation, } from './hooks/useUpdateReleaseChangesetTagsMutation';
105
102
  export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
106
103
  export { updateTaskComment, useUpdateTaskCommentMutation, } from './hooks/useUpdateTaskCommentMutation';
107
104
  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
  }>;
@@ -12,4 +12,6 @@ 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;
15
+ export type ArtifactTagMetadata = (DockerRegistryArtifactMetadata | EcrArtifactMetadata | GcrArtifactMetadata | AcrArtifactMetadata | GoogleArtifactRegistryMetadata | Nexus3RegistryArtifactMetadata | ArtifactoryRegistryMetadata | GithubPackageRegistryMetadata | CustomArtifactMetadata) & {
16
+ [key: string]: any;
17
+ };
@@ -14,6 +14,7 @@ export interface Changeset {
14
14
  lastUpdatedAt?: number;
15
15
  pipelineExecutionId?: string;
16
16
  registry?: string;
17
+ releaseId: string;
17
18
  serviceRef?: string;
18
19
  status: 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING';
19
20
  toArtifactTag: string;
@@ -7,4 +7,6 @@ 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;
10
+ export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable) & {
11
+ [key: string]: any;
12
+ };
@@ -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
  */
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.69.1-beta.1",
3
+ "version": "0.69.1",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -27,5 +27,8 @@
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"
30
33
  }
31
34
  }
@@ -1,26 +0,0 @@
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>;
@@ -1,14 +0,0 @@
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
- }
@@ -1,27 +0,0 @@
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 GetChangesetFacetsQueryQueryParams {
7
- orgIdentifier?: string;
8
- projectIdentifier?: string;
9
- releaseId?: string;
10
- service?: string;
11
- tag?: string;
12
- artifactPath?: string;
13
- artifactRegistry?: string;
14
- }
15
- export interface GetChangesetFacetsQueryHeaderParams {
16
- 'Harness-Account': string;
17
- }
18
- export type GetChangesetFacetsOkResponse = ResponseWithPagination<ChangesetFacets>;
19
- export type GetChangesetFacetsErrorResponse = ErrorResponseResponse;
20
- export interface GetChangesetFacetsProps extends Omit<FetcherOptions<GetChangesetFacetsQueryQueryParams, unknown, GetChangesetFacetsQueryHeaderParams>, 'url'> {
21
- queryParams: GetChangesetFacetsQueryQueryParams;
22
- }
23
- export declare function getChangesetFacets(props: GetChangesetFacetsProps): Promise<GetChangesetFacetsOkResponse>;
24
- /**
25
- * Distinct filter options (facets) for changesets
26
- */
27
- export declare function useGetChangesetFacetsQuery(props: GetChangesetFacetsProps, options?: Omit<UseQueryOptions<GetChangesetFacetsOkResponse, GetChangesetFacetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChangesetFacetsOkResponse, import("..").Error>;
@@ -1,14 +0,0 @@
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 getChangesetFacets(props) {
7
- return fetcher(Object.assign({ url: `/v1/changesets/facets`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Distinct filter options (facets) for changesets
11
- */
12
- export function useGetChangesetFacetsQuery(props, options) {
13
- return useQuery(['getChangesetFacets', props.queryParams], ({ signal }) => getChangesetFacets(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,34 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ArtifactServiceGroupList } from '../schemas/ArtifactServiceGroupList';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface ListArtifactsByServiceQueryQueryParams {
7
- orgIdentifier?: string;
8
- projectIdentifier?: string;
9
- /**
10
- * @default 0
11
- */
12
- page?: number;
13
- /**
14
- * @default 20
15
- */
16
- size?: number;
17
- serviceRef?: string;
18
- artifactRegistry?: string;
19
- artifactPath?: string;
20
- settingsIdentifier?: string;
21
- }
22
- export interface ListArtifactsByServiceQueryHeaderParams {
23
- 'Harness-Account': string;
24
- }
25
- export type ListArtifactsByServiceOkResponse = ResponseWithPagination<ArtifactServiceGroupList>;
26
- export type ListArtifactsByServiceErrorResponse = ErrorResponseResponse;
27
- export interface ListArtifactsByServiceProps extends Omit<FetcherOptions<ListArtifactsByServiceQueryQueryParams, unknown, ListArtifactsByServiceQueryHeaderParams>, 'url'> {
28
- queryParams: ListArtifactsByServiceQueryQueryParams;
29
- }
30
- export declare function listArtifactsByService(props: ListArtifactsByServiceProps): Promise<ListArtifactsByServiceOkResponse>;
31
- /**
32
- * List service mappings (with artifacts) each enriched with its latest artifact
33
- */
34
- export declare function useListArtifactsByServiceQuery(props: ListArtifactsByServiceProps, options?: Omit<UseQueryOptions<ListArtifactsByServiceOkResponse, ListArtifactsByServiceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListArtifactsByServiceOkResponse, import("..").Error>;
@@ -1,14 +0,0 @@
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 listArtifactsByService(props) {
7
- return fetcher(Object.assign({ url: `/v1/artifacts/by-service`, method: 'GET' }, props));
8
- }
9
- /**
10
- * List service mappings (with artifacts) each enriched with its latest artifact
11
- */
12
- export function useListArtifactsByServiceQuery(props, options) {
13
- return useQuery(['listArtifactsByService', props.queryParams], ({ signal }) => listArtifactsByService(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,36 +0,0 @@
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
- serviceMappingId?: string;
23
- }
24
- export interface ListArtifactsQueryHeaderParams {
25
- 'Harness-Account': string;
26
- }
27
- export type ListArtifactsOkResponse = ResponseWithPagination<ArtifactVersionList>;
28
- export type ListArtifactsErrorResponse = ErrorResponseResponse;
29
- export interface ListArtifactsProps extends Omit<FetcherOptions<ListArtifactsQueryQueryParams, unknown, ListArtifactsQueryHeaderParams>, 'url'> {
30
- queryParams: ListArtifactsQueryQueryParams;
31
- }
32
- export declare function listArtifacts(props: ListArtifactsProps): Promise<ListArtifactsOkResponse>;
33
- /**
34
- * List artifacts for a scope
35
- */
36
- export declare function useListArtifactsQuery(props: ListArtifactsProps, options?: Omit<UseQueryOptions<ListArtifactsOkResponse, ListArtifactsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListArtifactsOkResponse, import("..").Error>;
@@ -1,14 +0,0 @@
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
- }
@@ -1,33 +0,0 @@
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 ListChangesetCommitsQueryPathParams {
7
- changesetId: string;
8
- }
9
- export interface ListChangesetCommitsQueryQueryParams {
10
- orgIdentifier?: string;
11
- projectIdentifier?: string;
12
- /**
13
- * @default 0
14
- */
15
- page?: number;
16
- /**
17
- * @default 20
18
- */
19
- size?: number;
20
- }
21
- export interface ListChangesetCommitsQueryHeaderParams {
22
- 'Harness-Account': string;
23
- }
24
- export type ListChangesetCommitsOkResponse = ResponseWithPagination<ChangesetCommitList>;
25
- export type ListChangesetCommitsErrorResponse = ErrorResponseResponse;
26
- export interface ListChangesetCommitsProps extends ListChangesetCommitsQueryPathParams, Omit<FetcherOptions<ListChangesetCommitsQueryQueryParams, unknown, ListChangesetCommitsQueryHeaderParams>, 'url'> {
27
- queryParams: ListChangesetCommitsQueryQueryParams;
28
- }
29
- export declare function listChangesetCommits(props: ListChangesetCommitsProps): Promise<ListChangesetCommitsOkResponse>;
30
- /**
31
- * List commits (with tickets) for a changeset
32
- */
33
- export declare function useListChangesetCommitsQuery(props: ListChangesetCommitsProps, options?: Omit<UseQueryOptions<ListChangesetCommitsOkResponse, ListChangesetCommitsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChangesetCommitsOkResponse, import("..").Error>;
@@ -1,14 +0,0 @@
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 listChangesetCommits(props) {
7
- return fetcher(Object.assign({ url: `/v1/changesets/${props.changesetId}/commits`, method: 'GET' }, props));
8
- }
9
- /**
10
- * List commits (with tickets) for a changeset
11
- */
12
- export function useListChangesetCommitsQuery(props, options) {
13
- return useQuery(['listChangesetCommits', props.changesetId, props.queryParams], ({ signal }) => listChangesetCommits(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,37 +0,0 @@
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 ListChangesetsQueryQueryParams {
7
- orgIdentifier?: string;
8
- projectIdentifier?: string;
9
- releaseId?: string;
10
- /**
11
- * @default 0
12
- */
13
- page?: number;
14
- /**
15
- * @default 20
16
- */
17
- size?: number;
18
- artifactPath?: string;
19
- artifactRegistry?: string;
20
- sha?: string;
21
- ticketKey?: string;
22
- service?: string;
23
- tag?: string;
24
- }
25
- export interface ListChangesetsQueryHeaderParams {
26
- 'Harness-Account': string;
27
- }
28
- export type ListChangesetsOkResponse = ResponseWithPagination<ChangesetList>;
29
- export type ListChangesetsErrorResponse = ErrorResponseResponse;
30
- export interface ListChangesetsProps extends Omit<FetcherOptions<ListChangesetsQueryQueryParams, unknown, ListChangesetsQueryHeaderParams>, 'url'> {
31
- queryParams: ListChangesetsQueryQueryParams;
32
- }
33
- export declare function listChangesets(props: ListChangesetsProps): Promise<ListChangesetsOkResponse>;
34
- /**
35
- * List changesets
36
- */
37
- export declare function useListChangesetsQuery(props: ListChangesetsProps, options?: Omit<UseQueryOptions<ListChangesetsOkResponse, ListChangesetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListChangesetsOkResponse, import("..").Error>;
@@ -1,14 +0,0 @@
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 listChangesets(props) {
7
- return fetcher(Object.assign({ url: `/v1/changesets`, method: 'GET' }, props));
8
- }
9
- /**
10
- * List changesets
11
- */
12
- export function useListChangesetsQuery(props, options) {
13
- return useQuery(['listChangesets', props.queryParams], ({ signal }) => listChangesets(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,25 +0,0 @@
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 RetryChangesetMutationPathParams {
7
- changesetId: string;
8
- }
9
- export interface RetryChangesetMutationQueryParams {
10
- orgIdentifier?: string;
11
- projectIdentifier?: string;
12
- }
13
- export interface RetryChangesetMutationHeaderParams {
14
- 'Harness-Account': string;
15
- }
16
- export type RetryChangesetOkResponse = ResponseWithPagination<Changeset>;
17
- export type RetryChangesetErrorResponse = ErrorResponseResponse;
18
- export interface RetryChangesetProps extends RetryChangesetMutationPathParams, Omit<FetcherOptions<RetryChangesetMutationQueryParams, unknown, RetryChangesetMutationHeaderParams>, 'url'> {
19
- queryParams: RetryChangesetMutationQueryParams;
20
- }
21
- export declare function retryChangeset(props: RetryChangesetProps): Promise<RetryChangesetOkResponse>;
22
- /**
23
- * Retry a changeset's pipeline
24
- */
25
- export declare function useRetryChangesetMutation(options?: Omit<UseMutationOptions<RetryChangesetOkResponse, RetryChangesetErrorResponse, RetryChangesetProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RetryChangesetOkResponse, import("..").Error, RetryChangesetProps, unknown>;
@@ -1,14 +0,0 @@
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 retryChangeset(props) {
7
- return fetcher(Object.assign({ url: `/v1/changesets/${props.changesetId}/retry`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Retry a changeset's pipeline
11
- */
12
- export function useRetryChangesetMutation(options) {
13
- return useMutation((mutateProps) => retryChangeset(mutateProps), options);
14
- }
@@ -1,28 +0,0 @@
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 UpdateChangesetTagsMutationPathParams {
8
- changesetId: string;
9
- }
10
- export interface UpdateChangesetTagsMutationQueryParams {
11
- orgIdentifier?: string;
12
- projectIdentifier?: string;
13
- }
14
- export interface UpdateChangesetTagsMutationHeaderParams {
15
- 'Harness-Account': string;
16
- }
17
- export type UpdateChangesetTagsRequestBody = UpdateChangesetTagsRequest;
18
- export type UpdateChangesetTagsOkResponse = ResponseWithPagination<Changeset>;
19
- export type UpdateChangesetTagsErrorResponse = ErrorResponseResponse;
20
- export interface UpdateChangesetTagsProps extends UpdateChangesetTagsMutationPathParams, Omit<FetcherOptions<UpdateChangesetTagsMutationQueryParams, UpdateChangesetTagsRequestBody, UpdateChangesetTagsMutationHeaderParams>, 'url'> {
21
- queryParams: UpdateChangesetTagsMutationQueryParams;
22
- body: UpdateChangesetTagsRequestBody;
23
- }
24
- export declare function updateChangesetTags(props: UpdateChangesetTagsProps): Promise<UpdateChangesetTagsOkResponse>;
25
- /**
26
- * Edit a changeset's from/to tags
27
- */
28
- export declare function useUpdateChangesetTagsMutation(options?: Omit<UseMutationOptions<UpdateChangesetTagsOkResponse, UpdateChangesetTagsErrorResponse, UpdateChangesetTagsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChangesetTagsOkResponse, import("..").Error, UpdateChangesetTagsProps, unknown>;
@@ -1,14 +0,0 @@
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 updateChangesetTags(props) {
7
- return fetcher(Object.assign({ url: `/v1/changesets/${props.changesetId}`, method: 'PATCH' }, props));
8
- }
9
- /**
10
- * Edit a changeset's from/to tags
11
- */
12
- export function useUpdateChangesetTagsMutation(options) {
13
- return useMutation((mutateProps) => updateChangesetTags(mutateProps), options);
14
- }
@@ -1,19 +0,0 @@
1
- export interface ArtifactBuild {
2
- /**
3
- * timestamp (ms) when this artifact was ingested into the system
4
- * @format int64
5
- */
6
- artifactIngestedAt?: number;
7
- branch?: string;
8
- /**
9
- * org/project/pipeline identifier of the pipeline that built this artifact
10
- */
11
- buildPipelineRef?: string;
12
- /**
13
- * plan execution (run) of the build pipeline that produced this artifact
14
- */
15
- buildPlanExecutionId?: string;
16
- commitSha?: string;
17
- repoName?: string;
18
- tag?: string;
19
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,6 +0,0 @@
1
- export interface ArtifactFacets {
2
- artifactPaths?: string[];
3
- registries?: string[];
4
- services?: string[];
5
- tags?: string[];
6
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,8 +0,0 @@
1
- import type { ArtifactServiceItem } from '../schemas/ArtifactServiceItem';
2
- export interface ArtifactServiceGroupList {
3
- content?: ArtifactServiceItem[];
4
- pageNumber?: number;
5
- pageSize?: number;
6
- totalElements?: number;
7
- totalPages?: number;
8
- }
@@ -1,13 +0,0 @@
1
- import type { ChangesetRef } from '../schemas/ChangesetRef';
2
- import type { ArtifactBuild } from '../schemas/ArtifactBuild';
3
- import type { ReleaseRef } from '../schemas/ReleaseRef';
4
- export interface ArtifactServiceItem {
5
- artifactPath: string;
6
- changesets?: ChangesetRef[];
7
- id: string;
8
- latestBuild?: ArtifactBuild;
9
- registry: string;
10
- releases?: ReleaseRef[];
11
- serviceMappingId?: string;
12
- serviceRef?: string;
13
- }
@@ -1,30 +0,0 @@
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
- /**
25
- * Identifier of the service mapping this artifact belongs to (populated by the by-service endpoint)
26
- */
27
- serviceMappingId?: string;
28
- serviceRef?: string;
29
- tag: string;
30
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
1
- export interface ChangesetRef {
2
- fromArtifactTag?: string;
3
- /**
4
- * Changeset slug_id
5
- */
6
- id: string;
7
- toArtifactTag?: string;
8
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -1,11 +0,0 @@
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
- status?: string;
11
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};