@harnessio/react-rmg-service-client 0.70.2-beta.2 → 0.71.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 (97) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.d.ts +26 -0
  2. package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useGetChangesetFacetsQuery.d.ts +27 -0
  4. package/dist/rmg-service/src/services/hooks/useGetChangesetFacetsQuery.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesPaginatedQuery.d.ts +1 -1
  6. package/dist/rmg-service/src/services/hooks/useListArtifactsByServiceQuery.d.ts +34 -0
  7. package/dist/rmg-service/src/services/hooks/useListArtifactsByServiceQuery.js +14 -0
  8. package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.d.ts +36 -0
  9. package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.js +14 -0
  10. package/dist/rmg-service/src/services/hooks/useListChangesetCommitsQuery.d.ts +33 -0
  11. package/dist/rmg-service/src/services/hooks/useListChangesetCommitsQuery.js +14 -0
  12. package/dist/rmg-service/src/services/hooks/useListChangesetsQuery.d.ts +37 -0
  13. package/dist/rmg-service/src/services/hooks/useListChangesetsQuery.js +14 -0
  14. package/dist/rmg-service/src/services/hooks/useRetryChangesetMutation.d.ts +25 -0
  15. package/dist/rmg-service/src/services/hooks/useRetryChangesetMutation.js +14 -0
  16. package/dist/rmg-service/src/services/hooks/useUpdateChangesetTagsMutation.d.ts +28 -0
  17. package/dist/rmg-service/src/services/hooks/useUpdateChangesetTagsMutation.js +14 -0
  18. package/dist/rmg-service/src/services/index.d.ts +33 -30
  19. package/dist/rmg-service/src/services/index.js +8 -6
  20. package/dist/rmg-service/src/services/schemas/ActivityExecutionInputDto.d.ts +0 -7
  21. package/dist/rmg-service/src/services/schemas/ArtifactBuildPipeline.d.ts +30 -0
  22. package/dist/rmg-service/src/services/schemas/ArtifactFacets.d.ts +6 -0
  23. package/dist/rmg-service/src/services/schemas/ArtifactServiceGroupList.d.ts +8 -0
  24. package/dist/rmg-service/src/services/schemas/ArtifactServiceItem.d.ts +26 -0
  25. package/dist/rmg-service/src/services/schemas/ArtifactVersion.d.ts +20 -0
  26. package/dist/rmg-service/src/services/schemas/ArtifactVersionList.d.ts +8 -0
  27. package/dist/rmg-service/src/services/schemas/Changeset.d.ts +20 -0
  28. package/dist/rmg-service/src/services/schemas/ChangesetCommit.d.ts +22 -0
  29. package/dist/rmg-service/src/services/schemas/ChangesetCommitList.d.ts +8 -0
  30. package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.d.ts +6 -0
  31. package/dist/rmg-service/src/services/schemas/ChangesetFacets.d.ts +6 -0
  32. package/dist/rmg-service/src/services/schemas/ChangesetList.d.ts +8 -0
  33. package/dist/rmg-service/src/services/schemas/ChangesetRef.d.ts +8 -0
  34. package/dist/rmg-service/src/services/schemas/ExecutionOutputDto.d.ts +0 -9
  35. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +1 -2
  36. package/dist/rmg-service/src/services/schemas/InputVariableType.d.ts +1 -1
  37. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +0 -9
  38. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +0 -9
  39. package/dist/rmg-service/src/services/schemas/OrchestrationStatus.d.ts +1 -1
  40. package/dist/rmg-service/src/services/schemas/OutputVariable.d.ts +3 -20
  41. package/dist/rmg-service/src/services/schemas/OutputVariable.js +3 -0
  42. package/dist/rmg-service/src/services/schemas/ReleaseRef.d.ts +11 -0
  43. package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.d.ts +4 -0
  44. package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.js +4 -0
  45. package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.d.ts +16 -0
  46. package/dist/rmg-service/src/services/schemas/WebhookSignalImage.d.ts +9 -0
  47. package/dist/rmg-service/src/services/schemas/WebhookSignalImage.js +4 -0
  48. package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.d.ts +2 -0
  49. package/package.json +1 -1
  50. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseInputsQuery.d.ts +0 -27
  51. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseInputsQuery.js +0 -19
  52. package/dist/rmg-service/src/services/hooks/useGetPhaseArtifactUpdatesQuery.d.ts +0 -26
  53. package/dist/rmg-service/src/services/hooks/useGetPhaseArtifactUpdatesQuery.js +0 -15
  54. package/dist/rmg-service/src/services/hooks/useGetPhaseRetryHistoryByIdentifiersQuery.d.ts +0 -31
  55. package/dist/rmg-service/src/services/hooks/useGetPhaseRetryHistoryByIdentifiersQuery.js +0 -19
  56. package/dist/rmg-service/src/services/hooks/useListArtifactTrackerServiceRefsQuery.d.ts +0 -31
  57. package/dist/rmg-service/src/services/hooks/useListArtifactTrackerServiceRefsQuery.js +0 -15
  58. package/dist/rmg-service/src/services/hooks/useListArtifactTrackerTagsByServiceMappingQuery.d.ts +0 -34
  59. package/dist/rmg-service/src/services/hooks/useListArtifactTrackerTagsByServiceMappingQuery.js +0 -15
  60. package/dist/rmg-service/src/services/hooks/usePostPhaseActionMutation.d.ts +0 -28
  61. package/dist/rmg-service/src/services/hooks/usePostPhaseActionMutation.js +0 -14
  62. package/dist/rmg-service/src/services/requestBodies/PhaseActionRequestRequestBody.d.ts +0 -2
  63. package/dist/rmg-service/src/services/responses/PhaseActionResponseResponse.d.ts +0 -2
  64. package/dist/rmg-service/src/services/responses/PhaseArtifactUpdatesResponseResponse.d.ts +0 -2
  65. package/dist/rmg-service/src/services/schemas/ArtifactTag.d.ts +0 -14
  66. package/dist/rmg-service/src/services/schemas/ArtifactTagList.d.ts +0 -11
  67. package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceRef.d.ts +0 -17
  68. package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceRefList.d.ts +0 -8
  69. package/dist/rmg-service/src/services/schemas/OutputDataType.d.ts +0 -6
  70. package/dist/rmg-service/src/services/schemas/PhaseActionRequest.d.ts +0 -11
  71. package/dist/rmg-service/src/services/schemas/PhaseActionResponse.d.ts +0 -10
  72. package/dist/rmg-service/src/services/schemas/PhaseArtifactUpdateDto.d.ts +0 -21
  73. package/dist/rmg-service/src/services/schemas/PhaseArtifactUpdatesResponse.d.ts +0 -11
  74. package/dist/rmg-service/src/services/schemas/PhaseExecutionInputDto.d.ts +0 -19
  75. package/dist/rmg-service/src/services/schemas/PhaseRetryHistoryResponse.d.ts +0 -19
  76. package/dist/rmg-service/src/services/schemas/PhaseRetryHistoryResponse.js +0 -1
  77. package/dist/rmg-service/src/services/schemas/PhaseRetryInfo.d.ts +0 -47
  78. package/dist/rmg-service/src/services/schemas/PhaseRetryInfo.js +0 -1
  79. package/dist/rmg-service/src/services/schemas/ReleaseArtifactInputVariable.d.ts +0 -25
  80. package/dist/rmg-service/src/services/schemas/ReleaseArtifactInputVariable.js +0 -1
  81. package/dist/rmg-service/src/services/schemas/ReleaseArtifactValue.d.ts +0 -19
  82. package/dist/rmg-service/src/services/schemas/StatusInfo.d.ts +0 -13
  83. /package/dist/rmg-service/src/services/schemas/{ArtifactTag.js → ArtifactBuildPipeline.js} +0 -0
  84. /package/dist/rmg-service/src/services/schemas/{ArtifactTrackerServiceRef.js → ArtifactFacets.js} +0 -0
  85. /package/dist/rmg-service/src/services/{requestBodies/PhaseActionRequestRequestBody.js → schemas/ArtifactServiceGroupList.js} +0 -0
  86. /package/dist/rmg-service/src/services/{responses/PhaseActionResponseResponse.js → schemas/ArtifactServiceItem.js} +0 -0
  87. /package/dist/rmg-service/src/services/{responses/PhaseArtifactUpdatesResponseResponse.js → schemas/ArtifactVersion.js} +0 -0
  88. /package/dist/rmg-service/src/services/schemas/{ArtifactTagList.js → ArtifactVersionList.js} +0 -0
  89. /package/dist/rmg-service/src/services/schemas/{OutputDataType.js → Changeset.js} +0 -0
  90. /package/dist/rmg-service/src/services/schemas/{ArtifactTrackerServiceRefList.js → ChangesetCommit.js} +0 -0
  91. /package/dist/rmg-service/src/services/schemas/{PhaseActionRequest.js → ChangesetCommitList.js} +0 -0
  92. /package/dist/rmg-service/src/services/schemas/{PhaseActionResponse.js → ChangesetCommitTicket.js} +0 -0
  93. /package/dist/rmg-service/src/services/schemas/{PhaseArtifactUpdateDto.js → ChangesetFacets.js} +0 -0
  94. /package/dist/rmg-service/src/services/schemas/{PhaseArtifactUpdatesResponse.js → ChangesetList.js} +0 -0
  95. /package/dist/rmg-service/src/services/schemas/{ReleaseArtifactValue.js → ChangesetRef.js} +0 -0
  96. /package/dist/rmg-service/src/services/schemas/{StatusInfo.js → ReleaseRef.js} +0 -0
  97. /package/dist/rmg-service/src/services/schemas/{PhaseExecutionInputDto.js → WebhookSignalArtifacts.js} +0 -0
@@ -10,8 +10,10 @@ export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useD
10
10
  export { deleteRelease, useDeleteReleaseMutation } from './hooks/useDeleteReleaseMutation';
11
11
  export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
12
12
  export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
13
+ export { getArtifactFacets, useGetArtifactFacetsQuery } from './hooks/useGetArtifactFacetsQuery';
13
14
  export { getArtifactTrackerServiceMapping, useGetArtifactTrackerServiceMappingQuery, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
14
15
  export { getArtifactTrackerSettings, useGetArtifactTrackerSettingsQuery, } from './hooks/useGetArtifactTrackerSettingsQuery';
16
+ export { getChangesetFacets, useGetChangesetFacetsQuery } from './hooks/useGetChangesetFacetsQuery';
15
17
  export { getEventsByEntityTypeAndId, useGetEventsByEntityTypeAndIdQuery, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
16
18
  export { getFreezeDetails, useGetFreezeDetailsQuery } from './hooks/useGetFreezeDetailsQuery';
17
19
  export { getFreezeList, useGetFreezeListQuery } from './hooks/useGetFreezeListQuery';
@@ -27,7 +29,6 @@ export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionAc
27
29
  export { getOrchestrationExecutionActivityOutputs, useGetOrchestrationExecutionActivityOutputsQuery, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
28
30
  export { getOrchestrationExecutionActivityOutputsV2, useGetOrchestrationExecutionActivityOutputsV2Query, } from './hooks/useGetOrchestrationExecutionActivityOutputsV2Query';
29
31
  export { getOrchestrationExecutionActivity, useGetOrchestrationExecutionActivityQuery, } from './hooks/useGetOrchestrationExecutionActivityQuery';
30
- export { getOrchestrationExecutionPhaseInputs, useGetOrchestrationExecutionPhaseInputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseInputsQuery';
31
32
  export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhaseOutputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
32
33
  export { getOrchestrationExecutionPhaseOutputsV2, useGetOrchestrationExecutionPhaseOutputsV2Query, } from './hooks/useGetOrchestrationExecutionPhaseOutputsV2Query';
33
34
  export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
@@ -38,8 +39,6 @@ export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } f
38
39
  export { getOrchestrationProcessInputSummary, useGetOrchestrationProcessInputSummaryQuery, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
39
40
  export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
40
41
  export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
41
- export { getPhaseArtifactUpdates, useGetPhaseArtifactUpdatesQuery, } from './hooks/useGetPhaseArtifactUpdatesQuery';
42
- export { getPhaseRetryHistoryByIdentifiers, useGetPhaseRetryHistoryByIdentifiersQuery, } from './hooks/useGetPhaseRetryHistoryByIdentifiersQuery';
43
42
  export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
44
43
  export { getProcessExecutionActivities, useGetProcessExecutionActivitiesQuery, } from './hooks/useGetProcessExecutionActivitiesQuery';
45
44
  export { getProcessExecutionInput, useGetProcessExecutionInputQuery, } from './hooks/useGetProcessExecutionInputQuery';
@@ -64,9 +63,11 @@ export { getWebhookMetadata, useGetWebhookMetadataQuery } from './hooks/useGetWe
64
63
  export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQuery';
65
64
  export { ingestWebhookSignal, useIngestWebhookSignalMutation, } from './hooks/useIngestWebhookSignalMutation';
66
65
  export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
67
- export { listArtifactTrackerServiceRefs, useListArtifactTrackerServiceRefsQuery, } from './hooks/useListArtifactTrackerServiceRefsQuery';
68
66
  export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
69
- export { listArtifactTrackerTagsByServiceMapping, useListArtifactTrackerTagsByServiceMappingQuery, } from './hooks/useListArtifactTrackerTagsByServiceMappingQuery';
67
+ export { listArtifactsByService, useListArtifactsByServiceQuery, } from './hooks/useListArtifactsByServiceQuery';
68
+ export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
69
+ export { listChangesetCommits, useListChangesetCommitsQuery, } from './hooks/useListChangesetCommitsQuery';
70
+ export { listChangesets, useListChangesetsQuery } from './hooks/useListChangesetsQuery';
70
71
  export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
71
72
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
72
73
  export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
@@ -77,7 +78,6 @@ export { postOrchestrationProcessExecute, usePostOrchestrationProcessExecuteMuta
77
78
  export { postOrchestrationProcessInput, usePostOrchestrationProcessInputMutation, } from './hooks/usePostOrchestrationProcessInputMutation';
78
79
  export { postOrchestrationProcessInputValidate, usePostOrchestrationProcessInputValidateMutation, } from './hooks/usePostOrchestrationProcessInputValidateMutation';
79
80
  export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
80
- export { postPhaseAction, usePostPhaseActionMutation } from './hooks/usePostPhaseActionMutation';
81
81
  export { postProcessExecutionAction, usePostProcessExecutionActionMutation, } from './hooks/usePostProcessExecutionActionMutation';
82
82
  export { postReleaseAction, usePostReleaseActionMutation, } from './hooks/usePostReleaseActionMutation';
83
83
  export { postReleaseAdhoc, usePostReleaseAdhocMutation } from './hooks/usePostReleaseAdhocMutation';
@@ -93,11 +93,13 @@ export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation,
93
93
  export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
94
94
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
95
95
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
96
+ export { retryChangeset, useRetryChangesetMutation } from './hooks/useRetryChangesetMutation';
96
97
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
97
98
  export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
98
99
  export { streamUpload, useStreamUploadMutation } from './hooks/useStreamUploadMutation';
99
100
  export { triggerIntegrationExecution, useTriggerIntegrationExecutionMutation, } from './hooks/useTriggerIntegrationExecutionMutation';
100
101
  export { updateArtifactTrackerServiceMapping, useUpdateArtifactTrackerServiceMappingMutation, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
102
+ export { updateChangesetTags, useUpdateChangesetTagsMutation, } from './hooks/useUpdateChangesetTagsMutation';
101
103
  export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
102
104
  export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
103
105
  export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
@@ -4,13 +4,6 @@ import type { AnyValue } from '../schemas/AnyValue';
4
4
  * Input value for an activity execution
5
5
  */
6
6
  export interface ActivityExecutionInputDto {
7
- /**
8
- * Free-form metadata bag persisted alongside the input value. release-artifact inputs use it to carry commitSha/repoName/branch/registry/artifactPath so the execution view can render them without a second lookup.
9
- *
10
- */
11
- metadata?: {
12
- [key: string]: any;
13
- };
14
7
  /**
15
8
  * Name of the input parameter
16
9
  */
@@ -0,0 +1,30 @@
1
+ export interface ArtifactBuildPipeline {
2
+ /**
3
+ * Branch the artifact was built from
4
+ */
5
+ branch: string;
6
+ /**
7
+ * Execution ID of the pipeline run that produced this artifact
8
+ */
9
+ buildPlanExecutionId: string;
10
+ /**
11
+ * Git commit SHA that produced this artifact
12
+ */
13
+ commitSha: string;
14
+ /**
15
+ * Org the pipeline belongs to
16
+ */
17
+ orgId: string;
18
+ /**
19
+ * Identifier of the pipeline that built this artifact
20
+ */
21
+ pipelineIdentifier: string;
22
+ /**
23
+ * Project the pipeline belongs to
24
+ */
25
+ projectId: string;
26
+ /**
27
+ * Source repository URL or name
28
+ */
29
+ repoName: string;
30
+ }
@@ -0,0 +1,6 @@
1
+ export interface ArtifactFacets {
2
+ artifactPaths?: string[];
3
+ registries?: string[];
4
+ services?: string[];
5
+ tags?: string[];
6
+ }
@@ -0,0 +1,8 @@
1
+ import type { ArtifactServiceItem } from '../schemas/ArtifactServiceItem';
2
+ export interface ArtifactServiceGroupList {
3
+ content?: ArtifactServiceItem[];
4
+ pageNumber?: number;
5
+ pageSize?: number;
6
+ totalElements?: number;
7
+ totalPages?: number;
8
+ }
@@ -0,0 +1,26 @@
1
+ import type { ArtifactVersion } from '../schemas/ArtifactVersion';
2
+ /**
3
+ * A service mapping together with its latest ingested artifact.
4
+ */
5
+ export interface ArtifactServiceItem {
6
+ /**
7
+ * Artifact path tracked by this mapping
8
+ */
9
+ artifactPath: string;
10
+ /**
11
+ * Registry tracked by this mapping
12
+ */
13
+ artifactRegistry: string;
14
+ /**
15
+ * Latest artifact by createdAt for this mapping; absent when the mapping has no ingested artifacts yet
16
+ */
17
+ latestArtifact?: ArtifactVersion;
18
+ /**
19
+ * Identifier of the service mapping
20
+ */
21
+ serviceMappingId: string;
22
+ /**
23
+ * Bound service reference; absent when the mapping is not yet bound to a service
24
+ */
25
+ serviceRef?: string;
26
+ }
@@ -0,0 +1,20 @@
1
+ import type { ArtifactBuildPipeline } from '../schemas/ArtifactBuildPipeline';
2
+ import type { ChangesetRef } from '../schemas/ChangesetRef';
3
+ import type { ReleaseRef } from '../schemas/ReleaseRef';
4
+ export interface ArtifactVersion {
5
+ artifactPath: string;
6
+ /**
7
+ * Pipeline build details; absent when the artifact was ingested from a non-pipeline source
8
+ */
9
+ buildPipeline?: ArtifactBuildPipeline;
10
+ changesets?: ChangesetRef[];
11
+ /**
12
+ * @format int64
13
+ */
14
+ createdAt?: number;
15
+ id: string;
16
+ registry: string;
17
+ releases?: ReleaseRef[];
18
+ serviceRef?: string;
19
+ tag: string;
20
+ }
@@ -0,0 +1,8 @@
1
+ import type { ArtifactVersion } from '../schemas/ArtifactVersion';
2
+ export interface ArtifactVersionList {
3
+ content?: ArtifactVersion[];
4
+ pageNumber?: number;
5
+ pageSize?: number;
6
+ totalElements?: number;
7
+ totalPages?: number;
8
+ }
@@ -0,0 +1,20 @@
1
+ export interface Changeset {
2
+ artifactPath: string;
3
+ commitCount?: number;
4
+ /**
5
+ * @format int64
6
+ */
7
+ createdAt?: number;
8
+ errorMessage?: string;
9
+ fromArtifactTag: string;
10
+ id: string;
11
+ /**
12
+ * @format int64
13
+ */
14
+ lastUpdatedAt?: number;
15
+ pipelineExecutionId?: string;
16
+ registry?: string;
17
+ serviceRef?: string;
18
+ status: 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING';
19
+ toArtifactTag: string;
20
+ }
@@ -0,0 +1,22 @@
1
+ import type { ChangesetCommitTicket } from '../schemas/ChangesetCommitTicket';
2
+ export interface ChangesetCommit {
3
+ /**
4
+ * @format int64
5
+ */
6
+ authorDate?: number;
7
+ authorEmail?: string;
8
+ authorName?: string;
9
+ /**
10
+ * @format int64
11
+ */
12
+ committerDate?: number;
13
+ committerEmail?: string;
14
+ committerName?: string;
15
+ id: string;
16
+ message: string;
17
+ parentShas?: string[];
18
+ repoName?: string;
19
+ sha: string;
20
+ tickets?: ChangesetCommitTicket[];
21
+ url?: string;
22
+ }
@@ -0,0 +1,8 @@
1
+ import type { ChangesetCommit } from '../schemas/ChangesetCommit';
2
+ export interface ChangesetCommitList {
3
+ content?: ChangesetCommit[];
4
+ pageNumber?: number;
5
+ pageSize?: number;
6
+ totalElements?: number;
7
+ totalPages?: number;
8
+ }
@@ -0,0 +1,6 @@
1
+ export interface ChangesetCommitTicket {
2
+ key: string;
3
+ source?: string;
4
+ type?: string;
5
+ url?: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface ChangesetFacets {
2
+ artifactPaths?: string[];
3
+ registries?: string[];
4
+ services?: string[];
5
+ tags?: string[];
6
+ }
@@ -0,0 +1,8 @@
1
+ import type { Changeset } from '../schemas/Changeset';
2
+ export interface ChangesetList {
3
+ content?: Changeset[];
4
+ pageNumber?: number;
5
+ pageSize?: number;
6
+ totalElements?: number;
7
+ totalPages?: number;
8
+ }
@@ -0,0 +1,8 @@
1
+ export interface ChangesetRef {
2
+ fromArtifactTag?: string;
3
+ /**
4
+ * Changeset slug_id
5
+ */
6
+ id: string;
7
+ toArtifactTag?: string;
8
+ }
@@ -1,4 +1,3 @@
1
- import type { OutputDataType } from '../schemas/OutputDataType';
2
1
  import type { AnyValue } from '../schemas/AnyValue';
3
2
  /**
4
3
  * Output value for a phase execution
@@ -8,18 +7,10 @@ export interface ExecutionOutputDto {
8
7
  * Description of the output parameter
9
8
  */
10
9
  description?: string;
11
- /**
12
- * Element type when type is 'list'. Absent for non-list outputs.
13
- */
14
- items?: OutputDataType;
15
10
  /**
16
11
  * Name of the output parameter
17
12
  */
18
13
  name: string;
19
- /**
20
- * Declared type of the output. Absent for legacy outputs (implicit string).
21
- */
22
- type?: OutputDataType;
23
14
  /**
24
15
  * Value of the output parameter (can be string, number, boolean, object, array, etc.)
25
16
  */
@@ -7,7 +7,6 @@ import type { InfrastructureInputVariable } from '../schemas/InfrastructureInput
7
7
  import type { MultiInfrastructureInputVariable } from '../schemas/MultiInfrastructureInputVariable';
8
8
  import type { ConnectorInputVariable } from '../schemas/ConnectorInputVariable';
9
9
  import type { ArtifactTagInputVariable } from '../schemas/ArtifactTagInputVariable';
10
- import type { ReleaseArtifactInputVariable } from '../schemas/ReleaseArtifactInputVariable';
11
- export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable | ReleaseArtifactInputVariable) & {
10
+ export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable) & {
12
11
  [key: string]: any;
13
12
  };
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Type of an input variable for parameters and process inputs.
3
3
  */
4
- export type InputVariableType = 'artifactTag' | 'boolean' | 'connector' | 'environment' | 'infrastructure' | 'list' | 'multiEnvironment' | 'multiInfrastructure' | 'multiService' | 'number' | 'object' | 'release-artifact' | 'service' | 'string';
4
+ export type InputVariableType = 'artifactTag' | 'boolean' | 'connector' | 'environment' | 'infrastructure' | 'list' | 'multiEnvironment' | 'multiInfrastructure' | 'multiService' | 'number' | 'object' | 'service' | 'string';
@@ -31,10 +31,6 @@ export interface OrchestrationExecutionPhase {
31
31
  * Unique identifier of the phase
32
32
  */
33
33
  identifier: string;
34
- /**
35
- * Whether the phase is configured as restartable (the `restart` key is present in the phase YAML)
36
- */
37
- is_restartable?: boolean;
38
34
  /**
39
35
  * Name of the phase
40
36
  */
@@ -47,11 +43,6 @@ export interface OrchestrationExecutionPhase {
47
43
  * ID of the phase execution
48
44
  */
49
45
  phase_execution_id?: string;
50
- /**
51
- * Retry attempt index for the phase execution (0 for the original attempt)
52
- * @format int32
53
- */
54
- retry_index?: number;
55
46
  /**
56
47
  * Start timestamp in milliseconds
57
48
  * @format int64
@@ -33,14 +33,5 @@ export interface OrchestrationPhaseYaml {
33
33
  * List of owner groups for the phase
34
34
  */
35
35
  owners?: string[];
36
- /**
37
- * Restart configuration for the phase
38
- */
39
- restart?: {
40
- /**
41
- * Trigger for restarting the phase. Use 'user_intervention' to pause after successful completion and wait for operator action.
42
- */
43
- on?: 'user_intervention';
44
- };
45
36
  };
46
37
  }
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Status of orchestration execution activities
3
3
  */
4
- export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PAUSED' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
4
+ export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
@@ -1,7 +1,5 @@
1
- import type { OutputDataType } from '../schemas/OutputDataType';
2
- import type { AnyValue } from '../schemas/AnyValue';
3
1
  /**
4
- * Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and optional `type`, `items`, `description`, and `metadata`.
2
+ * Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and an optional `description` (new format).
5
3
  *
6
4
  */
7
5
  export type OutputVariable = string | {
@@ -10,22 +8,7 @@ export type OutputVariable = string | {
10
8
  */
11
9
  description?: string;
12
10
  /**
13
- * Element type when type is 'list'. Absent for non-list outputs.
11
+ * The output value expression.
14
12
  */
15
- items?: OutputDataType;
16
- /**
17
- * Additional metadata for the output variable.
18
- */
19
- metadata?: {
20
- [key: string]: any;
21
- };
22
- /**
23
- * Declared type of the output. Absent (empty) means the output has no declared type and is treated as 'string' for backward compatibility.
24
- *
25
- */
26
- type?: OutputDataType;
27
- /**
28
- * The output value or expression. Shape depends on the declared type.
29
- */
30
- value: AnyValue;
13
+ value: string;
31
14
  };
@@ -1 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
1
4
  export {};
@@ -0,0 +1,11 @@
1
+ export interface ReleaseRef {
2
+ /**
3
+ * Release slug_id
4
+ */
5
+ id: string;
6
+ identifier?: string;
7
+ name?: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ status?: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ export interface UpdateChangesetTagsRequest {
2
+ fromArtifactTag?: string;
3
+ toArtifactTag?: string;
4
+ }
@@ -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 { WebhookSignalImage } from '../schemas/WebhookSignalImage';
2
+ /**
3
+ * Pre-resolved artifacts attached by the RO Notify step (auto-discovered from CI).
4
+ * Present iff eventType == "ARTIFACT_TRACKER_SIGNAL"; the handler treats absence
5
+ * as a no-op for any other event type.
6
+ *
7
+ */
8
+ export interface WebhookSignalArtifacts {
9
+ files?: Array<{
10
+ [key: string]: any;
11
+ }>;
12
+ images?: WebhookSignalImage[];
13
+ sbom?: Array<{
14
+ [key: string]: any;
15
+ }>;
16
+ }
@@ -0,0 +1,9 @@
1
+ export interface WebhookSignalImage {
2
+ digest?: string;
3
+ /**
4
+ * e.g. "pkg.qa.harness.io/org/repo/test"
5
+ */
6
+ imageName: string;
7
+ tag: string;
8
+ url?: string;
9
+ }
@@ -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,6 +1,8 @@
1
+ import type { WebhookSignalArtifacts } from '../schemas/WebhookSignalArtifacts';
1
2
  import type { WebhookEventType } from '../schemas/WebhookEventType';
2
3
  import type { WebhookSignalPipeline } from '../schemas/WebhookSignalPipeline';
3
4
  export interface WebhookSignalRequest {
5
+ artifacts?: WebhookSignalArtifacts;
4
6
  eventType: WebhookEventType;
5
7
  /**
6
8
  * Event metadata. Maximum size 10 KiB.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.70.2-beta.2",
3
+ "version": "0.71.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,27 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ActivityExecutionInputsResponseResponse } from '../responses/ActivityExecutionInputsResponseResponse';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface GetOrchestrationExecutionPhaseInputsQueryPathParams {
7
- releaseId: string;
8
- phaseIdentifier: string;
9
- }
10
- export interface GetOrchestrationExecutionPhaseInputsQueryQueryParams {
11
- phaseExecutionId?: string;
12
- orgIdentifier?: string;
13
- projectIdentifier?: string;
14
- }
15
- export interface GetOrchestrationExecutionPhaseInputsQueryHeaderParams {
16
- 'Harness-Account': string;
17
- }
18
- export type GetOrchestrationExecutionPhaseInputsOkResponse = ResponseWithPagination<ActivityExecutionInputsResponseResponse>;
19
- export type GetOrchestrationExecutionPhaseInputsErrorResponse = ErrorResponseResponse;
20
- export interface GetOrchestrationExecutionPhaseInputsProps extends GetOrchestrationExecutionPhaseInputsQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionPhaseInputsQueryQueryParams, unknown, GetOrchestrationExecutionPhaseInputsQueryHeaderParams>, 'url'> {
21
- queryParams: GetOrchestrationExecutionPhaseInputsQueryQueryParams;
22
- }
23
- export declare function getOrchestrationExecutionPhaseInputs(props: GetOrchestrationExecutionPhaseInputsProps): Promise<GetOrchestrationExecutionPhaseInputsOkResponse>;
24
- /**
25
- * Retrieve input values for a specific phase execution. If phaseExecutionId is provided it is used directly; otherwise the latest execution for the given release/phase is returned.
26
- */
27
- export declare function useGetOrchestrationExecutionPhaseInputsQuery(props: GetOrchestrationExecutionPhaseInputsProps, options?: Omit<UseQueryOptions<GetOrchestrationExecutionPhaseInputsOkResponse, GetOrchestrationExecutionPhaseInputsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionPhaseInputsOkResponse, import("..").Error>;
@@ -1,19 +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 getOrchestrationExecutionPhaseInputs(props) {
7
- return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/input`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Retrieve input values for a specific phase execution. If phaseExecutionId is provided it is used directly; otherwise the latest execution for the given release/phase is returned.
11
- */
12
- export function useGetOrchestrationExecutionPhaseInputsQuery(props, options) {
13
- return useQuery([
14
- 'get-orchestration-execution-phase-inputs',
15
- props.releaseId,
16
- props.phaseIdentifier,
17
- props.queryParams,
18
- ], ({ signal }) => getOrchestrationExecutionPhaseInputs(Object.assign(Object.assign({}, props), { signal })), options);
19
- }
@@ -1,26 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { PhaseArtifactUpdatesResponseResponse } from '../responses/PhaseArtifactUpdatesResponseResponse';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface GetPhaseArtifactUpdatesQueryPathParams {
7
- phaseExecutionId: string;
8
- }
9
- export interface GetPhaseArtifactUpdatesQueryQueryParams {
10
- orgIdentifier?: string;
11
- projectIdentifier?: string;
12
- }
13
- export interface GetPhaseArtifactUpdatesQueryHeaderParams {
14
- 'Harness-Account': string;
15
- }
16
- export type GetPhaseArtifactUpdatesOkResponse = ResponseWithPagination<PhaseArtifactUpdatesResponseResponse>;
17
- export type GetPhaseArtifactUpdatesErrorResponse = ErrorResponseResponse;
18
- export interface GetPhaseArtifactUpdatesProps extends GetPhaseArtifactUpdatesQueryPathParams, Omit<FetcherOptions<GetPhaseArtifactUpdatesQueryQueryParams, unknown, GetPhaseArtifactUpdatesQueryHeaderParams>, 'url'> {
19
- queryParams: GetPhaseArtifactUpdatesQueryQueryParams;
20
- }
21
- export declare function getPhaseArtifactUpdates(props: GetPhaseArtifactUpdatesProps): Promise<GetPhaseArtifactUpdatesOkResponse>;
22
- /**
23
- * For a paused phase, compares the tag stored in each release-artifact input against the latest ingested tag for that service mapping. Returns a list of inputs where a newer tag is available.
24
- *
25
- */
26
- export declare function useGetPhaseArtifactUpdatesQuery(props: GetPhaseArtifactUpdatesProps, options?: Omit<UseQueryOptions<GetPhaseArtifactUpdatesOkResponse, GetPhaseArtifactUpdatesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPhaseArtifactUpdatesOkResponse, import("..").Error>;
@@ -1,15 +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 getPhaseArtifactUpdates(props) {
7
- return fetcher(Object.assign({ url: `/orchestration/execution/phase/${props.phaseExecutionId}/artifact-updates`, method: 'GET' }, props));
8
- }
9
- /**
10
- * For a paused phase, compares the tag stored in each release-artifact input against the latest ingested tag for that service mapping. Returns a list of inputs where a newer tag is available.
11
- *
12
- */
13
- export function useGetPhaseArtifactUpdatesQuery(props, options) {
14
- return useQuery(['getPhaseArtifactUpdates', props.phaseExecutionId, props.queryParams], ({ signal }) => getPhaseArtifactUpdates(Object.assign(Object.assign({}, props), { signal })), options);
15
- }
@@ -1,31 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { PhaseRetryHistoryResponse } from '../schemas/PhaseRetryHistoryResponse';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface GetPhaseRetryHistoryByIdentifiersQueryPathParams {
7
- releaseId: string;
8
- phaseIdentifier: string;
9
- }
10
- export interface GetPhaseRetryHistoryByIdentifiersQueryQueryParams {
11
- cursor?: string;
12
- /**
13
- * @default 500
14
- */
15
- limit?: number;
16
- orgIdentifier?: string;
17
- projectIdentifier?: string;
18
- }
19
- export interface GetPhaseRetryHistoryByIdentifiersQueryHeaderParams {
20
- 'Harness-Account': string;
21
- }
22
- export type GetPhaseRetryHistoryByIdentifiersOkResponse = ResponseWithPagination<PhaseRetryHistoryResponse>;
23
- export type GetPhaseRetryHistoryByIdentifiersErrorResponse = ErrorResponseResponse;
24
- export interface GetPhaseRetryHistoryByIdentifiersProps extends GetPhaseRetryHistoryByIdentifiersQueryPathParams, Omit<FetcherOptions<GetPhaseRetryHistoryByIdentifiersQueryQueryParams, unknown, GetPhaseRetryHistoryByIdentifiersQueryHeaderParams>, 'url'> {
25
- queryParams: GetPhaseRetryHistoryByIdentifiersQueryQueryParams;
26
- }
27
- export declare function getPhaseRetryHistoryByIdentifiers(props: GetPhaseRetryHistoryByIdentifiersProps): Promise<GetPhaseRetryHistoryByIdentifiersOkResponse>;
28
- /**
29
- * Retrieve the retry history for a specific phase by release ID and phase identifier
30
- */
31
- export declare function useGetPhaseRetryHistoryByIdentifiersQuery(props: GetPhaseRetryHistoryByIdentifiersProps, options?: Omit<UseQueryOptions<GetPhaseRetryHistoryByIdentifiersOkResponse, GetPhaseRetryHistoryByIdentifiersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPhaseRetryHistoryByIdentifiersOkResponse, import("..").Error>;
@@ -1,19 +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 getPhaseRetryHistoryByIdentifiers(props) {
7
- return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/retry-history`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Retrieve the retry history for a specific phase by release ID and phase identifier
11
- */
12
- export function useGetPhaseRetryHistoryByIdentifiersQuery(props, options) {
13
- return useQuery([
14
- 'get-phase-retry-history-by-identifiers',
15
- props.releaseId,
16
- props.phaseIdentifier,
17
- props.queryParams,
18
- ], ({ signal }) => getPhaseRetryHistoryByIdentifiers(Object.assign(Object.assign({}, props), { signal })), options);
19
- }