@harnessio/react-rmg-service-client 0.21.0 → 0.23.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/useGetOrchestrationExecutionActivitiesQuery.d.ts +2 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.js +2 -2
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +1 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.d.ts +26 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.js +19 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.d.ts +29 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.d.ts +32 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputMutation.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/{usePostOrchestrationProcessInputStoreMutation.js → usePostOrchestrationProcessInputMutation.js} +5 -5
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +2 -1
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputMutation.d.ts +29 -0
- package/dist/rmg-service/src/services/hooks/{usePutOrchestrationProcessInputStoreMutation.js → usePutOrchestrationProcessInputMutation.js} +5 -5
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +2 -1
- package/dist/rmg-service/src/services/index.d.ts +31 -22
- package/dist/rmg-service/src/services/index.js +5 -7
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/CreateReleaseGroupRequestRequestBody.d.ts +9 -1
- package/dist/rmg-service/src/services/requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.d.ts +10 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateReleaseGroupRequestRequestBody.d.ts +9 -1
- package/dist/rmg-service/src/services/requestBodies/UpdateReleaseRequestRequestBody.d.ts +8 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.d.ts +14 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessAttachedReleaseGroupsResponseResponse.d.ts} +3 -3
- package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessInputSummaryResponseResponse.d.ts} +3 -3
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.d.ts +14 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +12 -0
- package/dist/rmg-service/src/services/schemas/ActivityInputYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.d.ts +26 -0
- package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/Error.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/GetReleaseGroupResponse.d.ts +9 -1
- package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +20 -0
- package/dist/rmg-service/src/services/schemas/InputVariable.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.d.ts +11 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +38 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +43 -16
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +0 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +10 -2
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +3 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +15 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.d.ts +17 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +19 -13
- package/dist/rmg-service/src/services/schemas/PhaseInputYaml.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.d.ts +12 -0
- package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.d.ts +21 -0
- package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/ReleaseDto.d.ts +9 -1
- package/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.js +1 -0
- package/package.json +1 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +0 -33
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +0 -41
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +0 -31
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +0 -39
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +0 -6
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.d.ts +0 -10
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +0 -6
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +0 -8
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +0 -9
- package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +0 -62
- /package/dist/rmg-service/src/services/requestBodies/{CreateOrchestrationActivityInputStoreRequestRequestBody.js → CreateOrchestrationProcessInputRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/CreateOrchestrationActivityInputStoreResponseResponse.js → requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/CreateOrchestrationProcessInputStoreResponseResponse.js → requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/{schemas/PipelineOrchestrationActivityYaml.js → responses/CreateOrchestrationProcessInputResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.js → OrchestrationProcessAttachedReleaseGroupsResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.js → OrchestrationProcessInputSummaryResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{OrchestrationActivityInputStoreDto.js → OrchestrationProcessInputYaml.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{OrchestrationProcessInputStoreDto.js → PhaseInputYaml.js} +0 -0
|
@@ -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
|
-
}
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts
DELETED
|
@@ -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>;
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js
DELETED
|
@@ -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
|
-
}
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts
DELETED
|
@@ -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>;
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js
DELETED
|
@@ -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
|
-
}
|
package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { CreateOrchestrationActivityInputStoreResponseResponse } from '../responses/CreateOrchestrationActivityInputStoreResponseResponse';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { CreateOrchestrationActivityInputStoreRequestRequestBody } from '../requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody';
|
|
5
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
-
export interface PostOrchestrationActivityInputStoreMutationQueryParams {
|
|
8
|
-
orgIdentifier?: string;
|
|
9
|
-
projectIdentifier?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface PostOrchestrationActivityInputStoreMutationHeaderParams {
|
|
12
|
-
'Harness-Account': string;
|
|
13
|
-
}
|
|
14
|
-
export type PostOrchestrationActivityInputStoreRequestBody = CreateOrchestrationActivityInputStoreRequestRequestBody;
|
|
15
|
-
export type PostOrchestrationActivityInputStoreOkResponse = ResponseWithPagination<CreateOrchestrationActivityInputStoreResponseResponse>;
|
|
16
|
-
export type PostOrchestrationActivityInputStoreErrorResponse = ErrorResponseResponse;
|
|
17
|
-
export interface PostOrchestrationActivityInputStoreProps extends Omit<FetcherOptions<PostOrchestrationActivityInputStoreMutationQueryParams, PostOrchestrationActivityInputStoreRequestBody, PostOrchestrationActivityInputStoreMutationHeaderParams>, 'url'> {
|
|
18
|
-
queryParams: PostOrchestrationActivityInputStoreMutationQueryParams;
|
|
19
|
-
body: PostOrchestrationActivityInputStoreRequestBody;
|
|
20
|
-
}
|
|
21
|
-
export declare function postOrchestrationActivityInputStore(props: PostOrchestrationActivityInputStoreProps): Promise<PostOrchestrationActivityInputStoreOkResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Create a new input store
|
|
24
|
-
*/
|
|
25
|
-
export declare function usePostOrchestrationActivityInputStoreMutation(options?: Omit<UseMutationOptions<PostOrchestrationActivityInputStoreOkResponse, PostOrchestrationActivityInputStoreErrorResponse, PostOrchestrationActivityInputStoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrchestrationActivityInputStoreOkResponse, import("..").Error, PostOrchestrationActivityInputStoreProps, unknown>;
|
package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js
DELETED
|
@@ -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 postOrchestrationActivityInputStore(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/orchestration/activity/inputStore`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Create a new input store
|
|
11
|
-
*/
|
|
12
|
-
export function usePostOrchestrationActivityInputStoreMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => postOrchestrationActivityInputStore(mutateProps), options);
|
|
14
|
-
}
|
package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { CreateOrchestrationProcessInputStoreResponseResponse } from '../responses/CreateOrchestrationProcessInputStoreResponseResponse';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface PostOrchestrationProcessInputStoreMutationQueryParams {
|
|
7
|
-
orgIdentifier?: string;
|
|
8
|
-
projectIdentifier?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface PostOrchestrationProcessInputStoreMutationHeaderParams {
|
|
11
|
-
'Harness-Account': string;
|
|
12
|
-
}
|
|
13
|
-
export type PostOrchestrationProcessInputStoreRequestBody = {
|
|
14
|
-
/**
|
|
15
|
-
* Description of the process input store
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Unique identifier for the process input store
|
|
20
|
-
*/
|
|
21
|
-
identifier: string;
|
|
22
|
-
/**
|
|
23
|
-
* Name of the process input store
|
|
24
|
-
*/
|
|
25
|
-
name: string;
|
|
26
|
-
/**
|
|
27
|
-
* identifier for the process
|
|
28
|
-
*/
|
|
29
|
-
processIdentifier?: string;
|
|
30
|
-
};
|
|
31
|
-
export type PostOrchestrationProcessInputStoreOkResponse = ResponseWithPagination<CreateOrchestrationProcessInputStoreResponseResponse>;
|
|
32
|
-
export type PostOrchestrationProcessInputStoreErrorResponse = ErrorResponseResponse;
|
|
33
|
-
export interface PostOrchestrationProcessInputStoreProps extends Omit<FetcherOptions<PostOrchestrationProcessInputStoreMutationQueryParams, PostOrchestrationProcessInputStoreRequestBody, PostOrchestrationProcessInputStoreMutationHeaderParams>, 'url'> {
|
|
34
|
-
queryParams: PostOrchestrationProcessInputStoreMutationQueryParams;
|
|
35
|
-
body: PostOrchestrationProcessInputStoreRequestBody;
|
|
36
|
-
}
|
|
37
|
-
export declare function postOrchestrationProcessInputStore(props: PostOrchestrationProcessInputStoreProps): Promise<PostOrchestrationProcessInputStoreOkResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* Create a new process input store
|
|
40
|
-
*/
|
|
41
|
-
export declare function usePostOrchestrationProcessInputStoreMutation(options?: Omit<UseMutationOptions<PostOrchestrationProcessInputStoreOkResponse, PostOrchestrationProcessInputStoreErrorResponse, PostOrchestrationProcessInputStoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrchestrationProcessInputStoreOkResponse, import("..").Error, PostOrchestrationProcessInputStoreProps, unknown>;
|
package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } 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 PutOrchestrationActivityInputStoreMutationPathParams {
|
|
6
|
-
identifier: string;
|
|
7
|
-
}
|
|
8
|
-
export interface PutOrchestrationActivityInputStoreMutationQueryParams {
|
|
9
|
-
orgIdentifier?: string;
|
|
10
|
-
projectIdentifier?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface PutOrchestrationActivityInputStoreMutationHeaderParams {
|
|
13
|
-
'Harness-Account': string;
|
|
14
|
-
}
|
|
15
|
-
export type PutOrchestrationActivityInputStoreRequestBody = {
|
|
16
|
-
/**
|
|
17
|
-
* YAML configuration of activity input store
|
|
18
|
-
*/
|
|
19
|
-
yaml: string;
|
|
20
|
-
};
|
|
21
|
-
export type PutOrchestrationActivityInputStoreOkResponse = ResponseWithPagination<unknown>;
|
|
22
|
-
export type PutOrchestrationActivityInputStoreErrorResponse = ErrorResponseResponse;
|
|
23
|
-
export interface PutOrchestrationActivityInputStoreProps extends PutOrchestrationActivityInputStoreMutationPathParams, Omit<FetcherOptions<PutOrchestrationActivityInputStoreMutationQueryParams, PutOrchestrationActivityInputStoreRequestBody, PutOrchestrationActivityInputStoreMutationHeaderParams>, 'url'> {
|
|
24
|
-
queryParams: PutOrchestrationActivityInputStoreMutationQueryParams;
|
|
25
|
-
body: PutOrchestrationActivityInputStoreRequestBody;
|
|
26
|
-
}
|
|
27
|
-
export declare function putOrchestrationActivityInputStore(props: PutOrchestrationActivityInputStoreProps): Promise<PutOrchestrationActivityInputStoreOkResponse>;
|
|
28
|
-
/**
|
|
29
|
-
* Update the YAML configuration for an activity input store
|
|
30
|
-
*/
|
|
31
|
-
export declare function usePutOrchestrationActivityInputStoreMutation(options?: Omit<UseMutationOptions<PutOrchestrationActivityInputStoreOkResponse, PutOrchestrationActivityInputStoreErrorResponse, PutOrchestrationActivityInputStoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PutOrchestrationActivityInputStoreOkResponse, import("..").Error, PutOrchestrationActivityInputStoreProps, unknown>;
|
package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js
DELETED
|
@@ -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 putOrchestrationActivityInputStore(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/orchestration/activity/inputStore/${props.identifier}`, method: 'PUT' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Update the YAML configuration for an activity input store
|
|
11
|
-
*/
|
|
12
|
-
export function usePutOrchestrationActivityInputStoreMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => putOrchestrationActivityInputStore(mutateProps), options);
|
|
14
|
-
}
|
package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } 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 PutOrchestrationProcessInputStoreMutationPathParams {
|
|
6
|
-
identifier: string;
|
|
7
|
-
}
|
|
8
|
-
export interface PutOrchestrationProcessInputStoreMutationQueryParams {
|
|
9
|
-
orgIdentifier?: string;
|
|
10
|
-
projectIdentifier?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface PutOrchestrationProcessInputStoreMutationHeaderParams {
|
|
13
|
-
'Harness-Account': string;
|
|
14
|
-
}
|
|
15
|
-
export type PutOrchestrationProcessInputStoreRequestBody = {
|
|
16
|
-
/**
|
|
17
|
-
* Identifier of the activity
|
|
18
|
-
*/
|
|
19
|
-
activityIdentifier: string;
|
|
20
|
-
/**
|
|
21
|
-
* Reference to the activity input
|
|
22
|
-
*/
|
|
23
|
-
activityInputRef: string;
|
|
24
|
-
/**
|
|
25
|
-
* Identifier of the phase
|
|
26
|
-
*/
|
|
27
|
-
phaseIdentifier: string;
|
|
28
|
-
};
|
|
29
|
-
export type PutOrchestrationProcessInputStoreOkResponse = ResponseWithPagination<unknown>;
|
|
30
|
-
export type PutOrchestrationProcessInputStoreErrorResponse = ErrorResponseResponse;
|
|
31
|
-
export interface PutOrchestrationProcessInputStoreProps extends PutOrchestrationProcessInputStoreMutationPathParams, Omit<FetcherOptions<PutOrchestrationProcessInputStoreMutationQueryParams, PutOrchestrationProcessInputStoreRequestBody, PutOrchestrationProcessInputStoreMutationHeaderParams>, 'url'> {
|
|
32
|
-
queryParams: PutOrchestrationProcessInputStoreMutationQueryParams;
|
|
33
|
-
body: PutOrchestrationProcessInputStoreRequestBody;
|
|
34
|
-
}
|
|
35
|
-
export declare function putOrchestrationProcessInputStore(props: PutOrchestrationProcessInputStoreProps): Promise<PutOrchestrationProcessInputStoreOkResponse>;
|
|
36
|
-
/**
|
|
37
|
-
* Update the process input store to patch activity ref to activity input ref
|
|
38
|
-
*/
|
|
39
|
-
export declare function usePutOrchestrationProcessInputStoreMutation(options?: Omit<UseMutationOptions<PutOrchestrationProcessInputStoreOkResponse, PutOrchestrationProcessInputStoreErrorResponse, PutOrchestrationProcessInputStoreProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PutOrchestrationProcessInputStoreOkResponse, import("..").Error, PutOrchestrationProcessInputStoreProps, unknown>;
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
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
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|