@harnessio/react-rmg-service-client 0.22.0 → 0.24.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/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/useGetOrchestrationProcessInputQuery.d.ts +26 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.js +19 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.d.ts +29 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.d.ts +32 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputMutation.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/{usePostOrchestrationProcessInputStoreMutation.js → usePostOrchestrationProcessInputMutation.js} +5 -5
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +2 -1
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputMutation.d.ts +29 -0
- package/dist/rmg-service/src/services/hooks/{usePutOrchestrationProcessInputStoreMutation.js → usePutOrchestrationProcessInputMutation.js} +5 -5
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +2 -1
- package/dist/rmg-service/src/services/hooks/useStartReleaseExecutionMutation.d.ts +8 -1
- package/dist/rmg-service/src/services/index.d.ts +47 -23
- package/dist/rmg-service/src/services/index.js +8 -7
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/CreateReleaseGroupRequestRequestBody.d.ts +9 -1
- package/dist/rmg-service/src/services/requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.d.ts +10 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateReleaseGroupRequestRequestBody.d.ts +9 -1
- package/dist/rmg-service/src/services/requestBodies/UpdateReleaseRequestRequestBody.d.ts +8 -0
- package/dist/rmg-service/src/services/responses/ActivityInputsResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/FreezeDetailsResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/FreezeListResponseResponse.d.ts +2 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.d.ts +14 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessAttachedReleaseGroupsResponseResponse.d.ts} +3 -3
- package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessInputSummaryResponseResponse.d.ts} +3 -3
- package/dist/rmg-service/src/services/responses/OrchestrationProcessInputSummaryResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.d.ts +14 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +12 -0
- package/dist/rmg-service/src/services/schemas/ActivityInputYaml.js +4 -0
- 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/AttachedReleaseGroupDto.d.ts +26 -0
- package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/Error.d.ts +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/GetReleaseGroupResponse.d.ts +9 -1
- package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +12 -0
- package/dist/rmg-service/src/services/schemas/InputVariable.js +1 -0
- 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/OrchestrationActivityPipelineYaml.d.ts +15 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +22 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +23 -16
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +0 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +24 -22
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.d.ts +31 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +15 -13
- package/dist/rmg-service/src/services/schemas/PhaseInputYaml.d.ts +18 -0
- package/dist/rmg-service/src/services/schemas/PhaseInputYaml.js +1 -0
- package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.d.ts +12 -0
- package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.d.ts +25 -0
- package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/ReleaseDto.d.ts +9 -1
- package/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.js +1 -0
- package/package.json +1 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +0 -33
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +0 -41
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +0 -31
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +0 -39
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +0 -6
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.d.ts +0 -10
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +0 -6
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +0 -8
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +0 -9
- package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +0 -62
- /package/dist/rmg-service/src/services/requestBodies/{CreateOrchestrationActivityInputStoreRequestRequestBody.js → CreateOrchestrationProcessInputRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/CreateOrchestrationActivityInputStoreResponseResponse.js → requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/CreateOrchestrationProcessInputStoreResponseResponse.js → requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.js → ActivityInputsResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/{schemas/PipelineOrchestrationActivityYaml.js → responses/CreateOrchestrationProcessInputResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.js → FreezeDetailsResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/{schemas/OrchestrationActivityInputStoreDto.js → responses/FreezeListResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/{schemas/OrchestrationProcessInputStoreDto.js → responses/OrchestrationProcessAttachedReleaseGroupsResponseResponse.js} +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Basic freeze information for list view
|
|
3
|
+
*/
|
|
4
|
+
export interface FreezeListItemDto {
|
|
5
|
+
/**
|
|
6
|
+
* Expected end timestamp
|
|
7
|
+
* @format int64
|
|
8
|
+
*/
|
|
9
|
+
expectedEndTs: number;
|
|
10
|
+
/**
|
|
11
|
+
* Expected start timestamp
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
14
|
+
expectedStartTs: number;
|
|
15
|
+
/**
|
|
16
|
+
* Freeze identifier
|
|
17
|
+
*/
|
|
18
|
+
identifier: string;
|
|
19
|
+
/**
|
|
20
|
+
* Freeze name
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* Organization identifier
|
|
25
|
+
*/
|
|
26
|
+
orgIdentifier: string;
|
|
27
|
+
/**
|
|
28
|
+
* Project identifier
|
|
29
|
+
*/
|
|
30
|
+
projectIdentifier: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { FreezeListItemDto } from '../schemas/FreezeListItemDto';
|
|
2
|
+
import type { NextRequest } from '../schemas/NextRequest';
|
|
3
|
+
/**
|
|
4
|
+
* Paginated response containing freeze list items
|
|
5
|
+
*/
|
|
6
|
+
export interface FreezeListResponseDto {
|
|
7
|
+
/**
|
|
8
|
+
* List of freeze items
|
|
9
|
+
*/
|
|
10
|
+
freezes: FreezeListItemDto[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether this is the last page of results
|
|
13
|
+
*/
|
|
14
|
+
last: boolean;
|
|
15
|
+
nextRequest: NextRequest;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
export interface GetReleaseGroupResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Identifier for the orchestration process.
|
|
4
|
+
*/
|
|
5
|
+
processIdentifier?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Identifier for the orchestration process input.
|
|
8
|
+
*/
|
|
9
|
+
processInputIdentifier?: string;
|
|
2
10
|
/**
|
|
3
11
|
* YAML representation of the release group.
|
|
4
12
|
*/
|
|
5
|
-
yaml
|
|
13
|
+
yaml: string;
|
|
6
14
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { InputVariableType } from '../schemas/InputVariableType';
|
|
2
|
+
export interface InputVariable {
|
|
3
|
+
/**
|
|
4
|
+
* Default value for the variable in string format
|
|
5
|
+
*/
|
|
6
|
+
default?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Description of the variable
|
|
9
|
+
*/
|
|
10
|
+
description?: string;
|
|
11
|
+
type: InputVariableType;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipeline configuration for orchestration activities
|
|
3
|
+
*/
|
|
4
|
+
export interface OrchestrationActivityPipelineYaml {
|
|
5
|
+
/**
|
|
6
|
+
* Pipeline input set configuration
|
|
7
|
+
*/
|
|
8
|
+
inputSet?: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Pipeline location in format orgIdentifier/projectIdentifier/pipelineIdentifier
|
|
13
|
+
*/
|
|
14
|
+
pipeline: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface OrchestrationActivityProcessYaml {
|
|
2
|
+
/**
|
|
3
|
+
* Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
|
|
4
|
+
*/
|
|
5
|
+
activity: string;
|
|
6
|
+
/**
|
|
7
|
+
* List of phase identifiers that this phase depends on
|
|
8
|
+
*/
|
|
9
|
+
'depends-on'?: string[];
|
|
10
|
+
/**
|
|
11
|
+
* Description of the activity
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Unique identifier for the activity
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Name of the activity
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
+
import type { InputVariable } from '../schemas/InputVariable';
|
|
2
|
+
import type { OrchestrationActivityPipelineYaml } from '../schemas/OrchestrationActivityPipelineYaml';
|
|
1
3
|
export interface OrchestrationActivityYaml {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
activity: {
|
|
5
|
+
/**
|
|
6
|
+
* Description of the activity
|
|
7
|
+
*/
|
|
8
|
+
description: string;
|
|
9
|
+
/**
|
|
10
|
+
* Unique identifier for the activity
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Input definitions for the activity
|
|
15
|
+
*/
|
|
16
|
+
inputs: {
|
|
17
|
+
[key: string]: InputVariable;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Name of the activity
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
pipeline?: OrchestrationActivityPipelineYaml;
|
|
24
|
+
};
|
|
18
25
|
}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import type {
|
|
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
|
-
|
|
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
|
+
};
|
|
24
26
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
|
|
2
2
|
export interface OrchestrationProcessDto {
|
|
3
|
+
/**
|
|
4
|
+
* Number of releases attached to the process
|
|
5
|
+
*/
|
|
6
|
+
attachedReleaseGroupCount: number;
|
|
3
7
|
description?: string;
|
|
4
8
|
identifier: string;
|
|
5
9
|
lastUpdatedAt: number;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { InputVariable } from '../schemas/InputVariable';
|
|
2
|
+
import type { PhaseInputYaml } from '../schemas/PhaseInputYaml';
|
|
3
|
+
export interface OrchestrationProcessInputYaml {
|
|
4
|
+
/**
|
|
5
|
+
* Description of the orchestration process input
|
|
6
|
+
*/
|
|
7
|
+
description?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Global input configuration
|
|
10
|
+
*/
|
|
11
|
+
global: {
|
|
12
|
+
/**
|
|
13
|
+
* Global input variables available across all phases
|
|
14
|
+
*/
|
|
15
|
+
inputs?: {
|
|
16
|
+
[key: string]: InputVariable;
|
|
17
|
+
};
|
|
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;
|
|
27
|
+
/**
|
|
28
|
+
* Phase-specific input configurations
|
|
29
|
+
*/
|
|
30
|
+
phases: PhaseInputYaml[];
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import type { OrchestrationPhaseYaml } from '../schemas/OrchestrationPhaseYaml';
|
|
2
2
|
export interface OrchestrationReleaseProcessYaml {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
process: {
|
|
4
|
+
/**
|
|
5
|
+
* Description of the orchestration process
|
|
6
|
+
*/
|
|
7
|
+
description: string;
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the orchestration process
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Name of the orchestration process
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
phases: OrchestrationPhaseYaml[];
|
|
17
|
+
};
|
|
16
18
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ActivityInputYaml } from '../schemas/ActivityInputYaml';
|
|
2
|
+
import type { InputVariable } from '../schemas/InputVariable';
|
|
3
|
+
export interface PhaseInputYaml {
|
|
4
|
+
/**
|
|
5
|
+
* Activities configuration for this phase
|
|
6
|
+
*/
|
|
7
|
+
activities?: ActivityInputYaml[];
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the phase
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Variables specific to this phase
|
|
14
|
+
*/
|
|
15
|
+
inputs?: {
|
|
16
|
+
[key: string]: InputVariable;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
|
|
2
|
+
export interface ProcessInputSummaryDto {
|
|
3
|
+
/**
|
|
4
|
+
* Description of the process input
|
|
5
|
+
*/
|
|
6
|
+
description?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Identifier of the process input
|
|
9
|
+
*/
|
|
10
|
+
identifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Last updated timestamp in milliseconds
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
lastUpdatedAt: number;
|
|
16
|
+
lastUpdatedBy: LastUpdatedByDto;
|
|
17
|
+
/**
|
|
18
|
+
* Name of the process input
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Status of the process input
|
|
23
|
+
*/
|
|
24
|
+
status: 'Configured' | 'Incomplete';
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -35,6 +35,14 @@ export interface ReleaseDto {
|
|
|
35
35
|
* Name of the release
|
|
36
36
|
*/
|
|
37
37
|
name: string;
|
|
38
|
+
/**
|
|
39
|
+
* Identifier for the orchestration process.
|
|
40
|
+
*/
|
|
41
|
+
processIdentifier?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Identifier for the orchestration process input.
|
|
44
|
+
*/
|
|
45
|
+
processInputIdentifier?: string;
|
|
38
46
|
/**
|
|
39
47
|
* Identifier for the release group
|
|
40
48
|
*/
|
|
@@ -42,7 +50,7 @@ export interface ReleaseDto {
|
|
|
42
50
|
/**
|
|
43
51
|
* Current status of the release
|
|
44
52
|
*/
|
|
45
|
-
status: 'Failed' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
|
|
53
|
+
status: 'Aborted' | 'Failed' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
|
|
46
54
|
/**
|
|
47
55
|
* Version of the release
|
|
48
56
|
*/
|
|
@@ -10,6 +10,14 @@ export interface ReleaseGroupDto {
|
|
|
10
10
|
lastUpdatedAt: number;
|
|
11
11
|
lastUpdatedBy: LastUpdatedByDto;
|
|
12
12
|
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Process identifier
|
|
15
|
+
*/
|
|
16
|
+
processIdentifier?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Process input identifier
|
|
19
|
+
*/
|
|
20
|
+
processInputIdentifier?: string;
|
|
13
21
|
releaseType: ReleaseType;
|
|
14
22
|
releaseVersion: string;
|
|
15
23
|
tags?: {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { GlobalReleaseInputYaml } from '../schemas/GlobalReleaseInputYaml';
|
|
2
|
+
import type { PhaseReleaseInputYaml } from '../schemas/PhaseReleaseInputYaml';
|
|
3
|
+
export interface ReleaseInputYaml {
|
|
4
|
+
global?: GlobalReleaseInputYaml;
|
|
5
|
+
/**
|
|
6
|
+
* Phase-specific input values
|
|
7
|
+
*/
|
|
8
|
+
phases?: PhaseReleaseInputYaml[];
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
3
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
-
export interface GetOrchestrationActivityInputStoreQueryPathParams {
|
|
6
|
-
identifier: string;
|
|
7
|
-
}
|
|
8
|
-
export interface GetOrchestrationActivityInputStoreQueryQueryParams {
|
|
9
|
-
orgIdentifier?: string;
|
|
10
|
-
projectIdentifier?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface GetOrchestrationActivityInputStoreQueryHeaderParams {
|
|
13
|
-
'Harness-Account': string;
|
|
14
|
-
}
|
|
15
|
-
export type GetOrchestrationActivityInputStoreOkResponse = ResponseWithPagination<{
|
|
16
|
-
/**
|
|
17
|
-
* Identifier of the activity input store
|
|
18
|
-
*/
|
|
19
|
-
identifier: string;
|
|
20
|
-
/**
|
|
21
|
-
* YAML configuration of the activity input store
|
|
22
|
-
*/
|
|
23
|
-
yaml: string;
|
|
24
|
-
}>;
|
|
25
|
-
export type GetOrchestrationActivityInputStoreErrorResponse = ErrorResponseResponse;
|
|
26
|
-
export interface GetOrchestrationActivityInputStoreProps extends GetOrchestrationActivityInputStoreQueryPathParams, Omit<FetcherOptions<GetOrchestrationActivityInputStoreQueryQueryParams, unknown, GetOrchestrationActivityInputStoreQueryHeaderParams>, 'url'> {
|
|
27
|
-
queryParams: GetOrchestrationActivityInputStoreQueryQueryParams;
|
|
28
|
-
}
|
|
29
|
-
export declare function getOrchestrationActivityInputStore(props: GetOrchestrationActivityInputStoreProps): Promise<GetOrchestrationActivityInputStoreOkResponse>;
|
|
30
|
-
/**
|
|
31
|
-
* Get the activity input store by identifier
|
|
32
|
-
*/
|
|
33
|
-
export declare function useGetOrchestrationActivityInputStoreQuery(props: GetOrchestrationActivityInputStoreProps, options?: Omit<UseQueryOptions<GetOrchestrationActivityInputStoreOkResponse, GetOrchestrationActivityInputStoreErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivityInputStoreOkResponse, import("..").Error>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
-
export function getOrchestrationActivityInputStore(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/orchestration/activity/inputStore/${props.identifier}`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get the activity input store by identifier
|
|
11
|
-
*/
|
|
12
|
-
export function useGetOrchestrationActivityInputStoreQuery(props, options) {
|
|
13
|
-
return useQuery(['get-orchestrationActivityInputStore', props.identifier, props.queryParams], ({ signal }) => getOrchestrationActivityInputStore(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { OrchestrationActivityInputStoreSummaryResponseResponse } from '../responses/OrchestrationActivityInputStoreSummaryResponseResponse';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface GetOrchestrationActivityInputStoreSummaryQueryQueryParams {
|
|
7
|
-
orgIdentifier?: string;
|
|
8
|
-
searchTerm?: string;
|
|
9
|
-
page?: number;
|
|
10
|
-
size?: number;
|
|
11
|
-
sort?: string[];
|
|
12
|
-
}
|
|
13
|
-
export interface GetOrchestrationActivityInputStoreSummaryQueryHeaderParams {
|
|
14
|
-
'Harness-Account': string;
|
|
15
|
-
}
|
|
16
|
-
export type GetOrchestrationActivityInputStoreSummaryOkResponse = ResponseWithPagination<OrchestrationActivityInputStoreSummaryResponseResponse>;
|
|
17
|
-
export type GetOrchestrationActivityInputStoreSummaryErrorResponse = ErrorResponseResponse;
|
|
18
|
-
export interface GetOrchestrationActivityInputStoreSummaryProps extends Omit<FetcherOptions<GetOrchestrationActivityInputStoreSummaryQueryQueryParams, unknown, GetOrchestrationActivityInputStoreSummaryQueryHeaderParams>, 'url'> {
|
|
19
|
-
queryParams: GetOrchestrationActivityInputStoreSummaryQueryQueryParams;
|
|
20
|
-
}
|
|
21
|
-
export declare function getOrchestrationActivityInputStoreSummary(props: GetOrchestrationActivityInputStoreSummaryProps): Promise<GetOrchestrationActivityInputStoreSummaryOkResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Fetch List of Orchestration Activity Input Stores
|
|
24
|
-
*/
|
|
25
|
-
export declare function useGetOrchestrationActivityInputStoreSummaryQuery(props: GetOrchestrationActivityInputStoreSummaryProps, options?: Omit<UseQueryOptions<GetOrchestrationActivityInputStoreSummaryOkResponse, GetOrchestrationActivityInputStoreSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivityInputStoreSummaryOkResponse, import("..").Error>;
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
-
export function getOrchestrationActivityInputStoreSummary(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/orchestration/activity/inputStore/summary`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Fetch List of Orchestration Activity Input Stores
|
|
11
|
-
*/
|
|
12
|
-
export function useGetOrchestrationActivityInputStoreSummaryQuery(props, options) {
|
|
13
|
-
return useQuery(['get-orchestrationActivityInputStore-summary', props.queryParams], ({ signal }) => getOrchestrationActivityInputStoreSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { OrchestrationProcessInputStoreSummaryResponseResponse } from '../responses/OrchestrationProcessInputStoreSummaryResponseResponse';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface GetOrchestrationProcessInputStoreSummaryQueryQueryParams {
|
|
7
|
-
orgIdentifier?: string;
|
|
8
|
-
searchTerm?: string;
|
|
9
|
-
page?: number;
|
|
10
|
-
size?: number;
|
|
11
|
-
sort?: string[];
|
|
12
|
-
}
|
|
13
|
-
export interface GetOrchestrationProcessInputStoreSummaryQueryHeaderParams {
|
|
14
|
-
'Harness-Account': string;
|
|
15
|
-
}
|
|
16
|
-
export type GetOrchestrationProcessInputStoreSummaryOkResponse = ResponseWithPagination<OrchestrationProcessInputStoreSummaryResponseResponse>;
|
|
17
|
-
export type GetOrchestrationProcessInputStoreSummaryErrorResponse = ErrorResponseResponse;
|
|
18
|
-
export interface GetOrchestrationProcessInputStoreSummaryProps extends Omit<FetcherOptions<GetOrchestrationProcessInputStoreSummaryQueryQueryParams, unknown, GetOrchestrationProcessInputStoreSummaryQueryHeaderParams>, 'url'> {
|
|
19
|
-
queryParams: GetOrchestrationProcessInputStoreSummaryQueryQueryParams;
|
|
20
|
-
}
|
|
21
|
-
export declare function getOrchestrationProcessInputStoreSummary(props: GetOrchestrationProcessInputStoreSummaryProps): Promise<GetOrchestrationProcessInputStoreSummaryOkResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Fetch List of Orchestration Process Input Stores
|
|
24
|
-
*/
|
|
25
|
-
export declare function useGetOrchestrationProcessInputStoreSummaryQuery(props: GetOrchestrationProcessInputStoreSummaryProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessInputStoreSummaryOkResponse, GetOrchestrationProcessInputStoreSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessInputStoreSummaryOkResponse, import("..").Error>;
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
-
export function getOrchestrationProcessInputStoreSummary(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/orchestration/process/inputStore/summary`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Fetch List of Orchestration Process Input Stores
|
|
11
|
-
*/
|
|
12
|
-
export function useGetOrchestrationProcessInputStoreSummaryQuery(props, options) {
|
|
13
|
-
return useQuery(['get-orchestrationProcessInputStore-summary', props.queryParams], ({ signal }) => getOrchestrationProcessInputStoreSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|