@harnessio/react-rmg-service-client 0.16.0 → 0.18.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/useGetOrchestrationActivitiesByAcitivityRefsMutation.d.ts +38 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery.d.ts +31 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +33 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +41 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +31 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +27 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +39 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +27 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +58 -0
- package/dist/rmg-service/src/services/index.js +16 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityRequestRequestBody.d.ts +3 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationActivityRequestRequestBody.d.ts +3 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationActivityRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.d.ts +3 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.d.ts +4 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +6 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationProcessResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationProcessResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.d.ts +16 -0
- package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.d.ts +16 -0
- package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/OrchestrationProcessSummaryResponseResponse.d.ts +16 -0
- package/dist/rmg-service/src/services/responses/OrchestrationProcessSummaryResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.js +4 -0
- package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityRequestType.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityRequestType.js +4 -0
- package/dist/rmg-service/src/services/schemas/LastUpdatedByDto.d.ts +5 -0
- package/dist/rmg-service/src/services/schemas/LastUpdatedByDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +18 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.js +1 -0
- package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +62 -0
- package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +2 -5
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { OrchestrationActivityYaml } from '../schemas/OrchestrationActivityYaml';
|
|
2
|
+
export interface OrchestrationPhaseYaml {
|
|
3
|
+
activities: OrchestrationActivityYaml[];
|
|
4
|
+
/**
|
|
5
|
+
* List of phase identifiers that this phase depends on
|
|
6
|
+
*/
|
|
7
|
+
depends_on?: string[];
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the phase
|
|
10
|
+
*/
|
|
11
|
+
identifier: string;
|
|
12
|
+
/**
|
|
13
|
+
* Name of the phase
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* List of owner groups for the phase
|
|
18
|
+
*/
|
|
19
|
+
owners?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Timeout duration for the phase (e.g., "2h", "24h")
|
|
22
|
+
*/
|
|
23
|
+
timeout: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
|
|
2
|
+
export interface OrchestrationProcessInputStoreDto {
|
|
3
|
+
completed: boolean;
|
|
4
|
+
description?: string;
|
|
5
|
+
identifier: string;
|
|
6
|
+
lastUpdatedAt: number;
|
|
7
|
+
lastUpdatedBy: LastUpdatedByDto;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { OrchestrationPhaseYaml } from '../schemas/OrchestrationPhaseYaml';
|
|
2
|
+
export interface OrchestrationReleaseProcessYaml {
|
|
3
|
+
/**
|
|
4
|
+
* Description of the orchestration process
|
|
5
|
+
*/
|
|
6
|
+
description: string;
|
|
7
|
+
/**
|
|
8
|
+
* Unique identifier for the orchestration process
|
|
9
|
+
*/
|
|
10
|
+
identifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Name of the orchestration process
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
phases: OrchestrationPhaseYaml[];
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export interface PipelineOrchestrationActivityYaml {
|
|
2
|
+
/**
|
|
3
|
+
* Description of the pipeline activity
|
|
4
|
+
*/
|
|
5
|
+
description: string;
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier for the pipeline activity
|
|
8
|
+
*/
|
|
9
|
+
identifier: string;
|
|
10
|
+
inputs: {
|
|
11
|
+
[key: string]: {
|
|
12
|
+
/**
|
|
13
|
+
* Description of the input parameter
|
|
14
|
+
*/
|
|
15
|
+
description: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the input is required
|
|
18
|
+
*/
|
|
19
|
+
required: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Type of the input parameter
|
|
22
|
+
*/
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Name of the pipeline activity
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
spec: {
|
|
31
|
+
/**
|
|
32
|
+
* Organization identifier
|
|
33
|
+
*/
|
|
34
|
+
orgIdentifier: string;
|
|
35
|
+
outputs: Array<{
|
|
36
|
+
/**
|
|
37
|
+
* Name of the output
|
|
38
|
+
*/
|
|
39
|
+
name: string;
|
|
40
|
+
/**
|
|
41
|
+
* Value expression for the output
|
|
42
|
+
*/
|
|
43
|
+
value: string;
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Pipeline identifier
|
|
47
|
+
*/
|
|
48
|
+
pipelineIdentifier: string;
|
|
49
|
+
/**
|
|
50
|
+
* Project identifier
|
|
51
|
+
*/
|
|
52
|
+
projectIdentifier: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Timeout duration for the pipeline activity (e.g., "8h")
|
|
56
|
+
*/
|
|
57
|
+
timeout: string;
|
|
58
|
+
/**
|
|
59
|
+
* Type of the activity
|
|
60
|
+
*/
|
|
61
|
+
type: 'PIPELINE';
|
|
62
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReleaseCadence } from '../schemas/ReleaseCadence';
|
|
2
|
+
import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
|
|
2
3
|
import type { ReleaseType } from '../schemas/ReleaseType';
|
|
3
4
|
export interface ReleaseGroupDto {
|
|
4
5
|
cadence: ReleaseCadence;
|
|
@@ -7,11 +8,7 @@ export interface ReleaseGroupDto {
|
|
|
7
8
|
id: string;
|
|
8
9
|
identifier: string;
|
|
9
10
|
lastUpdatedAt: number;
|
|
10
|
-
lastUpdatedBy:
|
|
11
|
-
email?: string;
|
|
12
|
-
identifier: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
};
|
|
11
|
+
lastUpdatedBy: LastUpdatedByDto;
|
|
15
12
|
name: string;
|
|
16
13
|
releaseType: ReleaseType;
|
|
17
14
|
releaseVersion: string;
|