@harnessio/react-ng-manager-swagger-service-client 1.4.0 → 1.4.1

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 (28) 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/useGetFilePathsForS3Query.d.ts +26 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useGetFilePathsForS3Query.js +14 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useGetJobDetailsForJenkinsQuery.d.ts +32 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useGetJobDetailsForJenkinsQuery.js +14 -0
  8. package/dist/ng-manager-swagger-service/src/services/hooks/useGetV2BucketListForS3Query.d.ts +23 -0
  9. package/dist/ng-manager-swagger-service/src/services/hooks/useGetV2BucketListForS3Query.js +14 -0
  10. package/dist/ng-manager-swagger-service/src/services/index.d.ts +14 -0
  11. package/dist/ng-manager-swagger-service/src/services/index.js +3 -0
  12. package/dist/ng-manager-swagger-service/src/services/schemas/BucketResponse.d.ts +3 -0
  13. package/dist/ng-manager-swagger-service/src/services/schemas/BucketResponse.js +4 -0
  14. package/dist/ng-manager-swagger-service/src/services/schemas/FilePaths.d.ts +4 -0
  15. package/dist/ng-manager-swagger-service/src/services/schemas/FilePaths.js +1 -0
  16. package/dist/ng-manager-swagger-service/src/services/schemas/JenkinsJobDetailsDto.d.ts +4 -0
  17. package/dist/ng-manager-swagger-service/src/services/schemas/JenkinsJobDetailsDto.js +1 -0
  18. package/dist/ng-manager-swagger-service/src/services/schemas/JobDetails.d.ts +7 -0
  19. package/dist/ng-manager-swagger-service/src/services/schemas/JobDetails.js +1 -0
  20. package/dist/ng-manager-swagger-service/src/services/schemas/JobParameter.d.ts +6 -0
  21. package/dist/ng-manager-swagger-service/src/services/schemas/JobParameter.js +4 -0
  22. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseJenkinsJobDetailsDto.d.ts +9 -0
  23. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseJenkinsJobDetailsDto.js +1 -0
  24. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListBucketResponse.d.ts +9 -0
  25. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListBucketResponse.js +1 -0
  26. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListFilePaths.d.ts +9 -0
  27. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListFilePaths.js +1 -0
  28. 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,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
+ }
@@ -15,6 +15,8 @@ export type { GetBuildDetailsForDockerErrorResponse, GetBuildDetailsForDockerOkR
15
15
  export { getBuildDetailsForDocker, useGetBuildDetailsForDockerQuery, } from './hooks/useGetBuildDetailsForDockerQuery';
16
16
  export type { GetEnvironmentListV2ErrorResponse, GetEnvironmentListV2MutationQueryParams, GetEnvironmentListV2OkResponse, GetEnvironmentListV2Props, GetEnvironmentListV2RequestBody, } from './hooks/useGetEnvironmentListV2Mutation';
17
17
  export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
18
+ export type { GetFilePathsForS3ErrorResponse, GetFilePathsForS3OkResponse, GetFilePathsForS3Props, GetFilePathsForS3QueryQueryParams, } from './hooks/useGetFilePathsForS3Query';
19
+ export { getFilePathsForS3, useGetFilePathsForS3Query } from './hooks/useGetFilePathsForS3Query';
18
20
  export type { GetGroupIdsErrorResponse, GetGroupIdsMutationQueryParams, GetGroupIdsOkResponse, GetGroupIdsProps, GetGroupIdsRequestBody, } from './hooks/useGetGroupIdsMutation';
19
21
  export { getGroupIds, useGetGroupIdsMutation } from './hooks/useGetGroupIdsMutation';
20
22
  export type { GetImagesListForEcrErrorResponse, GetImagesListForEcrMutationQueryParams, GetImagesListForEcrOkResponse, GetImagesListForEcrProps, GetImagesListForEcrRequestBody, } from './hooks/useGetImagesListForEcrMutation';
@@ -33,6 +35,8 @@ export type { GetJiraStatusesErrorResponse, GetJiraStatusesOkResponse, GetJiraSt
33
35
  export { getJiraStatuses, useGetJiraStatusesQuery } from './hooks/useGetJiraStatusesQuery';
34
36
  export type { GetJobDetailsForCustomErrorResponse, GetJobDetailsForCustomMutationQueryParams, GetJobDetailsForCustomOkResponse, GetJobDetailsForCustomProps, GetJobDetailsForCustomRequestBody, } from './hooks/useGetJobDetailsForCustomMutation';
35
37
  export { getJobDetailsForCustom, useGetJobDetailsForCustomMutation, } from './hooks/useGetJobDetailsForCustomMutation';
38
+ export type { GetJobDetailsForJenkinsErrorResponse, GetJobDetailsForJenkinsOkResponse, GetJobDetailsForJenkinsProps, GetJobDetailsForJenkinsQueryQueryParams, } from './hooks/useGetJobDetailsForJenkinsQuery';
39
+ export { getJobDetailsForJenkins, useGetJobDetailsForJenkinsQuery, } from './hooks/useGetJobDetailsForJenkinsQuery';
36
40
  export type { GetLastSuccessfulVersionErrorResponse, GetLastSuccessfulVersionOkResponse, GetLastSuccessfulVersionProps, GetLastSuccessfulVersionQueryQueryParams, } from './hooks/useGetLastSuccessfulVersionQuery';
37
41
  export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
38
42
  export type { GetPackagesFromGithubErrorResponse, GetPackagesFromGithubOkResponse, GetPackagesFromGithubProps, GetPackagesFromGithubQueryQueryParams, } from './hooks/useGetPackagesFromGithubQuery';
@@ -43,6 +47,8 @@ export type { GetServiceDefinitionTypesErrorResponse, GetServiceDefinitionTypesO
43
47
  export { getServiceDefinitionTypes, useGetServiceDefinitionTypesQuery, } from './hooks/useGetServiceDefinitionTypesQuery';
44
48
  export type { GetServicesListErrorResponse, GetServicesListOkResponse, GetServicesListProps, GetServicesListQueryQueryParams, } from './hooks/useGetServicesListQuery';
45
49
  export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
50
+ export type { GetV2BucketListForS3ErrorResponse, GetV2BucketListForS3OkResponse, GetV2BucketListForS3Props, GetV2BucketListForS3QueryQueryParams, } from './hooks/useGetV2BucketListForS3Query';
51
+ export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
46
52
  export type { GetVersionsFromPackagesErrorResponse, GetVersionsFromPackagesOkResponse, GetVersionsFromPackagesProps, GetVersionsFromPackagesQueryQueryParams, } from './hooks/useGetVersionsFromPackagesQuery';
47
53
  export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
48
54
  export type { JiraUserSearchErrorResponse, JiraUserSearchOkResponse, JiraUserSearchProps, JiraUserSearchQueryQueryParams, } from './hooks/useJiraUserSearchQuery';
@@ -59,6 +65,7 @@ export type { AcrRepositoriesDto } from './schemas/AcrRepositoriesDto';
59
65
  export type { AcrRepositoryDto } from './schemas/AcrRepositoryDto';
60
66
  export type { AcrResponseDto } from './schemas/AcrResponseDto';
61
67
  export type { ArtifactFileMetadata } from './schemas/ArtifactFileMetadata';
68
+ export type { BucketResponse } from './schemas/BucketResponse';
62
69
  export type { BuildDetails } from './schemas/BuildDetails';
63
70
  export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
64
71
  export type { CustomScriptInfo } from './schemas/CustomScriptInfo';
@@ -73,9 +80,11 @@ export type { EnvironmentResponseDto } from './schemas/EnvironmentResponseDto';
73
80
  export type { Error } from './schemas/Error';
74
81
  export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
75
82
  export type { Failure } from './schemas/Failure';
83
+ export type { FilePaths } from './schemas/FilePaths';
76
84
  export type { GithubPackageDto } from './schemas/GithubPackageDto';
77
85
  export type { GithubPackagesResponseDto } from './schemas/GithubPackagesResponseDto';
78
86
  export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
87
+ export type { JenkinsJobDetailsDto } from './schemas/JenkinsJobDetailsDto';
79
88
  export type { JiraAddCommentBody } from './schemas/JiraAddCommentBody';
80
89
  export type { JiraCreateIssueBody } from './schemas/JiraCreateIssueBody';
81
90
  export type { JiraFieldAllowedValueNg } from './schemas/JiraFieldAllowedValueNg';
@@ -91,6 +100,8 @@ export type { JiraProjectNg } from './schemas/JiraProjectNg';
91
100
  export type { JiraStatusCategoryNg } from './schemas/JiraStatusCategoryNg';
92
101
  export type { JiraStatusNg } from './schemas/JiraStatusNg';
93
102
  export type { JiraUserData } from './schemas/JiraUserData';
103
+ export type { JobDetails } from './schemas/JobDetails';
104
+ export type { JobParameter } from './schemas/JobParameter';
94
105
  export type { NexusRepositories } from './schemas/NexusRepositories';
95
106
  export type { NgVariable } from './schemas/NgVariable';
96
107
  export type { PageEnvironmentResponse } from './schemas/PageEnvironmentResponse';
@@ -103,10 +114,13 @@ export type { ResponseBuildDetails } from './schemas/ResponseBuildDetails';
103
114
  export type { ResponseDockerResponseDto } from './schemas/ResponseDockerResponseDto';
104
115
  export type { ResponseEcrListImagesDto } from './schemas/ResponseEcrListImagesDto';
105
116
  export type { ResponseGithubPackagesResponseDto } from './schemas/ResponseGithubPackagesResponseDto';
117
+ export type { ResponseJenkinsJobDetailsDto } from './schemas/ResponseJenkinsJobDetailsDto';
106
118
  export type { ResponseJiraIssueCreateMetadataNg } from './schemas/ResponseJiraIssueCreateMetadataNg';
107
119
  export type { ResponseJiraIssueNg } from './schemas/ResponseJiraIssueNg';
108
120
  export type { ResponseJiraIssueUpdateMetadataNg } from './schemas/ResponseJiraIssueUpdateMetadataNg';
121
+ export type { ResponseListBucketResponse } from './schemas/ResponseListBucketResponse';
109
122
  export type { ResponseListBuildDetails } from './schemas/ResponseListBuildDetails';
123
+ export type { ResponseListFilePaths } from './schemas/ResponseListFilePaths';
110
124
  export type { ResponseListJiraIssueTransitionNg } from './schemas/ResponseListJiraIssueTransitionNg';
111
125
  export type { ResponseListJiraProjectBasicNg } from './schemas/ResponseListJiraProjectBasicNg';
112
126
  export type { ResponseListJiraStatusNg } from './schemas/ResponseListJiraStatusNg';
@@ -6,6 +6,7 @@ export { getAcrRepositories, useGetAcrRepositoriesQuery } from './hooks/useGetAc
6
6
  export { getBuildDetailsForAcrRepository, useGetBuildDetailsForAcrRepositoryQuery, } from './hooks/useGetBuildDetailsForAcrRepositoryQuery';
7
7
  export { getBuildDetailsForDocker, useGetBuildDetailsForDockerQuery, } from './hooks/useGetBuildDetailsForDockerQuery';
8
8
  export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
9
+ export { getFilePathsForS3, useGetFilePathsForS3Query } from './hooks/useGetFilePathsForS3Query';
9
10
  export { getGroupIds, useGetGroupIdsMutation } from './hooks/useGetGroupIdsMutation';
10
11
  export { getImagesListForEcr, useGetImagesListForEcrMutation, } from './hooks/useGetImagesListForEcrMutation';
11
12
  export { getIssueTransitions, useGetIssueTransitionsQuery, } from './hooks/useGetIssueTransitionsQuery';
@@ -15,11 +16,13 @@ export { getJiraIssueUpdateMetadata, useGetJiraIssueUpdateMetadataQuery, } from
15
16
  export { getJiraProjects, useGetJiraProjectsQuery } from './hooks/useGetJiraProjectsQuery';
16
17
  export { getJiraStatuses, useGetJiraStatusesQuery } from './hooks/useGetJiraStatusesQuery';
17
18
  export { getJobDetailsForCustom, useGetJobDetailsForCustomMutation, } from './hooks/useGetJobDetailsForCustomMutation';
19
+ export { getJobDetailsForJenkins, useGetJobDetailsForJenkinsQuery, } from './hooks/useGetJobDetailsForJenkinsQuery';
18
20
  export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
19
21
  export { getPackagesFromGithub, useGetPackagesFromGithubQuery, } from './hooks/useGetPackagesFromGithubQuery';
20
22
  export { getRepositories, useGetRepositoriesMutation } from './hooks/useGetRepositoriesMutation';
21
23
  export { getServiceDefinitionTypes, useGetServiceDefinitionTypesQuery, } from './hooks/useGetServiceDefinitionTypesQuery';
22
24
  export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
25
+ export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
23
26
  export { getVersionsFromPackages, useGetVersionsFromPackagesQuery, } from './hooks/useGetVersionsFromPackagesQuery';
24
27
  export { jiraUserSearch, useJiraUserSearchQuery } from './hooks/useJiraUserSearchQuery';
25
28
  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
+ }
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.4.1",
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",