@harnessio/react-ng-manager-swagger-service-client 1.15.0 → 1.16.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/useListVersionsForAmiArtifactMutation.d.ts +39 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListVersionsForAmiArtifactMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +5 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AmiFilter.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AmiFilter.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AmiRequestBody.d.ts +7 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AmiRequestBody.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AmiTag.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AmiTag.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseListBuildDetails } from '../schemas/ResponseListBuildDetails';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { AmiRequestBody } from '../schemas/AmiRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface ListVersionsForAmiArtifactMutationQueryParams {
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
region?: string;
|
|
11
|
+
versionRegex?: string;
|
|
12
|
+
accountIdentifier: string;
|
|
13
|
+
orgIdentifier?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
pipelineIdentifier?: string;
|
|
16
|
+
fqnPath?: string;
|
|
17
|
+
serviceId?: string;
|
|
18
|
+
branch?: string;
|
|
19
|
+
repoIdentifier?: string;
|
|
20
|
+
getDefaultFromOtherRepo?: boolean;
|
|
21
|
+
parentEntityConnectorRef?: string;
|
|
22
|
+
parentEntityRepoName?: string;
|
|
23
|
+
parentEntityAccountIdentifier?: string;
|
|
24
|
+
parentEntityOrgIdentifier?: string;
|
|
25
|
+
parentEntityProjectIdentifier?: string;
|
|
26
|
+
repoName?: string;
|
|
27
|
+
}
|
|
28
|
+
export type ListVersionsForAmiArtifactRequestBody = AmiRequestBody;
|
|
29
|
+
export type ListVersionsForAmiArtifactOkResponse = ResponseWithPagination<ResponseListBuildDetails>;
|
|
30
|
+
export type ListVersionsForAmiArtifactErrorResponse = Failure | Error;
|
|
31
|
+
export interface ListVersionsForAmiArtifactProps extends Omit<FetcherOptions<ListVersionsForAmiArtifactMutationQueryParams, ListVersionsForAmiArtifactRequestBody>, 'url'> {
|
|
32
|
+
queryParams: ListVersionsForAmiArtifactMutationQueryParams;
|
|
33
|
+
body: ListVersionsForAmiArtifactRequestBody;
|
|
34
|
+
}
|
|
35
|
+
export declare function listVersionsForAmiArtifact(props: ListVersionsForAmiArtifactProps): Promise<ListVersionsForAmiArtifactOkResponse>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare function useListVersionsForAmiArtifactMutation(options?: Omit<UseMutationOptions<ListVersionsForAmiArtifactOkResponse, ListVersionsForAmiArtifactErrorResponse, ListVersionsForAmiArtifactProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListVersionsForAmiArtifactOkResponse, ListVersionsForAmiArtifactErrorResponse, ListVersionsForAmiArtifactProps, unknown>;
|
package/dist/ng-manager-swagger-service/src/services/hooks/useListVersionsForAmiArtifactMutation.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 listVersionsForAmiArtifact(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/ami/versions`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useListVersionsForAmiArtifactMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => listVersionsForAmiArtifact(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -183,6 +183,8 @@ export type { ListProjectsForAzureArtifactsErrorResponse, ListProjectsForAzureAr
|
|
|
183
183
|
export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
|
|
184
184
|
export type { ListTagsForAmiArtifactErrorResponse, ListTagsForAmiArtifactMutationQueryParams, ListTagsForAmiArtifactOkResponse, ListTagsForAmiArtifactProps, ListTagsForAmiArtifactRequestBody, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
185
185
|
export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
186
|
+
export type { ListVersionsForAmiArtifactErrorResponse, ListVersionsForAmiArtifactMutationQueryParams, ListVersionsForAmiArtifactOkResponse, ListVersionsForAmiArtifactProps, ListVersionsForAmiArtifactRequestBody, } from './hooks/useListVersionsForAmiArtifactMutation';
|
|
187
|
+
export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } from './hooks/useListVersionsForAmiArtifactMutation';
|
|
186
188
|
export type { PostOrganizationErrorResponse, PostOrganizationMutationQueryParams, PostOrganizationOkResponse, PostOrganizationProps, PostOrganizationRequestBody, } from './hooks/usePostOrganizationMutation';
|
|
187
189
|
export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
|
|
188
190
|
export type { PostProjectErrorResponse, PostProjectMutationQueryParams, PostProjectOkResponse, PostProjectProps, PostProjectRequestBody, } from './hooks/usePostProjectMutation';
|
|
@@ -224,6 +226,9 @@ export type { AcrRegistryDto } from './schemas/AcrRegistryDto';
|
|
|
224
226
|
export type { AcrRepositoriesDto } from './schemas/AcrRepositoriesDto';
|
|
225
227
|
export type { AcrRepositoryDto } from './schemas/AcrRepositoryDto';
|
|
226
228
|
export type { AcrResponseDto } from './schemas/AcrResponseDto';
|
|
229
|
+
export type { AmiFilter } from './schemas/AmiFilter';
|
|
230
|
+
export type { AmiRequestBody } from './schemas/AmiRequestBody';
|
|
231
|
+
export type { AmiTag } from './schemas/AmiTag';
|
|
227
232
|
export type { AmiTagObject } from './schemas/AmiTagObject';
|
|
228
233
|
export type { ApiKeyAggregateDto } from './schemas/ApiKeyAggregateDto';
|
|
229
234
|
export type { ApiKeyDto } from './schemas/ApiKeyDto';
|
|
@@ -90,6 +90,7 @@ export { listFeedsForAzureArtifacts, useListFeedsForAzureArtifactsQuery, } from
|
|
|
90
90
|
export { listPackagesForAzureArtifacts, useListPackagesForAzureArtifactsQuery, } from './hooks/useListPackagesForAzureArtifactsQuery';
|
|
91
91
|
export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
|
|
92
92
|
export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
93
|
+
export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } from './hooks/useListVersionsForAmiArtifactMutation';
|
|
93
94
|
export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
|
|
94
95
|
export { postProject, usePostProjectMutation } from './hooks/usePostProjectMutation';
|
|
95
96
|
export { removeMember, useRemoveMemberMutation } from './hooks/useRemoveMemberMutation';
|
|
@@ -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.16.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",
|