@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.
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.d.ts +34 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery.d.ts +31 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +33 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.d.ts +39 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.js +19 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +38 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.js +1 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.js +1 -1
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.js +1 -1
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +41 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.js +1 -1
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +31 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +27 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +39 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +27 -0
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +47 -5
- package/dist/rmg-service/src/services/index.js +14 -1
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationActivityRequestRequestBody.d.ts +3 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.d.ts +3 -0
- package/dist/rmg-service/src/services/responses/{CreateInputSetStoreResponseResponse.d.ts → CreateOrchestrationActivityInputStoreResponseResponse.d.ts} +1 -1
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +6 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationActivityResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.d.ts +16 -0
- package/dist/rmg-service/src/services/responses/OrchestrationActivityInputStoreSummaryResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/OrchestrationActivityListByProcessIdentifierResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.d.ts +16 -0
- package/dist/rmg-service/src/services/responses/OrchestrationProcessInputStoreSummaryResponseResponse.js +1 -0
- package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityInputSetRequestType.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +18 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.d.ts +10 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +33 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +45 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.js +1 -0
- package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +62 -0
- package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.js +4 -0
- package/package.json +1 -1
- package/dist/rmg-service/src/services/hooks/usePostInputSetStoreMutation.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/usePostInputSetStoreMutation.js +0 -14
- package/dist/rmg-service/src/services/requestBodies/CreateInputSetStoreRequestRequestBody.d.ts +0 -6
- package/dist/rmg-service/src/services/schemas/CreateInputSetStoreRequestType.d.ts +0 -4
- /package/dist/rmg-service/src/services/requestBodies/{CreateInputSetStoreRequestRequestBody.js → CreateOrchestrationActivityInputStoreRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/CreateInputSetStoreResponseResponse.js → requestBodies/UpdateOrchestrationActivityRequestRequestBody.js} +0 -0
- /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
|
+
}
|
package/package.json
CHANGED
|
@@ -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
|
-
}
|
|
File without changes
|
|
File without changes
|