@harnessio/react-ng-manager-swagger-service-client 1.4.0 → 1.5.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 (32) hide show
  1. package/README.md +1 -1
  2. package/dist/ng-manager-swagger-service/src/index.d.ts +1 -1
  3. package/dist/ng-manager-swagger-service/src/index.js +1 -1
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBucketsInManifestsMutation.d.ts +29 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBucketsInManifestsMutation.js +14 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useGetFilePathsForS3Query.d.ts +26 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useGetFilePathsForS3Query.js +14 -0
  8. package/dist/ng-manager-swagger-service/src/services/hooks/useGetJobDetailsForJenkinsQuery.d.ts +32 -0
  9. package/dist/ng-manager-swagger-service/src/services/hooks/useGetJobDetailsForJenkinsQuery.js +14 -0
  10. package/dist/ng-manager-swagger-service/src/services/hooks/useGetV2BucketListForS3Query.d.ts +23 -0
  11. package/dist/ng-manager-swagger-service/src/services/hooks/useGetV2BucketListForS3Query.js +14 -0
  12. package/dist/ng-manager-swagger-service/src/services/index.d.ts +17 -0
  13. package/dist/ng-manager-swagger-service/src/services/index.js +4 -0
  14. package/dist/ng-manager-swagger-service/src/services/schemas/BucketResponse.d.ts +3 -0
  15. package/dist/ng-manager-swagger-service/src/services/schemas/BucketResponse.js +4 -0
  16. package/dist/ng-manager-swagger-service/src/services/schemas/FilePaths.d.ts +4 -0
  17. package/dist/ng-manager-swagger-service/src/services/schemas/FilePaths.js +1 -0
  18. package/dist/ng-manager-swagger-service/src/services/schemas/JenkinsJobDetailsDto.d.ts +4 -0
  19. package/dist/ng-manager-swagger-service/src/services/schemas/JenkinsJobDetailsDto.js +1 -0
  20. package/dist/ng-manager-swagger-service/src/services/schemas/JobDetails.d.ts +7 -0
  21. package/dist/ng-manager-swagger-service/src/services/schemas/JobDetails.js +1 -0
  22. package/dist/ng-manager-swagger-service/src/services/schemas/JobParameter.d.ts +6 -0
  23. package/dist/ng-manager-swagger-service/src/services/schemas/JobParameter.js +4 -0
  24. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseJenkinsJobDetailsDto.d.ts +9 -0
  25. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseJenkinsJobDetailsDto.js +1 -0
  26. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListBucketResponse.d.ts +9 -0
  27. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListBucketResponse.js +1 -0
  28. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListFilePaths.d.ts +9 -0
  29. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListFilePaths.js +1 -0
  30. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseMapStringString.d.ts +10 -0
  31. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseMapStringString.js +4 -0
  32. package/package.json +1 -1
package/README.md CHANGED
@@ -22,7 +22,7 @@ Before using API Client, it must be initilaized with required `ClientCallbacks`.
22
22
  Example:
23
23
 
24
24
  ```
25
- new CdNgSwaggerServiceAPIClient({
25
+ new NgManagerSwaggerServiceAPIClient({
26
26
  getHeaders: () => {
27
27
  return { token: SessionToken.getToken(), 'Harness-Account': accountId }
28
28
  }}
@@ -1,6 +1,6 @@
1
1
  import { ClientCallbacks } from '../../fetcher';
2
2
  export * from './services/index';
3
- export declare class CdNgSwaggerServiceAPIClient {
3
+ export declare class NgManagerSwaggerServiceAPIClient {
4
4
  updateHeaders: (headers: Record<string, any>) => void;
5
5
  constructor(callbacks: ClientCallbacks);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { setupClient, updateClientHeaders } from '../../fetcher';
2
2
  export * from './services/index';
3
- export class CdNgSwaggerServiceAPIClient {
3
+ export class NgManagerSwaggerServiceAPIClient {
4
4
  constructor(callbacks) {
5
5
  setupClient(callbacks);
6
6
  this.updateHeaders = (headers) => {
@@ -0,0 +1,29 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseMapStringString } from '../schemas/ResponseMapStringString';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { GetFileContentUsingScopedFilePathV2BodyRequestBody } from '../requestBodies/GetFileContentUsingScopedFilePathV2BodyRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetBucketsInManifestsMutationQueryParams {
9
+ region?: string;
10
+ connectorRef?: string;
11
+ accountIdentifier: string;
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ pipelineIdentifier?: string;
15
+ fqnPath?: string;
16
+ serviceId?: string;
17
+ }
18
+ export type GetBucketsInManifestsRequestBody = GetFileContentUsingScopedFilePathV2BodyRequestBody;
19
+ export type GetBucketsInManifestsOkResponse = ResponseWithPagination<ResponseMapStringString>;
20
+ export type GetBucketsInManifestsErrorResponse = Failure | Error;
21
+ export interface GetBucketsInManifestsProps extends Omit<FetcherOptions<GetBucketsInManifestsMutationQueryParams, GetBucketsInManifestsRequestBody>, 'url'> {
22
+ queryParams: GetBucketsInManifestsMutationQueryParams;
23
+ body: GetBucketsInManifestsRequestBody;
24
+ }
25
+ export declare function getBucketsInManifests(props: GetBucketsInManifestsProps): Promise<GetBucketsInManifestsOkResponse>;
26
+ /**
27
+ *
28
+ */
29
+ export declare function useGetBucketsInManifestsMutation(options?: Omit<UseMutationOptions<GetBucketsInManifestsOkResponse, GetBucketsInManifestsErrorResponse, GetBucketsInManifestsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetBucketsInManifestsOkResponse, GetBucketsInManifestsErrorResponse, GetBucketsInManifestsProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getBucketsInManifests(props) {
7
+ return fetcher(Object.assign({ url: `/buckets/s3/v2/getBucketsInManifests`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetBucketsInManifestsMutation(options) {
13
+ return useMutation((mutateProps) => getBucketsInManifests(mutateProps), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseListFilePaths } from '../schemas/ResponseListFilePaths';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetFilePathsForS3QueryQueryParams {
8
+ region?: string;
9
+ connectorRef: string;
10
+ bucketName: string;
11
+ filePathRegex?: string;
12
+ fileFilter?: string;
13
+ accountIdentifier: string;
14
+ orgIdentifier?: string;
15
+ projectIdentifier?: string;
16
+ }
17
+ export type GetFilePathsForS3OkResponse = ResponseWithPagination<ResponseListFilePaths>;
18
+ export type GetFilePathsForS3ErrorResponse = Failure | Error;
19
+ export interface GetFilePathsForS3Props extends Omit<FetcherOptions<GetFilePathsForS3QueryQueryParams, unknown>, 'url'> {
20
+ queryParams: GetFilePathsForS3QueryQueryParams;
21
+ }
22
+ export declare function getFilePathsForS3(props: GetFilePathsForS3Props): Promise<GetFilePathsForS3OkResponse>;
23
+ /**
24
+ *
25
+ */
26
+ export declare function useGetFilePathsForS3Query(props: GetFilePathsForS3Props, options?: Omit<UseQueryOptions<GetFilePathsForS3OkResponse, GetFilePathsForS3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFilePathsForS3OkResponse, GetFilePathsForS3ErrorResponse>;
@@ -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 getFilePathsForS3(props) {
7
+ return fetcher(Object.assign({ url: `/buckets/s3/getFilePaths`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetFilePathsForS3Query(props, options) {
13
+ return useQuery(['getFilePathsForS3', props.queryParams], ({ signal }) => getFilePathsForS3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,32 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseJenkinsJobDetailsDto } from '../schemas/ResponseJenkinsJobDetailsDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetJobDetailsForJenkinsQueryQueryParams {
8
+ connectorRef?: string;
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ parentJobName?: string;
13
+ branch?: string;
14
+ repoIdentifier?: string;
15
+ getDefaultFromOtherRepo?: boolean;
16
+ parentEntityConnectorRef?: string;
17
+ parentEntityRepoName?: string;
18
+ parentEntityAccountIdentifier?: string;
19
+ parentEntityOrgIdentifier?: string;
20
+ parentEntityProjectIdentifier?: string;
21
+ repoName?: string;
22
+ }
23
+ export type GetJobDetailsForJenkinsOkResponse = ResponseWithPagination<ResponseJenkinsJobDetailsDto>;
24
+ export type GetJobDetailsForJenkinsErrorResponse = Failure | Error;
25
+ export interface GetJobDetailsForJenkinsProps extends Omit<FetcherOptions<GetJobDetailsForJenkinsQueryQueryParams, unknown>, 'url'> {
26
+ queryParams: GetJobDetailsForJenkinsQueryQueryParams;
27
+ }
28
+ export declare function getJobDetailsForJenkins(props: GetJobDetailsForJenkinsProps): Promise<GetJobDetailsForJenkinsOkResponse>;
29
+ /**
30
+ *
31
+ */
32
+ export declare function useGetJobDetailsForJenkinsQuery(props: GetJobDetailsForJenkinsProps, options?: Omit<UseQueryOptions<GetJobDetailsForJenkinsOkResponse, GetJobDetailsForJenkinsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetJobDetailsForJenkinsOkResponse, GetJobDetailsForJenkinsErrorResponse>;
@@ -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 getJobDetailsForJenkins(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/jenkins/jobs`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetJobDetailsForJenkinsQuery(props, options) {
13
+ return useQuery(['getJobDetailsForJenkins', props.queryParams], ({ signal }) => getJobDetailsForJenkins(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseListBucketResponse } from '../schemas/ResponseListBucketResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetV2BucketListForS3QueryQueryParams {
8
+ region?: string;
9
+ connectorRef: string;
10
+ accountIdentifier: string;
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ }
14
+ export type GetV2BucketListForS3OkResponse = ResponseWithPagination<ResponseListBucketResponse>;
15
+ export type GetV2BucketListForS3ErrorResponse = Failure | Error;
16
+ export interface GetV2BucketListForS3Props extends Omit<FetcherOptions<GetV2BucketListForS3QueryQueryParams, unknown>, 'url'> {
17
+ queryParams: GetV2BucketListForS3QueryQueryParams;
18
+ }
19
+ export declare function getV2BucketListForS3(props: GetV2BucketListForS3Props): Promise<GetV2BucketListForS3OkResponse>;
20
+ /**
21
+ *
22
+ */
23
+ export declare function useGetV2BucketListForS3Query(props: GetV2BucketListForS3Props, options?: Omit<UseQueryOptions<GetV2BucketListForS3OkResponse, GetV2BucketListForS3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetV2BucketListForS3OkResponse, GetV2BucketListForS3ErrorResponse>;
@@ -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 getV2BucketListForS3(props) {
7
+ return fetcher(Object.assign({ url: `/buckets/s3/getBucketsV2`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetV2BucketListForS3Query(props, options) {
13
+ return useQuery(['getV2BucketListForS3', props.queryParams], ({ signal }) => getV2BucketListForS3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -9,12 +9,16 @@ export type { GetAcrRegistriesBySubscriptionErrorResponse, GetAcrRegistriesBySub
9
9
  export { getAcrRegistriesBySubscription, useGetAcrRegistriesBySubscriptionQuery, } from './hooks/useGetAcrRegistriesBySubscriptionQuery';
10
10
  export type { GetAcrRepositoriesErrorResponse, GetAcrRepositoriesOkResponse, GetAcrRepositoriesProps, GetAcrRepositoriesQueryPathParams, GetAcrRepositoriesQueryQueryParams, } from './hooks/useGetAcrRepositoriesQuery';
11
11
  export { getAcrRepositories, useGetAcrRepositoriesQuery } from './hooks/useGetAcrRepositoriesQuery';
12
+ export type { GetBucketsInManifestsErrorResponse, GetBucketsInManifestsMutationQueryParams, GetBucketsInManifestsOkResponse, GetBucketsInManifestsProps, GetBucketsInManifestsRequestBody, } from './hooks/useGetBucketsInManifestsMutation';
13
+ export { getBucketsInManifests, useGetBucketsInManifestsMutation, } from './hooks/useGetBucketsInManifestsMutation';
12
14
  export type { GetBuildDetailsForAcrRepositoryErrorResponse, GetBuildDetailsForAcrRepositoryOkResponse, GetBuildDetailsForAcrRepositoryProps, GetBuildDetailsForAcrRepositoryQueryQueryParams, } from './hooks/useGetBuildDetailsForAcrRepositoryQuery';
13
15
  export { getBuildDetailsForAcrRepository, useGetBuildDetailsForAcrRepositoryQuery, } from './hooks/useGetBuildDetailsForAcrRepositoryQuery';
14
16
  export type { GetBuildDetailsForDockerErrorResponse, GetBuildDetailsForDockerOkResponse, GetBuildDetailsForDockerProps, GetBuildDetailsForDockerQueryQueryParams, } from './hooks/useGetBuildDetailsForDockerQuery';
15
17
  export { getBuildDetailsForDocker, useGetBuildDetailsForDockerQuery, } from './hooks/useGetBuildDetailsForDockerQuery';
16
18
  export type { GetEnvironmentListV2ErrorResponse, GetEnvironmentListV2MutationQueryParams, GetEnvironmentListV2OkResponse, GetEnvironmentListV2Props, GetEnvironmentListV2RequestBody, } from './hooks/useGetEnvironmentListV2Mutation';
17
19
  export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
20
+ export type { GetFilePathsForS3ErrorResponse, GetFilePathsForS3OkResponse, GetFilePathsForS3Props, GetFilePathsForS3QueryQueryParams, } from './hooks/useGetFilePathsForS3Query';
21
+ export { getFilePathsForS3, useGetFilePathsForS3Query } from './hooks/useGetFilePathsForS3Query';
18
22
  export type { GetGroupIdsErrorResponse, GetGroupIdsMutationQueryParams, GetGroupIdsOkResponse, GetGroupIdsProps, GetGroupIdsRequestBody, } from './hooks/useGetGroupIdsMutation';
19
23
  export { getGroupIds, useGetGroupIdsMutation } from './hooks/useGetGroupIdsMutation';
20
24
  export type { GetImagesListForEcrErrorResponse, GetImagesListForEcrMutationQueryParams, GetImagesListForEcrOkResponse, GetImagesListForEcrProps, GetImagesListForEcrRequestBody, } from './hooks/useGetImagesListForEcrMutation';
@@ -33,6 +37,8 @@ export type { GetJiraStatusesErrorResponse, GetJiraStatusesOkResponse, GetJiraSt
33
37
  export { getJiraStatuses, useGetJiraStatusesQuery } from './hooks/useGetJiraStatusesQuery';
34
38
  export type { GetJobDetailsForCustomErrorResponse, GetJobDetailsForCustomMutationQueryParams, GetJobDetailsForCustomOkResponse, GetJobDetailsForCustomProps, GetJobDetailsForCustomRequestBody, } from './hooks/useGetJobDetailsForCustomMutation';
35
39
  export { getJobDetailsForCustom, useGetJobDetailsForCustomMutation, } from './hooks/useGetJobDetailsForCustomMutation';
40
+ export type { GetJobDetailsForJenkinsErrorResponse, GetJobDetailsForJenkinsOkResponse, GetJobDetailsForJenkinsProps, GetJobDetailsForJenkinsQueryQueryParams, } from './hooks/useGetJobDetailsForJenkinsQuery';
41
+ export { getJobDetailsForJenkins, useGetJobDetailsForJenkinsQuery, } from './hooks/useGetJobDetailsForJenkinsQuery';
36
42
  export type { GetLastSuccessfulVersionErrorResponse, GetLastSuccessfulVersionOkResponse, GetLastSuccessfulVersionProps, GetLastSuccessfulVersionQueryQueryParams, } from './hooks/useGetLastSuccessfulVersionQuery';
37
43
  export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
38
44
  export type { GetPackagesFromGithubErrorResponse, GetPackagesFromGithubOkResponse, GetPackagesFromGithubProps, GetPackagesFromGithubQueryQueryParams, } from './hooks/useGetPackagesFromGithubQuery';
@@ -43,6 +49,8 @@ export type { GetServiceDefinitionTypesErrorResponse, GetServiceDefinitionTypesO
43
49
  export { getServiceDefinitionTypes, useGetServiceDefinitionTypesQuery, } from './hooks/useGetServiceDefinitionTypesQuery';
44
50
  export type { GetServicesListErrorResponse, GetServicesListOkResponse, GetServicesListProps, GetServicesListQueryQueryParams, } from './hooks/useGetServicesListQuery';
45
51
  export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
52
+ export type { GetV2BucketListForS3ErrorResponse, GetV2BucketListForS3OkResponse, GetV2BucketListForS3Props, GetV2BucketListForS3QueryQueryParams, } from './hooks/useGetV2BucketListForS3Query';
53
+ export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
46
54
  export type { GetVersionsFromPackagesErrorResponse, GetVersionsFromPackagesOkResponse, GetVersionsFromPackagesProps, GetVersionsFromPackagesQueryQueryParams, } from './hooks/useGetVersionsFromPackagesQuery';
47
55
  export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
48
56
  export type { JiraUserSearchErrorResponse, JiraUserSearchOkResponse, JiraUserSearchProps, JiraUserSearchQueryQueryParams, } from './hooks/useJiraUserSearchQuery';
@@ -59,6 +67,7 @@ export type { AcrRepositoriesDto } from './schemas/AcrRepositoriesDto';
59
67
  export type { AcrRepositoryDto } from './schemas/AcrRepositoryDto';
60
68
  export type { AcrResponseDto } from './schemas/AcrResponseDto';
61
69
  export type { ArtifactFileMetadata } from './schemas/ArtifactFileMetadata';
70
+ export type { BucketResponse } from './schemas/BucketResponse';
62
71
  export type { BuildDetails } from './schemas/BuildDetails';
63
72
  export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
64
73
  export type { CustomScriptInfo } from './schemas/CustomScriptInfo';
@@ -73,9 +82,11 @@ export type { EnvironmentResponseDto } from './schemas/EnvironmentResponseDto';
73
82
  export type { Error } from './schemas/Error';
74
83
  export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
75
84
  export type { Failure } from './schemas/Failure';
85
+ export type { FilePaths } from './schemas/FilePaths';
76
86
  export type { GithubPackageDto } from './schemas/GithubPackageDto';
77
87
  export type { GithubPackagesResponseDto } from './schemas/GithubPackagesResponseDto';
78
88
  export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
89
+ export type { JenkinsJobDetailsDto } from './schemas/JenkinsJobDetailsDto';
79
90
  export type { JiraAddCommentBody } from './schemas/JiraAddCommentBody';
80
91
  export type { JiraCreateIssueBody } from './schemas/JiraCreateIssueBody';
81
92
  export type { JiraFieldAllowedValueNg } from './schemas/JiraFieldAllowedValueNg';
@@ -91,6 +102,8 @@ export type { JiraProjectNg } from './schemas/JiraProjectNg';
91
102
  export type { JiraStatusCategoryNg } from './schemas/JiraStatusCategoryNg';
92
103
  export type { JiraStatusNg } from './schemas/JiraStatusNg';
93
104
  export type { JiraUserData } from './schemas/JiraUserData';
105
+ export type { JobDetails } from './schemas/JobDetails';
106
+ export type { JobParameter } from './schemas/JobParameter';
94
107
  export type { NexusRepositories } from './schemas/NexusRepositories';
95
108
  export type { NgVariable } from './schemas/NgVariable';
96
109
  export type { PageEnvironmentResponse } from './schemas/PageEnvironmentResponse';
@@ -103,10 +116,13 @@ export type { ResponseBuildDetails } from './schemas/ResponseBuildDetails';
103
116
  export type { ResponseDockerResponseDto } from './schemas/ResponseDockerResponseDto';
104
117
  export type { ResponseEcrListImagesDto } from './schemas/ResponseEcrListImagesDto';
105
118
  export type { ResponseGithubPackagesResponseDto } from './schemas/ResponseGithubPackagesResponseDto';
119
+ export type { ResponseJenkinsJobDetailsDto } from './schemas/ResponseJenkinsJobDetailsDto';
106
120
  export type { ResponseJiraIssueCreateMetadataNg } from './schemas/ResponseJiraIssueCreateMetadataNg';
107
121
  export type { ResponseJiraIssueNg } from './schemas/ResponseJiraIssueNg';
108
122
  export type { ResponseJiraIssueUpdateMetadataNg } from './schemas/ResponseJiraIssueUpdateMetadataNg';
123
+ export type { ResponseListBucketResponse } from './schemas/ResponseListBucketResponse';
109
124
  export type { ResponseListBuildDetails } from './schemas/ResponseListBuildDetails';
125
+ export type { ResponseListFilePaths } from './schemas/ResponseListFilePaths';
110
126
  export type { ResponseListJiraIssueTransitionNg } from './schemas/ResponseListJiraIssueTransitionNg';
111
127
  export type { ResponseListJiraProjectBasicNg } from './schemas/ResponseListJiraProjectBasicNg';
112
128
  export type { ResponseListJiraStatusNg } from './schemas/ResponseListJiraStatusNg';
@@ -114,6 +130,7 @@ export type { ResponseListJiraUserData } from './schemas/ResponseListJiraUserDat
114
130
  export type { ResponseListNexusRepositories } from './schemas/ResponseListNexusRepositories';
115
131
  export type { ResponseListServiceDefinitionType } from './schemas/ResponseListServiceDefinitionType';
116
132
  export type { ResponseListString } from './schemas/ResponseListString';
133
+ export type { ResponseMapStringString } from './schemas/ResponseMapStringString';
117
134
  export type { ResponseMessage } from './schemas/ResponseMessage';
118
135
  export type { ResponsePageEnvironmentResponse } from './schemas/ResponsePageEnvironmentResponse';
119
136
  export type { ResponsePageServiceDashboardResponseDto } from './schemas/ResponsePageServiceDashboardResponseDto';
@@ -3,9 +3,11 @@ export { artifactIds, useArtifactIdsMutation } from './hooks/useArtifactIdsMutat
3
3
  export { createJiraIssue, useCreateJiraIssueMutation } from './hooks/useCreateJiraIssueMutation';
4
4
  export { getAcrRegistriesBySubscription, useGetAcrRegistriesBySubscriptionQuery, } from './hooks/useGetAcrRegistriesBySubscriptionQuery';
5
5
  export { getAcrRepositories, useGetAcrRepositoriesQuery } from './hooks/useGetAcrRepositoriesQuery';
6
+ export { getBucketsInManifests, useGetBucketsInManifestsMutation, } from './hooks/useGetBucketsInManifestsMutation';
6
7
  export { getBuildDetailsForAcrRepository, useGetBuildDetailsForAcrRepositoryQuery, } from './hooks/useGetBuildDetailsForAcrRepositoryQuery';
7
8
  export { getBuildDetailsForDocker, useGetBuildDetailsForDockerQuery, } from './hooks/useGetBuildDetailsForDockerQuery';
8
9
  export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
10
+ export { getFilePathsForS3, useGetFilePathsForS3Query } from './hooks/useGetFilePathsForS3Query';
9
11
  export { getGroupIds, useGetGroupIdsMutation } from './hooks/useGetGroupIdsMutation';
10
12
  export { getImagesListForEcr, useGetImagesListForEcrMutation, } from './hooks/useGetImagesListForEcrMutation';
11
13
  export { getIssueTransitions, useGetIssueTransitionsQuery, } from './hooks/useGetIssueTransitionsQuery';
@@ -15,11 +17,13 @@ export { getJiraIssueUpdateMetadata, useGetJiraIssueUpdateMetadataQuery, } from
15
17
  export { getJiraProjects, useGetJiraProjectsQuery } from './hooks/useGetJiraProjectsQuery';
16
18
  export { getJiraStatuses, useGetJiraStatusesQuery } from './hooks/useGetJiraStatusesQuery';
17
19
  export { getJobDetailsForCustom, useGetJobDetailsForCustomMutation, } from './hooks/useGetJobDetailsForCustomMutation';
20
+ export { getJobDetailsForJenkins, useGetJobDetailsForJenkinsQuery, } from './hooks/useGetJobDetailsForJenkinsQuery';
18
21
  export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
19
22
  export { getPackagesFromGithub, useGetPackagesFromGithubQuery, } from './hooks/useGetPackagesFromGithubQuery';
20
23
  export { getRepositories, useGetRepositoriesMutation } from './hooks/useGetRepositoriesMutation';
21
24
  export { getServiceDefinitionTypes, useGetServiceDefinitionTypesQuery, } from './hooks/useGetServiceDefinitionTypesQuery';
22
25
  export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
26
+ export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
23
27
  export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
24
28
  export { jiraUserSearch, useJiraUserSearchQuery } from './hooks/useJiraUserSearchQuery';
25
29
  export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
@@ -0,0 +1,3 @@
1
+ export interface BucketResponse {
2
+ bucketName?: 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,4 @@
1
+ import type { BuildDetails } from '../schemas/BuildDetails';
2
+ export interface FilePaths {
3
+ buildDetails?: BuildDetails;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type { JobDetails } from '../schemas/JobDetails';
2
+ export interface JenkinsJobDetailsDto {
3
+ jobDetails?: JobDetails[];
4
+ }
@@ -0,0 +1,7 @@
1
+ import type { JobParameter } from '../schemas/JobParameter';
2
+ export interface JobDetails {
3
+ folder?: boolean;
4
+ jobName?: string;
5
+ parameters?: JobParameter[];
6
+ url?: string;
7
+ }
@@ -0,0 +1,6 @@
1
+ export interface JobParameter {
2
+ defaultValue?: string;
3
+ description?: string;
4
+ name?: string;
5
+ options?: string[];
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { JenkinsJobDetailsDto } from '../schemas/JenkinsJobDetailsDto';
2
+ export interface ResponseJenkinsJobDetailsDto {
3
+ correlationId?: string;
4
+ data?: JenkinsJobDetailsDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { BucketResponse } from '../schemas/BucketResponse';
2
+ export interface ResponseListBucketResponse {
3
+ correlationId?: string;
4
+ data?: BucketResponse[];
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { FilePaths } from '../schemas/FilePaths';
2
+ export interface ResponseListFilePaths {
3
+ correlationId?: string;
4
+ data?: FilePaths[];
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,10 @@
1
+ export interface ResponseMapStringString {
2
+ correlationId?: string;
3
+ data?: {
4
+ [key: string]: string;
5
+ };
6
+ metaData?: {
7
+ [key: string]: any;
8
+ };
9
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ng-manager-swagger-service-client",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Harness React NG Manager Swagger service client - NG Manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",