@harnessio/react-ng-manager-swagger-service-client 1.4.1 → 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.
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBucketsInManifestsMutation.d.ts +29 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBucketsInManifestsMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseMapStringString.d.ts +10 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseMapStringString.js +4 -0
- package/package.json +1 -1
package/dist/ng-manager-swagger-service/src/services/hooks/useGetBucketsInManifestsMutation.d.ts
ADDED
|
@@ -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>;
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetBucketsInManifestsMutation.js
ADDED
|
@@ -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
|
+
}
|
|
@@ -9,6 +9,8 @@ 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';
|
|
@@ -128,6 +130,7 @@ export type { ResponseListJiraUserData } from './schemas/ResponseListJiraUserDat
|
|
|
128
130
|
export type { ResponseListNexusRepositories } from './schemas/ResponseListNexusRepositories';
|
|
129
131
|
export type { ResponseListServiceDefinitionType } from './schemas/ResponseListServiceDefinitionType';
|
|
130
132
|
export type { ResponseListString } from './schemas/ResponseListString';
|
|
133
|
+
export type { ResponseMapStringString } from './schemas/ResponseMapStringString';
|
|
131
134
|
export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
132
135
|
export type { ResponsePageEnvironmentResponse } from './schemas/ResponsePageEnvironmentResponse';
|
|
133
136
|
export type { ResponsePageServiceDashboardResponseDto } from './schemas/ResponsePageServiceDashboardResponseDto';
|
|
@@ -3,6 +3,7 @@ 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';
|
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.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",
|