@harnessio/react-rmg-service-client 0.88.0 → 0.90.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 (62) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.d.ts +7 -0
  2. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationActivityMutation.d.ts +21 -0
  3. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationActivityMutation.js +15 -0
  4. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationProcessInputMutation.d.ts +21 -0
  5. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationProcessInputMutation.js +15 -0
  6. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationProcessMutation.d.ts +21 -0
  7. package/dist/rmg-service/src/services/hooks/usePostForceImportOrchestrationProcessMutation.js +15 -0
  8. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationActivityYamlMutation.d.ts +21 -0
  9. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationActivityYamlMutation.js +15 -0
  10. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationProcessInputYamlMutation.d.ts +21 -0
  11. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationProcessInputYamlMutation.js +15 -0
  12. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationProcessYamlMutation.d.ts +21 -0
  13. package/dist/rmg-service/src/services/hooks/usePostValidateOrchestrationProcessYamlMutation.js +15 -0
  14. package/dist/rmg-service/src/services/hooks/useResolveOrchestrationActivitiesForProcessMutation.d.ts +26 -0
  15. package/dist/rmg-service/src/services/hooks/useResolveOrchestrationActivitiesForProcessMutation.js +15 -0
  16. package/dist/rmg-service/src/services/index.d.ts +34 -0
  17. package/dist/rmg-service/src/services/index.js +7 -0
  18. package/dist/rmg-service/src/services/responses/ResolveOrchestrationActivitiesForProcessResponseResponse.d.ts +10 -0
  19. package/dist/rmg-service/src/services/responses/ResolveOrchestrationActivitiesForProcessResponseResponse.js +1 -0
  20. package/dist/rmg-service/src/services/schemas/ForceImportGovernanceResponse.d.ts +10 -0
  21. package/dist/rmg-service/src/services/schemas/ForceImportGovernanceResponse.js +4 -0
  22. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationActivityRequest.d.ts +19 -0
  23. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationActivityRequest.js +4 -0
  24. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationActivityResponse.d.ts +5 -0
  25. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationActivityResponse.js +1 -0
  26. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessInputRequest.d.ts +23 -0
  27. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessInputRequest.js +4 -0
  28. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessInputResponse.d.ts +3 -0
  29. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessInputResponse.js +4 -0
  30. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessRequest.d.ts +19 -0
  31. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessRequest.js +4 -0
  32. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessResponse.d.ts +5 -0
  33. package/dist/rmg-service/src/services/schemas/ForceImportOrchestrationProcessResponse.js +1 -0
  34. package/dist/rmg-service/src/services/schemas/GitYamlValidationRequestParams.d.ts +7 -0
  35. package/dist/rmg-service/src/services/schemas/GitYamlValidationRequestParams.js +4 -0
  36. package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +2 -1
  37. package/dist/rmg-service/src/services/schemas/InputVariableType.d.ts +1 -1
  38. package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +5 -0
  39. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.d.ts +3 -2
  40. package/dist/rmg-service/src/services/schemas/ResolveOrchestrationActivitiesForProcessRequest.d.ts +21 -0
  41. package/dist/rmg-service/src/services/schemas/ResolveOrchestrationActivitiesForProcessRequest.js +1 -0
  42. package/dist/rmg-service/src/services/schemas/ResolveProcessActivityDetail.d.ts +14 -0
  43. package/dist/rmg-service/src/services/schemas/ResolveProcessActivityDetail.js +4 -0
  44. package/dist/rmg-service/src/services/schemas/UserGroupsInputVariable.d.ts +17 -0
  45. package/dist/rmg-service/src/services/schemas/UserGroupsInputVariable.js +4 -0
  46. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationActivityYamlRequest.d.ts +5 -0
  47. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationActivityYamlRequest.js +1 -0
  48. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationProcessInputYamlRequest.d.ts +5 -0
  49. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationProcessInputYamlRequest.js +1 -0
  50. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationProcessYamlRequest.d.ts +5 -0
  51. package/dist/rmg-service/src/services/schemas/ValidateOrchestrationProcessYamlRequest.js +1 -0
  52. package/dist/rmg-service/src/services/schemas/YamlValidationApiResponse.d.ts +8 -0
  53. package/dist/rmg-service/src/services/schemas/YamlValidationApiResponse.js +1 -0
  54. package/dist/rmg-service/src/services/schemas/YamlValidationEntityMetadata.d.ts +9 -0
  55. package/dist/rmg-service/src/services/schemas/YamlValidationEntityMetadata.js +1 -0
  56. package/dist/rmg-service/src/services/schemas/YamlValidationErrorMetadata.d.ts +5 -0
  57. package/dist/rmg-service/src/services/schemas/YamlValidationErrorMetadata.js +4 -0
  58. package/dist/rmg-service/src/services/schemas/YamlValidationListApiResponse.d.ts +4 -0
  59. package/dist/rmg-service/src/services/schemas/YamlValidationListApiResponse.js +1 -0
  60. package/dist/rmg-service/src/services/schemas/YamlValidationScope.d.ts +5 -0
  61. package/dist/rmg-service/src/services/schemas/YamlValidationScope.js +4 -0
  62. package/package.json +1 -1
@@ -17,6 +17,13 @@ export interface GetOrchestrationActivitiesByAcitivityRefsMutationHeaderParams {
17
17
  'Harness-Account': string;
18
18
  }
19
19
  export type GetOrchestrationActivitiesByAcitivityRefsRequestBody = {
20
+ /**
21
+ * Optional map of activityRef to git branch. Keys must be entries from activityRefs. When omitted for a ref, the git_branch query parameter or the activity's default branch is used.
22
+ *
23
+ */
24
+ activityGitBranches?: {
25
+ [key: string]: string;
26
+ };
20
27
  /**
21
28
  * Array of activity references
22
29
  */
@@ -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
+ }
@@ -0,0 +1,26 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResolveOrchestrationActivitiesForProcessResponseResponse } from '../responses/ResolveOrchestrationActivitiesForProcessResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResolveOrchestrationActivitiesForProcessRequest } from '../schemas/ResolveOrchestrationActivitiesForProcessRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface ResolveOrchestrationActivitiesForProcessMutationQueryParams {
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ }
11
+ export interface ResolveOrchestrationActivitiesForProcessMutationHeaderParams {
12
+ 'Harness-Account': string;
13
+ }
14
+ export type ResolveOrchestrationActivitiesForProcessRequestBody = ResolveOrchestrationActivitiesForProcessRequest;
15
+ export type ResolveOrchestrationActivitiesForProcessOkResponse = ResponseWithPagination<ResolveOrchestrationActivitiesForProcessResponseResponse>;
16
+ export type ResolveOrchestrationActivitiesForProcessErrorResponse = ErrorResponseResponse;
17
+ export interface ResolveOrchestrationActivitiesForProcessProps extends Omit<FetcherOptions<ResolveOrchestrationActivitiesForProcessMutationQueryParams, ResolveOrchestrationActivitiesForProcessRequestBody, ResolveOrchestrationActivitiesForProcessMutationHeaderParams>, 'url'> {
18
+ queryParams: ResolveOrchestrationActivitiesForProcessMutationQueryParams;
19
+ body: ResolveOrchestrationActivitiesForProcessRequestBody;
20
+ }
21
+ export declare function resolveOrchestrationActivitiesForProcess(props: ResolveOrchestrationActivitiesForProcessProps): Promise<ResolveOrchestrationActivitiesForProcessOkResponse>;
22
+ /**
23
+ * Resolve activity YAML for process activity instances in a single phase with correct per-instance git branch resolution (activity pin → same-repo process branch → activity default). phaseIdentifier is required so the response map can be keyed by activity instance id. When activityDetails is omitted, instances are collected from the persisted process YAML for that phase. When activityDetails is provided (e.g. unsaved studio edits), each entry must include identifier and activityRef.
24
+ *
25
+ */
26
+ export declare function useResolveOrchestrationActivitiesForProcessMutation(options?: Omit<UseMutationOptions<ResolveOrchestrationActivitiesForProcessOkResponse, ResolveOrchestrationActivitiesForProcessErrorResponse, ResolveOrchestrationActivitiesForProcessProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResolveOrchestrationActivitiesForProcessOkResponse, import("..").Error, ResolveOrchestrationActivitiesForProcessProps, 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 resolveOrchestrationActivitiesForProcess(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/resolve-for-process`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Resolve activity YAML for process activity instances in a single phase with correct per-instance git branch resolution (activity pin → same-repo process branch → activity default). phaseIdentifier is required so the response map can be keyed by activity instance id. When activityDetails is omitted, instances are collected from the persisted process YAML for that phase. When activityDetails is provided (e.g. unsaved studio edits), each entry must include identifier and activityRef.
11
+ *
12
+ */
13
+ export function useResolveOrchestrationActivitiesForProcessMutation(options) {
14
+ return useMutation((mutateProps) => resolveOrchestrationActivitiesForProcess(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';
@@ -213,6 +225,8 @@ export type { PutReleaseGroupErrorResponse, PutReleaseGroupMutationPathParams, P
213
225
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
214
226
  export type { PutReleaseReleaseIdErrorResponse, PutReleaseReleaseIdMutationPathParams, PutReleaseReleaseIdOkResponse, PutReleaseReleaseIdProps, PutReleaseReleaseIdRequestBody, } from './hooks/usePutReleaseReleaseIdMutation';
215
227
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
228
+ export type { ResolveOrchestrationActivitiesForProcessErrorResponse, ResolveOrchestrationActivitiesForProcessMutationQueryParams, ResolveOrchestrationActivitiesForProcessOkResponse, ResolveOrchestrationActivitiesForProcessProps, ResolveOrchestrationActivitiesForProcessRequestBody, } from './hooks/useResolveOrchestrationActivitiesForProcessMutation';
229
+ export { resolveOrchestrationActivitiesForProcess, useResolveOrchestrationActivitiesForProcessMutation, } from './hooks/useResolveOrchestrationActivitiesForProcessMutation';
216
230
  export type { RetryChangesetErrorResponse, RetryChangesetMutationPathParams, RetryChangesetMutationQueryParams, RetryChangesetOkResponse, RetryChangesetProps, } from './hooks/useRetryChangesetMutation';
217
231
  export { retryChangeset, useRetryChangesetMutation } from './hooks/useRetryChangesetMutation';
218
232
  export type { ServeUploadErrorResponse, ServeUploadOkResponse, ServeUploadProps, ServeUploadQueryPathParams, } from './hooks/useServeUploadQuery';
@@ -308,6 +322,7 @@ export type { ReleaseSummaryResponseResponse } from './responses/ReleaseSummaryR
308
322
  export type { ReleaseTasksResponseResponse } from './responses/ReleaseTasksResponseResponse';
309
323
  export type { ReportGenerationResponseResponse } from './responses/ReportGenerationResponseResponse';
310
324
  export type { ReportStatusResponseResponse } from './responses/ReportStatusResponseResponse';
325
+ export type { ResolveOrchestrationActivitiesForProcessResponseResponse } from './responses/ResolveOrchestrationActivitiesForProcessResponseResponse';
311
326
  export type { SubprocessTriggerResponseResponse } from './responses/SubprocessTriggerResponseResponse';
312
327
  export type { TaskCommentsListResponseResponse } from './responses/TaskCommentsListResponseResponse';
313
328
  export type { UpdateExecutionTaskMetadataResponseResponse } from './responses/UpdateExecutionTaskMetadataResponseResponse';
@@ -402,6 +417,13 @@ export type { ExecutionTaskStatus } from './schemas/ExecutionTaskStatus';
402
417
  export type { ExecutionTriggerInfo } from './schemas/ExecutionTriggerInfo';
403
418
  export type { FailureInfo } from './schemas/FailureInfo';
404
419
  export type { FailureInfoDto } from './schemas/FailureInfoDto';
420
+ export type { ForceImportGovernanceResponse } from './schemas/ForceImportGovernanceResponse';
421
+ export type { ForceImportOrchestrationActivityRequest } from './schemas/ForceImportOrchestrationActivityRequest';
422
+ export type { ForceImportOrchestrationActivityResponse } from './schemas/ForceImportOrchestrationActivityResponse';
423
+ export type { ForceImportOrchestrationProcessInputRequest } from './schemas/ForceImportOrchestrationProcessInputRequest';
424
+ export type { ForceImportOrchestrationProcessInputResponse } from './schemas/ForceImportOrchestrationProcessInputResponse';
425
+ export type { ForceImportOrchestrationProcessRequest } from './schemas/ForceImportOrchestrationProcessRequest';
426
+ export type { ForceImportOrchestrationProcessResponse } from './schemas/ForceImportOrchestrationProcessResponse';
405
427
  export type { FreezeDetailsDto } from './schemas/FreezeDetailsDto';
406
428
  export type { FreezeEntitiesDto } from './schemas/FreezeEntitiesDto';
407
429
  export type { FreezeListItemDto } from './schemas/FreezeListItemDto';
@@ -411,6 +433,7 @@ export type { GcrArtifactMetadata } from './schemas/GcrArtifactMetadata';
411
433
  export type { GetReleaseGroupResponse } from './schemas/GetReleaseGroupResponse';
412
434
  export type { GitDetails } from './schemas/GitDetails';
413
435
  export type { GitProviderType } from './schemas/GitProviderType';
436
+ export type { GitYamlValidationRequestParams } from './schemas/GitYamlValidationRequestParams';
414
437
  export type { GithubPackageRegistryMetadata } from './schemas/GithubPackageRegistryMetadata';
415
438
  export type { GlobalReleaseInputYaml } from './schemas/GlobalReleaseInputYaml';
416
439
  export type { GoogleArtifactRegistryMetadata } from './schemas/GoogleArtifactRegistryMetadata';
@@ -505,6 +528,8 @@ export type { ReportGenerationRequest } from './schemas/ReportGenerationRequest'
505
528
  export type { ReportGenerationResponse } from './schemas/ReportGenerationResponse';
506
529
  export type { ReportStatusResponse } from './schemas/ReportStatusResponse';
507
530
  export type { RerunInfo } from './schemas/RerunInfo';
531
+ export type { ResolveOrchestrationActivitiesForProcessRequest } from './schemas/ResolveOrchestrationActivitiesForProcessRequest';
532
+ export type { ResolveProcessActivityDetail } from './schemas/ResolveProcessActivityDetail';
508
533
  export type { ResponseMessage } from './schemas/ResponseMessage';
509
534
  export type { RetryExecutionMetadata } from './schemas/RetryExecutionMetadata';
510
535
  export type { ScopeFilterDto } from './schemas/ScopeFilterDto';
@@ -544,6 +569,10 @@ export type { UpdateChangesetTagsRequest } from './schemas/UpdateChangesetTagsRe
544
569
  export type { UploadResponse } from './schemas/UploadResponse';
545
570
  export type { UpsertArtifactTrackerSettingsRequest } from './schemas/UpsertArtifactTrackerSettingsRequest';
546
571
  export type { User } from './schemas/User';
572
+ export type { UserGroupsInputVariable } from './schemas/UserGroupsInputVariable';
573
+ export type { ValidateOrchestrationActivityYamlRequest } from './schemas/ValidateOrchestrationActivityYamlRequest';
574
+ export type { ValidateOrchestrationProcessInputYamlRequest } from './schemas/ValidateOrchestrationProcessInputYamlRequest';
575
+ export type { ValidateOrchestrationProcessYamlRequest } from './schemas/ValidateOrchestrationProcessYamlRequest';
547
576
  export type { WebhookErrorResponse } from './schemas/WebhookErrorResponse';
548
577
  export type { WebhookEventType } from './schemas/WebhookEventType';
549
578
  export type { WebhookMetadataResponse } from './schemas/WebhookMetadataResponse';
@@ -556,3 +585,8 @@ export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
556
585
  export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
557
586
  export type { WebhookSignalStatus } from './schemas/WebhookSignalStatus';
558
587
  export type { Weekday } from './schemas/Weekday';
588
+ export type { YamlValidationApiResponse } from './schemas/YamlValidationApiResponse';
589
+ export type { YamlValidationEntityMetadata } from './schemas/YamlValidationEntityMetadata';
590
+ export type { YamlValidationErrorMetadata } from './schemas/YamlValidationErrorMetadata';
591
+ export type { YamlValidationListApiResponse } from './schemas/YamlValidationListApiResponse';
592
+ 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,12 +102,16 @@ 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';
105
111
  export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
106
112
  export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
107
113
  export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
114
+ export { resolveOrchestrationActivitiesForProcess, useResolveOrchestrationActivitiesForProcessMutation, } from './hooks/useResolveOrchestrationActivitiesForProcessMutation';
108
115
  export { retryChangeset, useRetryChangesetMutation } from './hooks/useRetryChangesetMutation';
109
116
  export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
110
117
  export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
@@ -0,0 +1,10 @@
1
+ import type { OrchestrationActivityYamlDto } from '../schemas/OrchestrationActivityYamlDto';
2
+ export interface ResolveOrchestrationActivitiesForProcessResponseResponse {
3
+ /**
4
+ * Map keyed by process activity instance identifier (YAML id) within the requested phase.
5
+ *
6
+ */
7
+ activities: {
8
+ [key: string]: OrchestrationActivityYamlDto;
9
+ };
10
+ }
@@ -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';
@@ -12,6 +12,11 @@ export interface OrchestrationActivityProcessYaml {
12
12
  * Description of the activity
13
13
  */
14
14
  description?: string;
15
+ /**
16
+ * Optional git branch pin for resolving a remote activity's YAML. Omit to inherit the process branch when the activity is in the same repo, or the activity's default branch when it is in a different repo.
17
+ *
18
+ */
19
+ gitBranch?: string;
15
20
  /**
16
21
  * Unique identifier for the activity
17
22
  */
@@ -1,9 +1,10 @@
1
+ import type { Error } from '../schemas/Error';
1
2
  import type { CreateOrchestrationActivityRequestType } from '../schemas/CreateOrchestrationActivityRequestType';
2
3
  export interface OrchestrationActivityYamlDto {
3
4
  /**
4
- * User-facing error message when the activity content could not be fetched (e.g. remote yaml not found on the selected branch)
5
+ * Structured user-facing error when the activity content could not be fetched (e.g. remote yaml not found on the selected branch). Includes message, explanation, and probable_fixes for ErrorHandler rendering.
5
6
  */
6
- error?: string;
7
+ error?: Error;
7
8
  /**
8
9
  * Identifier of the activity
9
10
  */
@@ -0,0 +1,21 @@
1
+ import type { ResolveProcessActivityDetail } from '../schemas/ResolveProcessActivityDetail';
2
+ export interface ResolveOrchestrationActivitiesForProcessRequest {
3
+ /**
4
+ * Optional process activity instances to resolve. When provided (including an empty array), these instances are used instead of reading persisted process YAML. Each entry requires identifier and activityRef.
5
+ *
6
+ */
7
+ activityDetails?: ResolveProcessActivityDetail[];
8
+ /**
9
+ * Phase whose activity instances are being resolved. Required so response map keys (process activity instance ids) are unique within the phase.
10
+ *
11
+ */
12
+ phaseIdentifier: string;
13
+ /**
14
+ * Branch the process YAML was loaded from; used for same-repo activity branch inherit
15
+ */
16
+ processBranch?: string;
17
+ /**
18
+ * Identifier of the process used for git repo context and (when activityDetails is omitted) instance collection
19
+ */
20
+ processIdentifier: string;
21
+ }
@@ -0,0 +1,14 @@
1
+ export interface ResolveProcessActivityDetail {
2
+ /**
3
+ * Optional gitBranch pin from process YAML for this instance
4
+ */
5
+ activityBranch?: string;
6
+ /**
7
+ * Activity entity reference (YAML activity field)
8
+ */
9
+ activityRef: string;
10
+ /**
11
+ * Process activity instance id (YAML id)
12
+ */
13
+ identifier: string;
14
+ }
@@ -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,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
+ * Input variable for userGroup type
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.90.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",