@harnessio/react-rmg-service-client 0.23.0 → 0.25.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/useCreateTaskCommentMutation.d.ts +32 -0
- package/dist/rmg-service/src/services/hooks/useCreateTaskCommentMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useDeleteTaskCommentMutation.d.ts +24 -0
- package/dist/rmg-service/src/services/hooks/useDeleteTaskCommentMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetFreezeDetailsQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetFreezeDetailsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetFreezeListQuery.d.ts +35 -0
- package/dist/rmg-service/src/services/hooks/useGetFreezeListQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputsQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionTasksQuery.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionTasksQuery.js +20 -0
- package/dist/rmg-service/src/services/hooks/useGetTaskCommentsSummaryQuery.d.ts +30 -0
- package/dist/rmg-service/src/services/hooks/useGetTaskCommentsSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useStartReleaseExecutionMutation.d.ts +8 -1
- package/dist/rmg-service/src/services/hooks/useUpdateExecutionTaskMetadataMutation.d.ts +36 -0
- package/dist/rmg-service/src/services/hooks/useUpdateExecutionTaskMetadataMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useUpdateExecutionTaskStatusMutation.d.ts +33 -0
- package/dist/rmg-service/src/services/hooks/useUpdateExecutionTaskStatusMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useUpdateTaskCommentMutation.d.ts +32 -0
- package/dist/rmg-service/src/services/hooks/useUpdateTaskCommentMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +45 -1
- package/dist/rmg-service/src/services/index.js +10 -0
- package/dist/rmg-service/src/services/responses/ActivityInputsResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/ActivityInputsResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/CreateTaskCommentResponseResponse.d.ts +6 -0
- package/dist/rmg-service/src/services/responses/CreateTaskCommentResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/ExecutionTasksListResponseResponse.d.ts +7 -0
- package/dist/rmg-service/src/services/responses/ExecutionTasksListResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/FreezeDetailsResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/FreezeDetailsResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/FreezeListResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/FreezeListResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/TaskCommentsListResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/TaskCommentsListResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/UpdateExecutionTaskMetadataResponseResponse.d.ts +6 -0
- package/dist/rmg-service/src/services/responses/UpdateExecutionTaskMetadataResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/UpdateExecutionTaskStatusResponseResponse.d.ts +8 -0
- package/dist/rmg-service/src/services/responses/UpdateExecutionTaskStatusResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/UpdateTaskCommentResponseResponse.d.ts +6 -0
- package/dist/rmg-service/src/services/responses/UpdateTaskCommentResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/ActivityInputsResponse.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/ActivityInputsResponse.js +4 -0
- package/dist/rmg-service/src/services/schemas/CommentedByDto.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/CommentedByDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/ExecutionTaskDto.d.ts +55 -0
- package/dist/rmg-service/src/services/schemas/ExecutionTaskDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/ExecutionTaskStatus.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/ExecutionTaskStatus.js +4 -0
- package/dist/rmg-service/src/services/schemas/FreezeDetailsDto.d.ts +41 -0
- package/dist/rmg-service/src/services/schemas/FreezeDetailsDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/FreezeEntitiesDto.d.ts +29 -0
- package/dist/rmg-service/src/services/schemas/FreezeEntitiesDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/FreezeListItemDto.d.ts +31 -0
- package/dist/rmg-service/src/services/schemas/FreezeListItemDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/FreezeListResponseDto.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/FreezeListResponseDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +4 -12
- package/dist/rmg-service/src/services/schemas/InputVariable.js +0 -3
- package/dist/rmg-service/src/services/schemas/InputVariableType.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/InputVariableType.js +4 -0
- package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +33 -0
- package/dist/rmg-service/src/services/schemas/ManualTaskYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityManualYaml.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityManualYaml.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +0 -16
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +4 -22
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +23 -33
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.d.ts +17 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +1 -5
- package/dist/rmg-service/src/services/schemas/PhaseInputYaml.d.ts +3 -1
- package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/StringOrBool.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/StringOrBool.js +4 -0
- package/dist/rmg-service/src/services/schemas/StringOrStringArray.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/StringOrStringArray.js +4 -0
- package/dist/rmg-service/src/services/schemas/TaskCommentDto.d.ts +32 -0
- package/dist/rmg-service/src/services/schemas/TaskCommentDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/TaskCommentsListResponseDto.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/TaskCommentsListResponseDto.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,18 +3,10 @@ export interface OrchestrationActivityProcessYaml {
|
|
|
3
3
|
* Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
|
|
4
4
|
*/
|
|
5
5
|
activity: string;
|
|
6
|
-
/**
|
|
7
|
-
* Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
|
|
8
|
-
*/
|
|
9
|
-
activity_ref?: string;
|
|
10
6
|
/**
|
|
11
7
|
* List of phase identifiers that this phase depends on
|
|
12
8
|
*/
|
|
13
9
|
'depends-on'?: string[];
|
|
14
|
-
/**
|
|
15
|
-
* List of phase identifiers that this phase depends on
|
|
16
|
-
*/
|
|
17
|
-
depends_on?: string[];
|
|
18
10
|
/**
|
|
19
11
|
* Description of the activity
|
|
20
12
|
*/
|
|
@@ -23,16 +15,8 @@ export interface OrchestrationActivityProcessYaml {
|
|
|
23
15
|
* Unique identifier for the activity
|
|
24
16
|
*/
|
|
25
17
|
id: string;
|
|
26
|
-
/**
|
|
27
|
-
* Unique identifier for the activity
|
|
28
|
-
*/
|
|
29
|
-
identifier: string;
|
|
30
18
|
/**
|
|
31
19
|
* Name of the activity
|
|
32
20
|
*/
|
|
33
21
|
name: string;
|
|
34
|
-
/**
|
|
35
|
-
* Timeout duration for the activity (e.g., "24h", "2h")
|
|
36
|
-
*/
|
|
37
|
-
timeout: string;
|
|
38
22
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { InputVariable } from '../schemas/InputVariable';
|
|
2
|
+
import type { OrchestrationActivityManualYaml } from '../schemas/OrchestrationActivityManualYaml';
|
|
1
3
|
import type { OrchestrationActivityPipelineYaml } from '../schemas/OrchestrationActivityPipelineYaml';
|
|
2
4
|
export interface OrchestrationActivityYaml {
|
|
3
5
|
activity: {
|
|
@@ -9,37 +11,17 @@ export interface OrchestrationActivityYaml {
|
|
|
9
11
|
* Unique identifier for the activity
|
|
10
12
|
*/
|
|
11
13
|
id: string;
|
|
12
|
-
/**
|
|
13
|
-
* Unique identifier for the activity
|
|
14
|
-
*/
|
|
15
|
-
identifier?: string;
|
|
16
14
|
/**
|
|
17
15
|
* Input definitions for the activity
|
|
18
16
|
*/
|
|
19
17
|
inputs: {
|
|
20
|
-
[key: string]:
|
|
21
|
-
/**
|
|
22
|
-
* Description of the input parameter
|
|
23
|
-
*/
|
|
24
|
-
description: string;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the input is required
|
|
27
|
-
*/
|
|
28
|
-
required: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Type of the input parameter
|
|
31
|
-
*/
|
|
32
|
-
type: 'boolean' | 'list' | 'number' | 'object' | 'string';
|
|
33
|
-
};
|
|
18
|
+
[key: string]: InputVariable;
|
|
34
19
|
};
|
|
20
|
+
manual?: OrchestrationActivityManualYaml;
|
|
35
21
|
/**
|
|
36
22
|
* Name of the activity
|
|
37
23
|
*/
|
|
38
24
|
name: string;
|
|
39
25
|
pipeline?: OrchestrationActivityPipelineYaml;
|
|
40
|
-
/**
|
|
41
|
-
* Timeout duration for the activity (e.g., "30m", "8h")
|
|
42
|
-
*/
|
|
43
|
-
timeout: string;
|
|
44
26
|
};
|
|
45
27
|
}
|
|
@@ -3,6 +3,10 @@ import type { Status } from '../schemas/Status';
|
|
|
3
3
|
* Represents an activity in the orchestration execution
|
|
4
4
|
*/
|
|
5
5
|
export interface OrchestrationExecutionActivity {
|
|
6
|
+
/**
|
|
7
|
+
* ID of the activity execution
|
|
8
|
+
*/
|
|
9
|
+
activity_execution_id?: string;
|
|
6
10
|
/**
|
|
7
11
|
* List of activity identifiers this activity depends on
|
|
8
12
|
*/
|
|
@@ -1,36 +1,26 @@
|
|
|
1
1
|
import type { OrchestrationActivityProcessYaml } from '../schemas/OrchestrationActivityProcessYaml';
|
|
2
2
|
export interface OrchestrationPhaseYaml {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* List of owner groups for the phase
|
|
30
|
-
*/
|
|
31
|
-
owners?: string[];
|
|
32
|
-
/**
|
|
33
|
-
* Timeout duration for the phase (e.g., "2h", "24h")
|
|
34
|
-
*/
|
|
35
|
-
timeout: string;
|
|
3
|
+
phase: {
|
|
4
|
+
activities: OrchestrationActivityProcessYaml[];
|
|
5
|
+
/**
|
|
6
|
+
* List of phase identifiers that this phase depends on
|
|
7
|
+
*/
|
|
8
|
+
'depends-on'?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Description of the phase
|
|
11
|
+
*/
|
|
12
|
+
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Unique identifier for the phase
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* Name of the phase
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* List of owner groups for the phase
|
|
23
|
+
*/
|
|
24
|
+
owners?: string[];
|
|
25
|
+
};
|
|
36
26
|
}
|
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
import type { InputVariable } from '../schemas/InputVariable';
|
|
2
2
|
import type { PhaseInputYaml } from '../schemas/PhaseInputYaml';
|
|
3
3
|
export interface OrchestrationProcessInputYaml {
|
|
4
|
+
/**
|
|
5
|
+
* Description of the orchestration process input
|
|
6
|
+
*/
|
|
7
|
+
description?: string;
|
|
4
8
|
/**
|
|
5
9
|
* Global input configuration
|
|
6
10
|
*/
|
|
7
|
-
global
|
|
11
|
+
global: {
|
|
8
12
|
/**
|
|
9
13
|
* Global input variables available across all phases
|
|
10
14
|
*/
|
|
11
|
-
|
|
15
|
+
inputs?: {
|
|
16
|
+
[key: string]: InputVariable;
|
|
17
|
+
};
|
|
12
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier for the orchestration process input
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* Name of the orchestration process input
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
13
27
|
/**
|
|
14
28
|
* Phase-specific input configurations
|
|
15
29
|
*/
|
|
16
|
-
phases
|
|
30
|
+
phases: PhaseInputYaml[];
|
|
17
31
|
}
|
|
@@ -8,11 +8,7 @@ export interface OrchestrationReleaseProcessYaml {
|
|
|
8
8
|
/**
|
|
9
9
|
* Unique identifier for the orchestration process
|
|
10
10
|
*/
|
|
11
|
-
id
|
|
12
|
-
/**
|
|
13
|
-
* Unique identifier for the orchestration process
|
|
14
|
-
*/
|
|
15
|
-
identifier: string;
|
|
11
|
+
id: string;
|
|
16
12
|
/**
|
|
17
13
|
* Name of the orchestration process
|
|
18
14
|
*/
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { CommentedByDto } from '../schemas/CommentedByDto';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a comment on an execution task
|
|
4
|
+
*/
|
|
5
|
+
export interface TaskCommentDto {
|
|
6
|
+
/**
|
|
7
|
+
* The comment text
|
|
8
|
+
*/
|
|
9
|
+
comment: string;
|
|
10
|
+
/**
|
|
11
|
+
* UUID of the comment
|
|
12
|
+
*/
|
|
13
|
+
commentId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Details of the person who created the comment
|
|
16
|
+
*/
|
|
17
|
+
commentedBy: CommentedByDto;
|
|
18
|
+
/**
|
|
19
|
+
* Unix timestamp when the comment was created
|
|
20
|
+
* @format int64
|
|
21
|
+
*/
|
|
22
|
+
createdAt: number;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the comment has been edited since creation
|
|
25
|
+
*/
|
|
26
|
+
isEdited: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Unix timestamp when the comment was last updated
|
|
29
|
+
* @format int64
|
|
30
|
+
*/
|
|
31
|
+
lastUpdatedAt: number;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { TaskCommentDto } from '../schemas/TaskCommentDto';
|
|
2
|
+
import type { NextRequest } from '../schemas/NextRequest';
|
|
3
|
+
/**
|
|
4
|
+
* Paginated response containing task comments
|
|
5
|
+
*/
|
|
6
|
+
export interface TaskCommentsListResponseDto {
|
|
7
|
+
/**
|
|
8
|
+
* List of task comments
|
|
9
|
+
*/
|
|
10
|
+
comments: TaskCommentDto[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether this is the last page of results
|
|
13
|
+
*/
|
|
14
|
+
last: boolean;
|
|
15
|
+
nextRequest: NextRequest;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|