@harnessio/react-rmg-service-client 0.17.0 → 0.19.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 (77) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.d.ts +34 -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/useGetOrchestrationExecutionActivitiesQuery.d.ts +39 -0
  12. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.js +19 -0
  13. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +38 -0
  14. package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.js +14 -0
  15. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +25 -0
  16. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +14 -0
  17. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.js +1 -1
  18. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.js +1 -1
  19. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +25 -0
  20. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +14 -0
  21. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.js +1 -1
  22. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +41 -0
  23. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.js +14 -0
  24. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.js +1 -1
  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 +47 -5
  34. package/dist/rmg-service/src/services/index.js +14 -1
  35. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +6 -0
  36. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationActivityRequestRequestBody.d.ts +3 -0
  37. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.d.ts +3 -0
  38. package/dist/rmg-service/src/services/responses/{CreateInputSetStoreResponseResponse.d.ts → CreateOrchestrationActivityInputStoreResponseResponse.d.ts} +1 -1
  39. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.js +4 -0
  40. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +6 -0
  41. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.js +4 -0
  42. package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.d.ts +10 -0
  43. package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.js +4 -0
  44. package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.d.ts +16 -0
  45. package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.js +1 -0
  46. package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.d.ts +10 -0
  47. package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.js +1 -0
  48. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.d.ts +16 -0
  49. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.js +1 -0
  50. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.d.ts +4 -0
  51. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.js +4 -0
  52. package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +8 -0
  53. package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.js +1 -0
  54. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +18 -0
  55. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +4 -0
  56. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.d.ts +10 -0
  57. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.js +4 -0
  58. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +33 -0
  59. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.js +1 -0
  60. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +45 -0
  61. package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.js +1 -0
  62. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +24 -0
  63. package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.js +1 -0
  64. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +9 -0
  65. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.js +1 -0
  66. package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +16 -0
  67. package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.js +1 -0
  68. package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +62 -0
  69. package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.js +4 -0
  70. package/package.json +1 -1
  71. package/dist/rmg-service/src/services/hooks/usePostInputSetStoreMutation.d.ts +0 -25
  72. package/dist/rmg-service/src/services/hooks/usePostInputSetStoreMutation.js +0 -14
  73. package/dist/rmg-service/src/services/requestBodies/CreateInputSetStoreRequestRequestBody.d.ts +0 -6
  74. package/dist/rmg-service/src/services/schemas/CreateInputSetStoreRequestType.d.ts +0 -4
  75. /package/dist/rmg-service/src/services/requestBodies/{CreateInputSetStoreRequestRequestBody.js → CreateOrchestrationActivityInputStoreRequestRequestBody.js} +0 -0
  76. /package/dist/rmg-service/src/services/{responses/CreateInputSetStoreResponseResponse.js → requestBodies/UpdateOrchestrationActivityRequestRequestBody.js} +0 -0
  77. /package/dist/rmg-service/src/services/{schemas/CreateInputSetStoreRequestType.js → requestBodies/UpdateOrchestrationProcessRequestRequestBody.js} +0 -0
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.17.0",
3
+ "version": "0.19.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,25 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { CreateInputSetStoreResponseResponse } from '../responses/CreateInputSetStoreResponseResponse';
3
- import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
- import type { CreateInputSetStoreRequestRequestBody } from '../requestBodies/CreateInputSetStoreRequestRequestBody';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
7
- export interface PostInputSetStoreMutationQueryParams {
8
- orgIdentifier?: string;
9
- projectIdentifier?: string;
10
- }
11
- export interface PostInputSetStoreMutationHeaderParams {
12
- 'Harness-Account': string;
13
- }
14
- export type PostInputSetStoreRequestBody = CreateInputSetStoreRequestRequestBody;
15
- export type PostInputSetStoreOkResponse = ResponseWithPagination<CreateInputSetStoreResponseResponse>;
16
- export type PostInputSetStoreErrorResponse = ErrorResponseResponse;
17
- export interface PostInputSetStoreProps extends Omit<FetcherOptions<PostInputSetStoreMutationQueryParams, PostInputSetStoreRequestBody, PostInputSetStoreMutationHeaderParams>, 'url'> {
18
- queryParams: PostInputSetStoreMutationQueryParams;
19
- body: PostInputSetStoreRequestBody;
20
- }
21
- export declare function postInputSetStore(props: PostInputSetStoreProps): Promise<PostInputSetStoreOkResponse>;
22
- /**
23
- * Create a new input set store
24
- */
25
- export declare function usePostInputSetStoreMutation(options?: Omit<UseMutationOptions<PostInputSetStoreOkResponse, PostInputSetStoreErrorResponse, PostInputSetStoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostInputSetStoreOkResponse, import("..").Error, PostInputSetStoreProps, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
- import { fetcher } from '../../../../fetcher/index.js';
6
- export function postInputSetStore(props) {
7
- return fetcher(Object.assign({ url: `/inputSetStore`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Create a new input set store
11
- */
12
- export function usePostInputSetStoreMutation(options) {
13
- return useMutation((mutateProps) => postInputSetStore(mutateProps), options);
14
- }
@@ -1,6 +0,0 @@
1
- export interface CreateInputSetStoreRequestRequestBody {
2
- /**
3
- * YAML configuration string
4
- */
5
- yaml: string;
6
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * Type of input set store. It helps in segregating the type of input set store.
3
- */
4
- export type CreateInputSetStoreRequestType = 'ACTIVITY' | 'PROCESS' | 'RELEASE';