@harnessio/react-rmg-service-client 0.85.1-beta.0 → 0.85.1-beta.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.
@@ -159,8 +159,6 @@ export type { ListIntegrationExecutionsErrorResponse, ListIntegrationExecutionsO
159
159
  export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
160
160
  export type { MoveOrchestrationActivityToGitErrorResponse, MoveOrchestrationActivityToGitMutationPathParams, MoveOrchestrationActivityToGitMutationQueryParams, MoveOrchestrationActivityToGitOkResponse, MoveOrchestrationActivityToGitProps, MoveOrchestrationActivityToGitRequestBody, } from './hooks/useMoveOrchestrationActivityToGitMutation';
161
161
  export { moveOrchestrationActivityToGit, useMoveOrchestrationActivityToGitMutation, } from './hooks/useMoveOrchestrationActivityToGitMutation';
162
- export type { MoveOrchestrationProcessToGitErrorResponse, MoveOrchestrationProcessToGitMutationPathParams, MoveOrchestrationProcessToGitMutationQueryParams, MoveOrchestrationProcessToGitOkResponse, MoveOrchestrationProcessToGitProps, MoveOrchestrationProcessToGitRequestBody, } from './hooks/useMoveOrchestrationProcessToGitMutation';
163
- export { moveOrchestrationProcessToGit, useMoveOrchestrationProcessToGitMutation, } from './hooks/useMoveOrchestrationProcessToGitMutation';
164
162
  export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParams, PatchReleaseGroupMutationQueryParams, PatchReleaseGroupOkResponse, PatchReleaseGroupProps, PatchReleaseGroupRequestBody, } from './hooks/usePatchReleaseGroupMutation';
165
163
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
166
164
  export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
@@ -241,7 +239,6 @@ export type { CreateOrchestrationProcessInputRequestRequestBody } from './reques
241
239
  export type { CreateOrchestrationProcessRequestRequestBody } from './requestBodies/CreateOrchestrationProcessRequestRequestBody';
242
240
  export type { CreateReleaseGroupRequestRequestBody } from './requestBodies/CreateReleaseGroupRequestRequestBody';
243
241
  export type { MoveOrchestrationActivityToGitRequestRequestBody } from './requestBodies/MoveOrchestrationActivityToGitRequestRequestBody';
244
- export type { MoveOrchestrationProcessToGitRequestRequestBody } from './requestBodies/MoveOrchestrationProcessToGitRequestRequestBody';
245
242
  export type { OnHoldActivityActionRequestRequestBody } from './requestBodies/OnHoldActivityActionRequestRequestBody';
246
243
  export type { OrchestrationProcessAttachedReleaseGroupsRequestRequestBody } from './requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody';
247
244
  export type { PatchReleaseGroupRequestRequestBody } from './requestBodies/PatchReleaseGroupRequestRequestBody';
@@ -78,7 +78,6 @@ export { listChangesetCommits, useListChangesetCommitsQuery, } from './hooks/use
78
78
  export { listChangesets, useListChangesetsQuery } from './hooks/useListChangesetsQuery';
79
79
  export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
80
80
  export { moveOrchestrationActivityToGit, useMoveOrchestrationActivityToGitMutation, } from './hooks/useMoveOrchestrationActivityToGitMutation';
81
- export { moveOrchestrationProcessToGit, useMoveOrchestrationProcessToGitMutation, } from './hooks/useMoveOrchestrationProcessToGitMutation';
82
81
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
83
82
  export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
84
83
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
@@ -19,6 +19,14 @@ export interface ArtifactTrackerServiceMapping {
19
19
  * @format int64
20
20
  */
21
21
  lastUpdatedAt?: number;
22
+ /**
23
+ * Organization of the referenced CD service. Empty means the service lives in the same scope as this mapping.
24
+ */
25
+ serviceOrgIdentifier?: string;
26
+ /**
27
+ * Project of the referenced CD service. Requires serviceOrgIdentifier. Empty means the service is not project-scoped.
28
+ */
29
+ serviceProjectIdentifier?: string;
22
30
  serviceRef?: string;
23
31
  settingsIdentifier: string;
24
32
  ticketConnectorRefOverride?: string;
@@ -10,6 +10,14 @@ export interface ArtifactTrackerServiceRef {
10
10
  * Service mapping identifier (user-facing name).
11
11
  */
12
12
  identifier?: string;
13
+ /**
14
+ * Organization of the referenced CD service. Empty means the service lives in the same scope as this mapping.
15
+ */
16
+ serviceOrgIdentifier?: string;
17
+ /**
18
+ * Project of the referenced CD service. Requires serviceOrgIdentifier. Empty means the service is not project-scoped.
19
+ */
20
+ serviceProjectIdentifier?: string;
13
21
  /**
14
22
  * The service ref stored on the service mapping.
15
23
  */
@@ -17,6 +17,14 @@ export interface CreateArtifactTrackerServiceMappingRequest {
17
17
  identifier?: string;
18
18
  k8sConnectorRefOverride?: string;
19
19
  k8sNamespaceOverride?: string;
20
+ /**
21
+ * Organization of the referenced CD service. Empty means the service lives in the same scope as this mapping.
22
+ */
23
+ serviceOrgIdentifier?: string;
24
+ /**
25
+ * Project of the referenced CD service. Requires serviceOrgIdentifier. Empty means the service is not project-scoped.
26
+ */
27
+ serviceProjectIdentifier?: string;
20
28
  serviceRef?: string;
21
29
  /**
22
30
  * Identifier of the settings to link. Required.
@@ -13,6 +13,14 @@ export interface UpdateArtifactTrackerServiceMappingRequest {
13
13
  gitProviderTypeOverride?: GitProviderType;
14
14
  k8sConnectorRefOverride?: string;
15
15
  k8sNamespaceOverride?: string;
16
+ /**
17
+ * Organization of the referenced CD service. Empty means the service lives in the same scope as this mapping.
18
+ */
19
+ serviceOrgIdentifier?: string;
20
+ /**
21
+ * Project of the referenced CD service. Requires serviceOrgIdentifier. Empty means the service is not project-scoped.
22
+ */
23
+ serviceProjectIdentifier?: string;
16
24
  serviceRef?: string;
17
25
  /**
18
26
  * Identifier of the settings to link. Required.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.85.1-beta.0",
3
+ "version": "0.85.1-beta.1",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,29 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { GetOrchestrationProcessResponseResponse } from '../responses/GetOrchestrationProcessResponseResponse';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { MoveOrchestrationProcessToGitRequestRequestBody } from '../requestBodies/MoveOrchestrationProcessToGitRequestRequestBody';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
7
- export interface MoveOrchestrationProcessToGitMutationPathParams {
8
- identifier: string;
9
- }
10
- export interface MoveOrchestrationProcessToGitMutationQueryParams {
11
- orgIdentifier?: string;
12
- projectIdentifier?: string;
13
- }
14
- export interface MoveOrchestrationProcessToGitMutationHeaderParams {
15
- 'Harness-Account': string;
16
- }
17
- export type MoveOrchestrationProcessToGitRequestBody = MoveOrchestrationProcessToGitRequestRequestBody;
18
- export type MoveOrchestrationProcessToGitOkResponse = ResponseWithPagination<GetOrchestrationProcessResponseResponse>;
19
- export type MoveOrchestrationProcessToGitErrorResponse = ErrorResponseResponse;
20
- export interface MoveOrchestrationProcessToGitProps extends MoveOrchestrationProcessToGitMutationPathParams, Omit<FetcherOptions<MoveOrchestrationProcessToGitMutationQueryParams, MoveOrchestrationProcessToGitRequestBody, MoveOrchestrationProcessToGitMutationHeaderParams>, 'url'> {
21
- queryParams: MoveOrchestrationProcessToGitMutationQueryParams;
22
- body: MoveOrchestrationProcessToGitRequestBody;
23
- }
24
- export declare function moveOrchestrationProcessToGit(props: MoveOrchestrationProcessToGitProps): Promise<MoveOrchestrationProcessToGitOkResponse>;
25
- /**
26
- * Move an inline orchestration process to a remote git repository. Processes already stored remotely cannot be moved. Existing process inputs are left unchanged (may remain INLINE).
27
- *
28
- */
29
- export declare function useMoveOrchestrationProcessToGitMutation(options?: Omit<UseMutationOptions<MoveOrchestrationProcessToGitOkResponse, MoveOrchestrationProcessToGitErrorResponse, MoveOrchestrationProcessToGitProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<MoveOrchestrationProcessToGitOkResponse, import("..").Error, MoveOrchestrationProcessToGitProps, unknown>;
@@ -1,15 +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 moveOrchestrationProcessToGit(props) {
7
- return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}/move-config`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Move an inline orchestration process to a remote git repository. Processes already stored remotely cannot be moved. Existing process inputs are left unchanged (may remain INLINE).
11
- *
12
- */
13
- export function useMoveOrchestrationProcessToGitMutation(options) {
14
- return useMutation((mutateProps) => moveOrchestrationProcessToGit(mutateProps), options);
15
- }
@@ -1,4 +0,0 @@
1
- import type { GitDetails } from '../schemas/GitDetails';
2
- export interface MoveOrchestrationProcessToGitRequestRequestBody {
3
- git_details: GitDetails;
4
- }