@harnessio/react-rmg-service-client 0.88.0 → 0.89.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 (51) hide show
  1. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationActivityMutation.d.ts +21 -0
  2. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationActivityMutation.js +15 -0
  3. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationProcessInputMutation.d.ts +21 -0
  4. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationProcessInputMutation.js +15 -0
  5. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationProcessMutation.d.ts +21 -0
  6. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationProcessMutation.js +15 -0
  7. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationActivityYamlMutation.d.ts +21 -0
  8. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationActivityYamlMutation.js +15 -0
  9. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationProcessInputYamlMutation.d.ts +21 -0
  10. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationProcessInputYamlMutation.js +15 -0
  11. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationProcessYamlMutation.d.ts +21 -0
  12. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationProcessYamlMutation.js +15 -0
  13. package/dist/rmg-service/src/services/index.d.ts +29 -0
  14. package/dist/rmg-service/src/services/index.js +6 -0
  15. package/dist/rmg-service/src/services/schemas/ForceImportGovernanceResponse.d.ts +10 -0
  16. package/dist/rmg-service/src/services/schemas/ForceImportGovernanceResponse.js +4 -0
  17. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationActivityRequest.d.ts +19 -0
  18. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationActivityRequest.js +4 -0
  19. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationActivityResponse.d.ts +5 -0
  20. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationActivityResponse.js +1 -0
  21. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessInputRequest.d.ts +23 -0
  22. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessInputRequest.js +4 -0
  23. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessInputResponse.d.ts +3 -0
  24. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessInputResponse.js +4 -0
  25. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessRequest.d.ts +19 -0
  26. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessRequest.js +4 -0
  27. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessResponse.d.ts +5 -0
  28. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessResponse.js +1 -0
  29. package/dist/rmg-service/src/services/schemas/GitYamlValidationRequestParams.d.ts +7 -0
  30. package/dist/rmg-service/src/services/schemas/GitYamlValidationRequestParams.js +4 -0
  31. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +2 -1
  32. package/dist/rmg-service/src/services/schemas/InputVariableType.d.ts +1 -1
  33. package/dist/rmg-service/src/services/schemas/UserGroupsInputVariable.d.ts +17 -0
  34. package/dist/rmg-service/src/services/schemas/UserGroupsInputVariable.js +4 -0
  35. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationActivityYamlRequest.d.ts +5 -0
  36. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationActivityYamlRequest.js +1 -0
  37. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationProcessInputYamlRequest.d.ts +5 -0
  38. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationProcessInputYamlRequest.js +1 -0
  39. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationProcessYamlRequest.d.ts +5 -0
  40. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationProcessYamlRequest.js +1 -0
  41. package/dist/rmg-service/src/services/schemas/YamlValidationApiResponse.d.ts +8 -0
  42. package/dist/rmg-service/src/services/schemas/YamlValidationApiResponse.js +1 -0
  43. package/dist/rmg-service/src/services/schemas/YamlValidationEntityMetadata.d.ts +9 -0
  44. package/dist/rmg-service/src/services/schemas/YamlValidationEntityMetadata.js +1 -0
  45. package/dist/rmg-service/src/services/schemas/YamlValidationErrorMetadata.d.ts +5 -0
  46. package/dist/rmg-service/src/services/schemas/YamlValidationErrorMetadata.js +4 -0
  47. package/dist/rmg-service/src/services/schemas/YamlValidationListApiResponse.d.ts +4 -0
  48. package/dist/rmg-service/src/services/schemas/YamlValidationListApiResponse.js +1 -0
  49. package/dist/rmg-service/src/services/schemas/YamlValidationScope.d.ts +5 -0
  50. package/dist/rmg-service/src/services/schemas/YamlValidationScope.js +4 -0
  51. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ForceImportOrchestrationActivityResponse } from '../schemas/ForceImportOrchestrationActivityResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ForceImportOrchestrationActivityRequest } from '../schemas/ForceImportOrchestrationActivityRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostForceImportOrchestrationActivityMutationHeaderParams {
8
+ 'Harness-Account': string;
9
+ }
10
+ export type PostForceImportOrchestrationActivityRequestBody = ForceImportOrchestrationActivityRequest;
11
+ export type PostForceImportOrchestrationActivityOkResponse = ResponseWithPagination<ForceImportOrchestrationActivityResponse>;
12
+ export type PostForceImportOrchestrationActivityErrorResponse = ErrorResponseResponse;
13
+ export interface PostForceImportOrchestrationActivityProps extends Omit<FetcherOptions<unknown, PostForceImportOrchestrationActivityRequestBody, PostForceImportOrchestrationActivityMutationHeaderParams>, 'url'> {
14
+ body: PostForceImportOrchestrationActivityRequestBody;
15
+ }
16
+ export declare function postForceImportOrchestrationActivity(props: PostForceImportOrchestrationActivityProps): Promise<PostForceImportOrchestrationActivityOkResponse>;
17
+ /**
18
+ * Internal API called by git-sync-manager when a new activity YAML file is added in Git on the default branch. Fetches YAML from Git and creates a REMOTE activity record.
19
+ *
20
+ */
21
+ export declare function usePostForceImportOrchestrationActivityMutation(options?: Omit<UseMutationOptions<PostForceImportOrchestrationActivityOkResponse, PostForceImportOrchestrationActivityErrorResponse, PostForceImportOrchestrationActivityProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostForceImportOrchestrationActivityOkResponse, import("..").Error, PostForceImportOrchestrationActivityProps, unknown>;
@@ -0,0 +1,15 @@
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 postForceImportOrchestrationActivity(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orchestration/activity/force-import`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Internal API called by git-sync-manager when a new activity YAML file is added in Git on the default branch. Fetches YAML from Git and creates a REMOTE activity record.
11
+ *
12
+ */
13
+ export function usePostForceImportOrchestrationActivityMutation(options) {
14
+ return useMutation((mutateProps) => postForceImportOrchestrationActivity(mutateProps), options);
15
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ForceImportOrchestrationProcessInputResponse } from '../schemas/ForceImportOrchestrationProcessInputResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ForceImportOrchestrationProcessInputRequest } from '../schemas/ForceImportOrchestrationProcessInputRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostForceImportOrchestrationProcessInputMutationHeaderParams {
8
+ 'Harness-Account': string;
9
+ }
10
+ export type PostForceImportOrchestrationProcessInputRequestBody = ForceImportOrchestrationProcessInputRequest;
11
+ export type PostForceImportOrchestrationProcessInputOkResponse = ResponseWithPagination<ForceImportOrchestrationProcessInputResponse>;
12
+ export type PostForceImportOrchestrationProcessInputErrorResponse = ErrorResponseResponse;
13
+ export interface PostForceImportOrchestrationProcessInputProps extends Omit<FetcherOptions<unknown, PostForceImportOrchestrationProcessInputRequestBody, PostForceImportOrchestrationProcessInputMutationHeaderParams>, 'url'> {
14
+ body: PostForceImportOrchestrationProcessInputRequestBody;
15
+ }
16
+ export declare function postForceImportOrchestrationProcessInput(props: PostForceImportOrchestrationProcessInputProps): Promise<PostForceImportOrchestrationProcessInputOkResponse>;
17
+ /**
18
+ * Internal API called by git-sync-manager when a new process input YAML file is added in Git on the default branch. Fetches YAML from Git and creates a REMOTE process input record linked to the parent process.
19
+ *
20
+ */
21
+ export declare function usePostForceImportOrchestrationProcessInputMutation(options?: Omit<UseMutationOptions<PostForceImportOrchestrationProcessInputOkResponse, PostForceImportOrchestrationProcessInputErrorResponse, PostForceImportOrchestrationProcessInputProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostForceImportOrchestrationProcessInputOkResponse, import("..").Error, PostForceImportOrchestrationProcessInputProps, unknown>;
@@ -0,0 +1,15 @@
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 postForceImportOrchestrationProcessInput(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orchestration/process-input/force-import`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Internal API called by git-sync-manager when a new process input YAML file is added in Git on the default branch. Fetches YAML from Git and creates a REMOTE process input record linked to the parent process.
11
+ *
12
+ */
13
+ export function usePostForceImportOrchestrationProcessInputMutation(options) {
14
+ return useMutation((mutateProps) => postForceImportOrchestrationProcessInput(mutateProps), options);
15
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ForceImportOrchestrationProcessResponse } from '../schemas/ForceImportOrchestrationProcessResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ForceImportOrchestrationProcessRequest } from '../schemas/ForceImportOrchestrationProcessRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostForceImportOrchestrationProcessMutationHeaderParams {
8
+ 'Harness-Account': string;
9
+ }
10
+ export type PostForceImportOrchestrationProcessRequestBody = ForceImportOrchestrationProcessRequest;
11
+ export type PostForceImportOrchestrationProcessOkResponse = ResponseWithPagination<ForceImportOrchestrationProcessResponse>;
12
+ export type PostForceImportOrchestrationProcessErrorResponse = ErrorResponseResponse;
13
+ export interface PostForceImportOrchestrationProcessProps extends Omit<FetcherOptions<unknown, PostForceImportOrchestrationProcessRequestBody, PostForceImportOrchestrationProcessMutationHeaderParams>, 'url'> {
14
+ body: PostForceImportOrchestrationProcessRequestBody;
15
+ }
16
+ export declare function postForceImportOrchestrationProcess(props: PostForceImportOrchestrationProcessProps): Promise<PostForceImportOrchestrationProcessOkResponse>;
17
+ /**
18
+ * Internal API called by git-sync-manager when a new process YAML file is added in Git on the default branch. Fetches YAML from Git and creates a REMOTE process record.
19
+ *
20
+ */
21
+ export declare function usePostForceImportOrchestrationProcessMutation(options?: Omit<UseMutationOptions<PostForceImportOrchestrationProcessOkResponse, PostForceImportOrchestrationProcessErrorResponse, PostForceImportOrchestrationProcessProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostForceImportOrchestrationProcessOkResponse, import("..").Error, PostForceImportOrchestrationProcessProps, unknown>;
@@ -0,0 +1,15 @@
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 postForceImportOrchestrationProcess(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orchestration/process/force-import`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Internal API called by git-sync-manager when a new process YAML file is added in Git on the default branch. Fetches YAML from Git and creates a REMOTE process record.
11
+ *
12
+ */
13
+ export function usePostForceImportOrchestrationProcessMutation(options) {
14
+ return useMutation((mutateProps) => postForceImportOrchestrationProcess(mutateProps), options);
15
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { YamlValidationListApiResponse } from '../schemas/YamlValidationListApiResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ValidateOrchestrationActivityYamlRequest } from '../schemas/ValidateOrchestrationActivityYamlRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostValidateOrchestrationActivityYamlMutationHeaderParams {
8
+ 'Harness-Account': string;
9
+ }
10
+ export type PostValidateOrchestrationActivityYamlRequestBody = ValidateOrchestrationActivityYamlRequest;
11
+ export type PostValidateOrchestrationActivityYamlOkResponse = ResponseWithPagination<YamlValidationListApiResponse>;
12
+ export type PostValidateOrchestrationActivityYamlErrorResponse = ErrorResponseResponse;
13
+ export interface PostValidateOrchestrationActivityYamlProps extends Omit<FetcherOptions<unknown, PostValidateOrchestrationActivityYamlRequestBody, PostValidateOrchestrationActivityYamlMutationHeaderParams>, 'url'> {
14
+ body: PostValidateOrchestrationActivityYamlRequestBody;
15
+ }
16
+ export declare function postValidateOrchestrationActivityYaml(props: PostValidateOrchestrationActivityYamlProps): Promise<PostValidateOrchestrationActivityYamlOkResponse>;
17
+ /**
18
+ * Internal API called by git-sync-manager to validate activity YAML pushed to Git. Returns validation results for GitX webhook health UI.
19
+ *
20
+ */
21
+ export declare function usePostValidateOrchestrationActivityYamlMutation(options?: Omit<UseMutationOptions<PostValidateOrchestrationActivityYamlOkResponse, PostValidateOrchestrationActivityYamlErrorResponse, PostValidateOrchestrationActivityYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostValidateOrchestrationActivityYamlOkResponse, import("..").Error, PostValidateOrchestrationActivityYamlProps, unknown>;
@@ -0,0 +1,15 @@
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 postValidateOrchestrationActivityYaml(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orchestration/activity/validate-yaml`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Internal API called by git-sync-manager to validate activity YAML pushed to Git. Returns validation results for GitX webhook health UI.
11
+ *
12
+ */
13
+ export function usePostValidateOrchestrationActivityYamlMutation(options) {
14
+ return useMutation((mutateProps) => postValidateOrchestrationActivityYaml(mutateProps), options);
15
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { YamlValidationListApiResponse } from '../schemas/YamlValidationListApiResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ValidateOrchestrationProcessInputYamlRequest } from '../schemas/ValidateOrchestrationProcessInputYamlRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostValidateOrchestrationProcessInputYamlMutationHeaderParams {
8
+ 'Harness-Account': string;
9
+ }
10
+ export type PostValidateOrchestrationProcessInputYamlRequestBody = ValidateOrchestrationProcessInputYamlRequest;
11
+ export type PostValidateOrchestrationProcessInputYamlOkResponse = ResponseWithPagination<YamlValidationListApiResponse>;
12
+ export type PostValidateOrchestrationProcessInputYamlErrorResponse = ErrorResponseResponse;
13
+ export interface PostValidateOrchestrationProcessInputYamlProps extends Omit<FetcherOptions<unknown, PostValidateOrchestrationProcessInputYamlRequestBody, PostValidateOrchestrationProcessInputYamlMutationHeaderParams>, 'url'> {
14
+ body: PostValidateOrchestrationProcessInputYamlRequestBody;
15
+ }
16
+ export declare function postValidateOrchestrationProcessInputYaml(props: PostValidateOrchestrationProcessInputYamlProps): Promise<PostValidateOrchestrationProcessInputYamlOkResponse>;
17
+ /**
18
+ * Internal API called by git-sync-manager to validate process input YAML pushed to Git. Returns validation results for GitX webhook health UI.
19
+ *
20
+ */
21
+ export declare function usePostValidateOrchestrationProcessInputYamlMutation(options?: Omit<UseMutationOptions<PostValidateOrchestrationProcessInputYamlOkResponse, PostValidateOrchestrationProcessInputYamlErrorResponse, PostValidateOrchestrationProcessInputYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostValidateOrchestrationProcessInputYamlOkResponse, import("..").Error, PostValidateOrchestrationProcessInputYamlProps, unknown>;
@@ -0,0 +1,15 @@
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 postValidateOrchestrationProcessInputYaml(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orchestration/process-input/validate-yaml`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Internal API called by git-sync-manager to validate process input YAML pushed to Git. Returns validation results for GitX webhook health UI.
11
+ *
12
+ */
13
+ export function usePostValidateOrchestrationProcessInputYamlMutation(options) {
14
+ return useMutation((mutateProps) => postValidateOrchestrationProcessInputYaml(mutateProps), options);
15
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { YamlValidationListApiResponse } from '../schemas/YamlValidationListApiResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ValidateOrchestrationProcessYamlRequest } from '../schemas/ValidateOrchestrationProcessYamlRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface PostValidateOrchestrationProcessYamlMutationHeaderParams {
8
+ 'Harness-Account': string;
9
+ }
10
+ export type PostValidateOrchestrationProcessYamlRequestBody = ValidateOrchestrationProcessYamlRequest;
11
+ export type PostValidateOrchestrationProcessYamlOkResponse = ResponseWithPagination<YamlValidationListApiResponse>;
12
+ export type PostValidateOrchestrationProcessYamlErrorResponse = ErrorResponseResponse;
13
+ export interface PostValidateOrchestrationProcessYamlProps extends Omit<FetcherOptions<unknown, PostValidateOrchestrationProcessYamlRequestBody, PostValidateOrchestrationProcessYamlMutationHeaderParams>, 'url'> {
14
+ body: PostValidateOrchestrationProcessYamlRequestBody;
15
+ }
16
+ export declare function postValidateOrchestrationProcessYaml(props: PostValidateOrchestrationProcessYamlProps): Promise<PostValidateOrchestrationProcessYamlOkResponse>;
17
+ /**
18
+ * Internal API called by git-sync-manager to validate process YAML pushed to Git. Returns validation results for GitX webhook health UI.
19
+ *
20
+ */
21
+ export declare function usePostValidateOrchestrationProcessYamlMutation(options?: Omit<UseMutationOptions<PostValidateOrchestrationProcessYamlOkResponse, PostValidateOrchestrationProcessYamlErrorResponse, PostValidateOrchestrationProcessYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostValidateOrchestrationProcessYamlOkResponse, import("..").Error, PostValidateOrchestrationProcessYamlProps, unknown>;
@@ -0,0 +1,15 @@
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 postValidateOrchestrationProcessYaml(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orchestration/process/validate-yaml`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Internal API called by git-sync-manager to validate process YAML pushed to Git. Returns validation results for GitX webhook health UI.
11
+ *
12
+ */
13
+ export function usePostValidateOrchestrationProcessYamlMutation(options) {
14
+ return useMutation((mutateProps) => postValidateOrchestrationProcessYaml(mutateProps), options);
15
+ }
@@ -167,6 +167,12 @@ export type { PatchReleaseGroupErrorResponse, PatchReleaseGroupMutationPathParam
167
167
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
168
168
  export type { PostActivityExecutionOutputErrorResponse, PostActivityExecutionOutputMutationPathParams, PostActivityExecutionOutputMutationQueryParams, PostActivityExecutionOutputOkResponse, PostActivityExecutionOutputProps, PostActivityExecutionOutputRequestBody, } from './hooks/usePostActivityExecutionOutputMutation';
169
169
  export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
170
+ export type { PostForceImportOrchestrationActivityErrorResponse, PostForceImportOrchestrationActivityOkResponse, PostForceImportOrchestrationActivityProps, PostForceImportOrchestrationActivityRequestBody, } from './hooks/usePostForceImportOrchestrationActivityMutation';
171
+ export { postForceImportOrchestrationActivity, usePostForceImportOrchestrationActivityMutation, } from './hooks/usePostForceImportOrchestrationActivityMutation';
172
+ export type { PostForceImportOrchestrationProcessInputErrorResponse, PostForceImportOrchestrationProcessInputOkResponse, PostForceImportOrchestrationProcessInputProps, PostForceImportOrchestrationProcessInputRequestBody, } from './hooks/usePostForceImportOrchestrationProcessInputMutation';
173
+ export { postForceImportOrchestrationProcessInput, usePostForceImportOrchestrationProcessInputMutation, } from './hooks/usePostForceImportOrchestrationProcessInputMutation';
174
+ export type { PostForceImportOrchestrationProcessErrorResponse, PostForceImportOrchestrationProcessOkResponse, PostForceImportOrchestrationProcessProps, PostForceImportOrchestrationProcessRequestBody, } from './hooks/usePostForceImportOrchestrationProcessMutation';
175
+ export { postForceImportOrchestrationProcess, usePostForceImportOrchestrationProcessMutation, } from './hooks/usePostForceImportOrchestrationProcessMutation';
170
176
  export type { PostOnHoldActivityActionErrorResponse, PostOnHoldActivityActionMutationPathParams, PostOnHoldActivityActionMutationQueryParams, PostOnHoldActivityActionOkResponse, PostOnHoldActivityActionProps, PostOnHoldActivityActionRequestBody, } from './hooks/usePostOnHoldActivityActionMutation';
171
177
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
172
178
  export type { PostOrchestrationActivityErrorResponse, PostOrchestrationActivityMutationQueryParams, PostOrchestrationActivityOkResponse, PostOrchestrationActivityProps, PostOrchestrationActivityRequestBody, } from './hooks/usePostOrchestrationActivityMutation';
@@ -201,6 +207,12 @@ export type { PostReleaseSubprocessTriggerErrorResponse, PostReleaseSubprocessTr
201
207
  export { postReleaseSubprocessTrigger, usePostReleaseSubprocessTriggerMutation, } from './hooks/usePostReleaseSubprocessTriggerMutation';
202
208
  export type { PostReleaseSummaryErrorResponse, PostReleaseSummaryMutationQueryParams, PostReleaseSummaryOkResponse, PostReleaseSummaryProps, PostReleaseSummaryRequestBody, } from './hooks/usePostReleaseSummaryMutation';
203
209
  export { postReleaseSummary, usePostReleaseSummaryMutation, } from './hooks/usePostReleaseSummaryMutation';
210
+ export type { PostValidateOrchestrationActivityYamlErrorResponse, PostValidateOrchestrationActivityYamlOkResponse, PostValidateOrchestrationActivityYamlProps, PostValidateOrchestrationActivityYamlRequestBody, } from './hooks/usePostValidateOrchestrationActivityYamlMutation';
211
+ export { postValidateOrchestrationActivityYaml, usePostValidateOrchestrationActivityYamlMutation, } from './hooks/usePostValidateOrchestrationActivityYamlMutation';
212
+ export type { PostValidateOrchestrationProcessInputYamlErrorResponse, PostValidateOrchestrationProcessInputYamlOkResponse, PostValidateOrchestrationProcessInputYamlProps, PostValidateOrchestrationProcessInputYamlRequestBody, } from './hooks/usePostValidateOrchestrationProcessInputYamlMutation';
213
+ export { postValidateOrchestrationProcessInputYaml, usePostValidateOrchestrationProcessInputYamlMutation, } from './hooks/usePostValidateOrchestrationProcessInputYamlMutation';
214
+ export type { PostValidateOrchestrationProcessYamlErrorResponse, PostValidateOrchestrationProcessYamlOkResponse, PostValidateOrchestrationProcessYamlProps, PostValidateOrchestrationProcessYamlRequestBody, } from './hooks/usePostValidateOrchestrationProcessYamlMutation';
215
+ export { postValidateOrchestrationProcessYaml, usePostValidateOrchestrationProcessYamlMutation, } from './hooks/usePostValidateOrchestrationProcessYamlMutation';
204
216
  export type { PostWebhookQueueActionErrorResponse, PostWebhookQueueActionMutationPathParams, PostWebhookQueueActionMutationQueryParams, PostWebhookQueueActionOkResponse, PostWebhookQueueActionProps, PostWebhookQueueActionRequestBody, } from './hooks/usePostWebhookQueueActionMutation';
205
217
  export { postWebhookQueueAction, usePostWebhookQueueActionMutation, } from './hooks/usePostWebhookQueueActionMutation';
206
218
  export type { PutOrchestrationActivityErrorResponse, PutOrchestrationActivityMutationPathParams, PutOrchestrationActivityMutationQueryParams, PutOrchestrationActivityOkResponse, PutOrchestrationActivityProps, PutOrchestrationActivityRequestBody, } from './hooks/usePutOrchestrationActivityMutation';
@@ -402,6 +414,13 @@ export type { ExecutionTaskStatus } from './schemas/ExecutionTaskStatus';
402
414
  export type { ExecutionTriggerInfo } from './schemas/ExecutionTriggerInfo';
403
415
  export type { FailureInfo } from './schemas/FailureInfo';
404
416
  export type { FailureInfoDto } from './schemas/FailureInfoDto';
417
+ export type { ForceImportGovernanceResponse } from './schemas/ForceImportGovernanceResponse';
418
+ export type { ForceImportOrchestrationActivityRequest } from './schemas/ForceImportOrchestrationActivityRequest';
419
+ export type { ForceImportOrchestrationActivityResponse } from './schemas/ForceImportOrchestrationActivityResponse';
420
+ export type { ForceImportOrchestrationProcessInputRequest } from './schemas/ForceImportOrchestrationProcessInputRequest';
421
+ export type { ForceImportOrchestrationProcessInputResponse } from './schemas/ForceImportOrchestrationProcessInputResponse';
422
+ export type { ForceImportOrchestrationProcessRequest } from './schemas/ForceImportOrchestrationProcessRequest';
423
+ export type { ForceImportOrchestrationProcessResponse } from './schemas/ForceImportOrchestrationProcessResponse';
405
424
  export type { FreezeDetailsDto } from './schemas/FreezeDetailsDto';
406
425
  export type { FreezeEntitiesDto } from './schemas/FreezeEntitiesDto';
407
426
  export type { FreezeListItemDto } from './schemas/FreezeListItemDto';
@@ -411,6 +430,7 @@ export type { GcrArtifactMetadata } from './schemas/GcrArtifactMetadata';
411
430
  export type { GetReleaseGroupResponse } from './schemas/GetReleaseGroupResponse';
412
431
  export type { GitDetails } from './schemas/GitDetails';
413
432
  export type { GitProviderType } from './schemas/GitProviderType';
433
+ export type { GitYamlValidationRequestParams } from './schemas/GitYamlValidationRequestParams';
414
434
  export type { GithubPackageRegistryMetadata } from './schemas/GithubPackageRegistryMetadata';
415
435
  export type { GlobalReleaseInputYaml } from './schemas/GlobalReleaseInputYaml';
416
436
  export type { GoogleArtifactRegistryMetadata } from './schemas/GoogleArtifactRegistryMetadata';
@@ -544,6 +564,10 @@ export type { UpdateChangesetTagsRequest } from './schemas/UpdateChangesetTagsRe
544
564
  export type { UploadResponse } from './schemas/UploadResponse';
545
565
  export type { UpsertArtifactTrackerSettingsRequest } from './schemas/UpsertArtifactTrackerSettingsRequest';
546
566
  export type { User } from './schemas/User';
567
+ export type { UserGroupsInputVariable } from './schemas/UserGroupsInputVariable';
568
+ export type { ValidateOrchestrationActivityYamlRequest } from './schemas/ValidateOrchestrationActivityYamlRequest';
569
+ export type { ValidateOrchestrationProcessInputYamlRequest } from './schemas/ValidateOrchestrationProcessInputYamlRequest';
570
+ export type { ValidateOrchestrationProcessYamlRequest } from './schemas/ValidateOrchestrationProcessYamlRequest';
547
571
  export type { WebhookErrorResponse } from './schemas/WebhookErrorResponse';
548
572
  export type { WebhookEventType } from './schemas/WebhookEventType';
549
573
  export type { WebhookMetadataResponse } from './schemas/WebhookMetadataResponse';
@@ -556,3 +580,8 @@ export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
556
580
  export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
557
581
  export type { WebhookSignalStatus } from './schemas/WebhookSignalStatus';
558
582
  export type { Weekday } from './schemas/Weekday';
583
+ export type { YamlValidationApiResponse } from './schemas/YamlValidationApiResponse';
584
+ export type { YamlValidationEntityMetadata } from './schemas/YamlValidationEntityMetadata';
585
+ export type { YamlValidationErrorMetadata } from './schemas/YamlValidationErrorMetadata';
586
+ export type { YamlValidationListApiResponse } from './schemas/YamlValidationListApiResponse';
587
+ export type { YamlValidationScope } from './schemas/YamlValidationScope';
@@ -82,6 +82,9 @@ export { moveOrchestrationProcessInputToGit, useMoveOrchestrationProcessInputToG
82
82
  export { moveOrchestrationProcessToGit, useMoveOrchestrationProcessToGitMutation, } from './hooks/useMoveOrchestrationProcessToGitMutation';
83
83
  export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
84
84
  export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
85
+ export { postForceImportOrchestrationActivity, usePostForceImportOrchestrationActivityMutation, } from './hooks/usePostForceImportOrchestrationActivityMutation';
86
+ export { postForceImportOrchestrationProcessInput, usePostForceImportOrchestrationProcessInputMutation, } from './hooks/usePostForceImportOrchestrationProcessInputMutation';
87
+ export { postForceImportOrchestrationProcess, usePostForceImportOrchestrationProcessMutation, } from './hooks/usePostForceImportOrchestrationProcessMutation';
85
88
  export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
86
89
  export { postOrchestrationActivity, usePostOrchestrationActivityMutation, } from './hooks/usePostOrchestrationActivityMutation';
87
90
  export { postOrchestrationProcessAttachedReleaseGroups, usePostOrchestrationProcessAttachedReleaseGroupsMutation, } from './hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation';
@@ -99,6 +102,9 @@ export { postReleaseList, usePostReleaseListMutation } from './hooks/usePostRele
99
102
  export { postReleaseReportGenerate, usePostReleaseReportGenerateMutation, } from './hooks/usePostReleaseReportGenerateMutation';
100
103
  export { postReleaseSubprocessTrigger, usePostReleaseSubprocessTriggerMutation, } from './hooks/usePostReleaseSubprocessTriggerMutation';
101
104
  export { postReleaseSummary, usePostReleaseSummaryMutation, } from './hooks/usePostReleaseSummaryMutation';
105
+ export { postValidateOrchestrationActivityYaml, usePostValidateOrchestrationActivityYamlMutation, } from './hooks/usePostValidateOrchestrationActivityYamlMutation';
106
+ export { postValidateOrchestrationProcessInputYaml, usePostValidateOrchestrationProcessInputYamlMutation, } from './hooks/usePostValidateOrchestrationProcessInputYamlMutation';
107
+ export { postValidateOrchestrationProcessYaml, usePostValidateOrchestrationProcessYamlMutation, } from './hooks/usePostValidateOrchestrationProcessYamlMutation';
102
108
  export { postWebhookQueueAction, usePostWebhookQueueActionMutation, } from './hooks/usePostWebhookQueueActionMutation';
103
109
  export { putOrchestrationActivity, usePutOrchestrationActivityMutation, } from './hooks/usePutOrchestrationActivityMutation';
104
110
  export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation, } from './hooks/usePutOrchestrationProcessInputMutation';
@@ -0,0 +1,10 @@
1
+ export interface ForceImportGovernanceResponse {
2
+ /**
3
+ * True when OPA governance denied auto-creation
4
+ */
5
+ governanceCheckFailed: boolean;
6
+ /**
7
+ * Identifier of the denying policy set
8
+ */
9
+ policyIdentifier: 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,19 @@
1
+ export interface ForceImportOrchestrationActivityRequest {
2
+ branch: string;
3
+ connectorRef: string;
4
+ filePath: string;
5
+ /**
6
+ * Activity identifier (from file path or YAML)
7
+ */
8
+ identifier: string;
9
+ isHarnessCodeRepo?: boolean;
10
+ /**
11
+ * Empty or absent for account-scoped entities
12
+ */
13
+ orgIdentifier?: string;
14
+ /**
15
+ * Empty or absent for account- or org-scoped entities
16
+ */
17
+ projectIdentifier?: string;
18
+ repoName: string;
19
+ }
@@ -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,5 @@
1
+ import type { ForceImportGovernanceResponse } from '../schemas/ForceImportGovernanceResponse';
2
+ export interface ForceImportOrchestrationActivityResponse {
3
+ governanceResponse?: ForceImportGovernanceResponse;
4
+ identifier: string;
5
+ }
@@ -0,0 +1,23 @@
1
+ export interface ForceImportOrchestrationProcessInputRequest {
2
+ branch: string;
3
+ connectorRef: string;
4
+ filePath: string;
5
+ /**
6
+ * Process input identifier (from file path or YAML)
7
+ */
8
+ identifier: string;
9
+ isHarnessCodeRepo?: boolean;
10
+ /**
11
+ * Empty or absent for account-scoped entities
12
+ */
13
+ orgIdentifier?: string;
14
+ /**
15
+ * Parent orchestration process identifier (from Git path)
16
+ */
17
+ processIdentifier: string;
18
+ /**
19
+ * Empty or absent for account- or org-scoped entities
20
+ */
21
+ projectIdentifier?: string;
22
+ repoName: string;
23
+ }
@@ -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 ForceImportOrchestrationProcessInputResponse {
2
+ identifier: 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,19 @@
1
+ export interface ForceImportOrchestrationProcessRequest {
2
+ branch: string;
3
+ connectorRef: string;
4
+ filePath: string;
5
+ /**
6
+ * Process identifier (from file path or YAML)
7
+ */
8
+ identifier: string;
9
+ isHarnessCodeRepo?: boolean;
10
+ /**
11
+ * Empty or absent for account-scoped entities
12
+ */
13
+ orgIdentifier?: string;
14
+ /**
15
+ * Empty or absent for account- or org-scoped entities
16
+ */
17
+ projectIdentifier?: string;
18
+ repoName: string;
19
+ }
@@ -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,5 @@
1
+ import type { ForceImportGovernanceResponse } from '../schemas/ForceImportGovernanceResponse';
2
+ export interface ForceImportOrchestrationProcessResponse {
3
+ governanceResponse?: ForceImportGovernanceResponse;
4
+ identifier: string;
5
+ }
@@ -0,0 +1,7 @@
1
+ export interface GitYamlValidationRequestParams {
2
+ branch: string;
3
+ commitId?: string;
4
+ filePath: string;
5
+ isDefaultBranch?: boolean;
6
+ repoName: string;
7
+ }
@@ -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 {};
@@ -6,8 +6,9 @@ import type { MultiEnvironmentInputVariable } from '../schemas/MultiEnvironmentI
6
6
  import type { InfrastructureInputVariable } from '../schemas/InfrastructureInputVariable';
7
7
  import type { MultiInfrastructureInputVariable } from '../schemas/MultiInfrastructureInputVariable';
8
8
  import type { ConnectorInputVariable } from '../schemas/ConnectorInputVariable';
9
+ import type { UserGroupsInputVariable } from '../schemas/UserGroupsInputVariable';
9
10
  import type { ArtifactTagInputVariable } from '../schemas/ArtifactTagInputVariable';
10
11
  import type { ReleaseArtifactInputVariable } from '../schemas/ReleaseArtifactInputVariable';
11
- export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable | ReleaseArtifactInputVariable) & {
12
+ export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | UserGroupsInputVariable | ArtifactTagInputVariable | ReleaseArtifactInputVariable) & {
12
13
  [key: string]: any;
13
14
  };
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Type of an input variable for parameters and process inputs.
3
3
  */
4
- export type InputVariableType = 'artifactTag' | 'boolean' | 'connector' | 'environment' | 'infrastructure' | 'list' | 'multiEnvironment' | 'multiInfrastructure' | 'multiService' | 'number' | 'object' | 'release-artifact' | 'service' | 'string';
4
+ export type InputVariableType = 'artifactTag' | 'boolean' | 'connector' | 'environment' | 'infrastructure' | 'list' | 'multiEnvironment' | 'multiInfrastructure' | 'multiService' | 'number' | 'object' | 'release-artifact' | 'service' | 'string' | 'userGroups';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Input variable for user group references (scoped identifiers).
3
+ */
4
+ export interface UserGroupsInputVariable {
5
+ /**
6
+ * Default user group identifiers (e.g. account._account_all_users)
7
+ */
8
+ default?: string[] | null;
9
+ /**
10
+ * Description of the variable
11
+ */
12
+ description?: string;
13
+ /**
14
+ * Type of the input variable
15
+ */
16
+ type: 'userGroups';
17
+ }
@@ -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,5 @@
1
+ import type { GitYamlValidationRequestParams } from '../schemas/GitYamlValidationRequestParams';
2
+ export interface ValidateOrchestrationActivityYamlRequest {
3
+ gitYamlValidationRequestParams: GitYamlValidationRequestParams;
4
+ yaml: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ import type { GitYamlValidationRequestParams } from '../schemas/GitYamlValidationRequestParams';
2
+ export interface ValidateOrchestrationProcessInputYamlRequest {
3
+ gitYamlValidationRequestParams: GitYamlValidationRequestParams;
4
+ yaml: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ import type { GitYamlValidationRequestParams } from '../schemas/GitYamlValidationRequestParams';
2
+ export interface ValidateOrchestrationProcessYamlRequest {
3
+ gitYamlValidationRequestParams: GitYamlValidationRequestParams;
4
+ yaml: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ import type { YamlValidationEntityMetadata } from '../schemas/YamlValidationEntityMetadata';
2
+ import type { YamlValidationErrorMetadata } from '../schemas/YamlValidationErrorMetadata';
3
+ export interface YamlValidationApiResponse {
4
+ entityMetadata?: YamlValidationEntityMetadata;
5
+ isNotSupported?: boolean;
6
+ isValid?: boolean;
7
+ validationErrorMetadata?: YamlValidationErrorMetadata;
8
+ }
@@ -0,0 +1,9 @@
1
+ import type { YamlValidationScope } from '../schemas/YamlValidationScope';
2
+ export interface YamlValidationEntityMetadata {
3
+ /**
4
+ * Jackson type discriminator for EntityMetadata (e.g. io.harness.beans.ServiceEntityMetadata)
5
+ */
6
+ className?: string;
7
+ identifier?: string;
8
+ scope?: YamlValidationScope;
9
+ }
@@ -0,0 +1,5 @@
1
+ export interface YamlValidationErrorMetadata {
2
+ errorMessage?: string;
3
+ explanation?: string;
4
+ hint?: 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,4 @@
1
+ import type { YamlValidationApiResponse } from '../schemas/YamlValidationApiResponse';
2
+ export interface YamlValidationListApiResponse {
3
+ yamlValidationAPIResponseList?: YamlValidationApiResponse[];
4
+ }
@@ -0,0 +1,5 @@
1
+ export interface YamlValidationScope {
2
+ accountIdentifier?: string;
3
+ orgIdentifier?: string;
4
+ projectIdentifier?: 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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.88.0",
3
+ "version": "0.89.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",