@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.
Files changed (112) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetFreezeDetailsQuery.d.ts +25 -0
  2. package/dist/rmg-service/src/services/hooks/useGetFreezeDetailsQuery.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useGetFreezeListQuery.d.ts +35 -0
  4. package/dist/rmg-service/src/services/hooks/useGetFreezeListQuery.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputsQuery.d.ts +25 -0
  6. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputsQuery.js +14 -0
  7. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.d.ts +26 -0
  8. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.js +19 -0
  9. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.d.ts +29 -0
  10. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.js +14 -0
  11. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.d.ts +32 -0
  12. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.js +14 -0
  13. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputMutation.d.ts +28 -0
  14. package/dist/rmg-service/src/services/hooks/{usePostOrchestrationProcessInputStoreMutation.js → usePostOrchestrationProcessInputMutation.js} +5 -5
  15. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +2 -1
  16. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputMutation.d.ts +29 -0
  17. package/dist/rmg-service/src/services/hooks/{usePutOrchestrationProcessInputStoreMutation.js → usePutOrchestrationProcessInputMutation.js} +5 -5
  18. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +2 -1
  19. package/dist/rmg-service/src/services/hooks/useStartReleaseExecutionMutation.d.ts +8 -1
  20. package/dist/rmg-service/src/services/index.d.ts +47 -23
  21. package/dist/rmg-service/src/services/index.js +8 -7
  22. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
  23. package/dist/rmg-service/src/services/requestBodies/CreateReleaseGroupRequestRequestBody.d.ts +9 -1
  24. package/dist/rmg-service/src/services/requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.d.ts +10 -0
  25. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
  26. package/dist/rmg-service/src/services/requestBodies/UpdateReleaseGroupRequestRequestBody.d.ts +9 -1
  27. package/dist/rmg-service/src/services/requestBodies/UpdateReleaseRequestRequestBody.d.ts +8 -0
  28. package/dist/rmg-service/src/services/responses/ActivityInputsResponseResponse.d.ts +2 -0
  29. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputResponseResponse.d.ts +10 -0
  30. package/dist/rmg-service/src/services/responses/FreezeDetailsResponseResponse.d.ts +2 -0
  31. package/dist/rmg-service/src/services/responses/FreezeListResponseResponse.d.ts +2 -0
  32. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.d.ts +14 -0
  33. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.js +4 -0
  34. package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessAttachedReleaseGroupsResponseResponse.d.ts} +3 -3
  35. package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessInputSummaryResponseResponse.d.ts} +3 -3
  36. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputSummaryResponseResponse.js +1 -0
  37. package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.d.ts +10 -0
  38. package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.js +4 -0
  39. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.d.ts +14 -0
  40. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.js +4 -0
  41. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.d.ts +10 -0
  42. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.js +4 -0
  43. package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +12 -0
  44. package/dist/rmg-service/src/services/schemas/ActivityInputYaml.js +4 -0
  45. package/dist/rmg-service/src/services/schemas/ActivityInputsResponse.d.ts +9 -0
  46. package/dist/rmg-service/src/services/schemas/ActivityInputsResponse.js +4 -0
  47. package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.d.ts +26 -0
  48. package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.js +4 -0
  49. package/dist/rmg-service/src/services/schemas/Error.d.ts +4 -0
  50. package/dist/rmg-service/src/services/schemas/FreezeDetailsDto.d.ts +41 -0
  51. package/dist/rmg-service/src/services/schemas/FreezeDetailsDto.js +1 -0
  52. package/dist/rmg-service/src/services/schemas/FreezeEntitiesDto.d.ts +29 -0
  53. package/dist/rmg-service/src/services/schemas/FreezeEntitiesDto.js +4 -0
  54. package/dist/rmg-service/src/services/schemas/FreezeListItemDto.d.ts +31 -0
  55. package/dist/rmg-service/src/services/schemas/FreezeListItemDto.js +4 -0
  56. package/dist/rmg-service/src/services/schemas/FreezeListResponseDto.d.ts +16 -0
  57. package/dist/rmg-service/src/services/schemas/FreezeListResponseDto.js +1 -0
  58. package/dist/rmg-service/src/services/schemas/GetReleaseGroupResponse.d.ts +9 -1
  59. package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.d.ts +8 -0
  60. package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.js +4 -0
  61. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +12 -0
  62. package/dist/rmg-service/src/services/schemas/InputVariable.js +1 -0
  63. package/dist/rmg-service/src/services/schemas/InputVariableType.d.ts +4 -0
  64. package/dist/rmg-service/src/services/schemas/InputVariableType.js +4 -0
  65. package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.d.ts +15 -0
  66. package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.js +4 -0
  67. package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +22 -0
  68. package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.js +4 -0
  69. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +23 -16
  70. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +0 -3
  71. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +24 -22
  72. package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +4 -0
  73. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.d.ts +31 -0
  74. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.js +1 -0
  75. package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +15 -13
  76. package/dist/rmg-service/src/services/schemas/PhaseInputYaml.d.ts +18 -0
  77. package/dist/rmg-service/src/services/schemas/PhaseInputYaml.js +1 -0
  78. package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.d.ts +12 -0
  79. package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.js +4 -0
  80. package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.d.ts +25 -0
  81. package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.js +1 -0
  82. package/dist/rmg-service/src/services/schemas/ReleaseDto.d.ts +9 -1
  83. package/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +8 -0
  84. package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.d.ts +9 -0
  85. package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.js +1 -0
  86. package/package.json +1 -1
  87. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +0 -33
  88. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +0 -14
  89. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +0 -25
  90. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +0 -14
  91. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +0 -25
  92. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +0 -14
  93. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +0 -25
  94. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +0 -14
  95. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +0 -41
  96. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +0 -31
  97. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +0 -14
  98. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +0 -39
  99. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +0 -6
  100. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.d.ts +0 -10
  101. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +0 -6
  102. package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +0 -8
  103. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +0 -9
  104. package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +0 -62
  105. /package/dist/rmg-service/src/services/requestBodies/{CreateOrchestrationActivityInputStoreRequestRequestBody.js → CreateOrchestrationProcessInputRequestRequestBody.js} +0 -0
  106. /package/dist/rmg-service/src/services/{responses/CreateOrchestrationActivityInputStoreResponseResponse.js → requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.js} +0 -0
  107. /package/dist/rmg-service/src/services/{responses/CreateOrchestrationProcessInputStoreResponseResponse.js → requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.js} +0 -0
  108. /package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.js → ActivityInputsResponseResponse.js} +0 -0
  109. /package/dist/rmg-service/src/services/{schemas/PipelineOrchestrationActivityYaml.js → responses/CreateOrchestrationProcessInputResponseResponse.js} +0 -0
  110. /package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.js → FreezeDetailsResponseResponse.js} +0 -0
  111. /package/dist/rmg-service/src/services/{schemas/OrchestrationActivityInputStoreDto.js → responses/FreezeListResponseResponse.js} +0 -0
  112. /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,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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
+ }
@@ -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?: string;
13
+ yaml: string;
6
14
  }
@@ -0,0 +1,8 @@
1
+ export interface GlobalReleaseInputYaml {
2
+ /**
3
+ * Global input values
4
+ */
5
+ with?: {
6
+ [key: string]: string;
7
+ };
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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,4 @@
1
+ /**
2
+ * Type of an input variable for parameters and process inputs.
3
+ */
4
+ export type InputVariableType = 'boolean' | 'list' | 'number' | 'object' | 'string';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ 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,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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
- * Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
4
- */
5
- activity_ref: string;
6
- /**
7
- * Unique identifier for the activity
8
- */
9
- identifier: string;
10
- /**
11
- * Name of the activity
12
- */
13
- name: string;
14
- /**
15
- * Timeout duration for the activity (e.g., "24h", "2h")
16
- */
17
- timeout: string;
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,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,24 +1,26 @@
1
- import type { OrchestrationActivityYaml } from '../schemas/OrchestrationActivityYaml';
1
+ import type { OrchestrationActivityProcessYaml } from '../schemas/OrchestrationActivityProcessYaml';
2
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;
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
+ }
@@ -1,16 +1,18 @@
1
1
  import type { OrchestrationPhaseYaml } from '../schemas/OrchestrationPhaseYaml';
2
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[];
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,12 @@
1
+ export interface PhaseReleaseInputYaml {
2
+ /**
3
+ * Unique identifier for the phase
4
+ */
5
+ id: string;
6
+ /**
7
+ * Input values for this phase (map[string]any)
8
+ */
9
+ with?: {
10
+ [key: string]: string;
11
+ };
12
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ 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
+ }
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -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
- }
@@ -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>;
@@ -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
- }
@@ -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>;
@@ -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
- }