@harnessio/react-rmg-service-client 0.62.0 → 0.64.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 (32) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.d.ts +1 -0
  2. package/dist/rmg-service/src/services/index.d.ts +11 -0
  3. package/dist/rmg-service/src/services/schemas/AcrArtifactMetadata.d.ts +21 -0
  4. package/dist/rmg-service/src/services/schemas/AcrArtifactMetadata.js +1 -0
  5. package/dist/rmg-service/src/services/schemas/ArtifactTagInputVariable.d.ts +2 -2
  6. package/dist/rmg-service/src/services/schemas/ArtifactTagMetadata.d.ts +16 -16
  7. package/dist/rmg-service/src/services/schemas/ArtifactoryRegistryMetadata.d.ts +17 -0
  8. package/dist/rmg-service/src/services/schemas/ArtifactoryRegistryMetadata.js +1 -0
  9. package/dist/rmg-service/src/services/schemas/CustomArtifactMetadata.d.ts +6 -0
  10. package/dist/rmg-service/src/services/schemas/CustomArtifactMetadata.js +1 -0
  11. package/dist/rmg-service/src/services/schemas/DockerRegistryArtifactMetadata.d.ts +13 -0
  12. package/dist/rmg-service/src/services/schemas/DockerRegistryArtifactMetadata.js +1 -0
  13. package/dist/rmg-service/src/services/schemas/EcrArtifactMetadata.d.ts +21 -0
  14. package/dist/rmg-service/src/services/schemas/EcrArtifactMetadata.js +1 -0
  15. package/dist/rmg-service/src/services/schemas/ExecutionTaskDto.d.ts +2 -0
  16. package/dist/rmg-service/src/services/schemas/GcrArtifactMetadata.d.ts +17 -0
  17. package/dist/rmg-service/src/services/schemas/GcrArtifactMetadata.js +1 -0
  18. package/dist/rmg-service/src/services/schemas/GithubPackageRegistryMetadata.d.ts +17 -0
  19. package/dist/rmg-service/src/services/schemas/GithubPackageRegistryMetadata.js +1 -0
  20. package/dist/rmg-service/src/services/schemas/GoogleArtifactRegistryMetadata.d.ts +25 -0
  21. package/dist/rmg-service/src/services/schemas/GoogleArtifactRegistryMetadata.js +1 -0
  22. package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +2 -0
  23. package/dist/rmg-service/src/services/schemas/ManualTaskYaml.js +0 -3
  24. package/dist/rmg-service/src/services/schemas/Nexus3RegistryArtifactMetadata.d.ts +13 -0
  25. package/dist/rmg-service/src/services/schemas/Nexus3RegistryArtifactMetadata.js +1 -0
  26. package/dist/rmg-service/src/services/schemas/ReleaseApprovalDto.d.ts +4 -0
  27. package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +10 -0
  28. package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.js +4 -0
  29. package/dist/rmg-service/src/services/schemas/WebhookSignalPipeline.d.ts +18 -0
  30. package/dist/rmg-service/src/services/schemas/WebhookSignalPipeline.js +4 -0
  31. package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.d.ts +4 -2
  32. package/package.json +1 -1
@@ -10,6 +10,7 @@ export interface GetOrchestrationProcessSummaryQueryQueryParams {
10
10
  page?: number;
11
11
  size?: number;
12
12
  sort?: string[];
13
+ processIdentifiers?: string[];
13
14
  }
14
15
  export interface GetOrchestrationProcessSummaryQueryHeaderParams {
15
16
  'Harness-Account': string;
@@ -213,6 +213,7 @@ export type { UpdateReleaseGroupResponseResponse } from './responses/UpdateRelea
213
213
  export type { UpdateReleaseResponseResponse } from './responses/UpdateReleaseResponseResponse';
214
214
  export type { UpdateTaskCommentResponseResponse } from './responses/UpdateTaskCommentResponseResponse';
215
215
  export type { ValidateOrchestrationProcessInputResponseResponse } from './responses/ValidateOrchestrationProcessInputResponseResponse';
216
+ export type { AcrArtifactMetadata } from './schemas/AcrArtifactMetadata';
216
217
  export type { ActivityCounts } from './schemas/ActivityCounts';
217
218
  export type { ActivityExecutionInputDto } from './schemas/ActivityExecutionInputDto';
218
219
  export type { ActivityInputYaml } from './schemas/ActivityInputYaml';
@@ -229,6 +230,7 @@ export type { ApprovalInfoDto } from './schemas/ApprovalInfoDto';
229
230
  export type { ApprovedByDto } from './schemas/ApprovedByDto';
230
231
  export type { ArtifactTagInputVariable } from './schemas/ArtifactTagInputVariable';
231
232
  export type { ArtifactTagMetadata } from './schemas/ArtifactTagMetadata';
233
+ export type { ArtifactoryRegistryMetadata } from './schemas/ArtifactoryRegistryMetadata';
232
234
  export type { AttachedReleaseGroupDto } from './schemas/AttachedReleaseGroupDto';
233
235
  export type { AutoExecuteOnScheduleProperty } from './schemas/AutoExecuteOnScheduleProperty';
234
236
  export type { ClusterDeploymentDto } from './schemas/ClusterDeploymentDto';
@@ -239,7 +241,10 @@ export type { ConnectorMetadata } from './schemas/ConnectorMetadata';
239
241
  export type { CreateOrchestrationActivityInputSetRequestType } from './schemas/CreateOrchestrationActivityInputSetRequestType';
240
242
  export type { CreateOrchestrationActivityRequestType } from './schemas/CreateOrchestrationActivityRequestType';
241
243
  export type { CreatedByDto } from './schemas/CreatedByDto';
244
+ export type { CustomArtifactMetadata } from './schemas/CustomArtifactMetadata';
242
245
  export type { DeploymentTypeEnum } from './schemas/DeploymentTypeEnum';
246
+ export type { DockerRegistryArtifactMetadata } from './schemas/DockerRegistryArtifactMetadata';
247
+ export type { EcrArtifactMetadata } from './schemas/EcrArtifactMetadata';
243
248
  export type { EnvironmentDashboardDto } from './schemas/EnvironmentDashboardDto';
244
249
  export type { EnvironmentDto } from './schemas/EnvironmentDto';
245
250
  export type { EnvironmentInputVariable } from './schemas/EnvironmentInputVariable';
@@ -260,8 +265,11 @@ export type { FreezeEntitiesDto } from './schemas/FreezeEntitiesDto';
260
265
  export type { FreezeListItemDto } from './schemas/FreezeListItemDto';
261
266
  export type { FreezeListResponseDto } from './schemas/FreezeListResponseDto';
262
267
  export type { Freq } from './schemas/Freq';
268
+ export type { GcrArtifactMetadata } from './schemas/GcrArtifactMetadata';
263
269
  export type { GetReleaseGroupResponse } from './schemas/GetReleaseGroupResponse';
270
+ export type { GithubPackageRegistryMetadata } from './schemas/GithubPackageRegistryMetadata';
264
271
  export type { GlobalReleaseInputYaml } from './schemas/GlobalReleaseInputYaml';
272
+ export type { GoogleArtifactRegistryMetadata } from './schemas/GoogleArtifactRegistryMetadata';
265
273
  export type { InfrastructureDeploymentDto } from './schemas/InfrastructureDeploymentDto';
266
274
  export type { InfrastructureInputVariable } from './schemas/InfrastructureInputVariable';
267
275
  export type { InfrastructureMetadata } from './schemas/InfrastructureMetadata';
@@ -274,6 +282,7 @@ export type { MultiEnvironmentInputVariable } from './schemas/MultiEnvironmentIn
274
282
  export type { MultiInfrastructureInputVariable } from './schemas/MultiInfrastructureInputVariable';
275
283
  export type { MultiServiceInputVariable } from './schemas/MultiServiceInputVariable';
276
284
  export type { NextRequest } from './schemas/NextRequest';
285
+ export type { Nexus3RegistryArtifactMetadata } from './schemas/Nexus3RegistryArtifactMetadata';
277
286
  export type { OnHoldActivityActionRequest } from './schemas/OnHoldActivityActionRequest';
278
287
  export type { OnHoldActivityActionResponse } from './schemas/OnHoldActivityActionResponse';
279
288
  export type { OrchestrationActivityManualYaml } from './schemas/OrchestrationActivityManualYaml';
@@ -340,6 +349,7 @@ export type { SubprocessTriggerRequest } from './schemas/SubprocessTriggerReques
340
349
  export type { SubprocessTriggerResponse } from './schemas/SubprocessTriggerResponse';
341
350
  export type { TaskCommentDto } from './schemas/TaskCommentDto';
342
351
  export type { TaskCommentsListResponseDto } from './schemas/TaskCommentsListResponseDto';
352
+ export type { TaskExecuteConfig } from './schemas/TaskExecuteConfig';
343
353
  export type { TimeRangeDto } from './schemas/TimeRangeDto';
344
354
  export type { TriggerType } from './schemas/TriggerType';
345
355
  export type { TriggeredByDto } from './schemas/TriggeredByDto';
@@ -347,6 +357,7 @@ export type { UploadResponse } from './schemas/UploadResponse';
347
357
  export type { User } from './schemas/User';
348
358
  export type { WebhookErrorResponse } from './schemas/WebhookErrorResponse';
349
359
  export type { WebhookEventType } from './schemas/WebhookEventType';
360
+ export type { WebhookSignalPipeline } from './schemas/WebhookSignalPipeline';
350
361
  export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
351
362
  export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
352
363
  export type { WebhookSignalStatus } from './schemas/WebhookSignalStatus';
@@ -0,0 +1,21 @@
1
+ import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
+ export interface AcrArtifactMetadata {
3
+ artifactType: 'Acr';
4
+ /**
5
+ * Azure connector reference
6
+ */
7
+ connectorRef?: string;
8
+ deploymentType: DeploymentTypeEnum;
9
+ /**
10
+ * ACR registry name
11
+ */
12
+ registry?: string;
13
+ /**
14
+ * Repository name within the registry
15
+ */
16
+ repository?: string;
17
+ /**
18
+ * Azure subscription ID
19
+ */
20
+ subscriptionId?: string;
21
+ }
@@ -2,7 +2,7 @@ import type { ArtifactTagMetadata } from '../schemas/ArtifactTagMetadata';
2
2
  /**
3
3
  * Input variable for artifact tag type. Value is the tag string.
4
4
  */
5
- export interface ArtifactTagInputVariable {
5
+ export interface ArtifactTagInputVariable<T0 extends ArtifactTagMetadata = ArtifactTagMetadata> {
6
6
  /**
7
7
  * Default tag value (e.g., "latest", "v1.2.3")
8
8
  */
@@ -14,7 +14,7 @@ export interface ArtifactTagInputVariable {
14
14
  /**
15
15
  * Artifact metadata with deployment type, artifact type, connector, and image path
16
16
  */
17
- metadata?: ArtifactTagMetadata;
17
+ metadata?: T0;
18
18
  /**
19
19
  * Type of the input variable
20
20
  */
@@ -1,17 +1,17 @@
1
- import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
- export interface ArtifactTagMetadata {
3
- /**
4
- * Artifact source type (e.g., DockerRegistry, Gcr, Ecr)
5
- */
6
- artifactType: string;
7
- /**
8
- * Connector reference for the artifact source
9
- */
10
- connectorRef?: string;
11
- deploymentType: DeploymentTypeEnum;
12
- /**
13
- * Image path for the artifact (e.g., library/nginx)
14
- */
15
- imagePath?: string;
1
+ import type { DockerRegistryArtifactMetadata } from '../schemas/DockerRegistryArtifactMetadata';
2
+ import type { EcrArtifactMetadata } from '../schemas/EcrArtifactMetadata';
3
+ import type { GcrArtifactMetadata } from '../schemas/GcrArtifactMetadata';
4
+ import type { AcrArtifactMetadata } from '../schemas/AcrArtifactMetadata';
5
+ import type { GoogleArtifactRegistryMetadata } from '../schemas/GoogleArtifactRegistryMetadata';
6
+ import type { Nexus3RegistryArtifactMetadata } from '../schemas/Nexus3RegistryArtifactMetadata';
7
+ import type { ArtifactoryRegistryMetadata } from '../schemas/ArtifactoryRegistryMetadata';
8
+ import type { GithubPackageRegistryMetadata } from '../schemas/GithubPackageRegistryMetadata';
9
+ import type { CustomArtifactMetadata } from '../schemas/CustomArtifactMetadata';
10
+ /**
11
+ * Metadata for artifact tag variables. The required fields depend on the artifactType.
12
+ * Use the discriminated schemas below to determine which fields are needed per type.
13
+ *
14
+ */
15
+ export type ArtifactTagMetadata = (DockerRegistryArtifactMetadata | EcrArtifactMetadata | GcrArtifactMetadata | AcrArtifactMetadata | GoogleArtifactRegistryMetadata | Nexus3RegistryArtifactMetadata | ArtifactoryRegistryMetadata | GithubPackageRegistryMetadata | CustomArtifactMetadata) & {
16
16
  [key: string]: any;
17
- }
17
+ };
@@ -0,0 +1,17 @@
1
+ import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
+ export interface ArtifactoryRegistryMetadata {
3
+ /**
4
+ * Path to artifact within the repository
5
+ */
6
+ artifactPath?: string;
7
+ artifactType: 'ArtifactoryRegistry';
8
+ /**
9
+ * Artifactory connector reference
10
+ */
11
+ connectorRef?: string;
12
+ deploymentType: DeploymentTypeEnum;
13
+ /**
14
+ * Artifactory repository name
15
+ */
16
+ repository?: string;
17
+ }
@@ -0,0 +1,6 @@
1
+ import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
+ export interface CustomArtifactMetadata {
3
+ artifactType: 'CustomArtifact';
4
+ deploymentType: DeploymentTypeEnum;
5
+ [key: string]: any;
6
+ }
@@ -0,0 +1,13 @@
1
+ import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
+ export interface DockerRegistryArtifactMetadata {
3
+ artifactType: 'DockerRegistry';
4
+ /**
5
+ * Docker registry connector reference
6
+ */
7
+ connectorRef?: string;
8
+ deploymentType: DeploymentTypeEnum;
9
+ /**
10
+ * Image path (e.g., library/nginx)
11
+ */
12
+ imagePath?: string;
13
+ }
@@ -0,0 +1,21 @@
1
+ import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
+ export interface EcrArtifactMetadata {
3
+ artifactType: 'Ecr';
4
+ /**
5
+ * AWS connector reference
6
+ */
7
+ connectorRef?: string;
8
+ deploymentType: DeploymentTypeEnum;
9
+ /**
10
+ * ECR repository name (e.g., my-app)
11
+ */
12
+ imagePath?: string;
13
+ /**
14
+ * AWS region (e.g., us-east-1). Required for ECR image/tag lookup.
15
+ */
16
+ region?: string;
17
+ /**
18
+ * AWS account ID for the ECR registry (optional, defaults to connector account)
19
+ */
20
+ registryId?: string;
21
+ }
@@ -1,3 +1,4 @@
1
+ import type { TaskExecuteConfig } from '../schemas/TaskExecuteConfig';
1
2
  import type { FailureInfo } from '../schemas/FailureInfo';
2
3
  import type { StringOrBool } from '../schemas/StringOrBool';
3
4
  import type { ExecutionTaskStatus } from '../schemas/ExecutionTaskStatus';
@@ -19,6 +20,7 @@ export interface ExecutionTaskDto {
19
20
  * Description of the task
20
21
  */
21
22
  description?: string;
23
+ execute?: TaskExecuteConfig;
22
24
  /**
23
25
  * Expected duration for the task (e.g., "1d 12h")
24
26
  */
@@ -0,0 +1,17 @@
1
+ import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
+ export interface GcrArtifactMetadata {
3
+ artifactType: 'Gcr';
4
+ /**
5
+ * GCP connector reference
6
+ */
7
+ connectorRef?: string;
8
+ deploymentType: DeploymentTypeEnum;
9
+ /**
10
+ * Image path (e.g., project-id/image-name)
11
+ */
12
+ imagePath?: string;
13
+ /**
14
+ * GCR hostname (e.g., gcr.io, us.gcr.io)
15
+ */
16
+ registryHostname?: string;
17
+ }
@@ -0,0 +1,17 @@
1
+ import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
+ export interface GithubPackageRegistryMetadata {
3
+ artifactType: 'GithubPackageRegistry';
4
+ /**
5
+ * GitHub connector reference
6
+ */
7
+ connectorRef?: string;
8
+ deploymentType: DeploymentTypeEnum;
9
+ /**
10
+ * GitHub organization
11
+ */
12
+ org?: string;
13
+ /**
14
+ * Package name
15
+ */
16
+ packageName?: string;
17
+ }
@@ -0,0 +1,25 @@
1
+ import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
+ export interface GoogleArtifactRegistryMetadata {
3
+ artifactType: 'GoogleArtifactRegistry';
4
+ /**
5
+ * GCP connector reference
6
+ */
7
+ connectorRef?: string;
8
+ deploymentType: DeploymentTypeEnum;
9
+ /**
10
+ * Package name within the repository
11
+ */
12
+ package?: string;
13
+ /**
14
+ * GCP project ID
15
+ */
16
+ project?: string;
17
+ /**
18
+ * GAR region (e.g., us-central1)
19
+ */
20
+ region?: string;
21
+ /**
22
+ * Artifact Registry repository name
23
+ */
24
+ repositoryName?: string;
25
+ }
@@ -1,3 +1,4 @@
1
+ import type { TaskExecuteConfig } from '../schemas/TaskExecuteConfig';
1
2
  /**
2
3
  * Manual task configuration
3
4
  */
@@ -10,6 +11,7 @@ export interface ManualTaskYaml {
10
11
  * Expected duration for the task (e.g., "1w", "1d", "2h", "1d 12h")
11
12
  */
12
13
  duration: string;
14
+ execute?: TaskExecuteConfig;
13
15
  /**
14
16
  * Unique identifier for the manual task
15
17
  */
@@ -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 {};
@@ -0,0 +1,13 @@
1
+ import type { DeploymentTypeEnum } from '../schemas/DeploymentTypeEnum';
2
+ export interface Nexus3RegistryArtifactMetadata {
3
+ artifactType: 'Nexus3Registry';
4
+ /**
5
+ * Nexus connector reference
6
+ */
7
+ connectorRef?: string;
8
+ deploymentType: DeploymentTypeEnum;
9
+ /**
10
+ * Nexus repository name
11
+ */
12
+ repository?: string;
13
+ }
@@ -4,6 +4,10 @@ import type { ReleaseApprovalType } from '../schemas/ReleaseApprovalType';
4
4
  export interface ReleaseApprovalDto {
5
5
  approvalInfo?: ApprovalInfoDto;
6
6
  name: string;
7
+ /**
8
+ * Node execution ID of the approval step
9
+ */
10
+ nodeExecutionId?: string;
7
11
  orgIdentifier: string;
8
12
  pipelineIdentifier: string;
9
13
  planExecutionId: string;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Configuration for subprocess execution from a manual task
3
+ */
4
+ export interface TaskExecuteConfig {
5
+ /**
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
+ *
8
+ */
9
+ processes: 'all' | 'none' | string[];
10
+ }
@@ -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,18 @@
1
+ export interface WebhookSignalPipeline {
2
+ /**
3
+ * Pipeline execution identifier.
4
+ */
5
+ executionId: string;
6
+ /**
7
+ * Pipeline identifier.
8
+ */
9
+ identifier: string;
10
+ /**
11
+ * Organization identifier.
12
+ */
13
+ orgId: string;
14
+ /**
15
+ * Project identifier.
16
+ */
17
+ projectId: string;
18
+ }
@@ -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,10 +1,12 @@
1
1
  import type { WebhookEventType } from '../schemas/WebhookEventType';
2
+ import type { WebhookSignalPipeline } from '../schemas/WebhookSignalPipeline';
2
3
  export interface WebhookSignalRequest {
3
4
  eventType: WebhookEventType;
4
5
  /**
5
- * Event-specific payload (validated per event type). Maximum size 1 MiB.
6
+ * Event metadata. Maximum size 10 KiB.
6
7
  */
7
- payload: {
8
+ metadata: {
8
9
  [key: string]: any;
9
10
  };
11
+ pipeline?: WebhookSignalPipeline;
10
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.62.0",
3
+ "version": "0.64.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",