@harnessio/react-rmg-service-client 0.16.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.d.ts +38 -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/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.js +14 -0
- 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.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.js +14 -0
- 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.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.js +14 -0
- 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 +58 -0
- package/dist/rmg-service/src/services/index.js +16 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityRequestRequestBody.d.ts +3 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationActivityRequestRequestBody.d.ts +3 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationActivityRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.d.ts +3 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.js +4 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.d.ts +4 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.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/CreateOrchestrationProcessResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessResponseResponse.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/GetOrchestrationProcessResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationProcessResponseResponse.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/responses/OrchestrationProcessSummaryResponseResponse.d.ts +16 -0
- package/dist/rmg-service/src/services/responses/OrchestrationProcessSummaryResponseResponse.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/CreateOrchestrationActivityRequestType.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityRequestType.js +4 -0
- package/dist/rmg-service/src/services/schemas/LastUpdatedByDto.d.ts +5 -0
- package/dist/rmg-service/src/services/schemas/LastUpdatedByDto.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/OrchestrationPhaseYaml.d.ts +24 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.js +1 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.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/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +2 -5
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OrchestrationActivityListByProcessIdentifierResponseResponse } from '../responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetOrchestrationActivitiesByAcitivityRefsMutationPathParams {
|
|
7
|
+
identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetOrchestrationActivitiesByAcitivityRefsMutationQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
phaseIdentifier?: string;
|
|
13
|
+
cursor?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 500
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface GetOrchestrationActivitiesByAcitivityRefsMutationHeaderParams {
|
|
20
|
+
'Harness-Account': string;
|
|
21
|
+
}
|
|
22
|
+
export type GetOrchestrationActivitiesByAcitivityRefsRequestBody = {
|
|
23
|
+
/**
|
|
24
|
+
* Array of activity references
|
|
25
|
+
*/
|
|
26
|
+
activityRefs: string[];
|
|
27
|
+
};
|
|
28
|
+
export type GetOrchestrationActivitiesByAcitivityRefsOkResponse = ResponseWithPagination<OrchestrationActivityListByProcessIdentifierResponseResponse>;
|
|
29
|
+
export type GetOrchestrationActivitiesByAcitivityRefsErrorResponse = ErrorResponseResponse;
|
|
30
|
+
export interface GetOrchestrationActivitiesByAcitivityRefsProps extends GetOrchestrationActivitiesByAcitivityRefsMutationPathParams, Omit<FetcherOptions<GetOrchestrationActivitiesByAcitivityRefsMutationQueryParams, GetOrchestrationActivitiesByAcitivityRefsRequestBody, GetOrchestrationActivitiesByAcitivityRefsMutationHeaderParams>, 'url'> {
|
|
31
|
+
queryParams: GetOrchestrationActivitiesByAcitivityRefsMutationQueryParams;
|
|
32
|
+
body: GetOrchestrationActivitiesByAcitivityRefsRequestBody;
|
|
33
|
+
}
|
|
34
|
+
export declare function getOrchestrationActivitiesByAcitivityRefs(props: GetOrchestrationActivitiesByAcitivityRefsProps): Promise<GetOrchestrationActivitiesByAcitivityRefsOkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Get orchestration activities for a specific process identifier
|
|
37
|
+
*/
|
|
38
|
+
export declare function useGetOrchestrationActivitiesByAcitivityRefsMutation(options?: Omit<UseMutationOptions<GetOrchestrationActivitiesByAcitivityRefsOkResponse, GetOrchestrationActivitiesByAcitivityRefsErrorResponse, GetOrchestrationActivitiesByAcitivityRefsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetOrchestrationActivitiesByAcitivityRefsOkResponse, import("..").Error, GetOrchestrationActivitiesByAcitivityRefsProps, unknown>;
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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 getOrchestrationActivitiesByAcitivityRefs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/activity/processIdentifier/${props.identifier}`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get orchestration activities for a specific process identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrchestrationActivitiesByAcitivityRefsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getOrchestrationActivitiesByAcitivityRefs(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OrchestrationActivityListByProcessIdentifierResponseResponse } from '../responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetOrchestrationActivitiesByProcessIdentifierQueryPathParams {
|
|
7
|
+
identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetOrchestrationActivitiesByProcessIdentifierQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
phaseIdentifier?: string;
|
|
13
|
+
cursor?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 500
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface GetOrchestrationActivitiesByProcessIdentifierQueryHeaderParams {
|
|
20
|
+
'Harness-Account': string;
|
|
21
|
+
}
|
|
22
|
+
export type GetOrchestrationActivitiesByProcessIdentifierOkResponse = ResponseWithPagination<OrchestrationActivityListByProcessIdentifierResponseResponse>;
|
|
23
|
+
export type GetOrchestrationActivitiesByProcessIdentifierErrorResponse = ErrorResponseResponse;
|
|
24
|
+
export interface GetOrchestrationActivitiesByProcessIdentifierProps extends GetOrchestrationActivitiesByProcessIdentifierQueryPathParams, Omit<FetcherOptions<GetOrchestrationActivitiesByProcessIdentifierQueryQueryParams, unknown, GetOrchestrationActivitiesByProcessIdentifierQueryHeaderParams>, 'url'> {
|
|
25
|
+
queryParams: GetOrchestrationActivitiesByProcessIdentifierQueryQueryParams;
|
|
26
|
+
}
|
|
27
|
+
export declare function getOrchestrationActivitiesByProcessIdentifier(props: GetOrchestrationActivitiesByProcessIdentifierProps): Promise<GetOrchestrationActivitiesByProcessIdentifierOkResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve a paginated list of orchestration activities for a specific process identifier
|
|
30
|
+
*/
|
|
31
|
+
export declare function useGetOrchestrationActivitiesByProcessIdentifierQuery(props: GetOrchestrationActivitiesByProcessIdentifierProps, options?: Omit<UseQueryOptions<GetOrchestrationActivitiesByProcessIdentifierOkResponse, GetOrchestrationActivitiesByProcessIdentifierErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivitiesByProcessIdentifierOkResponse, import("..").Error>;
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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 getOrchestrationActivitiesByProcessIdentifier(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/activity/processIdentifier/${props.identifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a paginated list of orchestration activities for a specific process identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrchestrationActivitiesByProcessIdentifierQuery(props, options) {
|
|
13
|
+
return useQuery(['get-orchestration-activities-by-process-identifier', props.identifier, props.queryParams], ({ signal }) => getOrchestrationActivitiesByProcessIdentifier(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GetOrchestrationActivityResponseResponse } from '../responses/GetOrchestrationActivityResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetOrchestrationActivityQueryPathParams {
|
|
7
|
+
identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetOrchestrationActivityQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetOrchestrationActivityQueryHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type GetOrchestrationActivityOkResponse = ResponseWithPagination<GetOrchestrationActivityResponseResponse>;
|
|
17
|
+
export type GetOrchestrationActivityErrorResponse = ErrorResponseResponse;
|
|
18
|
+
export interface GetOrchestrationActivityProps extends GetOrchestrationActivityQueryPathParams, Omit<FetcherOptions<GetOrchestrationActivityQueryQueryParams, unknown, GetOrchestrationActivityQueryHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: GetOrchestrationActivityQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getOrchestrationActivity(props: GetOrchestrationActivityProps): Promise<GetOrchestrationActivityOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get orchestration activity by identifier
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetOrchestrationActivityQuery(props: GetOrchestrationActivityProps, options?: Omit<UseQueryOptions<GetOrchestrationActivityOkResponse, GetOrchestrationActivityErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivityOkResponse, import("..").Error>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 getOrchestrationActivity(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/activity/${props.identifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get orchestration activity by identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrchestrationActivityQuery(props, options) {
|
|
13
|
+
return useQuery(['get-orchestrationActivity', props.identifier, props.queryParams], ({ signal }) => getOrchestrationActivity(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GetOrchestrationProcessResponseResponse } from '../responses/GetOrchestrationProcessResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetOrchestrationProcessQueryPathParams {
|
|
7
|
+
identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetOrchestrationProcessQueryQueryParams {
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetOrchestrationProcessQueryHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type GetOrchestrationProcessOkResponse = ResponseWithPagination<GetOrchestrationProcessResponseResponse>;
|
|
17
|
+
export type GetOrchestrationProcessErrorResponse = ErrorResponseResponse;
|
|
18
|
+
export interface GetOrchestrationProcessProps extends GetOrchestrationProcessQueryPathParams, Omit<FetcherOptions<GetOrchestrationProcessQueryQueryParams, unknown, GetOrchestrationProcessQueryHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: GetOrchestrationProcessQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getOrchestrationProcess(props: GetOrchestrationProcessProps): Promise<GetOrchestrationProcessOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get orchestration process by identifier
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetOrchestrationProcessQuery(props: GetOrchestrationProcessProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessOkResponse, GetOrchestrationProcessErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessOkResponse, import("..").Error>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 getOrchestrationProcess(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get orchestration process by identifier
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrchestrationProcessQuery(props, options) {
|
|
13
|
+
return useQuery(['get-orchestrationProcess', props.identifier, props.queryParams], ({ signal }) => getOrchestrationProcess(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { OrchestrationProcessSummaryResponseResponse } from '../responses/OrchestrationProcessSummaryResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetOrchestrationProcessSummaryQueryQueryParams {
|
|
7
|
+
orgIdentifier?: string;
|
|
8
|
+
searchTerm?: string;
|
|
9
|
+
page?: number;
|
|
10
|
+
size?: number;
|
|
11
|
+
sort?: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface GetOrchestrationProcessSummaryQueryHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type GetOrchestrationProcessSummaryOkResponse = ResponseWithPagination<OrchestrationProcessSummaryResponseResponse>;
|
|
17
|
+
export type GetOrchestrationProcessSummaryErrorResponse = ErrorResponseResponse;
|
|
18
|
+
export interface GetOrchestrationProcessSummaryProps extends Omit<FetcherOptions<GetOrchestrationProcessSummaryQueryQueryParams, unknown, GetOrchestrationProcessSummaryQueryHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: GetOrchestrationProcessSummaryQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getOrchestrationProcessSummary(props: GetOrchestrationProcessSummaryProps): Promise<GetOrchestrationProcessSummaryOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Fetch List of Orchestration Processes
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetOrchestrationProcessSummaryQuery(props: GetOrchestrationProcessSummaryProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessSummaryOkResponse, GetOrchestrationProcessSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessSummaryOkResponse, import("..").Error>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 getOrchestrationProcessSummary(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/summary`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Fetch List of Orchestration Processes
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOrchestrationProcessSummaryQuery(props, options) {
|
|
13
|
+
return useQuery(['get-orchestrationProcess-summary', props.queryParams], ({ signal }) => getOrchestrationProcessSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { CreateOrchestrationActivityResponseResponse } from '../responses/CreateOrchestrationActivityResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { CreateOrchestrationActivityRequestRequestBody } from '../requestBodies/CreateOrchestrationActivityRequestRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface PostOrchestrationActivityMutationQueryParams {
|
|
8
|
+
orgIdentifier?: string;
|
|
9
|
+
projectIdentifier?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface PostOrchestrationActivityMutationHeaderParams {
|
|
12
|
+
'Harness-Account': string;
|
|
13
|
+
}
|
|
14
|
+
export type PostOrchestrationActivityRequestBody = CreateOrchestrationActivityRequestRequestBody;
|
|
15
|
+
export type PostOrchestrationActivityOkResponse = ResponseWithPagination<CreateOrchestrationActivityResponseResponse>;
|
|
16
|
+
export type PostOrchestrationActivityErrorResponse = ErrorResponseResponse;
|
|
17
|
+
export interface PostOrchestrationActivityProps extends Omit<FetcherOptions<PostOrchestrationActivityMutationQueryParams, PostOrchestrationActivityRequestBody, PostOrchestrationActivityMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: PostOrchestrationActivityMutationQueryParams;
|
|
19
|
+
body: PostOrchestrationActivityRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export declare function postOrchestrationActivity(props: PostOrchestrationActivityProps): Promise<PostOrchestrationActivityOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Create a new orchestration activity
|
|
24
|
+
*/
|
|
25
|
+
export declare function usePostOrchestrationActivityMutation(options?: Omit<UseMutationOptions<PostOrchestrationActivityOkResponse, PostOrchestrationActivityErrorResponse, PostOrchestrationActivityProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrchestrationActivityOkResponse, import("..").Error, PostOrchestrationActivityProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 postOrchestrationActivity(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/activity`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a new orchestration activity
|
|
11
|
+
*/
|
|
12
|
+
export function usePostOrchestrationActivityMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => postOrchestrationActivity(mutateProps), options);
|
|
14
|
+
}
|
package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 postOrchestrationProcessInputStore(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process/inputStore`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a new process input store
|
|
11
|
+
*/
|
|
12
|
+
export function usePostOrchestrationProcessInputStoreMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => postOrchestrationProcessInputStore(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { CreateOrchestrationProcessResponseResponse } from '../responses/CreateOrchestrationProcessResponseResponse';
|
|
3
|
+
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
+
import type { CreateOrchestrationProcessRequestRequestBody } from '../requestBodies/CreateOrchestrationProcessRequestRequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface PostOrchestrationProcessMutationQueryParams {
|
|
8
|
+
orgIdentifier?: string;
|
|
9
|
+
projectIdentifier?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface PostOrchestrationProcessMutationHeaderParams {
|
|
12
|
+
'Harness-Account': string;
|
|
13
|
+
}
|
|
14
|
+
export type PostOrchestrationProcessRequestBody = CreateOrchestrationProcessRequestRequestBody;
|
|
15
|
+
export type PostOrchestrationProcessOkResponse = ResponseWithPagination<CreateOrchestrationProcessResponseResponse>;
|
|
16
|
+
export type PostOrchestrationProcessErrorResponse = ErrorResponseResponse;
|
|
17
|
+
export interface PostOrchestrationProcessProps extends Omit<FetcherOptions<PostOrchestrationProcessMutationQueryParams, PostOrchestrationProcessRequestBody, PostOrchestrationProcessMutationHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: PostOrchestrationProcessMutationQueryParams;
|
|
19
|
+
body: PostOrchestrationProcessRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export declare function postOrchestrationProcess(props: PostOrchestrationProcessProps): Promise<PostOrchestrationProcessOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Create a new orchestration process
|
|
24
|
+
*/
|
|
25
|
+
export declare function usePostOrchestrationProcessMutation(options?: Omit<UseMutationOptions<PostOrchestrationProcessOkResponse, PostOrchestrationProcessErrorResponse, PostOrchestrationProcessProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostOrchestrationProcessOkResponse, import("..").Error, PostOrchestrationProcessProps, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 postOrchestrationProcess(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/orchestration/process`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a new orchestration process
|
|
11
|
+
*/
|
|
12
|
+
export function usePostOrchestrationProcessMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => postOrchestrationProcess(mutateProps), options);
|
|
14
|
+
}
|
package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|