@harnessio/react-rmg-service-client 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.d.ts +25 -0
  2. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.js +14 -0
  3. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.d.ts +25 -0
  4. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessSummaryQuery.js +14 -0
  5. package/dist/rmg-service/src/services/hooks/useGetReleaseReleaseIdEnvironmentDashboardQuery.d.ts +1 -0
  6. package/dist/rmg-service/src/services/hooks/usePostInputSetStoreMutation.d.ts +25 -0
  7. package/dist/rmg-service/src/services/hooks/usePostInputSetStoreMutation.js +14 -0
  8. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.d.ts +25 -0
  9. package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityMutation.js +14 -0
  10. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.d.ts +25 -0
  11. package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessMutation.js +14 -0
  12. package/dist/rmg-service/src/services/index.d.ts +22 -0
  13. package/dist/rmg-service/src/services/index.js +5 -0
  14. package/dist/rmg-service/src/services/requestBodies/CreateInputSetStoreRequestRequestBody.d.ts +6 -0
  15. package/dist/rmg-service/src/services/requestBodies/CreateInputSetStoreRequestRequestBody.js +4 -0
  16. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityRequestRequestBody.d.ts +3 -0
  17. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityRequestRequestBody.js +4 -0
  18. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.d.ts +6 -0
  19. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.js +4 -0
  20. package/dist/rmg-service/src/services/responses/CreateInputSetStoreResponseResponse.d.ts +10 -0
  21. package/dist/rmg-service/src/services/responses/CreateInputSetStoreResponseResponse.js +4 -0
  22. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.d.ts +4 -0
  23. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.js +4 -0
  24. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessResponseResponse.d.ts +10 -0
  25. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessResponseResponse.js +4 -0
  26. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessResponseResponse.d.ts +10 -0
  27. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessResponseResponse.js +4 -0
  28. package/dist/rmg-service/src/services/responses/OrchestrationProcessSummaryResponseResponse.d.ts +16 -0
  29. package/dist/rmg-service/src/services/responses/OrchestrationProcessSummaryResponseResponse.js +1 -0
  30. package/dist/rmg-service/src/services/schemas/CreateInputSetStoreRequestType.d.ts +4 -0
  31. package/dist/rmg-service/src/services/schemas/CreateInputSetStoreRequestType.js +4 -0
  32. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityRequestType.d.ts +4 -0
  33. package/dist/rmg-service/src/services/schemas/CreateOrchestrationActivityRequestType.js +4 -0
  34. package/dist/rmg-service/src/services/schemas/EnvironmentDashboardDto.d.ts +19 -0
  35. package/dist/rmg-service/src/services/schemas/LastUpdatedByDto.d.ts +5 -0
  36. package/dist/rmg-service/src/services/schemas/LastUpdatedByDto.js +4 -0
  37. package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +8 -0
  38. package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.js +1 -0
  39. package/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +2 -5
  40. package/package.json +1 -1
@@ -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: `/orchestrationProcess/${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: `/orchestrationProcess/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
+ }
@@ -9,6 +9,7 @@ export interface GetReleaseReleaseIdEnvironmentDashboardQueryPathParams {
9
9
  export interface GetReleaseReleaseIdEnvironmentDashboardQueryQueryParams {
10
10
  searchTerm?: string;
11
11
  environmentIdentifiers?: string[];
12
+ infrastructureIdentifiers?: string[];
12
13
  }
13
14
  export interface GetReleaseReleaseIdEnvironmentDashboardQueryHeaderParams {
14
15
  'Harness-Account': string;
@@ -0,0 +1,25 @@
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>;
@@ -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 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
+ }
@@ -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: `/orchestrationActivity`, 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
+ }
@@ -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: `/orchestrationProcess`, 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
+ }
@@ -1,6 +1,10 @@
1
1
  export type { GetPathParamsType, ResponseWithPagination } from './helpers';
2
2
  export type { DeleteReleaseGroupErrorResponse, DeleteReleaseGroupMutationPathParams, DeleteReleaseGroupMutationQueryParams, DeleteReleaseGroupOkResponse, DeleteReleaseGroupProps, } from './hooks/useDeleteReleaseGroupMutation';
3
3
  export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useDeleteReleaseGroupMutation';
4
+ export type { GetOrchestrationProcessErrorResponse, GetOrchestrationProcessOkResponse, GetOrchestrationProcessProps, GetOrchestrationProcessQueryPathParams, GetOrchestrationProcessQueryQueryParams, } from './hooks/useGetOrchestrationProcessQuery';
5
+ export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
6
+ export type { GetOrchestrationProcessSummaryErrorResponse, GetOrchestrationProcessSummaryOkResponse, GetOrchestrationProcessSummaryProps, GetOrchestrationProcessSummaryQueryQueryParams, } from './hooks/useGetOrchestrationProcessSummaryQuery';
7
+ export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
4
8
  export type { GetReleaseActivitiesErrorResponse, GetReleaseActivitiesOkResponse, GetReleaseActivitiesProps, GetReleaseActivitiesQueryPathParams, GetReleaseActivitiesQueryQueryParams, } from './hooks/useGetReleaseActivitiesQuery';
5
9
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
6
10
  export type { GetReleaseConflictsErrorResponse, GetReleaseConflictsOkResponse, GetReleaseConflictsProps, GetReleaseConflictsQueryPathParams, GetReleaseConflictsQueryQueryParams, } from './hooks/useGetReleaseConflictsQuery';
@@ -21,6 +25,12 @@ export type { GetReleaseReleaseIdEnvironmentDashboardErrorResponse, GetReleaseRe
21
25
  export { getReleaseReleaseIdEnvironmentDashboard, useGetReleaseReleaseIdEnvironmentDashboardQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentDashboardQuery';
22
26
  export type { GetReleaseReleaseIdEnvironmentsErrorResponse, GetReleaseReleaseIdEnvironmentsOkResponse, GetReleaseReleaseIdEnvironmentsProps, GetReleaseReleaseIdEnvironmentsQueryPathParams, GetReleaseReleaseIdEnvironmentsQueryQueryParams, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
23
27
  export { getReleaseReleaseIdEnvironments, useGetReleaseReleaseIdEnvironmentsQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
28
+ export type { PostInputSetStoreErrorResponse, PostInputSetStoreMutationQueryParams, PostInputSetStoreOkResponse, PostInputSetStoreProps, PostInputSetStoreRequestBody, } from './hooks/usePostInputSetStoreMutation';
29
+ export { postInputSetStore, usePostInputSetStoreMutation, } from './hooks/usePostInputSetStoreMutation';
30
+ export type { PostOrchestrationActivityErrorResponse, PostOrchestrationActivityMutationQueryParams, PostOrchestrationActivityOkResponse, PostOrchestrationActivityProps, PostOrchestrationActivityRequestBody, } from './hooks/usePostOrchestrationActivityMutation';
31
+ export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
32
+ export type { PostOrchestrationProcessErrorResponse, PostOrchestrationProcessMutationQueryParams, PostOrchestrationProcessOkResponse, PostOrchestrationProcessProps, PostOrchestrationProcessRequestBody, } from './hooks/usePostOrchestrationProcessMutation';
33
+ export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
24
34
  export type { PostReleaseGroupErrorResponse, PostReleaseGroupMutationQueryParams, PostReleaseGroupOkResponse, PostReleaseGroupProps, PostReleaseGroupRequestBody, } from './hooks/usePostReleaseGroupMutation';
25
35
  export { postReleaseGroup, usePostReleaseGroupMutation } from './hooks/usePostReleaseGroupMutation';
26
36
  export type { PostReleaseSummaryErrorResponse, PostReleaseSummaryMutationQueryParams, PostReleaseSummaryOkResponse, PostReleaseSummaryProps, PostReleaseSummaryRequestBody, } from './hooks/usePostReleaseSummaryMutation';
@@ -31,16 +41,24 @@ export type { PutReleaseReleaseIdErrorResponse, PutReleaseReleaseIdMutationPathP
31
41
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
32
42
  export type { UpdateReleaseConflictErrorResponse, UpdateReleaseConflictMutationPathParams, UpdateReleaseConflictOkResponse, UpdateReleaseConflictProps, UpdateReleaseConflictRequestBody, } from './hooks/useUpdateReleaseConflictMutation';
33
43
  export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
44
+ export type { CreateInputSetStoreRequestRequestBody } from './requestBodies/CreateInputSetStoreRequestRequestBody';
45
+ export type { CreateOrchestrationActivityRequestRequestBody } from './requestBodies/CreateOrchestrationActivityRequestRequestBody';
46
+ export type { CreateOrchestrationProcessRequestRequestBody } from './requestBodies/CreateOrchestrationProcessRequestRequestBody';
34
47
  export type { CreateReleaseGroupRequestRequestBody } from './requestBodies/CreateReleaseGroupRequestRequestBody';
35
48
  export type { ReleaseSummaryRequestRequestBody } from './requestBodies/ReleaseSummaryRequestRequestBody';
36
49
  export type { UpdateReleaseGroupRequestRequestBody } from './requestBodies/UpdateReleaseGroupRequestRequestBody';
37
50
  export type { UpdateReleaseRequestRequestBody } from './requestBodies/UpdateReleaseRequestRequestBody';
51
+ export type { CreateInputSetStoreResponseResponse } from './responses/CreateInputSetStoreResponseResponse';
52
+ export type { CreateOrchestrationActivityResponseResponse } from './responses/CreateOrchestrationActivityResponseResponse';
53
+ export type { CreateOrchestrationProcessResponseResponse } from './responses/CreateOrchestrationProcessResponseResponse';
38
54
  export type { CreateReleaseGroupResponseResponse } from './responses/CreateReleaseGroupResponseResponse';
39
55
  export type { DeleteReleaseGroupResponseResponse } from './responses/DeleteReleaseGroupResponseResponse';
40
56
  export type { EnvironmentDashboardResponseResponse } from './responses/EnvironmentDashboardResponseResponse';
41
57
  export type { EnvironmentListPerReleaseResponseResponse } from './responses/EnvironmentListPerReleaseResponseResponse';
42
58
  export type { ErrorResponseResponse } from './responses/ErrorResponseResponse';
59
+ export type { GetOrchestrationProcessResponseResponse } from './responses/GetOrchestrationProcessResponseResponse';
43
60
  export type { GetReleaseGroupResponseResponse } from './responses/GetReleaseGroupResponseResponse';
61
+ export type { OrchestrationProcessSummaryResponseResponse } from './responses/OrchestrationProcessSummaryResponseResponse';
44
62
  export type { ReleaseActivitiesResponseResponse } from './responses/ReleaseActivitiesResponseResponse';
45
63
  export type { ReleaseApprovalsResponseResponse } from './responses/ReleaseApprovalsResponseResponse';
46
64
  export type { ReleaseConflictListResponseResponse } from './responses/ReleaseConflictListResponseResponse';
@@ -55,6 +73,8 @@ export type { ActivityType } from './schemas/ActivityType';
55
73
  export type { ApprovalInfoDto } from './schemas/ApprovalInfoDto';
56
74
  export type { ApprovedByDto } from './schemas/ApprovedByDto';
57
75
  export type { ConflictStatus } from './schemas/ConflictStatus';
76
+ export type { CreateInputSetStoreRequestType } from './schemas/CreateInputSetStoreRequestType';
77
+ export type { CreateOrchestrationActivityRequestType } from './schemas/CreateOrchestrationActivityRequestType';
58
78
  export type { EnvironmentDashboardDto } from './schemas/EnvironmentDashboardDto';
59
79
  export type { EnvironmentDto } from './schemas/EnvironmentDto';
60
80
  export type { EnvironmentType } from './schemas/EnvironmentType';
@@ -62,7 +82,9 @@ export type { Error } from './schemas/Error';
62
82
  export type { ExecutionConflict } from './schemas/ExecutionConflict';
63
83
  export type { Freq } from './schemas/Freq';
64
84
  export type { GetReleaseGroupResponse } from './schemas/GetReleaseGroupResponse';
85
+ export type { LastUpdatedByDto } from './schemas/LastUpdatedByDto';
65
86
  export type { NextRequest } from './schemas/NextRequest';
87
+ export type { OrchestrationProcessDto } from './schemas/OrchestrationProcessDto';
66
88
  export type { Pageable } from './schemas/Pageable';
67
89
  export type { PageableSort } from './schemas/PageableSort';
68
90
  export type { ReleaseActivity } from './schemas/ReleaseActivity';
@@ -1,4 +1,6 @@
1
1
  export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useDeleteReleaseGroupMutation';
2
+ export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
3
+ export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
2
4
  export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
3
5
  export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
4
6
  export { getReleaseDayActivities, useGetReleaseDayActivitiesQuery, } from './hooks/useGetReleaseDayActivitiesQuery';
@@ -9,6 +11,9 @@ export { getRelease, useGetReleaseQuery } from './hooks/useGetReleaseQuery';
9
11
  export { getReleaseReleaseIdApprovals, useGetReleaseReleaseIdApprovalsQuery, } from './hooks/useGetReleaseReleaseIdApprovalsQuery';
10
12
  export { getReleaseReleaseIdEnvironmentDashboard, useGetReleaseReleaseIdEnvironmentDashboardQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentDashboardQuery';
11
13
  export { getReleaseReleaseIdEnvironments, useGetReleaseReleaseIdEnvironmentsQuery, } from './hooks/useGetReleaseReleaseIdEnvironmentsQuery';
14
+ export { postInputSetStore, usePostInputSetStoreMutation, } from './hooks/usePostInputSetStoreMutation';
15
+ export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
16
+ export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
12
17
  export { postReleaseGroup, usePostReleaseGroupMutation } from './hooks/usePostReleaseGroupMutation';
13
18
  export { postReleaseSummary, usePostReleaseSummaryMutation, } from './hooks/usePostReleaseSummaryMutation';
14
19
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
@@ -0,0 +1,6 @@
1
+ export interface CreateInputSetStoreRequestRequestBody {
2
+ /**
3
+ * YAML configuration string
4
+ */
5
+ yaml: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,3 @@
1
+ export interface CreateOrchestrationActivityRequestRequestBody {
2
+ yaml: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface CreateOrchestrationProcessRequestRequestBody {
2
+ /**
3
+ * YAML configuration for the orchestration process
4
+ */
5
+ yaml: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface CreateInputSetStoreResponseResponse {
2
+ /**
3
+ * Identifier of the created input set
4
+ */
5
+ identifier: string;
6
+ /**
7
+ * YAML configuration of the input set
8
+ */
9
+ yaml: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface CreateOrchestrationActivityResponseResponse {
2
+ identifier: string;
3
+ yaml: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface CreateOrchestrationProcessResponseResponse {
2
+ /**
3
+ * Identifier of the created process
4
+ */
5
+ identifier: string;
6
+ /**
7
+ * YAML configuration of the process
8
+ */
9
+ yaml: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface GetOrchestrationProcessResponseResponse {
2
+ /**
3
+ * Identifier of the orchestration process
4
+ */
5
+ identifier: string;
6
+ /**
7
+ * YAML representation of the orchestration process
8
+ */
9
+ yaml: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,16 @@
1
+ import type { OrchestrationProcessDto } from '../schemas/OrchestrationProcessDto';
2
+ import type { Pageable } from '../schemas/Pageable';
3
+ import type { PageableSort } from '../schemas/PageableSort';
4
+ export interface OrchestrationProcessSummaryResponseResponse {
5
+ content: OrchestrationProcessDto[];
6
+ empty: boolean;
7
+ first: boolean;
8
+ last: boolean;
9
+ number: number;
10
+ numberOfElements: number;
11
+ pageable: Pageable;
12
+ size: number;
13
+ sort: PageableSort;
14
+ totalElements: number;
15
+ totalPages: number;
16
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Type of input set store. It helps in segregating the type of input set store.
3
+ */
4
+ export type CreateInputSetStoreRequestType = 'ACTIVITY' | 'PROCESS' | 'RELEASE';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Type of orchestration activity
3
+ */
4
+ export type CreateOrchestrationActivityRequestType = 'MANUAL' | 'PIPELINE';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -2,7 +2,26 @@ import type { ServiceInfoDto } from '../schemas/ServiceInfoDto';
2
2
  import type { EnvironmentType } from '../schemas/EnvironmentType';
3
3
  export interface EnvironmentDashboardDto {
4
4
  identifier: string;
5
+ /**
6
+ * Holds the information of a given infrastructure
7
+ */
8
+ infraInfo: {
9
+ identifier: string;
10
+ name: string;
11
+ };
5
12
  name: string;
13
+ /**
14
+ * Organization identifier of Environment
15
+ */
16
+ orgIdentifier?: string;
17
+ /**
18
+ * Project identifier of Environment
19
+ */
20
+ projectIdentifier?: string;
21
+ /**
22
+ * @default "account"
23
+ */
24
+ scope: 'account' | 'org' | 'project' | 'unknown';
6
25
  serviceInfo: ServiceInfoDto[];
7
26
  type: EnvironmentType;
8
27
  }
@@ -0,0 +1,5 @@
1
+ export interface LastUpdatedByDto {
2
+ email?: string;
3
+ identifier: string;
4
+ name?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
2
+ export interface OrchestrationProcessDto {
3
+ description?: string;
4
+ identifier: string;
5
+ lastUpdatedAt: number;
6
+ lastUpdatedBy: LastUpdatedByDto;
7
+ name: string;
8
+ }
@@ -1,4 +1,5 @@
1
1
  import type { ReleaseCadence } from '../schemas/ReleaseCadence';
2
+ import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
2
3
  import type { ReleaseType } from '../schemas/ReleaseType';
3
4
  export interface ReleaseGroupDto {
4
5
  cadence: ReleaseCadence;
@@ -7,11 +8,7 @@ export interface ReleaseGroupDto {
7
8
  id: string;
8
9
  identifier: string;
9
10
  lastUpdatedAt: number;
10
- lastUpdatedBy: {
11
- email?: string;
12
- identifier: string;
13
- name?: string;
14
- };
11
+ lastUpdatedBy: LastUpdatedByDto;
15
12
  name: string;
16
13
  releaseType: ReleaseType;
17
14
  releaseVersion: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",