@harnessio/react-rmg-service-client 0.71.1-beta.0 → 0.72.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 (59) hide show
  1. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation.d.ts +1 -0
  2. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityMetadataQuery.d.ts +25 -0
  3. package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityMetadataQuery.js +14 -0
  4. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputMetadataQuery.d.ts +26 -0
  5. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputMetadataQuery.js +19 -0
  6. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.d.ts +1 -0
  7. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessMetadataQuery.d.ts +25 -0
  8. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessMetadataQuery.js +14 -0
  9. package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessQuery.d.ts +1 -0
  10. package/dist/rmg-service/src/services/index.d.ts +13 -3
  11. package/dist/rmg-service/src/services/index.js +3 -0
  12. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessInputRequestRequestBody.d.ts +2 -0
  13. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessInputRequestRequestBody.js +0 -3
  14. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.d.ts +2 -0
  15. package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessRequestRequestBody.js +0 -3
  16. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.d.ts +2 -0
  17. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.js +0 -3
  18. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.d.ts +2 -0
  19. package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessRequestRequestBody.js +0 -3
  20. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.d.ts +2 -0
  21. package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityResponseResponse.js +0 -3
  22. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputResponseResponse.d.ts +2 -0
  23. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputResponseResponse.js +0 -3
  24. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessResponseResponse.d.ts +2 -0
  25. package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessResponseResponse.js +0 -3
  26. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.d.ts +2 -0
  27. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.js +0 -3
  28. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessResponseResponse.d.ts +2 -0
  29. package/dist/rmg-service/src/services/responses/GetOrchestrationProcessResponseResponse.js +0 -3
  30. package/dist/rmg-service/src/services/responses/OrchestrationActivityMetadataResponseResponse.d.ts +2 -0
  31. package/dist/rmg-service/src/services/responses/OrchestrationActivitySummaryResponseResponse.d.ts +2 -2
  32. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputMetadataResponseResponse.d.ts +2 -0
  33. package/dist/rmg-service/src/services/responses/OrchestrationProcessInputSummaryResponseResponse.d.ts +2 -2
  34. package/dist/rmg-service/src/services/responses/OrchestrationProcessMetadataResponseResponse.d.ts +2 -0
  35. package/dist/rmg-service/src/services/responses/OrchestrationProcessSummaryResponseResponse.d.ts +2 -2
  36. package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.d.ts +2 -0
  37. package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.js +0 -3
  38. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.d.ts +2 -0
  39. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.js +0 -3
  40. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.d.ts +2 -0
  41. package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.js +0 -3
  42. package/dist/rmg-service/src/services/schemas/Error.d.ts +8 -0
  43. package/dist/rmg-service/src/services/schemas/GitDetails.d.ts +2 -16
  44. package/dist/rmg-service/src/services/schemas/GitDetails.js +0 -3
  45. package/dist/rmg-service/src/services/schemas/OrchestrationActivityMetadataDto.d.ts +21 -0
  46. package/dist/rmg-service/src/services/schemas/OrchestrationActivityMetadataDto.js +1 -0
  47. package/dist/rmg-service/src/services/schemas/OrchestrationActivityYamlDto.d.ts +4 -0
  48. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputMetadataDto.d.ts +14 -0
  49. package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputMetadataDto.js +1 -0
  50. package/dist/rmg-service/src/services/schemas/{OrchestrationProcessDto.d.ts → OrchestrationProcessMetadataDto.d.ts} +6 -5
  51. package/dist/rmg-service/src/services/schemas/OrchestrationProcessMetadataDto.js +1 -0
  52. package/dist/rmg-service/src/services/schemas/StoreType.d.ts +4 -0
  53. package/dist/rmg-service/src/services/schemas/StoreType.js +4 -0
  54. package/package.json +1 -1
  55. package/dist/rmg-service/src/services/schemas/OrchestrationActivitySummaryDto.d.ts +0 -42
  56. package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.d.ts +0 -25
  57. /package/dist/rmg-service/src/services/{schemas/OrchestrationActivitySummaryDto.js → responses/OrchestrationActivityMetadataResponseResponse.js} +0 -0
  58. /package/dist/rmg-service/src/services/{schemas/OrchestrationProcessDto.js → responses/OrchestrationProcessInputMetadataResponseResponse.js} +0 -0
  59. /package/dist/rmg-service/src/services/{schemas/ProcessInputSummaryDto.js → responses/OrchestrationProcessMetadataResponseResponse.js} +0 -0
@@ -11,6 +11,7 @@ export interface GetOrchestrationActivitiesByAcitivityRefsMutationQueryParams {
11
11
  * @default 500
12
12
  */
13
13
  limit?: number;
14
+ git_branch?: string;
14
15
  }
15
16
  export interface GetOrchestrationActivitiesByAcitivityRefsMutationHeaderParams {
16
17
  'Harness-Account': string;
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationActivityMetadataResponseResponse } from '../responses/OrchestrationActivityMetadataResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationActivityMetadataQueryPathParams {
7
+ identifier: string;
8
+ }
9
+ export interface GetOrchestrationActivityMetadataQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface GetOrchestrationActivityMetadataQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetOrchestrationActivityMetadataOkResponse = ResponseWithPagination<OrchestrationActivityMetadataResponseResponse>;
17
+ export type GetOrchestrationActivityMetadataErrorResponse = ErrorResponseResponse;
18
+ export interface GetOrchestrationActivityMetadataProps extends GetOrchestrationActivityMetadataQueryPathParams, Omit<FetcherOptions<GetOrchestrationActivityMetadataQueryQueryParams, unknown, GetOrchestrationActivityMetadataQueryHeaderParams>, 'url'> {
19
+ queryParams: GetOrchestrationActivityMetadataQueryQueryParams;
20
+ }
21
+ export declare function getOrchestrationActivityMetadata(props: GetOrchestrationActivityMetadataProps): Promise<GetOrchestrationActivityMetadataOkResponse>;
22
+ /**
23
+ * Retrieve metadata for an orchestration activity without its YAML content
24
+ */
25
+ export declare function useGetOrchestrationActivityMetadataQuery(props: GetOrchestrationActivityMetadataProps, options?: Omit<UseQueryOptions<GetOrchestrationActivityMetadataOkResponse, GetOrchestrationActivityMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationActivityMetadataOkResponse, import("..").Error>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getOrchestrationActivityMetadata(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/activity/${props.identifier}/metadata`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve metadata for an orchestration activity without its YAML content
11
+ */
12
+ export function useGetOrchestrationActivityMetadataQuery(props, options) {
13
+ return useQuery(['get-orchestration-activity-metadata', props.identifier, props.queryParams], ({ signal }) => getOrchestrationActivityMetadata(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationProcessInputMetadataResponseResponse } from '../responses/OrchestrationProcessInputMetadataResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationProcessInputMetadataQueryPathParams {
7
+ processIdentifier: string;
8
+ inputIdentifier: string;
9
+ }
10
+ export interface GetOrchestrationProcessInputMetadataQueryQueryParams {
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ }
14
+ export interface GetOrchestrationProcessInputMetadataQueryHeaderParams {
15
+ 'Harness-Account': string;
16
+ }
17
+ export type GetOrchestrationProcessInputMetadataOkResponse = ResponseWithPagination<OrchestrationProcessInputMetadataResponseResponse>;
18
+ export type GetOrchestrationProcessInputMetadataErrorResponse = ErrorResponseResponse;
19
+ export interface GetOrchestrationProcessInputMetadataProps extends GetOrchestrationProcessInputMetadataQueryPathParams, Omit<FetcherOptions<GetOrchestrationProcessInputMetadataQueryQueryParams, unknown, GetOrchestrationProcessInputMetadataQueryHeaderParams>, 'url'> {
20
+ queryParams: GetOrchestrationProcessInputMetadataQueryQueryParams;
21
+ }
22
+ export declare function getOrchestrationProcessInputMetadata(props: GetOrchestrationProcessInputMetadataProps): Promise<GetOrchestrationProcessInputMetadataOkResponse>;
23
+ /**
24
+ * Retrieve metadata for an orchestration process input without its YAML content
25
+ */
26
+ export declare function useGetOrchestrationProcessInputMetadataQuery(props: GetOrchestrationProcessInputMetadataProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessInputMetadataOkResponse, GetOrchestrationProcessInputMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessInputMetadataOkResponse, import("..").Error>;
@@ -0,0 +1,19 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getOrchestrationProcessInputMetadata(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.processIdentifier}/input/${props.inputIdentifier}/metadata`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve metadata for an orchestration process input without its YAML content
11
+ */
12
+ export function useGetOrchestrationProcessInputMetadataQuery(props, options) {
13
+ return useQuery([
14
+ 'get-orchestration-process-input-metadata',
15
+ props.processIdentifier,
16
+ props.inputIdentifier,
17
+ props.queryParams,
18
+ ], ({ signal }) => getOrchestrationProcessInputMetadata(Object.assign(Object.assign({}, props), { signal })), options);
19
+ }
@@ -10,6 +10,7 @@ export interface GetOrchestrationProcessInputQueryPathParams {
10
10
  export interface GetOrchestrationProcessInputQueryQueryParams {
11
11
  orgIdentifier?: string;
12
12
  projectIdentifier?: string;
13
+ git_branch?: string;
13
14
  }
14
15
  export interface GetOrchestrationProcessInputQueryHeaderParams {
15
16
  'Harness-Account': string;
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OrchestrationProcessMetadataResponseResponse } from '../responses/OrchestrationProcessMetadataResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetOrchestrationProcessMetadataQueryPathParams {
7
+ identifier: string;
8
+ }
9
+ export interface GetOrchestrationProcessMetadataQueryQueryParams {
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export interface GetOrchestrationProcessMetadataQueryHeaderParams {
14
+ 'Harness-Account': string;
15
+ }
16
+ export type GetOrchestrationProcessMetadataOkResponse = ResponseWithPagination<OrchestrationProcessMetadataResponseResponse>;
17
+ export type GetOrchestrationProcessMetadataErrorResponse = ErrorResponseResponse;
18
+ export interface GetOrchestrationProcessMetadataProps extends GetOrchestrationProcessMetadataQueryPathParams, Omit<FetcherOptions<GetOrchestrationProcessMetadataQueryQueryParams, unknown, GetOrchestrationProcessMetadataQueryHeaderParams>, 'url'> {
19
+ queryParams: GetOrchestrationProcessMetadataQueryQueryParams;
20
+ }
21
+ export declare function getOrchestrationProcessMetadata(props: GetOrchestrationProcessMetadataProps): Promise<GetOrchestrationProcessMetadataOkResponse>;
22
+ /**
23
+ * Retrieve metadata for an orchestration process without its YAML content
24
+ */
25
+ export declare function useGetOrchestrationProcessMetadataQuery(props: GetOrchestrationProcessMetadataProps, options?: Omit<UseQueryOptions<GetOrchestrationProcessMetadataOkResponse, GetOrchestrationProcessMetadataErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationProcessMetadataOkResponse, import("..").Error>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getOrchestrationProcessMetadata(props) {
7
+ return fetcher(Object.assign({ url: `/orchestration/process/${props.identifier}/metadata`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieve metadata for an orchestration process without its YAML content
11
+ */
12
+ export function useGetOrchestrationProcessMetadataQuery(props, options) {
13
+ return useQuery(['get-orchestration-process-metadata', props.identifier, props.queryParams], ({ signal }) => getOrchestrationProcessMetadata(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -9,6 +9,7 @@ export interface GetOrchestrationProcessQueryPathParams {
9
9
  export interface GetOrchestrationProcessQueryQueryParams {
10
10
  orgIdentifier?: string;
11
11
  projectIdentifier?: string;
12
+ git_branch?: string;
12
13
  }
13
14
  export interface GetOrchestrationProcessQueryHeaderParams {
14
15
  'Harness-Account': string;
@@ -45,6 +45,8 @@ export type { GetOrchestrationActivitiesByProcessIdentifierErrorResponse, GetOrc
45
45
  export { getOrchestrationActivitiesByProcessIdentifier, useGetOrchestrationActivitiesByProcessIdentifierQuery, } from './hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery';
46
46
  export type { GetOrchestrationActivityInputsErrorResponse, GetOrchestrationActivityInputsOkResponse, GetOrchestrationActivityInputsProps, GetOrchestrationActivityInputsQueryPathParams, GetOrchestrationActivityInputsQueryQueryParams, } from './hooks/useGetOrchestrationActivityInputsQuery';
47
47
  export { getOrchestrationActivityInputs, useGetOrchestrationActivityInputsQuery, } from './hooks/useGetOrchestrationActivityInputsQuery';
48
+ export type { GetOrchestrationActivityMetadataErrorResponse, GetOrchestrationActivityMetadataOkResponse, GetOrchestrationActivityMetadataProps, GetOrchestrationActivityMetadataQueryPathParams, GetOrchestrationActivityMetadataQueryQueryParams, } from './hooks/useGetOrchestrationActivityMetadataQuery';
49
+ export { getOrchestrationActivityMetadata, useGetOrchestrationActivityMetadataQuery, } from './hooks/useGetOrchestrationActivityMetadataQuery';
48
50
  export type { GetOrchestrationActivityErrorResponse, GetOrchestrationActivityOkResponse, GetOrchestrationActivityProps, GetOrchestrationActivityQueryPathParams, GetOrchestrationActivityQueryQueryParams, } from './hooks/useGetOrchestrationActivityQuery';
49
51
  export { getOrchestrationActivity, useGetOrchestrationActivityQuery, } from './hooks/useGetOrchestrationActivityQuery';
50
52
  export type { GetOrchestrationActivitySummaryErrorResponse, GetOrchestrationActivitySummaryOkResponse, GetOrchestrationActivitySummaryProps, GetOrchestrationActivitySummaryQueryQueryParams, } from './hooks/useGetOrchestrationActivitySummaryQuery';
@@ -73,10 +75,14 @@ export type { GetOrchestrationExecutionTasksErrorResponse, GetOrchestrationExecu
73
75
  export { getOrchestrationExecutionTasks, useGetOrchestrationExecutionTasksQuery, } from './hooks/useGetOrchestrationExecutionTasksQuery';
74
76
  export type { GetOrchestrationProcessExecutionsErrorResponse, GetOrchestrationProcessExecutionsOkResponse, GetOrchestrationProcessExecutionsProps, GetOrchestrationProcessExecutionsQueryPathParams, GetOrchestrationProcessExecutionsQueryQueryParams, } from './hooks/useGetOrchestrationProcessExecutionsQuery';
75
77
  export { getOrchestrationProcessExecutions, useGetOrchestrationProcessExecutionsQuery, } from './hooks/useGetOrchestrationProcessExecutionsQuery';
78
+ export type { GetOrchestrationProcessInputMetadataErrorResponse, GetOrchestrationProcessInputMetadataOkResponse, GetOrchestrationProcessInputMetadataProps, GetOrchestrationProcessInputMetadataQueryPathParams, GetOrchestrationProcessInputMetadataQueryQueryParams, } from './hooks/useGetOrchestrationProcessInputMetadataQuery';
79
+ export { getOrchestrationProcessInputMetadata, useGetOrchestrationProcessInputMetadataQuery, } from './hooks/useGetOrchestrationProcessInputMetadataQuery';
76
80
  export type { GetOrchestrationProcessInputErrorResponse, GetOrchestrationProcessInputOkResponse, GetOrchestrationProcessInputProps, GetOrchestrationProcessInputQueryPathParams, GetOrchestrationProcessInputQueryQueryParams, } from './hooks/useGetOrchestrationProcessInputQuery';
77
81
  export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } from './hooks/useGetOrchestrationProcessInputQuery';
78
82
  export type { GetOrchestrationProcessInputSummaryErrorResponse, GetOrchestrationProcessInputSummaryOkResponse, GetOrchestrationProcessInputSummaryProps, GetOrchestrationProcessInputSummaryQueryPathParams, GetOrchestrationProcessInputSummaryQueryQueryParams, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
79
83
  export { getOrchestrationProcessInputSummary, useGetOrchestrationProcessInputSummaryQuery, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
84
+ export type { GetOrchestrationProcessMetadataErrorResponse, GetOrchestrationProcessMetadataOkResponse, GetOrchestrationProcessMetadataProps, GetOrchestrationProcessMetadataQueryPathParams, GetOrchestrationProcessMetadataQueryQueryParams, } from './hooks/useGetOrchestrationProcessMetadataQuery';
85
+ export { getOrchestrationProcessMetadata, useGetOrchestrationProcessMetadataQuery, } from './hooks/useGetOrchestrationProcessMetadataQuery';
80
86
  export type { GetOrchestrationProcessErrorResponse, GetOrchestrationProcessOkResponse, GetOrchestrationProcessProps, GetOrchestrationProcessQueryPathParams, GetOrchestrationProcessQueryQueryParams, } from './hooks/useGetOrchestrationProcessQuery';
81
87
  export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
82
88
  export type { GetOrchestrationProcessSummaryErrorResponse, GetOrchestrationProcessSummaryOkResponse, GetOrchestrationProcessSummaryProps, GetOrchestrationProcessSummaryQueryQueryParams, } from './hooks/useGetOrchestrationProcessSummaryQuery';
@@ -256,11 +262,14 @@ export type { GetProcessExecutionResponseResponse } from './responses/GetProcess
256
262
  export type { GetReleaseGroupResponseResponse } from './responses/GetReleaseGroupResponseResponse';
257
263
  export type { OnHoldActivityActionResponseResponse } from './responses/OnHoldActivityActionResponseResponse';
258
264
  export type { OrchestrationActivityListByProcessIdentifierResponseResponse } from './responses/OrchestrationActivityListByProcessIdentifierResponseResponse';
265
+ export type { OrchestrationActivityMetadataResponseResponse } from './responses/OrchestrationActivityMetadataResponseResponse';
259
266
  export type { OrchestrationActivitySummaryResponseResponse } from './responses/OrchestrationActivitySummaryResponseResponse';
260
267
  export type { OrchestrationExecutionActivitiesPaginatedResponseResponse } from './responses/OrchestrationExecutionActivitiesPaginatedResponseResponse';
261
268
  export type { OrchestrationExecutionActivitiesResponseResponse } from './responses/OrchestrationExecutionActivitiesResponseResponse';
262
269
  export type { OrchestrationProcessAttachedReleaseGroupsResponseResponse } from './responses/OrchestrationProcessAttachedReleaseGroupsResponseResponse';
270
+ export type { OrchestrationProcessInputMetadataResponseResponse } from './responses/OrchestrationProcessInputMetadataResponseResponse';
263
271
  export type { OrchestrationProcessInputSummaryResponseResponse } from './responses/OrchestrationProcessInputSummaryResponseResponse';
272
+ export type { OrchestrationProcessMetadataResponseResponse } from './responses/OrchestrationProcessMetadataResponseResponse';
264
273
  export type { OrchestrationProcessSummaryResponseResponse } from './responses/OrchestrationProcessSummaryResponseResponse';
265
274
  export type { PatchReleaseGroupResponseResponse } from './responses/PatchReleaseGroupResponseResponse';
266
275
  export type { ReleaseActionResponseResponse } from './responses/ReleaseActionResponseResponse';
@@ -399,10 +408,10 @@ export type { NgTag } from './schemas/NgTag';
399
408
  export type { OnHoldActivityActionRequest } from './schemas/OnHoldActivityActionRequest';
400
409
  export type { OnHoldActivityActionResponse } from './schemas/OnHoldActivityActionResponse';
401
410
  export type { OrchestrationActivityManualYaml } from './schemas/OrchestrationActivityManualYaml';
411
+ export type { OrchestrationActivityMetadataDto } from './schemas/OrchestrationActivityMetadataDto';
402
412
  export type { OrchestrationActivityPipelineYaml } from './schemas/OrchestrationActivityPipelineYaml';
403
413
  export type { OrchestrationActivityProcessYaml } from './schemas/OrchestrationActivityProcessYaml';
404
414
  export type { OrchestrationActivitySubprocessYaml } from './schemas/OrchestrationActivitySubprocessYaml';
405
- export type { OrchestrationActivitySummaryDto } from './schemas/OrchestrationActivitySummaryDto';
406
415
  export type { OrchestrationActivityWebhookYaml } from './schemas/OrchestrationActivityWebhookYaml';
407
416
  export type { OrchestrationActivityYaml } from './schemas/OrchestrationActivityYaml';
408
417
  export type { OrchestrationActivityYamlDto } from './schemas/OrchestrationActivityYamlDto';
@@ -412,8 +421,9 @@ export type { OrchestrationExecutionActivityPaginated } from './schemas/Orchestr
412
421
  export type { OrchestrationExecutionPhase } from './schemas/OrchestrationExecutionPhase';
413
422
  export type { OrchestrationExecutionPhasesResponse } from './schemas/OrchestrationExecutionPhasesResponse';
414
423
  export type { OrchestrationPhaseYaml } from './schemas/OrchestrationPhaseYaml';
415
- export type { OrchestrationProcessDto } from './schemas/OrchestrationProcessDto';
424
+ export type { OrchestrationProcessInputMetadataDto } from './schemas/OrchestrationProcessInputMetadataDto';
416
425
  export type { OrchestrationProcessInputYaml } from './schemas/OrchestrationProcessInputYaml';
426
+ export type { OrchestrationProcessMetadataDto } from './schemas/OrchestrationProcessMetadataDto';
417
427
  export type { OrchestrationReleaseProcessYaml } from './schemas/OrchestrationReleaseProcessYaml';
418
428
  export type { OrchestrationStatus } from './schemas/OrchestrationStatus';
419
429
  export type { OutputVariable } from './schemas/OutputVariable';
@@ -433,7 +443,6 @@ export type { ProcessExecutionDto } from './schemas/ProcessExecutionDto';
433
443
  export type { ProcessExecutionInfoDto } from './schemas/ProcessExecutionInfoDto';
434
444
  export type { ProcessExecutionInputResponse } from './schemas/ProcessExecutionInputResponse';
435
445
  export type { ProcessExecutionStatus } from './schemas/ProcessExecutionStatus';
436
- export type { ProcessInputSummaryDto } from './schemas/ProcessInputSummaryDto';
437
446
  export type { ProcessInputValidationResponse } from './schemas/ProcessInputValidationResponse';
438
447
  export type { ReleaseActionRequest } from './schemas/ReleaseActionRequest';
439
448
  export type { ReleaseActionResponse } from './schemas/ReleaseActionResponse';
@@ -470,6 +479,7 @@ export type { Status } from './schemas/Status';
470
479
  export type { StepInfoDetailsDto } from './schemas/StepInfoDetailsDto';
471
480
  export type { StepInfoDto } from './schemas/StepInfoDto';
472
481
  export type { StepInfoType } from './schemas/StepInfoType';
482
+ export type { StoreType } from './schemas/StoreType';
473
483
  export type { StringOrBool } from './schemas/StringOrBool';
474
484
  export type { StringOrStringArray } from './schemas/StringOrStringArray';
475
485
  export type { SubprocessActivityInfo } from './schemas/SubprocessActivityInfo';
@@ -21,6 +21,7 @@ export { getIntegrationExecution, useGetIntegrationExecutionQuery, } from './hoo
21
21
  export { getOrchestrationActivitiesByAcitivityRefs, useGetOrchestrationActivitiesByAcitivityRefsMutation, } from './hooks/useGetOrchestrationActivitiesByAcitivityRefsMutation';
22
22
  export { getOrchestrationActivitiesByProcessIdentifier, useGetOrchestrationActivitiesByProcessIdentifierQuery, } from './hooks/useGetOrchestrationActivitiesByProcessIdentifierQuery';
23
23
  export { getOrchestrationActivityInputs, useGetOrchestrationActivityInputsQuery, } from './hooks/useGetOrchestrationActivityInputsQuery';
24
+ export { getOrchestrationActivityMetadata, useGetOrchestrationActivityMetadataQuery, } from './hooks/useGetOrchestrationActivityMetadataQuery';
24
25
  export { getOrchestrationActivity, useGetOrchestrationActivityQuery, } from './hooks/useGetOrchestrationActivityQuery';
25
26
  export { getOrchestrationActivitySummary, useGetOrchestrationActivitySummaryQuery, } from './hooks/useGetOrchestrationActivitySummaryQuery';
26
27
  export { getOrchestrationExecutionActivitiesPaginated, useGetOrchestrationExecutionActivitiesPaginatedQuery, } from './hooks/useGetOrchestrationExecutionActivitiesPaginatedQuery';
@@ -35,8 +36,10 @@ export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuer
35
36
  export { getOrchestrationExecutionReleaseInput, useGetOrchestrationExecutionReleaseInputQuery, } from './hooks/useGetOrchestrationExecutionReleaseInputQuery';
36
37
  export { getOrchestrationExecutionTasks, useGetOrchestrationExecutionTasksQuery, } from './hooks/useGetOrchestrationExecutionTasksQuery';
37
38
  export { getOrchestrationProcessExecutions, useGetOrchestrationProcessExecutionsQuery, } from './hooks/useGetOrchestrationProcessExecutionsQuery';
39
+ export { getOrchestrationProcessInputMetadata, useGetOrchestrationProcessInputMetadataQuery, } from './hooks/useGetOrchestrationProcessInputMetadataQuery';
38
40
  export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } from './hooks/useGetOrchestrationProcessInputQuery';
39
41
  export { getOrchestrationProcessInputSummary, useGetOrchestrationProcessInputSummaryQuery, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
42
+ export { getOrchestrationProcessMetadata, useGetOrchestrationProcessMetadataQuery, } from './hooks/useGetOrchestrationProcessMetadataQuery';
40
43
  export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
41
44
  export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
42
45
  export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface CreateOrchestrationProcessInputRequestRequestBody {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * YAML configuration for the orchestration process input
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface CreateOrchestrationProcessRequestRequestBody {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * YAML configuration for the orchestration process
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface UpdateOrchestrationProcessInputRequestRequestBody {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * YAML configuration for the orchestration process input
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,3 +1,5 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface UpdateOrchestrationProcessRequestRequestBody {
3
+ git_details?: GitDetails;
2
4
  yaml: string;
3
5
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface CreateOrchestrationActivityResponseResponse {
3
+ git_details?: GitDetails;
2
4
  identifier: string;
3
5
  yaml: string;
4
6
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface CreateOrchestrationProcessInputResponseResponse {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * Identifier of the orchestration process
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface CreateOrchestrationProcessResponseResponse {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * Identifier of the created process
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface GetOrchestrationProcessInputResponseResponse {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * Identifier of the orchestration process input
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface GetOrchestrationProcessResponseResponse {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * Identifier of the orchestration process
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,2 @@
1
+ import type { OrchestrationActivityMetadataDto } from '../schemas/OrchestrationActivityMetadataDto';
2
+ export type OrchestrationActivityMetadataResponseResponse = OrchestrationActivityMetadataDto;
@@ -1,8 +1,8 @@
1
- import type { OrchestrationActivitySummaryDto } from '../schemas/OrchestrationActivitySummaryDto';
1
+ import type { OrchestrationActivityMetadataDto } from '../schemas/OrchestrationActivityMetadataDto';
2
2
  import type { Pageable } from '../schemas/Pageable';
3
3
  import type { PageableSort } from '../schemas/PageableSort';
4
4
  export interface OrchestrationActivitySummaryResponseResponse {
5
- content: OrchestrationActivitySummaryDto[];
5
+ content: OrchestrationActivityMetadataDto[];
6
6
  empty: boolean;
7
7
  first: boolean;
8
8
  last: boolean;
@@ -0,0 +1,2 @@
1
+ import type { OrchestrationProcessInputMetadataDto } from '../schemas/OrchestrationProcessInputMetadataDto';
2
+ export type OrchestrationProcessInputMetadataResponseResponse = OrchestrationProcessInputMetadataDto;
@@ -1,8 +1,8 @@
1
- import type { ProcessInputSummaryDto } from '../schemas/ProcessInputSummaryDto';
1
+ import type { OrchestrationProcessInputMetadataDto } from '../schemas/OrchestrationProcessInputMetadataDto';
2
2
  import type { Pageable } from '../schemas/Pageable';
3
3
  import type { PageableSort } from '../schemas/PageableSort';
4
4
  export interface OrchestrationProcessInputSummaryResponseResponse {
5
- content: ProcessInputSummaryDto[];
5
+ content: OrchestrationProcessInputMetadataDto[];
6
6
  empty: boolean;
7
7
  first: boolean;
8
8
  last: boolean;
@@ -0,0 +1,2 @@
1
+ import type { OrchestrationProcessMetadataDto } from '../schemas/OrchestrationProcessMetadataDto';
2
+ export type OrchestrationProcessMetadataResponseResponse = OrchestrationProcessMetadataDto;
@@ -1,8 +1,8 @@
1
- import type { OrchestrationProcessDto } from '../schemas/OrchestrationProcessDto';
1
+ import type { OrchestrationProcessMetadataDto } from '../schemas/OrchestrationProcessMetadataDto';
2
2
  import type { Pageable } from '../schemas/Pageable';
3
3
  import type { PageableSort } from '../schemas/PageableSort';
4
4
  export interface OrchestrationProcessSummaryResponseResponse {
5
- content: OrchestrationProcessDto[];
5
+ content: OrchestrationProcessMetadataDto[];
6
6
  empty: boolean;
7
7
  first: boolean;
8
8
  last: boolean;
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface UpdateOrchestrationActivityResponseResponse {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * Identifier of the updated orchestration activity
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface UpdateOrchestrationProcessInputResponseResponse {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * Identifier of the updated orchestration process input
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,4 +1,6 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
1
2
  export interface UpdateOrchestrationProcessResponseResponse {
3
+ git_details?: GitDetails;
2
4
  /**
3
5
  * Identifier of the updated orchestration process
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -6,8 +6,16 @@ export interface Error {
6
6
  * canonical error code name
7
7
  */
8
8
  code?: 'BAD_REQUEST' | 'FORBIDDEN' | 'INTERNAL_SERVER_ERROR' | 'NOT_FOUND' | 'UNAUTHORIZED';
9
+ /**
10
+ * additional context about why the error occurred
11
+ */
12
+ explanation?: string;
9
13
  /**
10
14
  * error message detail
11
15
  */
12
16
  message: string;
17
+ /**
18
+ * suggested actions to resolve the error
19
+ */
20
+ probable_fixes?: string[];
13
21
  }
@@ -1,3 +1,4 @@
1
+ import type { StoreType } from '../schemas/StoreType';
1
2
  /**
2
3
  * Git metadata associated with an orchestration activity stored in a remote git repository
3
4
  */
@@ -18,18 +19,6 @@ export interface GitDetails {
18
19
  * Connector reference for the git provider
19
20
  */
20
21
  connector_ref?: string;
21
- /**
22
- * Default branch of the git repository
23
- */
24
- default_branch?: string;
25
- /**
26
- * Commit SHA of the latest commit on the default branch
27
- */
28
- default_branch_commit_sha?: string;
29
- /**
30
- * URL to the file on the default branch
31
- */
32
- default_branch_file_url?: string;
33
22
  /**
34
23
  * Whether to create a new branch when saving
35
24
  */
@@ -42,8 +31,5 @@ export interface GitDetails {
42
31
  * Git repository URL where the activity YAML is stored
43
32
  */
44
33
  repo?: string;
45
- /**
46
- * Storage type of the activity (e.g. INLINE, REMOTE)
47
- */
48
- store_type?: string;
34
+ store_type?: StoreType;
49
35
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,21 @@
1
+ import type { CreatedByDto } from '../schemas/CreatedByDto';
2
+ import type { GitDetails } from '../schemas/GitDetails';
3
+ import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
4
+ import type { CreateOrchestrationActivityRequestType } from '../schemas/CreateOrchestrationActivityRequestType';
5
+ export interface OrchestrationActivityMetadataDto {
6
+ /**
7
+ * @format int64
8
+ */
9
+ createdAt: number;
10
+ createdBy: CreatedByDto;
11
+ description?: string;
12
+ git_details?: GitDetails;
13
+ identifier: string;
14
+ /**
15
+ * @format int64
16
+ */
17
+ lastUpdatedAt: number;
18
+ lastUpdatedBy: LastUpdatedByDto;
19
+ name: string;
20
+ type: CreateOrchestrationActivityRequestType;
21
+ }
@@ -1,4 +1,8 @@
1
1
  export interface OrchestrationActivityYamlDto {
2
+ /**
3
+ * User-facing error message when the activity content could not be fetched (e.g. remote yaml not found on the selected branch)
4
+ */
5
+ error?: string;
2
6
  /**
3
7
  * Identifier of the activity
4
8
  */
@@ -0,0 +1,14 @@
1
+ import type { GitDetails } from '../schemas/GitDetails';
2
+ import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
3
+ export interface OrchestrationProcessInputMetadataDto {
4
+ description?: string;
5
+ git_details?: GitDetails;
6
+ identifier: string;
7
+ /**
8
+ * @format int64
9
+ */
10
+ lastUpdatedAt: number;
11
+ lastUpdatedBy: LastUpdatedByDto;
12
+ name: string;
13
+ status: 'Configured' | 'Incomplete';
14
+ }
@@ -1,18 +1,19 @@
1
1
  import type { CreatedByDto } from '../schemas/CreatedByDto';
2
+ import type { GitDetails } from '../schemas/GitDetails';
2
3
  import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
3
- export interface OrchestrationProcessDto {
4
- /**
5
- * Number of releases attached to the process
6
- */
4
+ export interface OrchestrationProcessMetadataDto {
7
5
  attachedReleaseGroupCount: number;
8
6
  /**
9
- * Created timestamp in milliseconds
10
7
  * @format int64
11
8
  */
12
9
  createdAt: number;
13
10
  createdBy: CreatedByDto;
14
11
  description?: string;
12
+ git_details?: GitDetails;
15
13
  identifier: string;
14
+ /**
15
+ * @format int64
16
+ */
16
17
  lastUpdatedAt: number;
17
18
  lastUpdatedBy: LastUpdatedByDto;
18
19
  name: string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Storage type indicating whether the entity is stored inline or in a remote git repository.
3
+ */
4
+ export type StoreType = 'INLINE' | 'REMOTE';
@@ -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.71.1-beta.0",
3
+ "version": "0.72.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,42 +0,0 @@
1
- import type { CreatedByDto } from '../schemas/CreatedByDto';
2
- import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
3
- import type { CreateOrchestrationActivityRequestType } from '../schemas/CreateOrchestrationActivityRequestType';
4
- export interface OrchestrationActivitySummaryDto {
5
- /**
6
- * Created timestamp in milliseconds
7
- * @format int64
8
- */
9
- createdAt: number;
10
- createdBy: CreatedByDto;
11
- /**
12
- * Description of the orchestration activity
13
- */
14
- description?: string;
15
- /**
16
- * Identifier of the orchestration activity
17
- */
18
- identifier: string;
19
- /**
20
- * Last updated timestamp in milliseconds
21
- * @format int64
22
- */
23
- lastUpdatedAt: number;
24
- lastUpdatedBy: LastUpdatedByDto;
25
- /**
26
- * Name of the orchestration activity
27
- */
28
- name: string;
29
- /**
30
- * File path within the git repository
31
- */
32
- path?: string;
33
- /**
34
- * Git repository URL where the activity YAML is stored
35
- */
36
- repo?: string;
37
- /**
38
- * Storage type of the activity (e.g. INLINE, REMOTE)
39
- */
40
- store_type?: string;
41
- type: CreateOrchestrationActivityRequestType;
42
- }
@@ -1,25 +0,0 @@
1
- import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
2
- export interface ProcessInputSummaryDto {
3
- /**
4
- * Description of the process input
5
- */
6
- description?: string;
7
- /**
8
- * Identifier of the process input
9
- */
10
- identifier: string;
11
- /**
12
- * Last updated timestamp in milliseconds
13
- * @format int64
14
- */
15
- lastUpdatedAt: number;
16
- lastUpdatedBy: LastUpdatedByDto;
17
- /**
18
- * Name of the process input
19
- */
20
- name: string;
21
- /**
22
- * Status of the process input
23
- */
24
- status: 'Configured' | 'Incomplete';
25
- }