@harnessio/react-rmg-service-client 0.85.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.
@@ -1,4 +1,8 @@
1
1
  export interface CreateReleaseGroupRequestRequestBody {
2
+ /**
3
+ * Git branch used to read the orchestration process definition for releases in this group. Required when the process is stored in Git.
4
+ */
5
+ processGitBranch?: string;
2
6
  /**
3
7
  * Identifier of the orchestration process
4
8
  */
@@ -1,4 +1,8 @@
1
1
  export interface UpdateReleaseGroupRequestRequestBody {
2
+ /**
3
+ * Git branch used to read the orchestration process definition for releases in this group. Omit to keep the current branch.
4
+ */
5
+ processGitBranch?: string;
2
6
  /**
3
7
  * Identifier of the orchestration process
4
8
  */
@@ -1,6 +1,8 @@
1
1
  import type { GitDetails } from '../schemas/GitDetails';
2
+ import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
2
3
  export interface CreateOrchestrationActivityResponseResponse {
3
4
  git_details?: GitDetails;
5
+ governanceMetadata?: GovernanceMetadata;
4
6
  identifier: string;
5
7
  yaml: string;
6
8
  }
@@ -1,6 +1,8 @@
1
1
  import type { GitDetails } from '../schemas/GitDetails';
2
+ import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
2
3
  export interface CreateOrchestrationProcessResponseResponse {
3
4
  git_details?: GitDetails;
5
+ governanceMetadata?: GovernanceMetadata;
4
6
  /**
5
7
  * Identifier of the created process
6
8
  */
@@ -1,6 +1,8 @@
1
1
  import type { GitDetails } from '../schemas/GitDetails';
2
+ import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
2
3
  export interface UpdateOrchestrationActivityResponseResponse {
3
4
  git_details?: GitDetails;
5
+ governanceMetadata?: GovernanceMetadata;
4
6
  /**
5
7
  * Identifier of the updated orchestration activity
6
8
  */
@@ -1,6 +1,8 @@
1
1
  import type { GitDetails } from '../schemas/GitDetails';
2
+ import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
2
3
  export interface UpdateOrchestrationProcessResponseResponse {
3
4
  git_details?: GitDetails;
5
+ governanceMetadata?: GovernanceMetadata;
4
6
  /**
5
7
  * Identifier of the updated orchestration process
6
8
  */
@@ -23,6 +23,10 @@ export interface AdHocReleaseRequest {
23
23
  * Name of the ad hoc release
24
24
  */
25
25
  name: string;
26
+ /**
27
+ * Git branch used to read the orchestration process definition for this release. Required when the process is stored in Git.
28
+ */
29
+ processGitBranch?: string;
26
30
  /**
27
31
  * Identifier of the orchestration process
28
32
  */
@@ -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.
@@ -1,3 +1,4 @@
1
+ import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
1
2
  /**
2
3
  * Response for starting a release or process execution
3
4
  */
@@ -6,6 +7,7 @@ export interface ExecutionStartResponse {
6
7
  * Navigation slug for the started process execution (on-the-go process execute only)
7
8
  */
8
9
  executionId?: string;
10
+ governanceMetadata?: GovernanceMetadata;
9
11
  /**
10
12
  * Identifier of the started release or orchestration process
11
13
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,6 +1,10 @@
1
1
  import type { AutoExecuteOnScheduleProperty } from '../schemas/AutoExecuteOnScheduleProperty';
2
2
  export interface GetReleaseGroupResponse {
3
3
  autoExecuteOnSchedule?: AutoExecuteOnScheduleProperty;
4
+ /**
5
+ * Git branch used to read the orchestration process definition for releases in this group. Empty when the process is not stored in Git.
6
+ */
7
+ processGitBranch?: string;
4
8
  /**
5
9
  * Identifier for the orchestration process.
6
10
  */
@@ -48,6 +48,10 @@ export interface ReleaseDto {
48
48
  * Name of the release
49
49
  */
50
50
  name: string;
51
+ /**
52
+ * Git branch used to read the orchestration process definition for this release. Set when the release is created and cannot be changed afterwards.
53
+ */
54
+ processGitBranch?: string;
51
55
  /**
52
56
  * Identifier for the orchestration process.
53
57
  */
@@ -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.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",