@harnessio/react-ng-manager-swagger-service-client 1.18.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.
- package/README.md +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useDeleteApiKeyMutation.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useDeleteTokenMutation.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAuthenticationSettingsV2Query.d.ts +17 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAuthenticationSettingsV2Query.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForAcrArtifactWithYamlMutation.d.ts +40 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForAcrArtifactWithYamlMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForArtifactoryArtifactWithYamlMutation.d.ts +43 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForArtifactoryArtifactWithYamlMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForEcrWithYamlMutation.d.ts +41 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForEcrWithYamlMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForGoogleArtifactRegistryV2Mutation.d.ts +43 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForGoogleArtifactRegistryV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForNexusArtifactWithYamlMutation.d.ts +48 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForNexusArtifactWithYamlMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetFilePathsV2ForS3Mutation.d.ts +41 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetFilePathsV2ForS3Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetImagePathsForArtifactoryV2Mutation.d.ts +42 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetImagePathsForArtifactoryV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetJobDetailsForJenkinsServiceV2Mutation.d.ts +38 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetJobDetailsForJenkinsServiceV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildArtifactoryArtifactWithYamlMutation.d.ts +41 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildArtifactoryArtifactWithYamlMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForAcrArtifactWithYamlMutation.d.ts +40 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForAcrArtifactWithYamlMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForEcrWithYamlMutation.d.ts +39 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/{useGetLastSuccessfulBuildForGcrMutation.js → useGetLastSuccessfulBuildForEcrWithYamlMutation.js} +4 -4
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryV2Mutation.d.ts +41 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulVersionWithServiceV2Mutation.d.ts +42 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulVersionWithServiceV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesForGoogleArtifactRegistryV2Mutation.d.ts +40 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesForGoogleArtifactRegistryV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesFromGithubWithServiceV2Mutation.d.ts +39 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesFromGithubWithServiceV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetVersionsFromPackagesWithServiceV2Mutation.d.ts +41 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetVersionsFromPackagesWithServiceV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useLinkToLdapGroupMutation.d.ts +29 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useLinkToLdapGroupMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useLinkToOidcGroupMutation.d.ts +29 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useLinkToOidcGroupMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useLinkToSamlGroupMutation.d.ts +29 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useLinkToSamlGroupMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListAggregatedApiKeysQuery.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useListAggregatedTokensQuery.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useListApiKeysQuery.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useRotateTokenMutation.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useSearchLdapGroupsQuery.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useSearchLdapGroupsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useUnlinkSsoGroupMutation.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useUnlinkSsoGroupMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +59 -6
- package/dist/ng-manager-swagger-service/src/services/index.js +22 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/AccessControlCheckError.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/ApiKeyDto.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/AuthenticationSettingsResponse.d.ts +17 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/Error.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/Failure.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/LdapGroupResponse.d.ts +13 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/LdapLinkGroupRequest.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/LdapUserResponse.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NgAuthSettings.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NgAuthSettings.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NgTag.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NgTag.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NotificationSettingConfig.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NotificationSettingConfig.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/OidcLinkGroupRequest.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/OidcLinkGroupRequest.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseMessage.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseAuthenticationSettingsResponse.d.ts +11 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseAuthenticationSettingsResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseCollectionLdapGroupResponse.d.ts +11 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseCollectionLdapGroupResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseUserGroup.d.ts +11 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseUserGroup.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/SamlLinkGroupRequest.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/SamlLinkGroupRequest.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ScopedResourceMetadata.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ScopedResourceMetadata.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ScopedResourcePermission.d.ts +7 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ScopedResourcePermission.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/TokenDto.d.ts +6 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroup.d.ts +37 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserGroup.js +1 -0
- package/package.json +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGcrMutation.d.ts +0 -26
- package/dist/ng-manager-swagger-service/src/services/requestBodies/GcrRequestDtoRequestBody.d.ts +0 -2
- package/dist/ng-manager-swagger-service/src/services/schemas/GcrBuildDetailsDto.d.ts +0 -11
- package/dist/ng-manager-swagger-service/src/services/schemas/GcrRequestDto.d.ts +0 -7
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcrBuildDetailsDto.d.ts +0 -9
- /package/dist/ng-manager-swagger-service/src/services/{requestBodies/GcrRequestDtoRequestBody.js → schemas/AuthenticationSettingsResponse.js} +0 -0
- /package/dist/ng-manager-swagger-service/src/services/schemas/{ResponseGcrBuildDetailsDto.js → LdapGroupResponse.js} +0 -0
- /package/dist/ng-manager-swagger-service/src/services/schemas/{GcrBuildDetailsDto.js → LdapLinkGroupRequest.js} +0 -0
- /package/dist/ng-manager-swagger-service/src/services/schemas/{GcrRequestDto.js → LdapUserResponse.js} +0 -0
|
@@ -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>;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
-
export function
|
|
7
|
-
return fetcher(Object.assign({ url: `/artifacts/
|
|
6
|
+
export function getLastSuccessfulBuildForEcrWithYaml(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/ecr/getLastSuccessfulBuildV2`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
|
-
export function
|
|
13
|
-
return useMutation((mutateProps) =>
|
|
12
|
+
export function useGetLastSuccessfulBuildForEcrWithYamlMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getLastSuccessfulBuildForEcrWithYaml(mutateProps), options);
|
|
14
14
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGarBuildDetailsDto } from '../schemas/ResponseGarBuildDetailsDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { GarRequestDtoRequestBody } from '../requestBodies/GarRequestDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetLastSuccessfulBuildForGoogleArtifactRegistryV2MutationQueryParams {
|
|
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
|
+
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 GetLastSuccessfulBuildForGoogleArtifactRegistryV2RequestBody = GarRequestDtoRequestBody;
|
|
31
|
+
export type GetLastSuccessfulBuildForGoogleArtifactRegistryV2OkResponse = ResponseWithPagination<ResponseGarBuildDetailsDto>;
|
|
32
|
+
export type GetLastSuccessfulBuildForGoogleArtifactRegistryV2ErrorResponse = Failure | Error;
|
|
33
|
+
export interface GetLastSuccessfulBuildForGoogleArtifactRegistryV2Props extends Omit<FetcherOptions<GetLastSuccessfulBuildForGoogleArtifactRegistryV2MutationQueryParams, GetLastSuccessfulBuildForGoogleArtifactRegistryV2RequestBody>, 'url'> {
|
|
34
|
+
queryParams: GetLastSuccessfulBuildForGoogleArtifactRegistryV2MutationQueryParams;
|
|
35
|
+
body: GetLastSuccessfulBuildForGoogleArtifactRegistryV2RequestBody;
|
|
36
|
+
}
|
|
37
|
+
export declare function getLastSuccessfulBuildForGoogleArtifactRegistryV2(props: GetLastSuccessfulBuildForGoogleArtifactRegistryV2Props): Promise<GetLastSuccessfulBuildForGoogleArtifactRegistryV2OkResponse>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export declare function useGetLastSuccessfulBuildForGoogleArtifactRegistryV2Mutation(options?: Omit<UseMutationOptions<GetLastSuccessfulBuildForGoogleArtifactRegistryV2OkResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryV2ErrorResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulBuildForGoogleArtifactRegistryV2OkResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryV2ErrorResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryV2Props, 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 getLastSuccessfulBuildForGoogleArtifactRegistryV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/gar/v2/getLastSuccessfulBuild`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetLastSuccessfulBuildForGoogleArtifactRegistryV2Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getLastSuccessfulBuildForGoogleArtifactRegistryV2(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseBuildDetails } from '../schemas/ResponseBuildDetails';
|
|
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 GetLastSuccessfulVersionWithServiceV2MutationQueryParams {
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
packageName?: string;
|
|
11
|
+
packageType?: string;
|
|
12
|
+
version?: string;
|
|
13
|
+
versionRegex?: string;
|
|
14
|
+
org?: string;
|
|
15
|
+
accountIdentifier: string;
|
|
16
|
+
orgIdentifier?: string;
|
|
17
|
+
projectIdentifier?: string;
|
|
18
|
+
pipelineIdentifier?: 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 GetLastSuccessfulVersionWithServiceV2RequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
32
|
+
export type GetLastSuccessfulVersionWithServiceV2OkResponse = ResponseWithPagination<ResponseBuildDetails>;
|
|
33
|
+
export type GetLastSuccessfulVersionWithServiceV2ErrorResponse = Failure | Error;
|
|
34
|
+
export interface GetLastSuccessfulVersionWithServiceV2Props extends Omit<FetcherOptions<GetLastSuccessfulVersionWithServiceV2MutationQueryParams, GetLastSuccessfulVersionWithServiceV2RequestBody>, 'url'> {
|
|
35
|
+
queryParams: GetLastSuccessfulVersionWithServiceV2MutationQueryParams;
|
|
36
|
+
body: GetLastSuccessfulVersionWithServiceV2RequestBody;
|
|
37
|
+
}
|
|
38
|
+
export declare function getLastSuccessfulVersionWithServiceV2(props: GetLastSuccessfulVersionWithServiceV2Props): Promise<GetLastSuccessfulVersionWithServiceV2OkResponse>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare function useGetLastSuccessfulVersionWithServiceV2Mutation(options?: Omit<UseMutationOptions<GetLastSuccessfulVersionWithServiceV2OkResponse, GetLastSuccessfulVersionWithServiceV2ErrorResponse, GetLastSuccessfulVersionWithServiceV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulVersionWithServiceV2OkResponse, GetLastSuccessfulVersionWithServiceV2ErrorResponse, GetLastSuccessfulVersionWithServiceV2Props, 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 getLastSuccessfulVersionWithServiceV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/githubpackages/v2/lastSuccessfulVersion`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetLastSuccessfulVersionWithServiceV2Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getLastSuccessfulVersionWithServiceV2(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGarPackageDtoList } from '../schemas/ResponseGarPackageDtoList';
|
|
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 GetPackagesForGoogleArtifactRegistryV2MutationQueryParams {
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
region?: string;
|
|
11
|
+
repositoryName?: string;
|
|
12
|
+
project?: string;
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
pipelineIdentifier?: string;
|
|
16
|
+
fqnPath: string;
|
|
17
|
+
serviceId?: string;
|
|
18
|
+
projectIdentifier?: 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 GetPackagesForGoogleArtifactRegistryV2RequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
30
|
+
export type GetPackagesForGoogleArtifactRegistryV2OkResponse = ResponseWithPagination<ResponseGarPackageDtoList>;
|
|
31
|
+
export type GetPackagesForGoogleArtifactRegistryV2ErrorResponse = Failure | Error;
|
|
32
|
+
export interface GetPackagesForGoogleArtifactRegistryV2Props extends Omit<FetcherOptions<GetPackagesForGoogleArtifactRegistryV2MutationQueryParams, GetPackagesForGoogleArtifactRegistryV2RequestBody>, 'url'> {
|
|
33
|
+
queryParams: GetPackagesForGoogleArtifactRegistryV2MutationQueryParams;
|
|
34
|
+
body: GetPackagesForGoogleArtifactRegistryV2RequestBody;
|
|
35
|
+
}
|
|
36
|
+
export declare function getPackagesForGoogleArtifactRegistryV2(props: GetPackagesForGoogleArtifactRegistryV2Props): Promise<GetPackagesForGoogleArtifactRegistryV2OkResponse>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
export declare function useGetPackagesForGoogleArtifactRegistryV2Mutation(options?: Omit<UseMutationOptions<GetPackagesForGoogleArtifactRegistryV2OkResponse, GetPackagesForGoogleArtifactRegistryV2ErrorResponse, GetPackagesForGoogleArtifactRegistryV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetPackagesForGoogleArtifactRegistryV2OkResponse, GetPackagesForGoogleArtifactRegistryV2ErrorResponse, GetPackagesForGoogleArtifactRegistryV2Props, 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 getPackagesForGoogleArtifactRegistryV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/gar/v2/getPackages`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetPackagesForGoogleArtifactRegistryV2Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getPackagesForGoogleArtifactRegistryV2(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGithubPackagesResponseDto } from '../schemas/ResponseGithubPackagesResponseDto';
|
|
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 GetPackagesFromGithubWithServiceV2MutationQueryParams {
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
packageType?: string;
|
|
11
|
+
org?: 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 GetPackagesFromGithubWithServiceV2RequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
29
|
+
export type GetPackagesFromGithubWithServiceV2OkResponse = ResponseWithPagination<ResponseGithubPackagesResponseDto>;
|
|
30
|
+
export type GetPackagesFromGithubWithServiceV2ErrorResponse = Failure | Error;
|
|
31
|
+
export interface GetPackagesFromGithubWithServiceV2Props extends Omit<FetcherOptions<GetPackagesFromGithubWithServiceV2MutationQueryParams, GetPackagesFromGithubWithServiceV2RequestBody>, 'url'> {
|
|
32
|
+
queryParams: GetPackagesFromGithubWithServiceV2MutationQueryParams;
|
|
33
|
+
body: GetPackagesFromGithubWithServiceV2RequestBody;
|
|
34
|
+
}
|
|
35
|
+
export declare function getPackagesFromGithubWithServiceV2(props: GetPackagesFromGithubWithServiceV2Props): Promise<GetPackagesFromGithubWithServiceV2OkResponse>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare function useGetPackagesFromGithubWithServiceV2Mutation(options?: Omit<UseMutationOptions<GetPackagesFromGithubWithServiceV2OkResponse, GetPackagesFromGithubWithServiceV2ErrorResponse, GetPackagesFromGithubWithServiceV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetPackagesFromGithubWithServiceV2OkResponse, GetPackagesFromGithubWithServiceV2ErrorResponse, GetPackagesFromGithubWithServiceV2Props, 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 getPackagesFromGithubWithServiceV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/githubpackages/v2/packages`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetPackagesFromGithubWithServiceV2Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getPackagesFromGithubWithServiceV2(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { ListTagsForAmiArtifactBodyRequestBody } from '../requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetVersionsFromPackagesWithServiceV2MutationQueryParams {
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
packageName?: string;
|
|
11
|
+
packageType?: string;
|
|
12
|
+
versionRegex?: string;
|
|
13
|
+
org?: 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 GetVersionsFromPackagesWithServiceV2RequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
31
|
+
export type GetVersionsFromPackagesWithServiceV2OkResponse = ResponseWithPagination<ResponseListBuildDetails>;
|
|
32
|
+
export type GetVersionsFromPackagesWithServiceV2ErrorResponse = Failure | Error;
|
|
33
|
+
export interface GetVersionsFromPackagesWithServiceV2Props extends Omit<FetcherOptions<GetVersionsFromPackagesWithServiceV2MutationQueryParams, GetVersionsFromPackagesWithServiceV2RequestBody>, 'url'> {
|
|
34
|
+
queryParams: GetVersionsFromPackagesWithServiceV2MutationQueryParams;
|
|
35
|
+
body: GetVersionsFromPackagesWithServiceV2RequestBody;
|
|
36
|
+
}
|
|
37
|
+
export declare function getVersionsFromPackagesWithServiceV2(props: GetVersionsFromPackagesWithServiceV2Props): Promise<GetVersionsFromPackagesWithServiceV2OkResponse>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export declare function useGetVersionsFromPackagesWithServiceV2Mutation(options?: Omit<UseMutationOptions<GetVersionsFromPackagesWithServiceV2OkResponse, GetVersionsFromPackagesWithServiceV2ErrorResponse, GetVersionsFromPackagesWithServiceV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetVersionsFromPackagesWithServiceV2OkResponse, GetVersionsFromPackagesWithServiceV2ErrorResponse, GetVersionsFromPackagesWithServiceV2Props, 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 getVersionsFromPackagesWithServiceV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/githubpackages/v2/versions`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetVersionsFromPackagesWithServiceV2Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getVersionsFromPackagesWithServiceV2(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RestResponseUserGroup } from '../schemas/RestResponseUserGroup';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
|
|
5
|
+
import type { Error } from '../schemas/Error';
|
|
6
|
+
import type { LdapLinkGroupRequest } from '../schemas/LdapLinkGroupRequest';
|
|
7
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
8
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
9
|
+
export interface LinkToLdapGroupMutationPathParams {
|
|
10
|
+
userGroupId: string;
|
|
11
|
+
ldapId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface LinkToLdapGroupMutationQueryParams {
|
|
14
|
+
accountIdentifier: string;
|
|
15
|
+
orgIdentifier?: string;
|
|
16
|
+
projectIdentifier?: string;
|
|
17
|
+
}
|
|
18
|
+
export type LinkToLdapGroupRequestBody = LdapLinkGroupRequest;
|
|
19
|
+
export type LinkToLdapGroupOkResponse = ResponseWithPagination<RestResponseUserGroup>;
|
|
20
|
+
export type LinkToLdapGroupErrorResponse = Failure | AccessControlCheckError | Error;
|
|
21
|
+
export interface LinkToLdapGroupProps extends LinkToLdapGroupMutationPathParams, Omit<FetcherOptions<LinkToLdapGroupMutationQueryParams, LinkToLdapGroupRequestBody>, 'url'> {
|
|
22
|
+
queryParams: LinkToLdapGroupMutationQueryParams;
|
|
23
|
+
body: LinkToLdapGroupRequestBody;
|
|
24
|
+
}
|
|
25
|
+
export declare function linkToLdapGroup(props: LinkToLdapGroupProps): Promise<LinkToLdapGroupOkResponse>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare function useLinkToLdapGroupMutation(options?: Omit<UseMutationOptions<LinkToLdapGroupOkResponse, LinkToLdapGroupErrorResponse, LinkToLdapGroupProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<LinkToLdapGroupOkResponse, LinkToLdapGroupErrorResponse, LinkToLdapGroupProps, 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 linkToLdapGroup(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/user-groups/${props.userGroupId}/link/ldap/${props.ldapId}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useLinkToLdapGroupMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => linkToLdapGroup(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RestResponseUserGroup } from '../schemas/RestResponseUserGroup';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
|
|
5
|
+
import type { Error } from '../schemas/Error';
|
|
6
|
+
import type { OidcLinkGroupRequest } from '../schemas/OidcLinkGroupRequest';
|
|
7
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
8
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
9
|
+
export interface LinkToOidcGroupMutationPathParams {
|
|
10
|
+
userGroupId: string;
|
|
11
|
+
providerId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface LinkToOidcGroupMutationQueryParams {
|
|
14
|
+
accountIdentifier: string;
|
|
15
|
+
orgIdentifier?: string;
|
|
16
|
+
projectIdentifier?: string;
|
|
17
|
+
}
|
|
18
|
+
export type LinkToOidcGroupRequestBody = OidcLinkGroupRequest;
|
|
19
|
+
export type LinkToOidcGroupOkResponse = ResponseWithPagination<RestResponseUserGroup>;
|
|
20
|
+
export type LinkToOidcGroupErrorResponse = Failure | AccessControlCheckError | Error;
|
|
21
|
+
export interface LinkToOidcGroupProps extends LinkToOidcGroupMutationPathParams, Omit<FetcherOptions<LinkToOidcGroupMutationQueryParams, LinkToOidcGroupRequestBody>, 'url'> {
|
|
22
|
+
queryParams: LinkToOidcGroupMutationQueryParams;
|
|
23
|
+
body: LinkToOidcGroupRequestBody;
|
|
24
|
+
}
|
|
25
|
+
export declare function linkToOidcGroup(props: LinkToOidcGroupProps): Promise<LinkToOidcGroupOkResponse>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare function useLinkToOidcGroupMutation(options?: Omit<UseMutationOptions<LinkToOidcGroupOkResponse, LinkToOidcGroupErrorResponse, LinkToOidcGroupProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<LinkToOidcGroupOkResponse, LinkToOidcGroupErrorResponse, LinkToOidcGroupProps, 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 linkToOidcGroup(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/user-groups/${props.userGroupId}/link/oidc/${props.providerId}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useLinkToOidcGroupMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => linkToOidcGroup(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RestResponseUserGroup } from '../schemas/RestResponseUserGroup';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
|
|
5
|
+
import type { Error } from '../schemas/Error';
|
|
6
|
+
import type { SamlLinkGroupRequest } from '../schemas/SamlLinkGroupRequest';
|
|
7
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
8
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
9
|
+
export interface LinkToSamlGroupMutationPathParams {
|
|
10
|
+
userGroupId: string;
|
|
11
|
+
samlId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface LinkToSamlGroupMutationQueryParams {
|
|
14
|
+
accountIdentifier: string;
|
|
15
|
+
orgIdentifier?: string;
|
|
16
|
+
projectIdentifier?: string;
|
|
17
|
+
}
|
|
18
|
+
export type LinkToSamlGroupRequestBody = SamlLinkGroupRequest;
|
|
19
|
+
export type LinkToSamlGroupOkResponse = ResponseWithPagination<RestResponseUserGroup>;
|
|
20
|
+
export type LinkToSamlGroupErrorResponse = Failure | AccessControlCheckError | Error;
|
|
21
|
+
export interface LinkToSamlGroupProps extends LinkToSamlGroupMutationPathParams, Omit<FetcherOptions<LinkToSamlGroupMutationQueryParams, LinkToSamlGroupRequestBody>, 'url'> {
|
|
22
|
+
queryParams: LinkToSamlGroupMutationQueryParams;
|
|
23
|
+
body: LinkToSamlGroupRequestBody;
|
|
24
|
+
}
|
|
25
|
+
export declare function linkToSamlGroup(props: LinkToSamlGroupProps): Promise<LinkToSamlGroupOkResponse>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare function useLinkToSamlGroupMutation(options?: Omit<UseMutationOptions<LinkToSamlGroupOkResponse, LinkToSamlGroupErrorResponse, LinkToSamlGroupProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<LinkToSamlGroupOkResponse, LinkToSamlGroupErrorResponse, LinkToSamlGroupProps, 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 linkToSamlGroup(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/user-groups/${props.userGroupId}/link/saml/${props.samlId}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useLinkToSamlGroupMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => linkToSamlGroup(mutateProps), options);
|
|
14
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/hooks/useListAggregatedApiKeysQuery.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface ListAggregatedApiKeysQueryQueryParams {
|
|
|
8
8
|
accountIdentifier: string;
|
|
9
9
|
orgIdentifier?: string;
|
|
10
10
|
projectIdentifier?: string;
|
|
11
|
-
apiKeyType: 'PGP_KEY' | 'SERVICE_ACCOUNT' | 'SSH_KEY' | 'USER';
|
|
11
|
+
apiKeyType: 'PGP_KEY' | 'SCOPED_TOKEN' | 'SERVICE_ACCOUNT' | 'SSH_KEY' | 'USER';
|
|
12
12
|
parentIdentifier: string;
|
|
13
13
|
identifiers?: string[];
|
|
14
14
|
/**
|
package/dist/ng-manager-swagger-service/src/services/hooks/useListAggregatedTokensQuery.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface ListAggregatedTokensQueryQueryParams {
|
|
|
8
8
|
accountIdentifier: string;
|
|
9
9
|
orgIdentifier?: string;
|
|
10
10
|
projectIdentifier?: string;
|
|
11
|
-
apiKeyType: 'PGP_KEY' | 'SERVICE_ACCOUNT' | 'SSH_KEY' | 'USER';
|
|
11
|
+
apiKeyType: 'PGP_KEY' | 'SCOPED_TOKEN' | 'SERVICE_ACCOUNT' | 'SSH_KEY' | 'USER';
|
|
12
12
|
parentIdentifier?: string;
|
|
13
13
|
apiKeyIdentifier?: string;
|
|
14
14
|
identifiers?: string[];
|
|
@@ -8,7 +8,7 @@ export interface ListApiKeysQueryQueryParams {
|
|
|
8
8
|
accountIdentifier: string;
|
|
9
9
|
orgIdentifier?: string;
|
|
10
10
|
projectIdentifier?: string;
|
|
11
|
-
apiKeyType: 'PGP_KEY' | 'SERVICE_ACCOUNT' | 'SSH_KEY' | 'USER';
|
|
11
|
+
apiKeyType: 'PGP_KEY' | 'SCOPED_TOKEN' | 'SERVICE_ACCOUNT' | 'SSH_KEY' | 'USER';
|
|
12
12
|
parentIdentifier: string;
|
|
13
13
|
identifiers?: string[];
|
|
14
14
|
}
|
|
@@ -15,7 +15,7 @@ export interface RotateTokenMutationQueryParams {
|
|
|
15
15
|
accountIdentifier: string;
|
|
16
16
|
orgIdentifier?: string;
|
|
17
17
|
projectIdentifier?: string;
|
|
18
|
-
apiKeyType: 'PGP_KEY' | 'SERVICE_ACCOUNT' | 'SSH_KEY' | 'USER';
|
|
18
|
+
apiKeyType: 'PGP_KEY' | 'SCOPED_TOKEN' | 'SERVICE_ACCOUNT' | 'SSH_KEY' | 'USER';
|
|
19
19
|
parentIdentifier: string;
|
|
20
20
|
apiKeyIdentifier: string;
|
|
21
21
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RestResponseCollectionLdapGroupResponse } from '../schemas/RestResponseCollectionLdapGroupResponse';
|
|
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 SearchLdapGroupsQueryPathParams {
|
|
8
|
+
ldapId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface SearchLdapGroupsQueryQueryParams {
|
|
11
|
+
accountIdentifier?: string;
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
}
|
|
16
|
+
export type SearchLdapGroupsOkResponse = ResponseWithPagination<RestResponseCollectionLdapGroupResponse>;
|
|
17
|
+
export type SearchLdapGroupsErrorResponse = Failure | Error;
|
|
18
|
+
export interface SearchLdapGroupsProps extends SearchLdapGroupsQueryPathParams, Omit<FetcherOptions<SearchLdapGroupsQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: SearchLdapGroupsQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function searchLdapGroups(props: SearchLdapGroupsProps): Promise<SearchLdapGroupsOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useSearchLdapGroupsQuery(props: SearchLdapGroupsProps, options?: Omit<UseQueryOptions<SearchLdapGroupsOkResponse, SearchLdapGroupsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SearchLdapGroupsOkResponse, SearchLdapGroupsErrorResponse>;
|
|
@@ -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 searchLdapGroups(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/ldap/${props.ldapId}/search/group`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useSearchLdapGroupsQuery(props, options) {
|
|
13
|
+
return useQuery(['searchLdapGroups', props.ldapId, props.queryParams], ({ signal }) => searchLdapGroups(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RestResponseUserGroup } from '../schemas/RestResponseUserGroup';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
|
|
5
|
+
import type { Error } from '../schemas/Error';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface UnlinkSsoGroupMutationPathParams {
|
|
9
|
+
userGroupId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UnlinkSsoGroupMutationQueryParams {
|
|
12
|
+
retainMembers?: boolean;
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
}
|
|
17
|
+
export type UnlinkSsoGroupOkResponse = ResponseWithPagination<RestResponseUserGroup>;
|
|
18
|
+
export type UnlinkSsoGroupErrorResponse = Failure | AccessControlCheckError | Error;
|
|
19
|
+
export interface UnlinkSsoGroupProps extends UnlinkSsoGroupMutationPathParams, Omit<FetcherOptions<UnlinkSsoGroupMutationQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: UnlinkSsoGroupMutationQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function unlinkSsoGroup(props: UnlinkSsoGroupProps): Promise<UnlinkSsoGroupOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare function useUnlinkSsoGroupMutation(options?: Omit<UseMutationOptions<UnlinkSsoGroupOkResponse, UnlinkSsoGroupErrorResponse, UnlinkSsoGroupProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UnlinkSsoGroupOkResponse, UnlinkSsoGroupErrorResponse, UnlinkSsoGroupProps, 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 unlinkSsoGroup(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/user-groups/${props.userGroupId}/unlink`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useUnlinkSsoGroupMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => unlinkSsoGroup(mutateProps), options);
|
|
14
|
+
}
|