@harnessio/react-rmg-service-client 0.48.0 → 0.49.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/index.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/ActivityExecutionInputDto.d.ts +3 -2
- package/dist/rmg-service/src/services/schemas/AnyValue.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/AnyValue.js +4 -0
- package/dist/rmg-service/src/services/schemas/ConnectorInputVariable.d.ts +22 -0
- package/dist/rmg-service/src/services/schemas/ConnectorInputVariable.js +1 -0
- package/dist/rmg-service/src/services/schemas/EnvironmentInputVariable.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/EnvironmentInputVariable.js +1 -0
- package/dist/rmg-service/src/services/schemas/ExecutionOutputDto.d.ts +3 -2
- package/dist/rmg-service/src/services/schemas/ExecutionOutputDto.js +0 -3
- package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/InfrastructureInputVariable.d.ts +22 -0
- package/dist/rmg-service/src/services/schemas/InfrastructureInputVariable.js +1 -0
- package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +11 -23
- package/dist/rmg-service/src/services/schemas/MultiEnvironmentInputVariable.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/MultiEnvironmentInputVariable.js +1 -0
- package/dist/rmg-service/src/services/schemas/MultiInfrastructureInputVariable.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/MultiInfrastructureInputVariable.js +1 -0
- package/dist/rmg-service/src/services/schemas/MultiServiceInputVariable.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/MultiServiceInputVariable.js +1 -0
- package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/PrimitiveInputVariable.d.ts +17 -0
- package/dist/rmg-service/src/services/schemas/PrimitiveInputVariable.js +4 -0
- package/dist/rmg-service/src/services/schemas/ServiceInputVariable.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/ServiceInputVariable.js +1 -0
- package/package.json +1 -1
|
@@ -201,6 +201,7 @@ export type { ActivityRetryInfo } from './schemas/ActivityRetryInfo';
|
|
|
201
201
|
export type { ActivityTriggerInfo } from './schemas/ActivityTriggerInfo';
|
|
202
202
|
export type { ActivityType } from './schemas/ActivityType';
|
|
203
203
|
export type { ActivityTypeCounts } from './schemas/ActivityTypeCounts';
|
|
204
|
+
export type { AnyValue } from './schemas/AnyValue';
|
|
204
205
|
export type { ApprovalInfoDto } from './schemas/ApprovalInfoDto';
|
|
205
206
|
export type { ApprovedByDto } from './schemas/ApprovedByDto';
|
|
206
207
|
export type { AttachedReleaseGroupDto } from './schemas/AttachedReleaseGroupDto';
|
|
@@ -208,6 +209,7 @@ export type { AutoExecuteOnScheduleProperty } from './schemas/AutoExecuteOnSched
|
|
|
208
209
|
export type { ClusterDeploymentDto } from './schemas/ClusterDeploymentDto';
|
|
209
210
|
export type { CommentedByDto } from './schemas/CommentedByDto';
|
|
210
211
|
export type { ConflictStatus } from './schemas/ConflictStatus';
|
|
212
|
+
export type { ConnectorInputVariable } from './schemas/ConnectorInputVariable';
|
|
211
213
|
export type { ConnectorMetadata } from './schemas/ConnectorMetadata';
|
|
212
214
|
export type { CreateOrchestrationActivityInputSetRequestType } from './schemas/CreateOrchestrationActivityInputSetRequestType';
|
|
213
215
|
export type { CreateOrchestrationActivityRequestType } from './schemas/CreateOrchestrationActivityRequestType';
|
|
@@ -215,6 +217,7 @@ export type { CreatedByDto } from './schemas/CreatedByDto';
|
|
|
215
217
|
export type { DeploymentTypeEnum } from './schemas/DeploymentTypeEnum';
|
|
216
218
|
export type { EnvironmentDashboardDto } from './schemas/EnvironmentDashboardDto';
|
|
217
219
|
export type { EnvironmentDto } from './schemas/EnvironmentDto';
|
|
220
|
+
export type { EnvironmentInputVariable } from './schemas/EnvironmentInputVariable';
|
|
218
221
|
export type { EnvironmentMetadata } from './schemas/EnvironmentMetadata';
|
|
219
222
|
export type { EnvironmentType } from './schemas/EnvironmentType';
|
|
220
223
|
export type { Error } from './schemas/Error';
|
|
@@ -235,12 +238,16 @@ export type { Freq } from './schemas/Freq';
|
|
|
235
238
|
export type { GetReleaseGroupResponse } from './schemas/GetReleaseGroupResponse';
|
|
236
239
|
export type { GlobalReleaseInputYaml } from './schemas/GlobalReleaseInputYaml';
|
|
237
240
|
export type { InfrastructureDeploymentDto } from './schemas/InfrastructureDeploymentDto';
|
|
241
|
+
export type { InfrastructureInputVariable } from './schemas/InfrastructureInputVariable';
|
|
238
242
|
export type { InfrastructureMetadata } from './schemas/InfrastructureMetadata';
|
|
239
243
|
export type { InputVariable } from './schemas/InputVariable';
|
|
240
244
|
export type { InputVariableType } from './schemas/InputVariableType';
|
|
241
245
|
export type { LastUpdatedByDto } from './schemas/LastUpdatedByDto';
|
|
242
246
|
export type { ManualActivityInfo } from './schemas/ManualActivityInfo';
|
|
243
247
|
export type { ManualTaskYaml } from './schemas/ManualTaskYaml';
|
|
248
|
+
export type { MultiEnvironmentInputVariable } from './schemas/MultiEnvironmentInputVariable';
|
|
249
|
+
export type { MultiInfrastructureInputVariable } from './schemas/MultiInfrastructureInputVariable';
|
|
250
|
+
export type { MultiServiceInputVariable } from './schemas/MultiServiceInputVariable';
|
|
244
251
|
export type { NextRequest } from './schemas/NextRequest';
|
|
245
252
|
export type { OnHoldActivityActionRequest } from './schemas/OnHoldActivityActionRequest';
|
|
246
253
|
export type { OnHoldActivityActionResponse } from './schemas/OnHoldActivityActionResponse';
|
|
@@ -265,6 +272,7 @@ export type { PageableSort } from './schemas/PageableSort';
|
|
|
265
272
|
export type { PhaseInputYaml } from './schemas/PhaseInputYaml';
|
|
266
273
|
export type { PhaseReleaseInputYaml } from './schemas/PhaseReleaseInputYaml';
|
|
267
274
|
export type { PipelineActivityInfo } from './schemas/PipelineActivityInfo';
|
|
275
|
+
export type { PrimitiveInputVariable } from './schemas/PrimitiveInputVariable';
|
|
268
276
|
export type { ProcessInputSummaryDto } from './schemas/ProcessInputSummaryDto';
|
|
269
277
|
export type { ReleaseActionRequest } from './schemas/ReleaseActionRequest';
|
|
270
278
|
export type { ReleaseActionResponse } from './schemas/ReleaseActionResponse';
|
|
@@ -286,6 +294,7 @@ export type { ReportGenerationRequest } from './schemas/ReportGenerationRequest'
|
|
|
286
294
|
export type { ReportGenerationResponse } from './schemas/ReportGenerationResponse';
|
|
287
295
|
export type { ReportStatusResponse } from './schemas/ReportStatusResponse';
|
|
288
296
|
export type { ServiceInfoDto } from './schemas/ServiceInfoDto';
|
|
297
|
+
export type { ServiceInputVariable } from './schemas/ServiceInputVariable';
|
|
289
298
|
export type { ServiceMetadata } from './schemas/ServiceMetadata';
|
|
290
299
|
export type { StageInfoDetailsDto } from './schemas/StageInfoDetailsDto';
|
|
291
300
|
export type { StageInfoDto } from './schemas/StageInfoDto';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { InputVariableType } from '../schemas/InputVariableType';
|
|
2
|
+
import type { AnyValue } from '../schemas/AnyValue';
|
|
2
3
|
/**
|
|
3
4
|
* Input value for an activity execution
|
|
4
5
|
*/
|
|
@@ -12,7 +13,7 @@ export interface ActivityExecutionInputDto {
|
|
|
12
13
|
*/
|
|
13
14
|
type: InputVariableType;
|
|
14
15
|
/**
|
|
15
|
-
* Value of the input parameter
|
|
16
|
+
* Value of the input parameter (can be string, number, boolean, object, array, etc.)
|
|
16
17
|
*/
|
|
17
|
-
value:
|
|
18
|
+
value: AnyValue;
|
|
18
19
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ConnectorMetadata } from '../schemas/ConnectorMetadata';
|
|
2
|
+
/**
|
|
3
|
+
* Input variable for connector type
|
|
4
|
+
*/
|
|
5
|
+
export interface ConnectorInputVariable {
|
|
6
|
+
/**
|
|
7
|
+
* Default value for the variable in string format
|
|
8
|
+
*/
|
|
9
|
+
default?: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* Description of the variable
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Connector metadata with required type
|
|
16
|
+
*/
|
|
17
|
+
metadata: ConnectorMetadata;
|
|
18
|
+
/**
|
|
19
|
+
* Type of the input variable
|
|
20
|
+
*/
|
|
21
|
+
type: 'connector';
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { EnvironmentMetadata } from '../schemas/EnvironmentMetadata';
|
|
2
|
+
/**
|
|
3
|
+
* Input variable for environment type
|
|
4
|
+
*/
|
|
5
|
+
export interface EnvironmentInputVariable {
|
|
6
|
+
/**
|
|
7
|
+
* Default value for the variable in string format
|
|
8
|
+
*/
|
|
9
|
+
default?: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
} | null;
|
|
12
|
+
/**
|
|
13
|
+
* Description of the variable
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Environment metadata with required deploymentType
|
|
18
|
+
*/
|
|
19
|
+
metadata?: EnvironmentMetadata;
|
|
20
|
+
/**
|
|
21
|
+
* Type of the input variable
|
|
22
|
+
*/
|
|
23
|
+
type: 'environment';
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AnyValue } from '../schemas/AnyValue';
|
|
1
2
|
/**
|
|
2
3
|
* Output value for a phase execution
|
|
3
4
|
*/
|
|
@@ -7,7 +8,7 @@ export interface ExecutionOutputDto {
|
|
|
7
8
|
*/
|
|
8
9
|
name: string;
|
|
9
10
|
/**
|
|
10
|
-
* Value of the output parameter
|
|
11
|
+
* Value of the output parameter (can be string, number, boolean, object, array, etc.)
|
|
11
12
|
*/
|
|
12
|
-
value:
|
|
13
|
+
value: AnyValue;
|
|
13
14
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InfrastructureMetadata } from '../schemas/InfrastructureMetadata';
|
|
2
|
+
/**
|
|
3
|
+
* Input variable for infrastructure type
|
|
4
|
+
*/
|
|
5
|
+
export interface InfrastructureInputVariable {
|
|
6
|
+
/**
|
|
7
|
+
* Default value for the variable in string format
|
|
8
|
+
*/
|
|
9
|
+
default?: string[] | null;
|
|
10
|
+
/**
|
|
11
|
+
* Description of the variable
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Infrastructure metadata with optional deploymentType and environmentRef
|
|
16
|
+
*/
|
|
17
|
+
metadata?: InfrastructureMetadata;
|
|
18
|
+
/**
|
|
19
|
+
* Type of the input variable
|
|
20
|
+
*/
|
|
21
|
+
type: 'infrastructure';
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* Description of the variable
|
|
13
|
-
*/
|
|
14
|
-
description?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Type-specific metadata required for entity input types. For service/multiService: ServiceMetadata (requires deploymentType). For environment/multiEnvironment: EnvironmentMetadata (requires deploymentType). For infrastructure/multiInfrastructure: InfrastructureMetadata (optional deploymentType and environmentRef). For connector: ConnectorMetadata (requires type). For primitive types: no metadata required.
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
metadata?: (ServiceMetadata | EnvironmentMetadata | InfrastructureMetadata | ConnectorMetadata | {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
}) | null;
|
|
22
|
-
type: InputVariableType;
|
|
23
|
-
}
|
|
1
|
+
import type { PrimitiveInputVariable } from '../schemas/PrimitiveInputVariable';
|
|
2
|
+
import type { ServiceInputVariable } from '../schemas/ServiceInputVariable';
|
|
3
|
+
import type { MultiServiceInputVariable } from '../schemas/MultiServiceInputVariable';
|
|
4
|
+
import type { EnvironmentInputVariable } from '../schemas/EnvironmentInputVariable';
|
|
5
|
+
import type { MultiEnvironmentInputVariable } from '../schemas/MultiEnvironmentInputVariable';
|
|
6
|
+
import type { InfrastructureInputVariable } from '../schemas/InfrastructureInputVariable';
|
|
7
|
+
import type { MultiInfrastructureInputVariable } from '../schemas/MultiInfrastructureInputVariable';
|
|
8
|
+
import type { ConnectorInputVariable } from '../schemas/ConnectorInputVariable';
|
|
9
|
+
export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable) & {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { EnvironmentMetadata } from '../schemas/EnvironmentMetadata';
|
|
2
|
+
/**
|
|
3
|
+
* Input variable for multiEnvironment type
|
|
4
|
+
*/
|
|
5
|
+
export interface MultiEnvironmentInputVariable {
|
|
6
|
+
/**
|
|
7
|
+
* Default value for the variable in string format
|
|
8
|
+
*/
|
|
9
|
+
default?: Array<{
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}> | null;
|
|
12
|
+
/**
|
|
13
|
+
* Description of the variable
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Environment metadata with required deploymentType
|
|
18
|
+
*/
|
|
19
|
+
metadata?: EnvironmentMetadata;
|
|
20
|
+
/**
|
|
21
|
+
* Type of the input variable
|
|
22
|
+
*/
|
|
23
|
+
type: 'multiEnvironment';
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { InfrastructureMetadata } from '../schemas/InfrastructureMetadata';
|
|
2
|
+
/**
|
|
3
|
+
* Input variable for multiInfrastructure type
|
|
4
|
+
*/
|
|
5
|
+
export interface MultiInfrastructureInputVariable {
|
|
6
|
+
/**
|
|
7
|
+
* Default value for the variable in string format
|
|
8
|
+
*/
|
|
9
|
+
default?: Array<{
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}> | null;
|
|
12
|
+
/**
|
|
13
|
+
* Description of the variable
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Infrastructure metadata with optional deploymentType and environmentRef
|
|
18
|
+
*/
|
|
19
|
+
metadata?: InfrastructureMetadata;
|
|
20
|
+
/**
|
|
21
|
+
* Type of the input variable
|
|
22
|
+
*/
|
|
23
|
+
type: 'multiInfrastructure';
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ServiceMetadata } from '../schemas/ServiceMetadata';
|
|
2
|
+
/**
|
|
3
|
+
* Input variable for multiService type
|
|
4
|
+
*/
|
|
5
|
+
export interface MultiServiceInputVariable {
|
|
6
|
+
/**
|
|
7
|
+
* Default value for the variable in string format
|
|
8
|
+
*/
|
|
9
|
+
default?: Array<{
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}> | null;
|
|
12
|
+
/**
|
|
13
|
+
* Description of the variable
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Service metadata with required deploymentType
|
|
18
|
+
*/
|
|
19
|
+
metadata?: ServiceMetadata;
|
|
20
|
+
/**
|
|
21
|
+
* Type of the input variable
|
|
22
|
+
*/
|
|
23
|
+
type: 'multiService';
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Input variable for primitive types (string, list, boolean, number, object)
|
|
3
|
+
*/
|
|
4
|
+
export interface PrimitiveInputVariable {
|
|
5
|
+
/**
|
|
6
|
+
* Default value for the variable in string format
|
|
7
|
+
*/
|
|
8
|
+
default?: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* Description of the variable
|
|
11
|
+
*/
|
|
12
|
+
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Type of the primitive input variable
|
|
15
|
+
*/
|
|
16
|
+
type: 'boolean' | 'list' | 'number' | 'object' | 'string';
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ServiceMetadata } from '../schemas/ServiceMetadata';
|
|
2
|
+
/**
|
|
3
|
+
* Input variable for service type
|
|
4
|
+
*/
|
|
5
|
+
export interface ServiceInputVariable {
|
|
6
|
+
/**
|
|
7
|
+
* Default value for the variable in string format
|
|
8
|
+
*/
|
|
9
|
+
default?: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
} | null;
|
|
12
|
+
/**
|
|
13
|
+
* Description of the variable
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Service metadata with required deploymentType
|
|
18
|
+
*/
|
|
19
|
+
metadata?: ServiceMetadata;
|
|
20
|
+
/**
|
|
21
|
+
* Type of the input variable
|
|
22
|
+
*/
|
|
23
|
+
type: 'service';
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|