@harnessio/react-rmg-service-client 0.22.0 → 0.23.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/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/index.d.ts +31 -22
- package/dist/rmg-service/src/services/index.js +5 -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/CreateOrchestrationProcessInputResponseResponse.d.ts +10 -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/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/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/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 +20 -0
- package/dist/rmg-service/src/services/schemas/InputVariable.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.d.ts +11 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +38 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +43 -16
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +0 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +15 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.d.ts +17 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +19 -13
- package/dist/rmg-service/src/services/schemas/PhaseInputYaml.d.ts +16 -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 +21 -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/{schemas/PipelineOrchestrationActivityYaml.js → responses/CreateOrchestrationProcessInputResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.js → OrchestrationProcessAttachedReleaseGroupsResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.js → OrchestrationProcessInputSummaryResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{OrchestrationActivityInputStoreDto.js → OrchestrationProcessInputYaml.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{OrchestrationProcessInputStoreDto.js → PhaseInputYaml.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProcessInputSummaryDto } from '../schemas/ProcessInputSummaryDto';
|
|
2
2
|
import type { Pageable } from '../schemas/Pageable';
|
|
3
3
|
import type { PageableSort } from '../schemas/PageableSort';
|
|
4
|
-
export interface
|
|
5
|
-
content:
|
|
4
|
+
export interface OrchestrationProcessInputSummaryResponseResponse {
|
|
5
|
+
content: ProcessInputSummaryDto[];
|
|
6
6
|
empty: boolean;
|
|
7
7
|
first: boolean;
|
|
8
8
|
last: boolean;
|
package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface UpdateOrchestrationProcessInputResponseResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Identifier of the updated orchestration process input
|
|
4
|
+
*/
|
|
5
|
+
identifier: string;
|
|
6
|
+
/**
|
|
7
|
+
* Identifier of the orchestration process
|
|
8
|
+
*/
|
|
9
|
+
processIdentifier: string;
|
|
10
|
+
/**
|
|
11
|
+
* YAML configuration of the updated orchestration process input
|
|
12
|
+
*/
|
|
13
|
+
yaml: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface AttachedReleaseGroupDto {
|
|
2
|
+
/**
|
|
3
|
+
* Account identifier of the release group
|
|
4
|
+
*/
|
|
5
|
+
accountIdentifier: string;
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier of the release group
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Release group identifier
|
|
12
|
+
*/
|
|
13
|
+
identifier: string;
|
|
14
|
+
/**
|
|
15
|
+
* Name of the release group
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* Organization identifier of the release group
|
|
20
|
+
*/
|
|
21
|
+
orgIdentifier?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Project identifier of the release group
|
|
24
|
+
*/
|
|
25
|
+
projectIdentifier?: string;
|
|
26
|
+
}
|
|
@@ -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,20 @@
|
|
|
1
|
+
export interface InputVariable {
|
|
2
|
+
/**
|
|
3
|
+
* Default value for the variable (type depends on the variable type)
|
|
4
|
+
*/
|
|
5
|
+
default?: string | number | boolean | {} | {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Description of the variable
|
|
10
|
+
*/
|
|
11
|
+
description?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Name of the input variable
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* Type of the variable (e.g., string, list, boolean)
|
|
18
|
+
*/
|
|
19
|
+
type: 'boolean' | 'list' | 'number' | 'object' | 'string';
|
|
20
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface OrchestrationActivityProcessYaml {
|
|
2
|
+
/**
|
|
3
|
+
* Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
|
|
4
|
+
*/
|
|
5
|
+
activity: string;
|
|
6
|
+
/**
|
|
7
|
+
* Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
|
|
8
|
+
*/
|
|
9
|
+
activity_ref?: string;
|
|
10
|
+
/**
|
|
11
|
+
* List of phase identifiers that this phase depends on
|
|
12
|
+
*/
|
|
13
|
+
'depends-on'?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* List of phase identifiers that this phase depends on
|
|
16
|
+
*/
|
|
17
|
+
depends_on?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Description of the activity
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique identifier for the activity
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier for the activity
|
|
28
|
+
*/
|
|
29
|
+
identifier: string;
|
|
30
|
+
/**
|
|
31
|
+
* Name of the activity
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Timeout duration for the activity (e.g., "24h", "2h")
|
|
36
|
+
*/
|
|
37
|
+
timeout: string;
|
|
38
|
+
}
|
|
@@ -1,18 +1,45 @@
|
|
|
1
|
+
import type { OrchestrationActivityPipelineYaml } from '../schemas/OrchestrationActivityPipelineYaml';
|
|
1
2
|
export interface OrchestrationActivityYaml {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
3
|
+
activity: {
|
|
4
|
+
/**
|
|
5
|
+
* Description of the activity
|
|
6
|
+
*/
|
|
7
|
+
description: string;
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the activity
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier for the activity
|
|
14
|
+
*/
|
|
15
|
+
identifier?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Input definitions for the activity
|
|
18
|
+
*/
|
|
19
|
+
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
|
+
};
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Name of the activity
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
pipeline?: OrchestrationActivityPipelineYaml;
|
|
40
|
+
/**
|
|
41
|
+
* Timeout duration for the activity (e.g., "30m", "8h")
|
|
42
|
+
*/
|
|
43
|
+
timeout: string;
|
|
44
|
+
};
|
|
18
45
|
}
|
|
@@ -1,14 +1,26 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OrchestrationActivityProcessYaml } from '../schemas/OrchestrationActivityProcessYaml';
|
|
2
2
|
export interface OrchestrationPhaseYaml {
|
|
3
|
-
activities:
|
|
3
|
+
activities: OrchestrationActivityProcessYaml[];
|
|
4
|
+
/**
|
|
5
|
+
* List of phase identifiers that this phase depends on
|
|
6
|
+
*/
|
|
7
|
+
'depends-on'?: string[];
|
|
4
8
|
/**
|
|
5
9
|
* List of phase identifiers that this phase depends on
|
|
6
10
|
*/
|
|
7
11
|
depends_on?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* Description of the phase
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Unique identifier for the phase
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
8
20
|
/**
|
|
9
21
|
* Unique identifier for the phase
|
|
10
22
|
*/
|
|
11
|
-
identifier
|
|
23
|
+
identifier?: string;
|
|
12
24
|
/**
|
|
13
25
|
* Name of the phase
|
|
14
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,17 @@
|
|
|
1
|
+
import type { InputVariable } from '../schemas/InputVariable';
|
|
2
|
+
import type { PhaseInputYaml } from '../schemas/PhaseInputYaml';
|
|
3
|
+
export interface OrchestrationProcessInputYaml {
|
|
4
|
+
/**
|
|
5
|
+
* Global input configuration
|
|
6
|
+
*/
|
|
7
|
+
global?: {
|
|
8
|
+
/**
|
|
9
|
+
* Global input variables available across all phases
|
|
10
|
+
*/
|
|
11
|
+
variables?: InputVariable[];
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Phase-specific input configurations
|
|
15
|
+
*/
|
|
16
|
+
phases?: PhaseInputYaml[];
|
|
17
|
+
}
|
|
@@ -1,16 +1,22 @@
|
|
|
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
|
+
* Unique identifier for the orchestration process
|
|
14
|
+
*/
|
|
15
|
+
identifier: string;
|
|
16
|
+
/**
|
|
17
|
+
* Name of the orchestration process
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
phases: OrchestrationPhaseYaml[];
|
|
21
|
+
};
|
|
16
22
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
variables?: InputVariable[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
}
|
|
@@ -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
|
-
}
|