@harnessio/react-rmg-service-client 0.62.0 → 0.63.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.
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.d.ts +1 -0
- package/dist/rmg-service/src/services/index.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/AcrArtifactMetadata.d.ts +21 -0
- package/dist/rmg-service/src/services/schemas/AcrArtifactMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTagInputVariable.d.ts +2 -2
- package/dist/rmg-service/src/services/schemas/ArtifactTagMetadata.d.ts +16 -16
- package/dist/rmg-service/src/services/schemas/ArtifactoryRegistryMetadata.d.ts +17 -0
- package/dist/rmg-service/src/services/schemas/ArtifactoryRegistryMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/CustomArtifactMetadata.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/CustomArtifactMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/DockerRegistryArtifactMetadata.d.ts +13 -0
- package/dist/rmg-service/src/services/schemas/DockerRegistryArtifactMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/EcrArtifactMetadata.d.ts +21 -0
- package/dist/rmg-service/src/services/schemas/EcrArtifactMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/ExecutionTaskDto.d.ts +2 -0
- package/dist/rmg-service/src/services/schemas/GcrArtifactMetadata.d.ts +17 -0
- package/dist/rmg-service/src/services/schemas/GcrArtifactMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/GithubPackageRegistryMetadata.d.ts +17 -0
- package/dist/rmg-service/src/services/schemas/GithubPackageRegistryMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/GoogleArtifactRegistryMetadata.d.ts +25 -0
- package/dist/rmg-service/src/services/schemas/GoogleArtifactRegistryMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +2 -0
- package/dist/rmg-service/src/services/schemas/ManualTaskYaml.js +0 -3
- package/dist/rmg-service/src/services/schemas/Nexus3RegistryArtifactMetadata.d.ts +13 -0
- package/dist/rmg-service/src/services/schemas/Nexus3RegistryArtifactMetadata.js +1 -0
- package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.js +4 -0
- package/package.json +1 -1
|
@@ -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';
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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?:
|
|
17
|
+
metadata?: T0;
|
|
18
18
|
/**
|
|
19
19
|
* Type of the input variable
|
|
20
20
|
*/
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
*/
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
+
}
|