@harnessio/react-rmg-service-client 0.67.0 → 0.67.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetIntegrationExecutionQuery.d.ts +25 -0
  2. package/dist/rmg-service/src/services/hooks/useGetIntegrationExecutionQuery.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/useListIntegrationExecutionsQuery.d.ts +31 -0
  6. package/dist/rmg-service/src/services/hooks/useListIntegrationExecutionsQuery.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/useRetryReleaseChangesetMutation.d.ts +26 -0
  12. package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.js +14 -0
  13. package/dist/rmg-service/src/services/hooks/useTriggerIntegrationExecutionMutation.d.ts +25 -0
  14. package/dist/rmg-service/src/services/hooks/useTriggerIntegrationExecutionMutation.js +14 -0
  15. package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.d.ts +29 -0
  16. package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.js +14 -0
  17. package/dist/rmg-service/src/services/index.d.ts +29 -0
  18. package/dist/rmg-service/src/services/index.js +8 -0
  19. package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMapping.d.ts +4 -0
  20. package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettings.d.ts +4 -0
  21. package/dist/rmg-service/src/services/schemas/Changeset.d.ts +21 -0
  22. package/dist/rmg-service/src/services/schemas/Changeset.js +4 -0
  23. package/dist/rmg-service/src/services/schemas/ChangesetCommit.d.ts +22 -0
  24. package/dist/rmg-service/src/services/schemas/ChangesetCommit.js +1 -0
  25. package/dist/rmg-service/src/services/schemas/ChangesetCommitList.d.ts +8 -0
  26. package/dist/rmg-service/src/services/schemas/ChangesetCommitList.js +1 -0
  27. package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.d.ts +7 -0
  28. package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.js +4 -0
  29. package/dist/rmg-service/src/services/schemas/ChangesetFacets.d.ts +6 -0
  30. package/dist/rmg-service/src/services/schemas/ChangesetFacets.js +4 -0
  31. package/dist/rmg-service/src/services/schemas/ChangesetList.d.ts +8 -0
  32. package/dist/rmg-service/src/services/schemas/ChangesetList.js +1 -0
  33. package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.d.ts +4 -0
  34. package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerSettingsRequest.d.ts +4 -0
  35. package/dist/rmg-service/src/services/schemas/IntegrationExecution.d.ts +20 -0
  36. package/dist/rmg-service/src/services/schemas/IntegrationExecution.js +4 -0
  37. package/dist/rmg-service/src/services/schemas/IntegrationExecutionList.d.ts +11 -0
  38. package/dist/rmg-service/src/services/schemas/IntegrationExecutionList.js +1 -0
  39. package/dist/rmg-service/src/services/schemas/TriggerIntegrationExecutionRequest.d.ts +8 -0
  40. package/dist/rmg-service/src/services/schemas/TriggerIntegrationExecutionRequest.js +4 -0
  41. package/dist/rmg-service/src/services/schemas/TriggerIntegrationExecutionResponse.d.ts +3 -0
  42. package/dist/rmg-service/src/services/schemas/TriggerIntegrationExecutionResponse.js +4 -0
  43. package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.d.ts +4 -0
  44. package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.d.ts +4 -0
  45. package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.js +4 -0
  46. package/dist/rmg-service/src/services/schemas/UpsertArtifactTrackerSettingsRequest.d.ts +4 -0
  47. package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.d.ts +16 -0
  48. package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.js +1 -0
  49. package/dist/rmg-service/src/services/schemas/WebhookSignalImage.d.ts +9 -0
  50. package/dist/rmg-service/src/services/schemas/WebhookSignalImage.js +4 -0
  51. package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.d.ts +2 -0
  52. package/package.json +1 -1
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { IntegrationExecution } from '../schemas/IntegrationExecution';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetIntegrationExecutionQueryPathParams {
7
+ executionId: string;
8
+ }
9
+ export interface GetIntegrationExecutionQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface GetIntegrationExecutionQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetIntegrationExecutionOkResponse = ResponseWithPagination<IntegrationExecution>;
17
+ export type GetIntegrationExecutionErrorResponse = ErrorResponseResponse;
18
+ export interface GetIntegrationExecutionProps extends GetIntegrationExecutionQueryPathParams, Omit<FetcherOptions<GetIntegrationExecutionQueryQueryParams, unknown, GetIntegrationExecutionQueryHeaderParams>, 'url'> {
19
+ queryParams: GetIntegrationExecutionQueryQueryParams;
20
+ }
21
+ export declare function getIntegrationExecution(props: GetIntegrationExecutionProps): Promise<GetIntegrationExecutionOkResponse>;
22
+ /**
23
+ * Get a single integration execution
24
+ */
25
+ export declare function useGetIntegrationExecutionQuery(props: GetIntegrationExecutionProps, options?: Omit<UseQueryOptions<GetIntegrationExecutionOkResponse, GetIntegrationExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetIntegrationExecutionOkResponse, 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 getIntegrationExecution(props) {
7
+ return fetcher(Object.assign({ url: `/v1/integration/executions/${props.executionId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get a single integration execution
11
+ */
12
+ export function useGetIntegrationExecutionQuery(props, options) {
13
+ return useQuery(['getIntegrationExecution', props.executionId, props.queryParams], ({ signal }) => getIntegrationExecution(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,31 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { IntegrationExecutionList } from '../schemas/IntegrationExecutionList';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ListIntegrationExecutionsQueryQueryParams {
7
+ orgIdentifier?: string;
8
+ projectIdentifier?: string;
9
+ reference_id: string;
10
+ /**
11
+ * @default 0
12
+ */
13
+ page?: number;
14
+ /**
15
+ * @default 20
16
+ */
17
+ size?: number;
18
+ }
19
+ export interface ListIntegrationExecutionsQueryHeaderParams {
20
+ 'Harness-Account': string;
21
+ }
22
+ export type ListIntegrationExecutionsOkResponse = ResponseWithPagination<IntegrationExecutionList>;
23
+ export type ListIntegrationExecutionsErrorResponse = ErrorResponseResponse;
24
+ export interface ListIntegrationExecutionsProps extends Omit<FetcherOptions<ListIntegrationExecutionsQueryQueryParams, unknown, ListIntegrationExecutionsQueryHeaderParams>, 'url'> {
25
+ queryParams: ListIntegrationExecutionsQueryQueryParams;
26
+ }
27
+ export declare function listIntegrationExecutions(props: ListIntegrationExecutionsProps): Promise<ListIntegrationExecutionsOkResponse>;
28
+ /**
29
+ * List integration plugin executions for a reference
30
+ */
31
+ export declare function useListIntegrationExecutionsQuery(props: ListIntegrationExecutionsProps, options?: Omit<UseQueryOptions<ListIntegrationExecutionsOkResponse, ListIntegrationExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListIntegrationExecutionsOkResponse, 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 listIntegrationExecutions(props) {
7
+ return fetcher(Object.assign({ url: `/v1/integration/executions`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * List integration plugin executions for a reference
11
+ */
12
+ export function useListIntegrationExecutionsQuery(props, options) {
13
+ return useQuery(['listIntegrationExecutions', props.queryParams], ({ signal }) => listIntegrationExecutions(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,25 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TriggerIntegrationExecutionResponse } from '../schemas/TriggerIntegrationExecutionResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { TriggerIntegrationExecutionRequest } from '../schemas/TriggerIntegrationExecutionRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface TriggerIntegrationExecutionMutationQueryParams {
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ }
11
+ export interface TriggerIntegrationExecutionMutationHeaderParams {
12
+ 'Harness-Account': string;
13
+ }
14
+ export type TriggerIntegrationExecutionRequestBody = TriggerIntegrationExecutionRequest;
15
+ export type TriggerIntegrationExecutionOkResponse = ResponseWithPagination<TriggerIntegrationExecutionResponse>;
16
+ export type TriggerIntegrationExecutionErrorResponse = ErrorResponseResponse;
17
+ export interface TriggerIntegrationExecutionProps extends Omit<FetcherOptions<TriggerIntegrationExecutionMutationQueryParams, TriggerIntegrationExecutionRequestBody, TriggerIntegrationExecutionMutationHeaderParams>, 'url'> {
18
+ queryParams: TriggerIntegrationExecutionMutationQueryParams;
19
+ body: TriggerIntegrationExecutionRequestBody;
20
+ }
21
+ export declare function triggerIntegrationExecution(props: TriggerIntegrationExecutionProps): Promise<TriggerIntegrationExecutionOkResponse>;
22
+ /**
23
+ * Trigger an integration plugin execution
24
+ */
25
+ export declare function useTriggerIntegrationExecutionMutation(options?: Omit<UseMutationOptions<TriggerIntegrationExecutionOkResponse, TriggerIntegrationExecutionErrorResponse, TriggerIntegrationExecutionProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerIntegrationExecutionOkResponse, import("..").Error, TriggerIntegrationExecutionProps, 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 triggerIntegrationExecution(props) {
7
+ return fetcher(Object.assign({ url: `/v1/integration/executions`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Trigger an integration plugin execution
11
+ */
12
+ export function useTriggerIntegrationExecutionMutation(options) {
13
+ return useMutation((mutateProps) => triggerIntegrationExecution(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
+ }
@@ -33,6 +33,8 @@ export type { GetFreezeDetailsErrorResponse, GetFreezeDetailsOkResponse, GetFree
33
33
  export { getFreezeDetails, useGetFreezeDetailsQuery } from './hooks/useGetFreezeDetailsQuery';
34
34
  export type { GetFreezeListErrorResponse, GetFreezeListOkResponse, GetFreezeListProps, GetFreezeListQueryQueryParams, } from './hooks/useGetFreezeListQuery';
35
35
  export { getFreezeList, useGetFreezeListQuery } from './hooks/useGetFreezeListQuery';
36
+ export type { GetIntegrationExecutionErrorResponse, GetIntegrationExecutionOkResponse, GetIntegrationExecutionProps, GetIntegrationExecutionQueryPathParams, GetIntegrationExecutionQueryQueryParams, } from './hooks/useGetIntegrationExecutionQuery';
37
+ export { getIntegrationExecution, useGetIntegrationExecutionQuery, } from './hooks/useGetIntegrationExecutionQuery';
36
38
  export type { GetOrchestrationActivitiesByAcitivityRefsErrorResponse, GetOrchestrationActivitiesByAcitivityRefsMutationQueryParams, GetOrchestrationActivitiesByAcitivityRefsOkResponse, GetOrchestrationActivitiesByAcitivityRefsProps, GetOrchestrationActivitiesByAcitivityRefsRequestBody, } from './hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation';
37
39
  export { getOrchestrationActivitiesByAcitivityRefs, useGetOrchestrationActivitiesByAcitivityRefsMutation, } from './hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation';
38
40
  export type { GetOrchestrationActivitiesByProcessIdentifierErrorResponse, GetOrchestrationActivitiesByProcessIdentifierOkResponse, GetOrchestrationActivitiesByProcessIdentifierProps, GetOrchestrationActivitiesByProcessIdentifierQueryPathParams, GetOrchestrationActivitiesByProcessIdentifierQueryQueryParams, } from './hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery';
@@ -83,6 +85,8 @@ export type { GetProcessExecutionErrorResponse, GetProcessExecutionOkResponse, G
83
85
  export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
84
86
  export type { GetReleaseActivitiesErrorResponse, GetReleaseActivitiesOkResponse, GetReleaseActivitiesProps, GetReleaseActivitiesQueryPathParams, GetReleaseActivitiesQueryQueryParams, } from './hooks/useGetReleaseActivitiesQuery';
85
87
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
88
+ export type { GetReleaseChangesetFacetsErrorResponse, GetReleaseChangesetFacetsOkResponse, GetReleaseChangesetFacetsProps, GetReleaseChangesetFacetsQueryPathParams, GetReleaseChangesetFacetsQueryQueryParams, } from './hooks/useGetReleaseChangesetFacetsQuery';
89
+ export { getReleaseChangesetFacets, useGetReleaseChangesetFacetsQuery, } from './hooks/useGetReleaseChangesetFacetsQuery';
86
90
  export type { GetReleaseConflictsErrorResponse, GetReleaseConflictsOkResponse, GetReleaseConflictsProps, GetReleaseConflictsQueryPathParams, GetReleaseConflictsQueryQueryParams, } from './hooks/useGetReleaseConflictsQuery';
87
91
  export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
88
92
  export type { GetReleaseDayActivitiesErrorResponse, GetReleaseDayActivitiesOkResponse, GetReleaseDayActivitiesProps, GetReleaseDayActivitiesQueryPathParams, GetReleaseDayActivitiesQueryQueryParams, } from './hooks/useGetReleaseDayActivitiesQuery';
@@ -121,6 +125,12 @@ export type { ListArtifactTrackerServiceMappingsErrorResponse, ListArtifactTrack
121
125
  export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
122
126
  export type { ListArtifactTrackerSettingsErrorResponse, ListArtifactTrackerSettingsOkResponse, ListArtifactTrackerSettingsProps, ListArtifactTrackerSettingsQueryQueryParams, } from './hooks/useListArtifactTrackerSettingsQuery';
123
127
  export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
128
+ export type { ListIntegrationExecutionsErrorResponse, ListIntegrationExecutionsOkResponse, ListIntegrationExecutionsProps, ListIntegrationExecutionsQueryQueryParams, } from './hooks/useListIntegrationExecutionsQuery';
129
+ export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
130
+ export type { ListReleaseChangesetCommitsErrorResponse, ListReleaseChangesetCommitsOkResponse, ListReleaseChangesetCommitsProps, ListReleaseChangesetCommitsQueryPathParams, ListReleaseChangesetCommitsQueryQueryParams, } from './hooks/useListReleaseChangesetCommitsQuery';
131
+ export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
132
+ export type { ListReleaseChangesetsErrorResponse, ListReleaseChangesetsOkResponse, ListReleaseChangesetsProps, ListReleaseChangesetsQueryPathParams, ListReleaseChangesetsQueryQueryParams, } from './hooks/useListReleaseChangesetsQuery';
133
+ export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
124
134
  export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
125
135
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
126
136
  export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
@@ -169,18 +179,24 @@ export type { PutReleaseGroupErrorResponse, PutReleaseGroupMutationPathParams, P
169
179
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
170
180
  export type { PutReleaseReleaseIdErrorResponse, PutReleaseReleaseIdMutationPathParams, PutReleaseReleaseIdOkResponse, PutReleaseReleaseIdProps, PutReleaseReleaseIdRequestBody, } from './hooks/usePutReleaseReleaseIdMutation';
171
181
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
182
+ export type { RetryReleaseChangesetErrorResponse, RetryReleaseChangesetMutationPathParams, RetryReleaseChangesetMutationQueryParams, RetryReleaseChangesetOkResponse, RetryReleaseChangesetProps, } from './hooks/useRetryReleaseChangesetMutation';
183
+ export { retryReleaseChangeset, useRetryReleaseChangesetMutation, } from './hooks/useRetryReleaseChangesetMutation';
172
184
  export type { ServeUploadErrorResponse, ServeUploadOkResponse, ServeUploadProps, ServeUploadQueryPathParams, } from './hooks/useServeUploadQuery';
173
185
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
174
186
  export type { StartReleaseExecutionErrorResponse, StartReleaseExecutionMutationPathParams, StartReleaseExecutionMutationQueryParams, StartReleaseExecutionOkResponse, StartReleaseExecutionProps, StartReleaseExecutionRequestBody, } from './hooks/useStartReleaseExecutionMutation';
175
187
  export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
176
188
  export type { StreamUploadErrorResponse, StreamUploadMutationQueryParams, StreamUploadOkResponse, StreamUploadProps, StreamUploadRequestBody, } from './hooks/useStreamUploadMutation';
177
189
  export { streamUpload, useStreamUploadMutation } from './hooks/useStreamUploadMutation';
190
+ export type { TriggerIntegrationExecutionErrorResponse, TriggerIntegrationExecutionMutationQueryParams, TriggerIntegrationExecutionOkResponse, TriggerIntegrationExecutionProps, TriggerIntegrationExecutionRequestBody, } from './hooks/useTriggerIntegrationExecutionMutation';
191
+ export { triggerIntegrationExecution, useTriggerIntegrationExecutionMutation, } from './hooks/useTriggerIntegrationExecutionMutation';
178
192
  export type { UpdateArtifactTrackerServiceMappingErrorResponse, UpdateArtifactTrackerServiceMappingMutationPathParams, UpdateArtifactTrackerServiceMappingMutationQueryParams, UpdateArtifactTrackerServiceMappingOkResponse, UpdateArtifactTrackerServiceMappingProps, UpdateArtifactTrackerServiceMappingRequestBody, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
179
193
  export { updateArtifactTrackerServiceMapping, useUpdateArtifactTrackerServiceMappingMutation, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
180
194
  export type { UpdateExecutionTaskMetadataErrorResponse, UpdateExecutionTaskMetadataMutationPathParams, UpdateExecutionTaskMetadataMutationQueryParams, UpdateExecutionTaskMetadataOkResponse, UpdateExecutionTaskMetadataProps, UpdateExecutionTaskMetadataRequestBody, } from './hooks/useUpdateExecutionTaskMetadataMutation';
181
195
  export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
182
196
  export type { UpdateExecutionTaskStatusErrorResponse, UpdateExecutionTaskStatusMutationPathParams, UpdateExecutionTaskStatusMutationQueryParams, UpdateExecutionTaskStatusOkResponse, UpdateExecutionTaskStatusProps, UpdateExecutionTaskStatusRequestBody, } from './hooks/useUpdateExecutionTaskStatusMutation';
183
197
  export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
198
+ export type { UpdateReleaseChangesetTagsErrorResponse, UpdateReleaseChangesetTagsMutationPathParams, UpdateReleaseChangesetTagsMutationQueryParams, UpdateReleaseChangesetTagsOkResponse, UpdateReleaseChangesetTagsProps, UpdateReleaseChangesetTagsRequestBody, } from './hooks/useUpdateReleaseChangesetTagsMutation';
199
+ export { updateReleaseChangesetTags, useUpdateReleaseChangesetTagsMutation, } from './hooks/useUpdateReleaseChangesetTagsMutation';
184
200
  export type { UpdateReleaseConflictErrorResponse, UpdateReleaseConflictMutationPathParams, UpdateReleaseConflictOkResponse, UpdateReleaseConflictProps, UpdateReleaseConflictRequestBody, } from './hooks/useUpdateReleaseConflictMutation';
185
201
  export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
186
202
  export type { UpdateTaskCommentErrorResponse, UpdateTaskCommentMutationPathParams, UpdateTaskCommentMutationQueryParams, UpdateTaskCommentOkResponse, UpdateTaskCommentProps, UpdateTaskCommentRequestBody, } from './hooks/useUpdateTaskCommentMutation';
@@ -287,6 +303,12 @@ export type { ArtifactoryRegistryMetadata } from './schemas/ArtifactoryRegistryM
287
303
  export type { AttachedReleaseGroupDto } from './schemas/AttachedReleaseGroupDto';
288
304
  export type { AutoExecuteOnScheduleProperty } from './schemas/AutoExecuteOnScheduleProperty';
289
305
  export type { BuildInfo } from './schemas/BuildInfo';
306
+ export type { Changeset } from './schemas/Changeset';
307
+ export type { ChangesetCommit } from './schemas/ChangesetCommit';
308
+ export type { ChangesetCommitList } from './schemas/ChangesetCommitList';
309
+ export type { ChangesetCommitTicket } from './schemas/ChangesetCommitTicket';
310
+ export type { ChangesetFacets } from './schemas/ChangesetFacets';
311
+ export type { ChangesetList } from './schemas/ChangesetList';
290
312
  export type { ClusterDeploymentDto } from './schemas/ClusterDeploymentDto';
291
313
  export type { CommentedByDto } from './schemas/CommentedByDto';
292
314
  export type { ConflictStatus } from './schemas/ConflictStatus';
@@ -341,6 +363,8 @@ export type { InfrastructureInputVariable } from './schemas/InfrastructureInputV
341
363
  export type { InfrastructureMetadata } from './schemas/InfrastructureMetadata';
342
364
  export type { InputVariable } from './schemas/InputVariable';
343
365
  export type { InputVariableType } from './schemas/InputVariableType';
366
+ export type { IntegrationExecution } from './schemas/IntegrationExecution';
367
+ export type { IntegrationExecutionList } from './schemas/IntegrationExecutionList';
344
368
  export type { LastUpdatedByDto } from './schemas/LastUpdatedByDto';
345
369
  export type { ManualActivityInfo } from './schemas/ManualActivityInfo';
346
370
  export type { ManualTaskYaml } from './schemas/ManualTaskYaml';
@@ -430,10 +454,13 @@ export type { TaskCommentsListResponseDto } from './schemas/TaskCommentsListResp
430
454
  export type { TaskExecuteConfig } from './schemas/TaskExecuteConfig';
431
455
  export type { TemplateReferenceSummary } from './schemas/TemplateReferenceSummary';
432
456
  export type { TimeRangeDto } from './schemas/TimeRangeDto';
457
+ export type { TriggerIntegrationExecutionRequest } from './schemas/TriggerIntegrationExecutionRequest';
458
+ export type { TriggerIntegrationExecutionResponse } from './schemas/TriggerIntegrationExecutionResponse';
433
459
  export type { TriggerType } from './schemas/TriggerType';
434
460
  export type { TriggeredBy } from './schemas/TriggeredBy';
435
461
  export type { TriggeredByDto } from './schemas/TriggeredByDto';
436
462
  export type { UpdateArtifactTrackerServiceMappingRequest } from './schemas/UpdateArtifactTrackerServiceMappingRequest';
463
+ export type { UpdateChangesetTagsRequest } from './schemas/UpdateChangesetTagsRequest';
437
464
  export type { UploadResponse } from './schemas/UploadResponse';
438
465
  export type { UpsertArtifactTrackerSettingsRequest } from './schemas/UpsertArtifactTrackerSettingsRequest';
439
466
  export type { User } from './schemas/User';
@@ -442,6 +469,8 @@ export type { WebhookEventType } from './schemas/WebhookEventType';
442
469
  export type { WebhookMetadataResponse } from './schemas/WebhookMetadataResponse';
443
470
  export type { WebhookQueueActionRequest } from './schemas/WebhookQueueActionRequest';
444
471
  export type { WebhookQueueActionResponse } from './schemas/WebhookQueueActionResponse';
472
+ export type { WebhookSignalArtifacts } from './schemas/WebhookSignalArtifacts';
473
+ export type { WebhookSignalImage } from './schemas/WebhookSignalImage';
445
474
  export type { WebhookSignalPipeline } from './schemas/WebhookSignalPipeline';
446
475
  export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
447
476
  export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
@@ -15,6 +15,7 @@ export { getArtifactTrackerSettings, useGetArtifactTrackerSettingsQuery, } from
15
15
  export { getEventsByEntityTypeAndId, useGetEventsByEntityTypeAndIdQuery, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
16
16
  export { getFreezeDetails, useGetFreezeDetailsQuery } from './hooks/useGetFreezeDetailsQuery';
17
17
  export { getFreezeList, useGetFreezeListQuery } from './hooks/useGetFreezeListQuery';
18
+ export { getIntegrationExecution, useGetIntegrationExecutionQuery, } from './hooks/useGetIntegrationExecutionQuery';
18
19
  export { getOrchestrationActivitiesByAcitivityRefs, useGetOrchestrationActivitiesByAcitivityRefsMutation, } from './hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation';
19
20
  export { getOrchestrationActivitiesByProcessIdentifier, useGetOrchestrationActivitiesByProcessIdentifierQuery, } from './hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery';
20
21
  export { getOrchestrationActivityInputs, useGetOrchestrationActivityInputsQuery, } from './hooks/useGetOrchestrationActivityInputsQuery';
@@ -40,6 +41,7 @@ export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitie
40
41
  export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
41
42
  export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
42
43
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
44
+ export { getReleaseChangesetFacets, useGetReleaseChangesetFacetsQuery, } from './hooks/useGetReleaseChangesetFacetsQuery';
43
45
  export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
44
46
  export { getReleaseDayActivities, useGetReleaseDayActivitiesQuery, } from './hooks/useGetReleaseDayActivitiesQuery';
45
47
  export { getReleaseGroup, useGetReleaseGroupQuery } from './hooks/useGetReleaseGroupQuery';
@@ -59,6 +61,9 @@ export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQu
59
61
  export { ingestWebhookSignal, useIngestWebhookSignalMutation, } from './hooks/useIngestWebhookSignalMutation';
60
62
  export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
61
63
  export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
64
+ export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
65
+ export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
66
+ export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
62
67
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
63
68
  export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
64
69
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
@@ -83,12 +88,15 @@ export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation,
83
88
  export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
84
89
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
85
90
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
91
+ export { retryReleaseChangeset, useRetryReleaseChangesetMutation, } from './hooks/useRetryReleaseChangesetMutation';
86
92
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
87
93
  export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
88
94
  export { streamUpload, useStreamUploadMutation } from './hooks/useStreamUploadMutation';
95
+ export { triggerIntegrationExecution, useTriggerIntegrationExecutionMutation, } from './hooks/useTriggerIntegrationExecutionMutation';
89
96
  export { updateArtifactTrackerServiceMapping, useUpdateArtifactTrackerServiceMappingMutation, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
90
97
  export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
91
98
  export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
99
+ export { updateReleaseChangesetTags, useUpdateReleaseChangesetTagsMutation, } from './hooks/useUpdateReleaseChangesetTagsMutation';
92
100
  export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
93
101
  export { updateTaskComment, useUpdateTaskCommentMutation, } from './hooks/useUpdateTaskCommentMutation';
94
102
  export { upsertArtifactTrackerSettings, useUpsertArtifactTrackerSettingsMutation, } from './hooks/useUpsertArtifactTrackerSettingsMutation';
@@ -5,6 +5,10 @@ export interface ArtifactTrackerServiceMapping {
5
5
  * @format int64
6
6
  */
7
7
  createdAt?: number;
8
+ /**
9
+ * Docker/container registry connector reference.
10
+ */
11
+ dockerConnectorRefOverride?: string;
8
12
  gitConnectorRefOverride?: string;
9
13
  identifier: string;
10
14
  k8sConnectorRefOverride?: string;
@@ -3,6 +3,10 @@ export interface ArtifactTrackerSettings {
3
3
  * @format int64
4
4
  */
5
5
  createdAt?: number;
6
+ /**
7
+ * Docker/container registry connector reference.
8
+ */
9
+ defaultDockerConnectorRef?: string;
6
10
  defaultGitConnectorRef?: string;
7
11
  defaultK8sConnectorRef?: string;
8
12
  defaultK8sNamespace?: string;
@@ -0,0 +1,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,7 @@
1
+ export interface ChangesetCommitTicket {
2
+ key: string;
3
+ source?: string;
4
+ summary?: string;
5
+ type?: string;
6
+ url?: string;
7
+ }
@@ -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
+ }
@@ -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;
@@ -0,0 +1,20 @@
1
+ export interface IntegrationExecution {
2
+ accountId: string;
3
+ /**
4
+ * @format int64
5
+ */
6
+ createdAt: number;
7
+ errorMessage?: string;
8
+ id: string;
9
+ idempotencyKey: string;
10
+ /**
11
+ * @format int64
12
+ */
13
+ lastUpdatedAt: number;
14
+ orgId?: string;
15
+ pipelineExecutionId?: string;
16
+ pluginType: string;
17
+ projectId?: string;
18
+ referenceId: string;
19
+ status: string;
20
+ }
@@ -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,11 @@
1
+ import type { IntegrationExecution } from '../schemas/IntegrationExecution';
2
+ export interface IntegrationExecutionList {
3
+ content: IntegrationExecution[];
4
+ pageNumber: number;
5
+ pageSize: number;
6
+ /**
7
+ * @format int64
8
+ */
9
+ totalElements: number;
10
+ totalPages: number;
11
+ }
@@ -0,0 +1,8 @@
1
+ export interface TriggerIntegrationExecutionRequest {
2
+ idempotencyKey: string;
3
+ payload: {
4
+ [key: string]: any;
5
+ };
6
+ pluginType: string;
7
+ referenceId: 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 {};
@@ -0,0 +1,3 @@
1
+ export interface TriggerIntegrationExecutionResponse {
2
+ status: 'accepted';
3
+ }
@@ -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 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.67.0",
3
+ "version": "0.67.1-beta.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",