@harnessio/react-rmg-service-client 0.78.0 → 0.80.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.
@@ -349,6 +349,7 @@ export type { ArtifactoryRegistryMetadata } from './schemas/ArtifactoryRegistryM
349
349
  export type { AttachedReleaseGroupDto } from './schemas/AttachedReleaseGroupDto';
350
350
  export type { AutoExecuteOnScheduleProperty } from './schemas/AutoExecuteOnScheduleProperty';
351
351
  export type { BuildInfo } from './schemas/BuildInfo';
352
+ export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
352
353
  export type { Changeset } from './schemas/Changeset';
353
354
  export type { ChangesetCommit } from './schemas/ChangesetCommit';
354
355
  export type { ChangesetCommitList } from './schemas/ChangesetCommitList';
@@ -1,5 +1,7 @@
1
+ import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
1
2
  import type { GitDetails } from '../schemas/GitDetails';
2
3
  export interface GetOrchestrationActivityResponseResponse {
4
+ cache_response?: CacheResponseMetadata;
3
5
  git_details?: GitDetails;
4
6
  /**
5
7
  * Identifier of the orchestration activity
@@ -1,5 +1,7 @@
1
+ import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
1
2
  import type { GitDetails } from '../schemas/GitDetails';
2
3
  export interface GetOrchestrationProcessInputResponseResponse {
4
+ cache_response?: CacheResponseMetadata;
3
5
  git_details?: GitDetails;
4
6
  /**
5
7
  * Identifier of the orchestration process input
@@ -1,5 +1,7 @@
1
+ import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
1
2
  import type { GitDetails } from '../schemas/GitDetails';
2
3
  export interface GetOrchestrationProcessResponseResponse {
4
+ cache_response?: CacheResponseMetadata;
3
5
  git_details?: GitDetails;
4
6
  /**
5
7
  * Identifier of the orchestration process
@@ -15,6 +15,14 @@ export interface ActivityExecutionInputDto {
15
15
  * Name of the input parameter
16
16
  */
17
17
  name: string;
18
+ /**
19
+ * When true this input may be left blank at retry time; when false it must have a non-blank value
20
+ */
21
+ optional?: boolean;
22
+ /**
23
+ * When true this input cannot be changed at retry time
24
+ */
25
+ readOnly?: boolean;
18
26
  /**
19
27
  * Type of the input parameter
20
28
  */
@@ -8,6 +8,25 @@ export interface ActivityInputYaml {
8
8
  * process input identifier for the subprocess
9
9
  */
10
10
  input?: string;
11
+ /**
12
+ * Governance flags for activity inputs. Keys match the with keys. When present, this map takes precedence over with entirely.
13
+ */
14
+ inputs?: {
15
+ [key: string]: {
16
+ /**
17
+ * When true, the value may be left unset at runtime; when false it must have a non-blank value
18
+ */
19
+ optional?: boolean;
20
+ /**
21
+ * When true, the value is fixed and cannot be overridden at runtime
22
+ */
23
+ readOnly?: boolean;
24
+ /**
25
+ * The value for the parameter
26
+ */
27
+ value?: string;
28
+ };
29
+ };
11
30
  with?: {
12
31
  [key: string]: string;
13
32
  } | ReleaseInputYaml;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * GitX cache metadata returned when fetching a remote entity
3
+ */
4
+ export interface CacheResponseMetadata {
5
+ /**
6
+ * Cache freshness state from GitX
7
+ */
8
+ cache_state?: 'STALE_CACHE' | 'UNKNOWN' | 'VALID_CACHE';
9
+ /**
10
+ * Whether bi-directional git sync (webhook support) is enabled for the repo
11
+ */
12
+ is_sync_enabled?: boolean;
13
+ /**
14
+ * Epoch timestamp of the last cache update
15
+ * @format int64
16
+ */
17
+ last_updated_at?: number;
18
+ /**
19
+ * Remaining TTL for the cached entry in seconds
20
+ * @format int64
21
+ */
22
+ ttl_left?: number;
23
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.78.0",
3
+ "version": "0.80.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",