@harnessio/react-ng-manager-swagger-service-client 1.25.0 → 1.26.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.
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetHelmChartVersionDetailsWithYamlMutation.d.ts +44 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetHelmChartVersionDetailsWithYamlMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListAwsRegionsQuery.d.ts +15 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListAwsRegionsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +2 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NameValuePair.d.ts +5 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NameValuePair.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListNameValuePair.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListNameValuePair.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseHelmChartResponseDto } from '../schemas/ResponseHelmChartResponseDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ListTagsForAmiArtifactBodyRequestBody } from '../requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetHelmChartVersionDetailsWithYamlMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
pipelineIdentifier: string;
|
|
13
|
+
serviceId: string;
|
|
14
|
+
fqnPath: string;
|
|
15
|
+
connectorRef?: string;
|
|
16
|
+
chartName?: string;
|
|
17
|
+
region?: string;
|
|
18
|
+
bucketName?: string;
|
|
19
|
+
folderPath?: string;
|
|
20
|
+
lastTag?: string;
|
|
21
|
+
registryId?: string;
|
|
22
|
+
chartVersionInput?: string;
|
|
23
|
+
branch?: string;
|
|
24
|
+
repoIdentifier?: string;
|
|
25
|
+
getDefaultFromOtherRepo?: boolean;
|
|
26
|
+
parentEntityConnectorRef?: string;
|
|
27
|
+
parentEntityRepoName?: string;
|
|
28
|
+
parentEntityAccountIdentifier?: string;
|
|
29
|
+
parentEntityOrgIdentifier?: string;
|
|
30
|
+
parentEntityProjectIdentifier?: string;
|
|
31
|
+
repoName?: string;
|
|
32
|
+
}
|
|
33
|
+
export type GetHelmChartVersionDetailsWithYamlRequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
34
|
+
export type GetHelmChartVersionDetailsWithYamlOkResponse = ResponseWithPagination<ResponseHelmChartResponseDto>;
|
|
35
|
+
export type GetHelmChartVersionDetailsWithYamlErrorResponse = Failure | Error;
|
|
36
|
+
export interface GetHelmChartVersionDetailsWithYamlProps extends Omit<FetcherOptions<GetHelmChartVersionDetailsWithYamlMutationQueryParams, GetHelmChartVersionDetailsWithYamlRequestBody>, 'url'> {
|
|
37
|
+
queryParams: GetHelmChartVersionDetailsWithYamlMutationQueryParams;
|
|
38
|
+
body: GetHelmChartVersionDetailsWithYamlRequestBody;
|
|
39
|
+
}
|
|
40
|
+
export declare function getHelmChartVersionDetailsWithYaml(props: GetHelmChartVersionDetailsWithYamlProps): Promise<GetHelmChartVersionDetailsWithYamlOkResponse>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
export declare function useGetHelmChartVersionDetailsWithYamlMutation(options?: Omit<UseMutationOptions<GetHelmChartVersionDetailsWithYamlOkResponse, GetHelmChartVersionDetailsWithYamlErrorResponse, GetHelmChartVersionDetailsWithYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetHelmChartVersionDetailsWithYamlOkResponse, GetHelmChartVersionDetailsWithYamlErrorResponse, GetHelmChartVersionDetailsWithYamlProps, 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 getHelmChartVersionDetailsWithYaml(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/manifests/helm/v2/chart/version`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetHelmChartVersionDetailsWithYamlMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getHelmChartVersionDetailsWithYaml(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseListNameValuePair } from '../schemas/ResponseListNameValuePair';
|
|
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 type ListAwsRegionsOkResponse = ResponseWithPagination<ResponseListNameValuePair>;
|
|
8
|
+
export type ListAwsRegionsErrorResponse = Failure | Error;
|
|
9
|
+
export interface ListAwsRegionsProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
10
|
+
}
|
|
11
|
+
export declare function listAwsRegions(props: ListAwsRegionsProps): Promise<ListAwsRegionsOkResponse>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare function useListAwsRegionsQuery(props: ListAwsRegionsProps, options?: Omit<UseQueryOptions<ListAwsRegionsOkResponse, ListAwsRegionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListAwsRegionsOkResponse, ListAwsRegionsErrorResponse>;
|
|
@@ -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 listAwsRegions(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/aws/aws-helper/aws-regions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useListAwsRegionsQuery(props, options) {
|
|
13
|
+
return useQuery(['listAwsRegions'], ({ signal }) => listAwsRegions(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -107,6 +107,8 @@ export type { GetHelmChartVersionDetailsErrorResponse, GetHelmChartVersionDetail
|
|
|
107
107
|
export { getHelmChartVersionDetails, useGetHelmChartVersionDetailsQuery, } from './hooks/useGetHelmChartVersionDetailsQuery';
|
|
108
108
|
export type { GetHelmChartVersionDetailsV1ErrorResponse, GetHelmChartVersionDetailsV1OkResponse, GetHelmChartVersionDetailsV1Props, GetHelmChartVersionDetailsV1QueryQueryParams, } from './hooks/useGetHelmChartVersionDetailsV1Query';
|
|
109
109
|
export { getHelmChartVersionDetailsV1, useGetHelmChartVersionDetailsV1Query, } from './hooks/useGetHelmChartVersionDetailsV1Query';
|
|
110
|
+
export type { GetHelmChartVersionDetailsWithYamlErrorResponse, GetHelmChartVersionDetailsWithYamlMutationQueryParams, GetHelmChartVersionDetailsWithYamlOkResponse, GetHelmChartVersionDetailsWithYamlProps, GetHelmChartVersionDetailsWithYamlRequestBody, } from './hooks/useGetHelmChartVersionDetailsWithYamlMutation';
|
|
111
|
+
export { getHelmChartVersionDetailsWithYaml, useGetHelmChartVersionDetailsWithYamlMutation, } from './hooks/useGetHelmChartVersionDetailsWithYamlMutation';
|
|
110
112
|
export type { GetImagePathsForArtifactoryErrorResponse, GetImagePathsForArtifactoryOkResponse, GetImagePathsForArtifactoryProps, GetImagePathsForArtifactoryQueryQueryParams, } from './hooks/useGetImagePathsForArtifactoryQuery';
|
|
111
113
|
export { getImagePathsForArtifactory, useGetImagePathsForArtifactoryQuery, } from './hooks/useGetImagePathsForArtifactoryQuery';
|
|
112
114
|
export type { GetImagePathsForArtifactoryV2ErrorResponse, GetImagePathsForArtifactoryV2MutationQueryParams, GetImagePathsForArtifactoryV2OkResponse, GetImagePathsForArtifactoryV2Props, GetImagePathsForArtifactoryV2RequestBody, } from './hooks/useGetImagePathsForArtifactoryV2Mutation';
|
|
@@ -247,6 +249,8 @@ export type { ListAllEntityUsageByFqnErrorResponse, ListAllEntityUsageByFqnOkRes
|
|
|
247
249
|
export { listAllEntityUsageByFqn, useListAllEntityUsageByFqnQuery, } from './hooks/useListAllEntityUsageByFqnQuery';
|
|
248
250
|
export type { ListApiKeysErrorResponse, ListApiKeysOkResponse, ListApiKeysProps, ListApiKeysQueryQueryParams, } from './hooks/useListApiKeysQuery';
|
|
249
251
|
export { listApiKeys, useListApiKeysQuery } from './hooks/useListApiKeysQuery';
|
|
252
|
+
export type { ListAwsRegionsErrorResponse, ListAwsRegionsOkResponse, ListAwsRegionsProps, } from './hooks/useListAwsRegionsQuery';
|
|
253
|
+
export { listAwsRegions, useListAwsRegionsQuery } from './hooks/useListAwsRegionsQuery';
|
|
250
254
|
export type { ListBucketsWithServiceV2ErrorResponse, ListBucketsWithServiceV2MutationQueryParams, ListBucketsWithServiceV2OkResponse, ListBucketsWithServiceV2Props, ListBucketsWithServiceV2RequestBody, } from './hooks/useListBucketsWithServiceV2Mutation';
|
|
251
255
|
export { listBucketsWithServiceV2, useListBucketsWithServiceV2Mutation, } from './hooks/useListBucketsWithServiceV2Mutation';
|
|
252
256
|
export type { ListFeedsForAzureArtifactsErrorResponse, ListFeedsForAzureArtifactsOkResponse, ListFeedsForAzureArtifactsProps, ListFeedsForAzureArtifactsQueryQueryParams, } from './hooks/useListFeedsForAzureArtifactsQuery';
|
|
@@ -420,6 +424,7 @@ export type { JobParameter } from './schemas/JobParameter';
|
|
|
420
424
|
export type { LdapGroupResponse } from './schemas/LdapGroupResponse';
|
|
421
425
|
export type { LdapLinkGroupRequest } from './schemas/LdapLinkGroupRequest';
|
|
422
426
|
export type { LdapUserResponse } from './schemas/LdapUserResponse';
|
|
427
|
+
export type { NameValuePair } from './schemas/NameValuePair';
|
|
423
428
|
export type { NexusBuildDetailsDto } from './schemas/NexusBuildDetailsDto';
|
|
424
429
|
export type { NexusRepositories } from './schemas/NexusRepositories';
|
|
425
430
|
export type { NexusRequestDto } from './schemas/NexusRequestDto';
|
|
@@ -505,6 +510,7 @@ export type { ResponseListJiraIssueTransitionNg } from './schemas/ResponseListJi
|
|
|
505
510
|
export type { ResponseListJiraProjectBasicNg } from './schemas/ResponseListJiraProjectBasicNg';
|
|
506
511
|
export type { ResponseListJiraStatusNg } from './schemas/ResponseListJiraStatusNg';
|
|
507
512
|
export type { ResponseListJiraUserData } from './schemas/ResponseListJiraUserData';
|
|
513
|
+
export type { ResponseListNameValuePair } from './schemas/ResponseListNameValuePair';
|
|
508
514
|
export type { ResponseListNexusRepositories } from './schemas/ResponseListNexusRepositories';
|
|
509
515
|
export type { ResponseListRegionGar } from './schemas/ResponseListRegionGar';
|
|
510
516
|
export type { ResponseListScopeName } from './schemas/ResponseListScopeName';
|
|
@@ -52,6 +52,7 @@ export { getGcsBuckets, useGetGcsBucketsMutation } from './hooks/useGetGcsBucket
|
|
|
52
52
|
export { getGroupIds, useGetGroupIdsMutation } from './hooks/useGetGroupIdsMutation';
|
|
53
53
|
export { getHelmChartVersionDetails, useGetHelmChartVersionDetailsQuery, } from './hooks/useGetHelmChartVersionDetailsQuery';
|
|
54
54
|
export { getHelmChartVersionDetailsV1, useGetHelmChartVersionDetailsV1Query, } from './hooks/useGetHelmChartVersionDetailsV1Query';
|
|
55
|
+
export { getHelmChartVersionDetailsWithYaml, useGetHelmChartVersionDetailsWithYamlMutation, } from './hooks/useGetHelmChartVersionDetailsWithYamlMutation';
|
|
55
56
|
export { getImagePathsForArtifactory, useGetImagePathsForArtifactoryQuery, } from './hooks/useGetImagePathsForArtifactoryQuery';
|
|
56
57
|
export { getImagePathsForArtifactoryV2, useGetImagePathsForArtifactoryV2Mutation, } from './hooks/useGetImagePathsForArtifactoryV2Mutation';
|
|
57
58
|
export { getImagesListForEcr, useGetImagesListForEcrMutation, } from './hooks/useGetImagesListForEcrMutation';
|
|
@@ -122,6 +123,7 @@ export { listAggregatedApiKeys, useListAggregatedApiKeysQuery, } from './hooks/u
|
|
|
122
123
|
export { listAggregatedTokens, useListAggregatedTokensQuery, } from './hooks/useListAggregatedTokensQuery';
|
|
123
124
|
export { listAllEntityUsageByFqn, useListAllEntityUsageByFqnQuery, } from './hooks/useListAllEntityUsageByFqnQuery';
|
|
124
125
|
export { listApiKeys, useListApiKeysQuery } from './hooks/useListApiKeysQuery';
|
|
126
|
+
export { listAwsRegions, useListAwsRegionsQuery } from './hooks/useListAwsRegionsQuery';
|
|
125
127
|
export { listBucketsWithServiceV2, useListBucketsWithServiceV2Mutation, } from './hooks/useListBucketsWithServiceV2Mutation';
|
|
126
128
|
export { listFeedsForAzureArtifacts, useListFeedsForAzureArtifactsQuery, } from './hooks/useListFeedsForAzureArtifactsQuery';
|
|
127
129
|
export { listFeedsForAzureArtifactsWithServiceV2, useListFeedsForAzureArtifactsWithServiceV2Mutation, } from './hooks/useListFeedsForAzureArtifactsWithServiceV2Mutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-ng-manager-swagger-service-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.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",
|