@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.
Files changed (88) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.d.ts +38 -0
  2. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery.d.ts +31 -0
  4. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +33 -0
  6. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +14 -0
  7. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +25 -0
  8. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +14 -0
  9. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityQuery.d.ts +25 -0
  10. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityQuery.js +14 -0
  11. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +25 -0
  12. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +14 -0
  13. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.d.ts +25 -0
  14. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.js +14 -0
  15. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.d.ts +25 -0
  16. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.js +14 -0
  17. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +25 -0
  18. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +14 -0
  19. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.d.ts +25 -0
  20. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.js +14 -0
  21. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +41 -0
  22. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.js +14 -0
  23. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.d.ts +25 -0
  24. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.js +14 -0
  25. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +31 -0
  26. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +14 -0
  27. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +27 -0
  28. package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.js +14 -0
  29. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +39 -0
  30. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.js +14 -0
  31. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +27 -0
  32. package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.js +14 -0
  33. package/dist/rmg-service/src/services/index.d.ts +58 -0
  34. package/dist/rmg-service/src/services/index.js +16 -0
  35. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +6 -0
  36. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.js +4 -0
  37. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityRequestRequestBody.d.ts +3 -0
  38. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityRequestRequestBody.js +4 -0
  39. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.d.ts +6 -0
  40. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.js +4 -0
  41. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationActivityRequestRequestBody.d.ts +3 -0
  42. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationActivityRequestRequestBody.js +4 -0
  43. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.d.ts +3 -0
  44. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.js +4 -0
  45. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.d.ts +10 -0
  46. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.js +4 -0
  47. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.d.ts +4 -0
  48. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.js +4 -0
  49. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +6 -0
  50. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.js +4 -0
  51. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessResponseResponse.d.ts +10 -0
  52. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessResponseResponse.js +4 -0
  53. package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.d.ts +10 -0
  54. package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.js +4 -0
  55. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessResponseResponse.d.ts +10 -0
  56. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessResponseResponse.js +4 -0
  57. package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.d.ts +16 -0
  58. package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.js +1 -0
  59. package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.d.ts +10 -0
  60. package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.js +1 -0
  61. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.d.ts +16 -0
  62. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.js +1 -0
  63. package/dist/rmg-service/src/services/responses/OrchestrationProcessSummaryResponseResponse.d.ts +16 -0
  64. package/dist/rmg-service/src/services/responses/OrchestrationProcessSummaryResponseResponse.js +1 -0
  65. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.d.ts +4 -0
  66. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.js +4 -0
  67. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityRequestType.d.ts +4 -0
  68. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityRequestType.js +4 -0
  69. package/dist/rmg-service/src/services/schemas/LastUpdatedByDto.d.ts +5 -0
  70. package/dist/rmg-service/src/services/schemas/LastUpdatedByDto.js +4 -0
  71. package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +8 -0
  72. package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.js +1 -0
  73. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +18 -0
  74. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +4 -0
  75. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.d.ts +10 -0
  76. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.js +4 -0
  77. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +24 -0
  78. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.js +1 -0
  79. package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +8 -0
  80. package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.js +1 -0
  81. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +9 -0
  82. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.js +1 -0
  83. package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +16 -0
  84. package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.js +1 -0
  85. package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +62 -0
  86. package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.js +4 -0
  87. package/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +2 -5
  88. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ export interface OrchestrationActivityYamlDto {
2
+ /**
3
+ * Identifier of the activity
4
+ */
5
+ identifier: string;
6
+ /**
7
+ * YAML configuration of the activity
8
+ */
9
+ yaml: string;
10
+ }
@@ -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,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,8 @@
1
+ import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
2
+ export interface OrchestrationProcessDto {
3
+ description?: string;
4
+ identifier: string;
5
+ lastUpdatedAt: number;
6
+ lastUpdatedBy: LastUpdatedByDto;
7
+ name: string;
8
+ }
@@ -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,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,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
+ }
@@ -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,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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",