@harnessio/react-ng-manager-swagger-service-client 1.19.0 → 1.20.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 (45) hide show
  1. package/README.md +1 -1
  2. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForAcrArtifactWithYamlMutation.d.ts +40 -0
  3. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForAcrArtifactWithYamlMutation.js +14 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForArtifactoryArtifactWithYamlMutation.d.ts +43 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForArtifactoryArtifactWithYamlMutation.js +14 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForEcrWithYamlMutation.d.ts +41 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForEcrWithYamlMutation.js +14 -0
  8. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForGoogleArtifactRegistryV2Mutation.d.ts +43 -0
  9. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForGoogleArtifactRegistryV2Mutation.js +14 -0
  10. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForNexusArtifactWithYamlMutation.d.ts +48 -0
  11. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForNexusArtifactWithYamlMutation.js +14 -0
  12. package/dist/ng-manager-swagger-service/src/services/hooks/useGetFilePathsV2ForS3Mutation.d.ts +41 -0
  13. package/dist/ng-manager-swagger-service/src/services/hooks/useGetFilePathsV2ForS3Mutation.js +14 -0
  14. package/dist/ng-manager-swagger-service/src/services/hooks/useGetImagePathsForArtifactoryV2Mutation.d.ts +42 -0
  15. package/dist/ng-manager-swagger-service/src/services/hooks/useGetImagePathsForArtifactoryV2Mutation.js +14 -0
  16. package/dist/ng-manager-swagger-service/src/services/hooks/useGetJobDetailsForJenkinsServiceV2Mutation.d.ts +38 -0
  17. package/dist/ng-manager-swagger-service/src/services/hooks/useGetJobDetailsForJenkinsServiceV2Mutation.js +14 -0
  18. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildArtifactoryArtifactWithYamlMutation.d.ts +41 -0
  19. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildArtifactoryArtifactWithYamlMutation.js +14 -0
  20. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForAcrArtifactWithYamlMutation.d.ts +40 -0
  21. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForAcrArtifactWithYamlMutation.js +14 -0
  22. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForEcrWithYamlMutation.d.ts +39 -0
  23. package/dist/ng-manager-swagger-service/src/services/hooks/{useGetLastSuccessfulBuildForGcrMutation.js → useGetLastSuccessfulBuildForEcrWithYamlMutation.js} +4 -4
  24. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryV2Mutation.d.ts +41 -0
  25. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryV2Mutation.js +14 -0
  26. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulVersionWithServiceV2Mutation.d.ts +42 -0
  27. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulVersionWithServiceV2Mutation.js +14 -0
  28. package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesForGoogleArtifactRegistryV2Mutation.d.ts +40 -0
  29. package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesForGoogleArtifactRegistryV2Mutation.js +14 -0
  30. package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesFromGithubWithServiceV2Mutation.d.ts +39 -0
  31. package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesFromGithubWithServiceV2Mutation.js +14 -0
  32. package/dist/ng-manager-swagger-service/src/services/hooks/useGetVersionsFromPackagesWithServiceV2Mutation.d.ts +41 -0
  33. package/dist/ng-manager-swagger-service/src/services/hooks/useGetVersionsFromPackagesWithServiceV2Mutation.js +14 -0
  34. package/dist/ng-manager-swagger-service/src/services/index.d.ts +32 -6
  35. package/dist/ng-manager-swagger-service/src/services/index.js +16 -1
  36. package/package.json +1 -1
  37. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGcrMutation.d.ts +0 -26
  38. package/dist/ng-manager-swagger-service/src/services/requestBodies/GcrRequestDtoRequestBody.d.ts +0 -2
  39. package/dist/ng-manager-swagger-service/src/services/requestBodies/GcrRequestDtoRequestBody.js +0 -1
  40. package/dist/ng-manager-swagger-service/src/services/schemas/GcrBuildDetailsDto.d.ts +0 -11
  41. package/dist/ng-manager-swagger-service/src/services/schemas/GcrBuildDetailsDto.js +0 -4
  42. package/dist/ng-manager-swagger-service/src/services/schemas/GcrRequestDto.d.ts +0 -7
  43. package/dist/ng-manager-swagger-service/src/services/schemas/GcrRequestDto.js +0 -4
  44. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcrBuildDetailsDto.d.ts +0 -9
  45. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcrBuildDetailsDto.js +0 -1
package/README.md CHANGED
@@ -44,6 +44,6 @@ Once development phase is completed, this repo will have changes and versioning
44
44
  Steps to add apis in this folder:
45
45
 
46
46
  1. Add api id in ALLOWED_OPERATION_IDS in packages/ng-manager-swagger-service/oats.config.ts
47
- 2. Run yarn generate in ng-manager-swagger-service folder
47
+ 2. Run `yarn generate` in ng-manager-swagger-service folder
48
48
  3. Test locally using `yarn build && yalc publish`
49
49
  4. Raise PR and publish ng-manager-swagger-service package
@@ -0,0 +1,40 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseAcrResponseDto } from '../schemas/ResponseAcrResponseDto';
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 GetBuildDetailsForAcrArtifactWithYamlMutationQueryParams {
9
+ subscriptionId?: string;
10
+ registry?: string;
11
+ repository?: string;
12
+ connectorRef?: string;
13
+ accountIdentifier: string;
14
+ orgIdentifier?: string;
15
+ projectIdentifier?: string;
16
+ pipelineIdentifier?: string;
17
+ fqnPath: 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
+ serviceId?: string;
28
+ }
29
+ export type GetBuildDetailsForAcrArtifactWithYamlRequestBody = GetFileContentUsingScopedFilePathV2BodyRequestBody;
30
+ export type GetBuildDetailsForAcrArtifactWithYamlOkResponse = ResponseWithPagination<ResponseAcrResponseDto>;
31
+ export type GetBuildDetailsForAcrArtifactWithYamlErrorResponse = Failure | Error;
32
+ export interface GetBuildDetailsForAcrArtifactWithYamlProps extends Omit<FetcherOptions<GetBuildDetailsForAcrArtifactWithYamlMutationQueryParams, GetBuildDetailsForAcrArtifactWithYamlRequestBody>, 'url'> {
33
+ queryParams: GetBuildDetailsForAcrArtifactWithYamlMutationQueryParams;
34
+ body: GetBuildDetailsForAcrArtifactWithYamlRequestBody;
35
+ }
36
+ export declare function getBuildDetailsForAcrArtifactWithYaml(props: GetBuildDetailsForAcrArtifactWithYamlProps): Promise<GetBuildDetailsForAcrArtifactWithYamlOkResponse>;
37
+ /**
38
+ *
39
+ */
40
+ export declare function useGetBuildDetailsForAcrArtifactWithYamlMutation(options?: Omit<UseMutationOptions<GetBuildDetailsForAcrArtifactWithYamlOkResponse, GetBuildDetailsForAcrArtifactWithYamlErrorResponse, GetBuildDetailsForAcrArtifactWithYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetBuildDetailsForAcrArtifactWithYamlOkResponse, GetBuildDetailsForAcrArtifactWithYamlErrorResponse, GetBuildDetailsForAcrArtifactWithYamlProps, 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 getBuildDetailsForAcrArtifactWithYaml(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/acr/getBuildDetailsV2`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetBuildDetailsForAcrArtifactWithYamlMutation(options) {
13
+ return useMutation((mutateProps) => getBuildDetailsForAcrArtifactWithYaml(mutateProps), options);
14
+ }
@@ -0,0 +1,43 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseArtifactoryResponseDto } from '../schemas/ResponseArtifactoryResponseDto';
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 GetBuildDetailsForArtifactoryArtifactWithYamlMutationQueryParams {
9
+ repository?: string;
10
+ artifactPath?: string;
11
+ repositoryFormat?: string;
12
+ repositoryUrl?: string;
13
+ connectorRef?: string;
14
+ artifactFilter?: string;
15
+ accountIdentifier: string;
16
+ orgIdentifier?: string;
17
+ projectIdentifier?: string;
18
+ pipelineIdentifier?: string;
19
+ tagInput?: string;
20
+ fqnPath: string;
21
+ branch?: string;
22
+ repoIdentifier?: string;
23
+ getDefaultFromOtherRepo?: boolean;
24
+ parentEntityConnectorRef?: string;
25
+ parentEntityRepoName?: string;
26
+ parentEntityAccountIdentifier?: string;
27
+ parentEntityOrgIdentifier?: string;
28
+ parentEntityProjectIdentifier?: string;
29
+ repoName?: string;
30
+ serviceId?: string;
31
+ }
32
+ export type GetBuildDetailsForArtifactoryArtifactWithYamlRequestBody = ListTagsForAmiArtifactBodyRequestBody;
33
+ export type GetBuildDetailsForArtifactoryArtifactWithYamlOkResponse = ResponseWithPagination<ResponseArtifactoryResponseDto>;
34
+ export type GetBuildDetailsForArtifactoryArtifactWithYamlErrorResponse = Failure | Error;
35
+ export interface GetBuildDetailsForArtifactoryArtifactWithYamlProps extends Omit<FetcherOptions<GetBuildDetailsForArtifactoryArtifactWithYamlMutationQueryParams, GetBuildDetailsForArtifactoryArtifactWithYamlRequestBody>, 'url'> {
36
+ queryParams: GetBuildDetailsForArtifactoryArtifactWithYamlMutationQueryParams;
37
+ body: GetBuildDetailsForArtifactoryArtifactWithYamlRequestBody;
38
+ }
39
+ export declare function getBuildDetailsForArtifactoryArtifactWithYaml(props: GetBuildDetailsForArtifactoryArtifactWithYamlProps): Promise<GetBuildDetailsForArtifactoryArtifactWithYamlOkResponse>;
40
+ /**
41
+ *
42
+ */
43
+ export declare function useGetBuildDetailsForArtifactoryArtifactWithYamlMutation(options?: Omit<UseMutationOptions<GetBuildDetailsForArtifactoryArtifactWithYamlOkResponse, GetBuildDetailsForArtifactoryArtifactWithYamlErrorResponse, GetBuildDetailsForArtifactoryArtifactWithYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetBuildDetailsForArtifactoryArtifactWithYamlOkResponse, GetBuildDetailsForArtifactoryArtifactWithYamlErrorResponse, GetBuildDetailsForArtifactoryArtifactWithYamlProps, 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 getBuildDetailsForArtifactoryArtifactWithYaml(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/artifactory/getBuildDetailsV2`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetBuildDetailsForArtifactoryArtifactWithYamlMutation(options) {
13
+ return useMutation((mutateProps) => getBuildDetailsForArtifactoryArtifactWithYaml(mutateProps), options);
14
+ }
@@ -0,0 +1,41 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseEcrResponseDto } from '../schemas/ResponseEcrResponseDto';
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 GetBuildDetailsForEcrWithYamlMutationQueryParams {
9
+ registryId?: string;
10
+ imagePath?: string;
11
+ region?: string;
12
+ connectorRef?: string;
13
+ accountIdentifier: string;
14
+ orgIdentifier?: string;
15
+ projectIdentifier?: string;
16
+ pipelineIdentifier?: string;
17
+ fqnPath: 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
+ serviceId?: string;
28
+ tagInput?: string;
29
+ }
30
+ export type GetBuildDetailsForEcrWithYamlRequestBody = GetFileContentUsingScopedFilePathV2BodyRequestBody;
31
+ export type GetBuildDetailsForEcrWithYamlOkResponse = ResponseWithPagination<ResponseEcrResponseDto>;
32
+ export type GetBuildDetailsForEcrWithYamlErrorResponse = Failure | Error;
33
+ export interface GetBuildDetailsForEcrWithYamlProps extends Omit<FetcherOptions<GetBuildDetailsForEcrWithYamlMutationQueryParams, GetBuildDetailsForEcrWithYamlRequestBody>, 'url'> {
34
+ queryParams: GetBuildDetailsForEcrWithYamlMutationQueryParams;
35
+ body: GetBuildDetailsForEcrWithYamlRequestBody;
36
+ }
37
+ export declare function getBuildDetailsForEcrWithYaml(props: GetBuildDetailsForEcrWithYamlProps): Promise<GetBuildDetailsForEcrWithYamlOkResponse>;
38
+ /**
39
+ *
40
+ */
41
+ export declare function useGetBuildDetailsForEcrWithYamlMutation(options?: Omit<UseMutationOptions<GetBuildDetailsForEcrWithYamlOkResponse, GetBuildDetailsForEcrWithYamlErrorResponse, GetBuildDetailsForEcrWithYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetBuildDetailsForEcrWithYamlOkResponse, GetBuildDetailsForEcrWithYamlErrorResponse, GetBuildDetailsForEcrWithYamlProps, 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 getBuildDetailsForEcrWithYaml(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/ecr/getBuildDetailsV2`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetBuildDetailsForEcrWithYamlMutation(options) {
13
+ return useMutation((mutateProps) => getBuildDetailsForEcrWithYaml(mutateProps), options);
14
+ }
@@ -0,0 +1,43 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseGarResponseDto } from '../schemas/ResponseGarResponseDto';
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 GetBuildDetailsForGoogleArtifactRegistryV2MutationQueryParams {
9
+ connectorRef?: string;
10
+ region?: string;
11
+ repositoryName?: string;
12
+ project?: string;
13
+ package?: string;
14
+ accountIdentifier: string;
15
+ orgIdentifier?: string;
16
+ projectIdentifier?: string;
17
+ pipelineIdentifier?: string;
18
+ version?: string;
19
+ versionRegex?: string;
20
+ fqnPath: string;
21
+ serviceId?: string;
22
+ branch?: string;
23
+ repoIdentifier?: string;
24
+ getDefaultFromOtherRepo?: boolean;
25
+ parentEntityConnectorRef?: string;
26
+ parentEntityRepoName?: string;
27
+ parentEntityAccountIdentifier?: string;
28
+ parentEntityOrgIdentifier?: string;
29
+ parentEntityProjectIdentifier?: string;
30
+ repoName?: string;
31
+ }
32
+ export type GetBuildDetailsForGoogleArtifactRegistryV2RequestBody = ListTagsForAmiArtifactBodyRequestBody;
33
+ export type GetBuildDetailsForGoogleArtifactRegistryV2OkResponse = ResponseWithPagination<ResponseGarResponseDto>;
34
+ export type GetBuildDetailsForGoogleArtifactRegistryV2ErrorResponse = Failure | Error;
35
+ export interface GetBuildDetailsForGoogleArtifactRegistryV2Props extends Omit<FetcherOptions<GetBuildDetailsForGoogleArtifactRegistryV2MutationQueryParams, GetBuildDetailsForGoogleArtifactRegistryV2RequestBody>, 'url'> {
36
+ queryParams: GetBuildDetailsForGoogleArtifactRegistryV2MutationQueryParams;
37
+ body: GetBuildDetailsForGoogleArtifactRegistryV2RequestBody;
38
+ }
39
+ export declare function getBuildDetailsForGoogleArtifactRegistryV2(props: GetBuildDetailsForGoogleArtifactRegistryV2Props): Promise<GetBuildDetailsForGoogleArtifactRegistryV2OkResponse>;
40
+ /**
41
+ *
42
+ */
43
+ export declare function useGetBuildDetailsForGoogleArtifactRegistryV2Mutation(options?: Omit<UseMutationOptions<GetBuildDetailsForGoogleArtifactRegistryV2OkResponse, GetBuildDetailsForGoogleArtifactRegistryV2ErrorResponse, GetBuildDetailsForGoogleArtifactRegistryV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetBuildDetailsForGoogleArtifactRegistryV2OkResponse, GetBuildDetailsForGoogleArtifactRegistryV2ErrorResponse, GetBuildDetailsForGoogleArtifactRegistryV2Props, 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 getBuildDetailsForGoogleArtifactRegistryV2(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/gar/v2/getBuildDetails`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetBuildDetailsForGoogleArtifactRegistryV2Mutation(options) {
13
+ return useMutation((mutateProps) => getBuildDetailsForGoogleArtifactRegistryV2(mutateProps), options);
14
+ }
@@ -0,0 +1,48 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseNexusResponseDto } from '../schemas/ResponseNexusResponseDto';
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 GetBuildDetailsForNexusArtifactWithYamlMutationQueryParams {
9
+ repository?: string;
10
+ repositoryPort?: string;
11
+ artifactPath?: string;
12
+ repositoryFormat?: string;
13
+ repositoryUrl?: string;
14
+ connectorRef?: string;
15
+ groupId?: string;
16
+ artifactId?: string;
17
+ extension?: string;
18
+ classifier?: string;
19
+ packageName?: string;
20
+ group?: string;
21
+ accountIdentifier: string;
22
+ orgIdentifier?: string;
23
+ projectIdentifier?: string;
24
+ pipelineIdentifier?: string;
25
+ fqnPath?: string;
26
+ branch?: string;
27
+ repoIdentifier?: string;
28
+ getDefaultFromOtherRepo?: boolean;
29
+ parentEntityConnectorRef?: string;
30
+ parentEntityRepoName?: string;
31
+ parentEntityAccountIdentifier?: string;
32
+ parentEntityOrgIdentifier?: string;
33
+ parentEntityProjectIdentifier?: string;
34
+ repoName?: string;
35
+ serviceId?: string;
36
+ }
37
+ export type GetBuildDetailsForNexusArtifactWithYamlRequestBody = ListTagsForAmiArtifactBodyRequestBody;
38
+ export type GetBuildDetailsForNexusArtifactWithYamlOkResponse = ResponseWithPagination<ResponseNexusResponseDto>;
39
+ export type GetBuildDetailsForNexusArtifactWithYamlErrorResponse = Failure | Error;
40
+ export interface GetBuildDetailsForNexusArtifactWithYamlProps extends Omit<FetcherOptions<GetBuildDetailsForNexusArtifactWithYamlMutationQueryParams, GetBuildDetailsForNexusArtifactWithYamlRequestBody>, 'url'> {
41
+ queryParams: GetBuildDetailsForNexusArtifactWithYamlMutationQueryParams;
42
+ body: GetBuildDetailsForNexusArtifactWithYamlRequestBody;
43
+ }
44
+ export declare function getBuildDetailsForNexusArtifactWithYaml(props: GetBuildDetailsForNexusArtifactWithYamlProps): Promise<GetBuildDetailsForNexusArtifactWithYamlOkResponse>;
45
+ /**
46
+ *
47
+ */
48
+ export declare function useGetBuildDetailsForNexusArtifactWithYamlMutation(options?: Omit<UseMutationOptions<GetBuildDetailsForNexusArtifactWithYamlOkResponse, GetBuildDetailsForNexusArtifactWithYamlErrorResponse, GetBuildDetailsForNexusArtifactWithYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetBuildDetailsForNexusArtifactWithYamlOkResponse, GetBuildDetailsForNexusArtifactWithYamlErrorResponse, GetBuildDetailsForNexusArtifactWithYamlProps, 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 getBuildDetailsForNexusArtifactWithYaml(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/nexus/getBuildDetailsV2`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetBuildDetailsForNexusArtifactWithYamlMutation(options) {
13
+ return useMutation((mutateProps) => getBuildDetailsForNexusArtifactWithYaml(mutateProps), options);
14
+ }
@@ -0,0 +1,41 @@
1
+ import { UseMutationOptions } 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 { GetFileContentUsingScopedFilePathV2BodyRequestBody } from '../requestBodies/GetFileContentUsingScopedFilePathV2BodyRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetFilePathsV2ForS3MutationQueryParams {
9
+ region?: string;
10
+ connectorRef?: string;
11
+ bucketName?: string;
12
+ filePathRegex?: string;
13
+ fileFilter?: string;
14
+ accountIdentifier: string;
15
+ orgIdentifier?: string;
16
+ projectIdentifier?: string;
17
+ pipelineIdentifier?: string;
18
+ fqnPath: string;
19
+ serviceId?: string;
20
+ branch?: string;
21
+ repoIdentifier?: string;
22
+ getDefaultFromOtherRepo?: boolean;
23
+ parentEntityConnectorRef?: string;
24
+ parentEntityRepoName?: string;
25
+ parentEntityAccountIdentifier?: string;
26
+ parentEntityOrgIdentifier?: string;
27
+ parentEntityProjectIdentifier?: string;
28
+ repoName?: string;
29
+ }
30
+ export type GetFilePathsV2ForS3RequestBody = GetFileContentUsingScopedFilePathV2BodyRequestBody;
31
+ export type GetFilePathsV2ForS3OkResponse = ResponseWithPagination<ResponseListFilePaths>;
32
+ export type GetFilePathsV2ForS3ErrorResponse = Failure | Error;
33
+ export interface GetFilePathsV2ForS3Props extends Omit<FetcherOptions<GetFilePathsV2ForS3MutationQueryParams, GetFilePathsV2ForS3RequestBody>, 'url'> {
34
+ queryParams: GetFilePathsV2ForS3MutationQueryParams;
35
+ body: GetFilePathsV2ForS3RequestBody;
36
+ }
37
+ export declare function getFilePathsV2ForS3(props: GetFilePathsV2ForS3Props): Promise<GetFilePathsV2ForS3OkResponse>;
38
+ /**
39
+ *
40
+ */
41
+ export declare function useGetFilePathsV2ForS3Mutation(options?: Omit<UseMutationOptions<GetFilePathsV2ForS3OkResponse, GetFilePathsV2ForS3ErrorResponse, GetFilePathsV2ForS3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetFilePathsV2ForS3OkResponse, GetFilePathsV2ForS3ErrorResponse, GetFilePathsV2ForS3Props, 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 getFilePathsV2ForS3(props) {
7
+ return fetcher(Object.assign({ url: `/buckets/s3/v2/getFilePaths`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetFilePathsV2ForS3Mutation(options) {
13
+ return useMutation((mutateProps) => getFilePathsV2ForS3(mutateProps), options);
14
+ }
@@ -0,0 +1,42 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseArtifactoryImagePathsDto } from '../schemas/ResponseArtifactoryImagePathsDto';
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 GetImagePathsForArtifactoryV2MutationQueryParams {
9
+ connectorRef?: string;
10
+ /**
11
+ * @default "any"
12
+ */
13
+ repositoryType?: string;
14
+ accountIdentifier: string;
15
+ orgIdentifier?: string;
16
+ projectIdentifier?: string;
17
+ pipelineIdentifier?: string;
18
+ repository?: string;
19
+ fqnPath?: string;
20
+ serviceId?: string;
21
+ branch?: string;
22
+ repoIdentifier?: string;
23
+ getDefaultFromOtherRepo?: boolean;
24
+ parentEntityConnectorRef?: string;
25
+ parentEntityRepoName?: string;
26
+ parentEntityAccountIdentifier?: string;
27
+ parentEntityOrgIdentifier?: string;
28
+ parentEntityProjectIdentifier?: string;
29
+ repoName?: string;
30
+ }
31
+ export type GetImagePathsForArtifactoryV2RequestBody = ListTagsForAmiArtifactBodyRequestBody;
32
+ export type GetImagePathsForArtifactoryV2OkResponse = ResponseWithPagination<ResponseArtifactoryImagePathsDto>;
33
+ export type GetImagePathsForArtifactoryV2ErrorResponse = Failure | Error;
34
+ export interface GetImagePathsForArtifactoryV2Props extends Omit<FetcherOptions<GetImagePathsForArtifactoryV2MutationQueryParams, GetImagePathsForArtifactoryV2RequestBody>, 'url'> {
35
+ queryParams: GetImagePathsForArtifactoryV2MutationQueryParams;
36
+ body: GetImagePathsForArtifactoryV2RequestBody;
37
+ }
38
+ export declare function getImagePathsForArtifactoryV2(props: GetImagePathsForArtifactoryV2Props): Promise<GetImagePathsForArtifactoryV2OkResponse>;
39
+ /**
40
+ *
41
+ */
42
+ export declare function useGetImagePathsForArtifactoryV2Mutation(options?: Omit<UseMutationOptions<GetImagePathsForArtifactoryV2OkResponse, GetImagePathsForArtifactoryV2ErrorResponse, GetImagePathsForArtifactoryV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetImagePathsForArtifactoryV2OkResponse, GetImagePathsForArtifactoryV2ErrorResponse, GetImagePathsForArtifactoryV2Props, 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 getImagePathsForArtifactoryV2(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/artifactory/imagePathsV2`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetImagePathsForArtifactoryV2Mutation(options) {
13
+ return useMutation((mutateProps) => getImagePathsForArtifactoryV2(mutateProps), options);
14
+ }
@@ -0,0 +1,38 @@
1
+ import { UseMutationOptions } 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 { ListTagsForAmiArtifactBodyRequestBody } from '../requestBodies/ListTagsForAmiArtifactBodyRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetJobDetailsForJenkinsServiceV2MutationQueryParams {
9
+ connectorRef?: string;
10
+ accountIdentifier: string;
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ pipelineIdentifier?: string;
14
+ parentJobName?: string;
15
+ branch?: string;
16
+ repoIdentifier?: string;
17
+ getDefaultFromOtherRepo?: boolean;
18
+ parentEntityConnectorRef?: string;
19
+ parentEntityRepoName?: string;
20
+ parentEntityAccountIdentifier?: string;
21
+ parentEntityOrgIdentifier?: string;
22
+ parentEntityProjectIdentifier?: string;
23
+ repoName?: string;
24
+ fqnPath?: string;
25
+ serviceId?: string;
26
+ }
27
+ export type GetJobDetailsForJenkinsServiceV2RequestBody = ListTagsForAmiArtifactBodyRequestBody;
28
+ export type GetJobDetailsForJenkinsServiceV2OkResponse = ResponseWithPagination<ResponseJenkinsJobDetailsDto>;
29
+ export type GetJobDetailsForJenkinsServiceV2ErrorResponse = Failure | Error;
30
+ export interface GetJobDetailsForJenkinsServiceV2Props extends Omit<FetcherOptions<GetJobDetailsForJenkinsServiceV2MutationQueryParams, GetJobDetailsForJenkinsServiceV2RequestBody>, 'url'> {
31
+ queryParams: GetJobDetailsForJenkinsServiceV2MutationQueryParams;
32
+ body: GetJobDetailsForJenkinsServiceV2RequestBody;
33
+ }
34
+ export declare function getJobDetailsForJenkinsServiceV2(props: GetJobDetailsForJenkinsServiceV2Props): Promise<GetJobDetailsForJenkinsServiceV2OkResponse>;
35
+ /**
36
+ *
37
+ */
38
+ export declare function useGetJobDetailsForJenkinsServiceV2Mutation(options?: Omit<UseMutationOptions<GetJobDetailsForJenkinsServiceV2OkResponse, GetJobDetailsForJenkinsServiceV2ErrorResponse, GetJobDetailsForJenkinsServiceV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetJobDetailsForJenkinsServiceV2OkResponse, GetJobDetailsForJenkinsServiceV2ErrorResponse, GetJobDetailsForJenkinsServiceV2Props, 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 getJobDetailsForJenkinsServiceV2(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/jenkins/v2/jobs`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetJobDetailsForJenkinsServiceV2Mutation(options) {
13
+ return useMutation((mutateProps) => getJobDetailsForJenkinsServiceV2(mutateProps), options);
14
+ }
@@ -0,0 +1,41 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseArtifactoryBuildDetailsDto } from '../schemas/ResponseArtifactoryBuildDetailsDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ArtifactoryRequestDtoRequestBody } from '../requestBodies/ArtifactoryRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetLastSuccessfulBuildArtifactoryArtifactWithYamlMutationQueryParams {
9
+ repository?: string;
10
+ artifactPath?: string;
11
+ repositoryFormat?: string;
12
+ repositoryUrl?: string;
13
+ connectorRef?: string;
14
+ accountIdentifier: string;
15
+ orgIdentifier?: string;
16
+ projectIdentifier?: string;
17
+ pipelineIdentifier?: string;
18
+ fqnPath: string;
19
+ branch?: string;
20
+ repoIdentifier?: string;
21
+ getDefaultFromOtherRepo?: boolean;
22
+ parentEntityConnectorRef?: string;
23
+ parentEntityRepoName?: string;
24
+ parentEntityAccountIdentifier?: string;
25
+ parentEntityOrgIdentifier?: string;
26
+ parentEntityProjectIdentifier?: string;
27
+ repoName?: string;
28
+ serviceId?: string;
29
+ }
30
+ export type GetLastSuccessfulBuildArtifactoryArtifactWithYamlRequestBody = ArtifactoryRequestDtoRequestBody;
31
+ export type GetLastSuccessfulBuildArtifactoryArtifactWithYamlOkResponse = ResponseWithPagination<ResponseArtifactoryBuildDetailsDto>;
32
+ export type GetLastSuccessfulBuildArtifactoryArtifactWithYamlErrorResponse = Failure | Error;
33
+ export interface GetLastSuccessfulBuildArtifactoryArtifactWithYamlProps extends Omit<FetcherOptions<GetLastSuccessfulBuildArtifactoryArtifactWithYamlMutationQueryParams, GetLastSuccessfulBuildArtifactoryArtifactWithYamlRequestBody>, 'url'> {
34
+ queryParams: GetLastSuccessfulBuildArtifactoryArtifactWithYamlMutationQueryParams;
35
+ body: GetLastSuccessfulBuildArtifactoryArtifactWithYamlRequestBody;
36
+ }
37
+ export declare function getLastSuccessfulBuildArtifactoryArtifactWithYaml(props: GetLastSuccessfulBuildArtifactoryArtifactWithYamlProps): Promise<GetLastSuccessfulBuildArtifactoryArtifactWithYamlOkResponse>;
38
+ /**
39
+ *
40
+ */
41
+ export declare function useGetLastSuccessfulBuildArtifactoryArtifactWithYamlMutation(options?: Omit<UseMutationOptions<GetLastSuccessfulBuildArtifactoryArtifactWithYamlOkResponse, GetLastSuccessfulBuildArtifactoryArtifactWithYamlErrorResponse, GetLastSuccessfulBuildArtifactoryArtifactWithYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulBuildArtifactoryArtifactWithYamlOkResponse, GetLastSuccessfulBuildArtifactoryArtifactWithYamlErrorResponse, GetLastSuccessfulBuildArtifactoryArtifactWithYamlProps, 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 getLastSuccessfulBuildArtifactoryArtifactWithYaml(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/artifactory/getLastSuccessfulBuildV2`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetLastSuccessfulBuildArtifactoryArtifactWithYamlMutation(options) {
13
+ return useMutation((mutateProps) => getLastSuccessfulBuildArtifactoryArtifactWithYaml(mutateProps), options);
14
+ }
@@ -0,0 +1,40 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseAcrBuildDetailsDto } from '../schemas/ResponseAcrBuildDetailsDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { AcrRequestDtoRequestBody } from '../requestBodies/AcrRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetLastSuccessfulBuildForAcrArtifactWithYamlMutationQueryParams {
9
+ subscriptionId?: string;
10
+ registry?: string;
11
+ repository?: string;
12
+ connectorRef?: string;
13
+ accountIdentifier: string;
14
+ orgIdentifier?: string;
15
+ projectIdentifier?: string;
16
+ fqnPath: string;
17
+ serviceId?: string;
18
+ pipelineIdentifier?: string;
19
+ branch?: string;
20
+ repoIdentifier?: string;
21
+ getDefaultFromOtherRepo?: boolean;
22
+ parentEntityConnectorRef?: string;
23
+ parentEntityRepoName?: string;
24
+ parentEntityAccountIdentifier?: string;
25
+ parentEntityOrgIdentifier?: string;
26
+ parentEntityProjectIdentifier?: string;
27
+ repoName?: string;
28
+ }
29
+ export type GetLastSuccessfulBuildForAcrArtifactWithYamlRequestBody = AcrRequestDtoRequestBody;
30
+ export type GetLastSuccessfulBuildForAcrArtifactWithYamlOkResponse = ResponseWithPagination<ResponseAcrBuildDetailsDto>;
31
+ export type GetLastSuccessfulBuildForAcrArtifactWithYamlErrorResponse = Failure | Error;
32
+ export interface GetLastSuccessfulBuildForAcrArtifactWithYamlProps extends Omit<FetcherOptions<GetLastSuccessfulBuildForAcrArtifactWithYamlMutationQueryParams, GetLastSuccessfulBuildForAcrArtifactWithYamlRequestBody>, 'url'> {
33
+ queryParams: GetLastSuccessfulBuildForAcrArtifactWithYamlMutationQueryParams;
34
+ body: GetLastSuccessfulBuildForAcrArtifactWithYamlRequestBody;
35
+ }
36
+ export declare function getLastSuccessfulBuildForAcrArtifactWithYaml(props: GetLastSuccessfulBuildForAcrArtifactWithYamlProps): Promise<GetLastSuccessfulBuildForAcrArtifactWithYamlOkResponse>;
37
+ /**
38
+ *
39
+ */
40
+ export declare function useGetLastSuccessfulBuildForAcrArtifactWithYamlMutation(options?: Omit<UseMutationOptions<GetLastSuccessfulBuildForAcrArtifactWithYamlOkResponse, GetLastSuccessfulBuildForAcrArtifactWithYamlErrorResponse, GetLastSuccessfulBuildForAcrArtifactWithYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulBuildForAcrArtifactWithYamlOkResponse, GetLastSuccessfulBuildForAcrArtifactWithYamlErrorResponse, GetLastSuccessfulBuildForAcrArtifactWithYamlProps, 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 getLastSuccessfulBuildForAcrArtifactWithYaml(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/acr/getLastSuccessfulBuildV2`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetLastSuccessfulBuildForAcrArtifactWithYamlMutation(options) {
13
+ return useMutation((mutateProps) => getLastSuccessfulBuildForAcrArtifactWithYaml(mutateProps), options);
14
+ }
@@ -0,0 +1,39 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseEcrBuildDetailsDto } from '../schemas/ResponseEcrBuildDetailsDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { EcrRequestDtoRequestBody } from '../requestBodies/EcrRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetLastSuccessfulBuildForEcrWithYamlMutationQueryParams {
9
+ registryId?: string;
10
+ imagePath?: string;
11
+ connectorRef?: string;
12
+ accountIdentifier: string;
13
+ orgIdentifier?: string;
14
+ projectIdentifier?: string;
15
+ fqnPath: string;
16
+ serviceId?: string;
17
+ pipelineIdentifier?: 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 GetLastSuccessfulBuildForEcrWithYamlRequestBody = EcrRequestDtoRequestBody;
29
+ export type GetLastSuccessfulBuildForEcrWithYamlOkResponse = ResponseWithPagination<ResponseEcrBuildDetailsDto>;
30
+ export type GetLastSuccessfulBuildForEcrWithYamlErrorResponse = Failure | Error;
31
+ export interface GetLastSuccessfulBuildForEcrWithYamlProps extends Omit<FetcherOptions<GetLastSuccessfulBuildForEcrWithYamlMutationQueryParams, GetLastSuccessfulBuildForEcrWithYamlRequestBody>, 'url'> {
32
+ queryParams: GetLastSuccessfulBuildForEcrWithYamlMutationQueryParams;
33
+ body: GetLastSuccessfulBuildForEcrWithYamlRequestBody;
34
+ }
35
+ export declare function getLastSuccessfulBuildForEcrWithYaml(props: GetLastSuccessfulBuildForEcrWithYamlProps): Promise<GetLastSuccessfulBuildForEcrWithYamlOkResponse>;
36
+ /**
37
+ *
38
+ */
39
+ export declare function useGetLastSuccessfulBuildForEcrWithYamlMutation(options?: Omit<UseMutationOptions<GetLastSuccessfulBuildForEcrWithYamlOkResponse, GetLastSuccessfulBuildForEcrWithYamlErrorResponse, GetLastSuccessfulBuildForEcrWithYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulBuildForEcrWithYamlOkResponse, GetLastSuccessfulBuildForEcrWithYamlErrorResponse, GetLastSuccessfulBuildForEcrWithYamlProps, unknown>;