@harnessio/react-ng-manager-swagger-service-client 1.37.0 → 1.39.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/useCreateSmtpConfigMutation.d.ts +22 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useCreateSmtpConfigMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useDeleteSmtpConfigMutation.d.ts +22 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useDeleteSmtpConfigMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAzureContainerAppsManagedEnvironmentsQuery.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAzureContainerAppsManagedEnvironmentsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetSmtpConfigQuery.d.ts +19 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetSmtpConfigQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useMoveProjectMutation.d.ts +18 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useMoveProjectMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateSmtpMutation.d.ts +22 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateSmtpMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useValidateConnectivityMutation.d.ts +23 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useValidateConnectivityMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useValidateNameMutation.d.ts +20 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useValidateNameMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +8 -0
- package/dist/ng-manager-swagger-service/src/services/requestBodies/NgSmtpDtoRequestBody.d.ts +2 -0
- package/dist/ng-manager-swagger-service/src/services/requestBodies/NgSmtpDtoRequestBody.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureContainerAppsManagedEnvironmentsDto.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureContainerAppsManagedEnvironmentsDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/LdapSettings.d.ts +2 -2
- package/dist/ng-manager-swagger-service/src/services/schemas/MoveProjectRequest.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/MoveProjectRequest.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NgSmtpDto.d.ts +7 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NgSmtpDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureContainerAppsManagedEnvironmentsDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureContainerAppsManagedEnvironmentsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseNgSmtpDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseNgSmtpDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseValidationResultDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseValidationResultDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/SmtpConfigDto.d.ts +13 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/SmtpConfigDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ValidationResultDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ValidationResultDto.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseNgSmtpDto } from '../schemas/ResponseNgSmtpDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { NgSmtpDtoRequestBody } from '../requestBodies/NgSmtpDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface CreateSmtpConfigMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type CreateSmtpConfigRequestBody = NgSmtpDtoRequestBody;
|
|
12
|
+
export type CreateSmtpConfigOkResponse = ResponseWithPagination<ResponseNgSmtpDto>;
|
|
13
|
+
export type CreateSmtpConfigErrorResponse = Failure | Error;
|
|
14
|
+
export interface CreateSmtpConfigProps extends Omit<FetcherOptions<CreateSmtpConfigMutationQueryParams, CreateSmtpConfigRequestBody>, 'url'> {
|
|
15
|
+
queryParams: CreateSmtpConfigMutationQueryParams;
|
|
16
|
+
body: CreateSmtpConfigRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function createSmtpConfig(props: CreateSmtpConfigProps): Promise<CreateSmtpConfigOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateSmtpConfigMutation(options?: Omit<UseMutationOptions<CreateSmtpConfigOkResponse, CreateSmtpConfigErrorResponse, CreateSmtpConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateSmtpConfigOkResponse, CreateSmtpConfigErrorResponse, CreateSmtpConfigProps, 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 createSmtpConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/smtpConfig`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateSmtpConfigMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createSmtpConfig(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseBoolean } from '../schemas/ResponseBoolean';
|
|
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 DeleteSmtpConfigMutationPathParams {
|
|
8
|
+
identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export interface DeleteSmtpConfigMutationQueryParams {
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type DeleteSmtpConfigOkResponse = ResponseWithPagination<ResponseBoolean>;
|
|
14
|
+
export type DeleteSmtpConfigErrorResponse = Failure | Error;
|
|
15
|
+
export interface DeleteSmtpConfigProps extends DeleteSmtpConfigMutationPathParams, Omit<FetcherOptions<DeleteSmtpConfigMutationQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: DeleteSmtpConfigMutationQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function deleteSmtpConfig(props: DeleteSmtpConfigProps): Promise<DeleteSmtpConfigOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteSmtpConfigMutation(options?: Omit<UseMutationOptions<DeleteSmtpConfigOkResponse, DeleteSmtpConfigErrorResponse, DeleteSmtpConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteSmtpConfigOkResponse, DeleteSmtpConfigErrorResponse, DeleteSmtpConfigProps, 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 deleteSmtpConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/smtpConfig/${props.identifier}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteSmtpConfigMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteSmtpConfig(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseAzureContainerAppsManagedEnvironmentsDto } from '../schemas/ResponseAzureContainerAppsManagedEnvironmentsDto';
|
|
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 GetAzureContainerAppsManagedEnvironmentsQueryQueryParams {
|
|
8
|
+
connectorRef?: string;
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
subscriptionId?: string;
|
|
13
|
+
resourceGroup?: string;
|
|
14
|
+
envId?: string;
|
|
15
|
+
infraDefinitionId?: string;
|
|
16
|
+
}
|
|
17
|
+
export type GetAzureContainerAppsManagedEnvironmentsOkResponse = ResponseWithPagination<ResponseAzureContainerAppsManagedEnvironmentsDto>;
|
|
18
|
+
export type GetAzureContainerAppsManagedEnvironmentsErrorResponse = Failure | Error;
|
|
19
|
+
export interface GetAzureContainerAppsManagedEnvironmentsProps extends Omit<FetcherOptions<GetAzureContainerAppsManagedEnvironmentsQueryQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: GetAzureContainerAppsManagedEnvironmentsQueryQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function getAzureContainerAppsManagedEnvironments(props: GetAzureContainerAppsManagedEnvironmentsProps): Promise<GetAzureContainerAppsManagedEnvironmentsOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare function useGetAzureContainerAppsManagedEnvironmentsQuery(props: GetAzureContainerAppsManagedEnvironmentsProps, options?: Omit<UseQueryOptions<GetAzureContainerAppsManagedEnvironmentsOkResponse, GetAzureContainerAppsManagedEnvironmentsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAzureContainerAppsManagedEnvironmentsOkResponse, GetAzureContainerAppsManagedEnvironmentsErrorResponse>;
|
|
@@ -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 getAzureContainerAppsManagedEnvironments(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/azure/containerAppsManagedEnvironments`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAzureContainerAppsManagedEnvironmentsQuery(props, options) {
|
|
13
|
+
return useQuery(['getAzureContainerAppsManagedEnvironments', props.queryParams], ({ signal }) => getAzureContainerAppsManagedEnvironments(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseNgSmtpDto } from '../schemas/ResponseNgSmtpDto';
|
|
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 GetSmtpConfigQueryQueryParams {
|
|
8
|
+
accountId?: string;
|
|
9
|
+
}
|
|
10
|
+
export type GetSmtpConfigOkResponse = ResponseWithPagination<ResponseNgSmtpDto>;
|
|
11
|
+
export type GetSmtpConfigErrorResponse = Failure | Error;
|
|
12
|
+
export interface GetSmtpConfigProps extends Omit<FetcherOptions<GetSmtpConfigQueryQueryParams, unknown>, 'url'> {
|
|
13
|
+
queryParams: GetSmtpConfigQueryQueryParams;
|
|
14
|
+
}
|
|
15
|
+
export declare function getSmtpConfig(props: GetSmtpConfigProps): Promise<GetSmtpConfigOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGetSmtpConfigQuery(props: GetSmtpConfigProps, options?: Omit<UseQueryOptions<GetSmtpConfigOkResponse, GetSmtpConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetSmtpConfigOkResponse, GetSmtpConfigErrorResponse>;
|
|
@@ -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 getSmtpConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/smtpConfig`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetSmtpConfigQuery(props, options) {
|
|
13
|
+
return useQuery(['getSmtpConfig', props.queryParams], ({ signal }) => getSmtpConfig(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseBoolean } from '../schemas/ResponseBoolean';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { MoveProjectRequest } from '../schemas/MoveProjectRequest';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export type MoveProjectRequestBody = MoveProjectRequest;
|
|
9
|
+
export type MoveProjectOkResponse = ResponseWithPagination<ResponseBoolean>;
|
|
10
|
+
export type MoveProjectErrorResponse = Failure | Error;
|
|
11
|
+
export interface MoveProjectProps extends Omit<FetcherOptions<unknown, MoveProjectRequestBody>, 'url'> {
|
|
12
|
+
body: MoveProjectRequestBody;
|
|
13
|
+
}
|
|
14
|
+
export declare function moveProject(props: MoveProjectProps): Promise<MoveProjectOkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export declare function useMoveProjectMutation(options?: Omit<UseMutationOptions<MoveProjectOkResponse, MoveProjectErrorResponse, MoveProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<MoveProjectOkResponse, MoveProjectErrorResponse, MoveProjectProps, 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 moveProject(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/projects/move`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useMoveProjectMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => moveProject(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseNgSmtpDto } from '../schemas/ResponseNgSmtpDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { NgSmtpDtoRequestBody } from '../requestBodies/NgSmtpDtoRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface UpdateSmtpMutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type UpdateSmtpRequestBody = NgSmtpDtoRequestBody;
|
|
12
|
+
export type UpdateSmtpOkResponse = ResponseWithPagination<ResponseNgSmtpDto>;
|
|
13
|
+
export type UpdateSmtpErrorResponse = Failure | Error;
|
|
14
|
+
export interface UpdateSmtpProps extends Omit<FetcherOptions<UpdateSmtpMutationQueryParams, UpdateSmtpRequestBody>, 'url'> {
|
|
15
|
+
queryParams: UpdateSmtpMutationQueryParams;
|
|
16
|
+
body: UpdateSmtpRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function updateSmtp(props: UpdateSmtpProps): Promise<UpdateSmtpOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateSmtpMutation(options?: Omit<UseMutationOptions<UpdateSmtpOkResponse, UpdateSmtpErrorResponse, UpdateSmtpProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateSmtpOkResponse, UpdateSmtpErrorResponse, UpdateSmtpProps, 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 updateSmtp(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/smtpConfig`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateSmtpMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateSmtp(mutateProps), options);
|
|
14
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/hooks/useValidateConnectivityMutation.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseValidationResultDto } from '../schemas/ResponseValidationResultDto';
|
|
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 ValidateConnectivityMutationQueryParams {
|
|
8
|
+
identifier: string;
|
|
9
|
+
accountId: string;
|
|
10
|
+
to: string;
|
|
11
|
+
subject: string;
|
|
12
|
+
body: string;
|
|
13
|
+
}
|
|
14
|
+
export type ValidateConnectivityOkResponse = ResponseWithPagination<ResponseValidationResultDto>;
|
|
15
|
+
export type ValidateConnectivityErrorResponse = Failure | Error;
|
|
16
|
+
export interface ValidateConnectivityProps extends Omit<FetcherOptions<ValidateConnectivityMutationQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: ValidateConnectivityMutationQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function validateConnectivity(props: ValidateConnectivityProps): Promise<ValidateConnectivityOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare function useValidateConnectivityMutation(options?: Omit<UseMutationOptions<ValidateConnectivityOkResponse, ValidateConnectivityErrorResponse, ValidateConnectivityProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateConnectivityOkResponse, ValidateConnectivityErrorResponse, ValidateConnectivityProps, 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 validateConnectivity(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/smtpConfig/validate-connectivity`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useValidateConnectivityMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => validateConnectivity(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseValidationResultDto } from '../schemas/ResponseValidationResultDto';
|
|
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 ValidateNameMutationQueryParams {
|
|
8
|
+
name?: string;
|
|
9
|
+
accountId?: string;
|
|
10
|
+
}
|
|
11
|
+
export type ValidateNameOkResponse = ResponseWithPagination<ResponseValidationResultDto>;
|
|
12
|
+
export type ValidateNameErrorResponse = Failure | Error;
|
|
13
|
+
export interface ValidateNameProps extends Omit<FetcherOptions<ValidateNameMutationQueryParams, unknown>, 'url'> {
|
|
14
|
+
queryParams: ValidateNameMutationQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function validateName(props: ValidateNameProps): Promise<ValidateNameOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare function useValidateNameMutation(options?: Omit<UseMutationOptions<ValidateNameOkResponse, ValidateNameErrorResponse, ValidateNameProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateNameOkResponse, ValidateNameErrorResponse, ValidateNameProps, 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 validateName(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/smtpConfig/validateName`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useValidateNameMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => validateName(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -31,6 +31,8 @@ export type { CreateProviderErrorResponse, CreateProviderMutationQueryParams, Cr
|
|
|
31
31
|
export { createProvider, useCreateProviderMutation } from './hooks/useCreateProviderMutation';
|
|
32
32
|
export type { CreateServiceV2ErrorResponse, CreateServiceV2MutationQueryParams, CreateServiceV2OkResponse, CreateServiceV2Props, CreateServiceV2RequestBody, } from './hooks/useCreateServiceV2Mutation';
|
|
33
33
|
export { createServiceV2, useCreateServiceV2Mutation } from './hooks/useCreateServiceV2Mutation';
|
|
34
|
+
export type { CreateSmtpConfigErrorResponse, CreateSmtpConfigMutationQueryParams, CreateSmtpConfigOkResponse, CreateSmtpConfigProps, CreateSmtpConfigRequestBody, } from './hooks/useCreateSmtpConfigMutation';
|
|
35
|
+
export { createSmtpConfig, useCreateSmtpConfigMutation } from './hooks/useCreateSmtpConfigMutation';
|
|
34
36
|
export type { CreateTokenErrorResponse, CreateTokenMutationQueryParams, CreateTokenOkResponse, CreateTokenProps, CreateTokenRequestBody, } from './hooks/useCreateTokenMutation';
|
|
35
37
|
export { createToken, useCreateTokenMutation } from './hooks/useCreateTokenMutation';
|
|
36
38
|
export type { CreateUserErrorResponse, CreateUserOkResponse, CreateUserProps, CreateUserRequestBody, } from './hooks/useCreateUserMutation';
|
|
@@ -45,6 +47,8 @@ export type { DeleteLdapSettingsErrorResponse, DeleteLdapSettingsMutationQueryPa
|
|
|
45
47
|
export { deleteLdapSettings, useDeleteLdapSettingsMutation, } from './hooks/useDeleteLdapSettingsMutation';
|
|
46
48
|
export type { DeleteServiceV2ErrorResponse, DeleteServiceV2MutationPathParams, DeleteServiceV2MutationQueryParams, DeleteServiceV2OkResponse, DeleteServiceV2Props, } from './hooks/useDeleteServiceV2Mutation';
|
|
47
49
|
export { deleteServiceV2, useDeleteServiceV2Mutation } from './hooks/useDeleteServiceV2Mutation';
|
|
50
|
+
export type { DeleteSmtpConfigErrorResponse, DeleteSmtpConfigMutationPathParams, DeleteSmtpConfigMutationQueryParams, DeleteSmtpConfigOkResponse, DeleteSmtpConfigProps, } from './hooks/useDeleteSmtpConfigMutation';
|
|
51
|
+
export { deleteSmtpConfig, useDeleteSmtpConfigMutation } from './hooks/useDeleteSmtpConfigMutation';
|
|
48
52
|
export type { DeleteTokenErrorResponse, DeleteTokenMutationPathParams, DeleteTokenMutationQueryParams, DeleteTokenOkResponse, DeleteTokenProps, } from './hooks/useDeleteTokenMutation';
|
|
49
53
|
export { deleteToken, useDeleteTokenMutation } from './hooks/useDeleteTokenMutation';
|
|
50
54
|
export type { DeleteUserSourceCodeManagerErrorResponse, DeleteUserSourceCodeManagerMutationQueryParams, DeleteUserSourceCodeManagerOkResponse, DeleteUserSourceCodeManagerProps, } from './hooks/useDeleteUserSourceCodeManagerMutation';
|
|
@@ -73,6 +77,8 @@ export type { GetAuthenticationSettingsV2ErrorResponse, GetAuthenticationSetting
|
|
|
73
77
|
export { getAuthenticationSettingsV2, useGetAuthenticationSettingsV2Query, } from './hooks/useGetAuthenticationSettingsV2Query';
|
|
74
78
|
export type { GetAzureClustersErrorResponse, GetAzureClustersOkResponse, GetAzureClustersProps, GetAzureClustersQueryPathParams, GetAzureClustersQueryQueryParams, } from './hooks/useGetAzureClustersQuery';
|
|
75
79
|
export { getAzureClusters, useGetAzureClustersQuery } from './hooks/useGetAzureClustersQuery';
|
|
80
|
+
export type { GetAzureContainerAppsManagedEnvironmentsErrorResponse, GetAzureContainerAppsManagedEnvironmentsOkResponse, GetAzureContainerAppsManagedEnvironmentsProps, GetAzureContainerAppsManagedEnvironmentsQueryQueryParams, } from './hooks/useGetAzureContainerAppsManagedEnvironmentsQuery';
|
|
81
|
+
export { getAzureContainerAppsManagedEnvironments, useGetAzureContainerAppsManagedEnvironmentsQuery, } from './hooks/useGetAzureContainerAppsManagedEnvironmentsQuery';
|
|
76
82
|
export type { GetAzureResourceGroupsBySubscriptionErrorResponse, GetAzureResourceGroupsBySubscriptionOkResponse, GetAzureResourceGroupsBySubscriptionProps, GetAzureResourceGroupsBySubscriptionQueryPathParams, GetAzureResourceGroupsBySubscriptionQueryQueryParams, } from './hooks/useGetAzureResourceGroupsBySubscriptionQuery';
|
|
77
83
|
export { getAzureResourceGroupsBySubscription, useGetAzureResourceGroupsBySubscriptionQuery, } from './hooks/useGetAzureResourceGroupsBySubscriptionQuery';
|
|
78
84
|
export type { GetAzureSubscriptionsForAcrArtifactWithYamlErrorResponse, GetAzureSubscriptionsForAcrArtifactWithYamlMutationQueryParams, GetAzureSubscriptionsForAcrArtifactWithYamlOkResponse, GetAzureSubscriptionsForAcrArtifactWithYamlProps, GetAzureSubscriptionsForAcrArtifactWithYamlRequestBody, } from './hooks/useGetAzureSubscriptionsForAcrArtifactWithYamlMutation';
|
|
@@ -267,6 +273,8 @@ export type { GetServicesListErrorResponse, GetServicesListOkResponse, GetServic
|
|
|
267
273
|
export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
|
|
268
274
|
export type { GetServicesYamlAndRuntimeInputsV2ErrorResponse, GetServicesYamlAndRuntimeInputsV2MutationQueryParams, GetServicesYamlAndRuntimeInputsV2OkResponse, GetServicesYamlAndRuntimeInputsV2Props, GetServicesYamlAndRuntimeInputsV2RequestBody, } from './hooks/useGetServicesYamlAndRuntimeInputsV2Mutation';
|
|
269
275
|
export { getServicesYamlAndRuntimeInputsV2, useGetServicesYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetServicesYamlAndRuntimeInputsV2Mutation';
|
|
276
|
+
export type { GetSmtpConfigErrorResponse, GetSmtpConfigOkResponse, GetSmtpConfigProps, GetSmtpConfigQueryQueryParams, } from './hooks/useGetSmtpConfigQuery';
|
|
277
|
+
export { getSmtpConfig, useGetSmtpConfigQuery } from './hooks/useGetSmtpConfigQuery';
|
|
270
278
|
export type { GetSubscriptionTagsErrorResponse, GetSubscriptionTagsOkResponse, GetSubscriptionTagsProps, GetSubscriptionTagsQueryPathParams, GetSubscriptionTagsQueryQueryParams, } from './hooks/useGetSubscriptionTagsQuery';
|
|
271
279
|
export { getSubscriptionTags, useGetSubscriptionTagsQuery, } from './hooks/useGetSubscriptionTagsQuery';
|
|
272
280
|
export type { GetTokenErrorResponse, GetTokenOkResponse, GetTokenProps, GetTokenQueryQueryParams, } from './hooks/useGetTokenQuery';
|
|
@@ -341,6 +349,8 @@ export type { ListVersionsForAmiArtifactErrorResponse, ListVersionsForAmiArtifac
|
|
|
341
349
|
export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } from './hooks/useListVersionsForAmiArtifactMutation';
|
|
342
350
|
export type { ListVersionsFromPackageWithServiceV2ErrorResponse, ListVersionsFromPackageWithServiceV2MutationQueryParams, ListVersionsFromPackageWithServiceV2OkResponse, ListVersionsFromPackageWithServiceV2Props, ListVersionsFromPackageWithServiceV2RequestBody, } from './hooks/useListVersionsFromPackageWithServiceV2Mutation';
|
|
343
351
|
export { listVersionsFromPackageWithServiceV2, useListVersionsFromPackageWithServiceV2Mutation, } from './hooks/useListVersionsFromPackageWithServiceV2Mutation';
|
|
352
|
+
export type { MoveProjectErrorResponse, MoveProjectOkResponse, MoveProjectProps, MoveProjectRequestBody, } from './hooks/useMoveProjectMutation';
|
|
353
|
+
export { moveProject, useMoveProjectMutation } from './hooks/useMoveProjectMutation';
|
|
344
354
|
export type { PostLdapAuthenticationTestErrorResponse, PostLdapAuthenticationTestMutationQueryParams, PostLdapAuthenticationTestOkResponse, PostLdapAuthenticationTestProps, PostLdapAuthenticationTestRequestBody, } from './hooks/usePostLdapAuthenticationTestMutation';
|
|
345
355
|
export { postLdapAuthenticationTest, usePostLdapAuthenticationTestMutation, } from './hooks/usePostLdapAuthenticationTestMutation';
|
|
346
356
|
export type { PostOrganizationErrorResponse, PostOrganizationMutationQueryParams, PostOrganizationOkResponse, PostOrganizationProps, PostOrganizationRequestBody, } from './hooks/usePostOrganizationMutation';
|
|
@@ -381,6 +391,8 @@ export type { UpdateLdapSettingsErrorResponse, UpdateLdapSettingsMutationQueryPa
|
|
|
381
391
|
export { updateLdapSettings, useUpdateLdapSettingsMutation, } from './hooks/useUpdateLdapSettingsMutation';
|
|
382
392
|
export type { UpdateServiceV2ErrorResponse, UpdateServiceV2MutationQueryParams, UpdateServiceV2OkResponse, UpdateServiceV2Props, UpdateServiceV2RequestBody, } from './hooks/useUpdateServiceV2Mutation';
|
|
383
393
|
export { updateServiceV2, useUpdateServiceV2Mutation } from './hooks/useUpdateServiceV2Mutation';
|
|
394
|
+
export type { UpdateSmtpErrorResponse, UpdateSmtpMutationQueryParams, UpdateSmtpOkResponse, UpdateSmtpProps, UpdateSmtpRequestBody, } from './hooks/useUpdateSmtpMutation';
|
|
395
|
+
export { updateSmtp, useUpdateSmtpMutation } from './hooks/useUpdateSmtpMutation';
|
|
384
396
|
export type { UpdateTokenErrorResponse, UpdateTokenMutationPathParams, UpdateTokenMutationQueryParams, UpdateTokenOkResponse, UpdateTokenProps, UpdateTokenRequestBody, } from './hooks/useUpdateTokenMutation';
|
|
385
397
|
export { updateToken, useUpdateTokenMutation } from './hooks/useUpdateTokenMutation';
|
|
386
398
|
export type { UpdateUserInfoErrorResponse, UpdateUserInfoMutationQueryParams, UpdateUserInfoOkResponse, UpdateUserInfoProps, UpdateUserInfoRequestBody, } from './hooks/useUpdateUserInfoMutation';
|
|
@@ -389,6 +401,8 @@ export type { UpdateUserSourceCodeManagerErrorResponse, UpdateUserSourceCodeMana
|
|
|
389
401
|
export { updateUserSourceCodeManager, useUpdateUserSourceCodeManagerMutation, } from './hooks/useUpdateUserSourceCodeManagerMutation';
|
|
390
402
|
export type { UpdateVariableErrorResponse, UpdateVariableMutationQueryParams, UpdateVariableOkResponse, UpdateVariableProps, UpdateVariableRequestBody, } from './hooks/useUpdateVariableMutation';
|
|
391
403
|
export { updateVariable, useUpdateVariableMutation } from './hooks/useUpdateVariableMutation';
|
|
404
|
+
export type { ValidateConnectivityErrorResponse, ValidateConnectivityMutationQueryParams, ValidateConnectivityOkResponse, ValidateConnectivityProps, } from './hooks/useValidateConnectivityMutation';
|
|
405
|
+
export { useValidateConnectivityMutation, validateConnectivity, } from './hooks/useValidateConnectivityMutation';
|
|
392
406
|
export type { ValidateJiraCredentialsErrorResponse, ValidateJiraCredentialsOkResponse, ValidateJiraCredentialsProps, ValidateJiraCredentialsQueryQueryParams, } from './hooks/useValidateJiraCredentialsQuery';
|
|
393
407
|
export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
|
|
394
408
|
export type { ValidateLdapConnectionSettingsErrorResponse, ValidateLdapConnectionSettingsMutationQueryParams, ValidateLdapConnectionSettingsOkResponse, ValidateLdapConnectionSettingsProps, ValidateLdapConnectionSettingsRequestBody, } from './hooks/useValidateLdapConnectionSettingsMutation';
|
|
@@ -397,6 +411,8 @@ export type { ValidateLdapGroupSettingsErrorResponse, ValidateLdapGroupSettingsM
|
|
|
397
411
|
export { useValidateLdapGroupSettingsMutation, validateLdapGroupSettings, } from './hooks/useValidateLdapGroupSettingsMutation';
|
|
398
412
|
export type { ValidateLdapUserSettingsErrorResponse, ValidateLdapUserSettingsMutationQueryParams, ValidateLdapUserSettingsOkResponse, ValidateLdapUserSettingsProps, ValidateLdapUserSettingsRequestBody, } from './hooks/useValidateLdapUserSettingsMutation';
|
|
399
413
|
export { useValidateLdapUserSettingsMutation, validateLdapUserSettings, } from './hooks/useValidateLdapUserSettingsMutation';
|
|
414
|
+
export type { ValidateNameErrorResponse, ValidateNameMutationQueryParams, ValidateNameOkResponse, ValidateNameProps, } from './hooks/useValidateNameMutation';
|
|
415
|
+
export { useValidateNameMutation, validateName } from './hooks/useValidateNameMutation';
|
|
400
416
|
export type { VpcsErrorResponse, VpcsOkResponse, VpcsProps, VpcsQueryQueryParams, } from './hooks/useVpcsQuery';
|
|
401
417
|
export { useVpcsQuery, vpcs } from './hooks/useVpcsQuery';
|
|
402
418
|
export type { AcrRequestDtoRequestBody } from './requestBodies/AcrRequestDtoRequestBody';
|
|
@@ -413,6 +429,7 @@ export type { LdapSettingsDtoRequestBody } from './requestBodies/LdapSettingsDto
|
|
|
413
429
|
export type { LdapSettingsRequestBody } from './requestBodies/LdapSettingsRequestBody';
|
|
414
430
|
export type { ListTagsForAmiArtifactBodyRequestBody } from './requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
415
431
|
export type { NexusRequestDtoRequestBody } from './requestBodies/NexusRequestDtoRequestBody';
|
|
432
|
+
export type { NgSmtpDtoRequestBody } from './requestBodies/NgSmtpDtoRequestBody';
|
|
416
433
|
export type { OrganizationRequestRequestBody } from './requestBodies/OrganizationRequestRequestBody';
|
|
417
434
|
export type { ProjectRequestRequestBody } from './requestBodies/ProjectRequestRequestBody';
|
|
418
435
|
export type { ServiceRequestDtoRequestBody } from './requestBodies/ServiceRequestDtoRequestBody';
|
|
@@ -449,6 +466,7 @@ export type { AzureArtifactsFeed } from './schemas/AzureArtifactsFeed';
|
|
|
449
466
|
export type { AzureArtifactsPackage } from './schemas/AzureArtifactsPackage';
|
|
450
467
|
export type { AzureClusterDto } from './schemas/AzureClusterDto';
|
|
451
468
|
export type { AzureClustersDto } from './schemas/AzureClustersDto';
|
|
469
|
+
export type { AzureContainerAppsManagedEnvironmentsDto } from './schemas/AzureContainerAppsManagedEnvironmentsDto';
|
|
452
470
|
export type { AzureDevopsProject } from './schemas/AzureDevopsProject';
|
|
453
471
|
export type { AzureResourceGroupDto } from './schemas/AzureResourceGroupDto';
|
|
454
472
|
export type { AzureResourceGroupsDto } from './schemas/AzureResourceGroupsDto';
|
|
@@ -572,6 +590,7 @@ export type { LdapUserResponse } from './schemas/LdapUserResponse';
|
|
|
572
590
|
export type { LdapUserSettings } from './schemas/LdapUserSettings';
|
|
573
591
|
export type { LoginSettingsDto } from './schemas/LoginSettingsDto';
|
|
574
592
|
export type { McpToolInfo } from './schemas/McpToolInfo';
|
|
593
|
+
export type { MoveProjectRequest } from './schemas/MoveProjectRequest';
|
|
575
594
|
export type { NameValuePair } from './schemas/NameValuePair';
|
|
576
595
|
export type { NexusBuildDetailsDto } from './schemas/NexusBuildDetailsDto';
|
|
577
596
|
export type { NexusRepositories } from './schemas/NexusRepositories';
|
|
@@ -579,6 +598,7 @@ export type { NexusRequestDto } from './schemas/NexusRequestDto';
|
|
|
579
598
|
export type { NexusResponseDto } from './schemas/NexusResponseDto';
|
|
580
599
|
export type { NgAuthSettings } from './schemas/NgAuthSettings';
|
|
581
600
|
export type { NgLdapSettingsWithEncryptedDataDetails } from './schemas/NgLdapSettingsWithEncryptedDataDetails';
|
|
601
|
+
export type { NgSmtpDto } from './schemas/NgSmtpDto';
|
|
582
602
|
export type { NgTag } from './schemas/NgTag';
|
|
583
603
|
export type { NgVariable } from './schemas/NgVariable';
|
|
584
604
|
export type { NotificationSettingConfig } from './schemas/NotificationSettingConfig';
|
|
@@ -629,6 +649,7 @@ export type { ResponseArtifactoryImagePathsDto } from './schemas/ResponseArtifac
|
|
|
629
649
|
export type { ResponseArtifactoryRepoDetailsDto } from './schemas/ResponseArtifactoryRepoDetailsDto';
|
|
630
650
|
export type { ResponseArtifactoryResponseDto } from './schemas/ResponseArtifactoryResponseDto';
|
|
631
651
|
export type { ResponseAzureClustersDto } from './schemas/ResponseAzureClustersDto';
|
|
652
|
+
export type { ResponseAzureContainerAppsManagedEnvironmentsDto } from './schemas/ResponseAzureContainerAppsManagedEnvironmentsDto';
|
|
632
653
|
export type { ResponseAzureResourceGroupsDto } from './schemas/ResponseAzureResourceGroupsDto';
|
|
633
654
|
export type { ResponseAzureSubscriptionsDto } from './schemas/ResponseAzureSubscriptionsDto';
|
|
634
655
|
export type { ResponseAzureTagsDto } from './schemas/ResponseAzureTagsDto';
|
|
@@ -694,6 +715,7 @@ export type { ResponseMapStringString } from './schemas/ResponseMapStringString'
|
|
|
694
715
|
export type { ResponseMessage } from './schemas/ResponseMessage';
|
|
695
716
|
export type { ResponseNexusBuildDetailsDto } from './schemas/ResponseNexusBuildDetailsDto';
|
|
696
717
|
export type { ResponseNexusResponseDto } from './schemas/ResponseNexusResponseDto';
|
|
718
|
+
export type { ResponseNgSmtpDto } from './schemas/ResponseNgSmtpDto';
|
|
697
719
|
export type { ResponseOrganizationResponse } from './schemas/ResponseOrganizationResponse';
|
|
698
720
|
export type { ResponsePageApiKeyAggregateDto } from './schemas/ResponsePageApiKeyAggregateDto';
|
|
699
721
|
export type { ResponsePageConnectorResponse } from './schemas/ResponsePageConnectorResponse';
|
|
@@ -728,6 +750,7 @@ export type { ResponseUserGroupDto } from './schemas/ResponseUserGroupDto';
|
|
|
728
750
|
export type { ResponseUserInfo } from './schemas/ResponseUserInfo';
|
|
729
751
|
export type { ResponseUserSourceCodeManagerResponseDto } from './schemas/ResponseUserSourceCodeManagerResponseDto';
|
|
730
752
|
export type { ResponseUserSourceCodeManagerResponseDtoList } from './schemas/ResponseUserSourceCodeManagerResponseDtoList';
|
|
753
|
+
export type { ResponseValidationResultDto } from './schemas/ResponseValidationResultDto';
|
|
731
754
|
export type { ResponseVariableResponseDto } from './schemas/ResponseVariableResponseDto';
|
|
732
755
|
export type { RestResponseAuthenticationSettingsResponse } from './schemas/RestResponseAuthenticationSettingsResponse';
|
|
733
756
|
export type { RestResponseBoolean } from './schemas/RestResponseBoolean';
|
|
@@ -770,6 +793,7 @@ export type { ServicesV2YamlMetadataDto } from './schemas/ServicesV2YamlMetadata
|
|
|
770
793
|
export type { ServicesYamlMetadataApiInputV2 } from './schemas/ServicesYamlMetadataApiInputV2';
|
|
771
794
|
export type { SetupUsageDetail } from './schemas/SetupUsageDetail';
|
|
772
795
|
export type { ShouldDisableDeploymentFreezeResponseDto } from './schemas/ShouldDisableDeploymentFreezeResponseDto';
|
|
796
|
+
export type { SmtpConfigDto } from './schemas/SmtpConfigDto';
|
|
773
797
|
export type { SourceEnvironmentConfig } from './schemas/SourceEnvironmentConfig';
|
|
774
798
|
export type { SourceServiceConfig } from './schemas/SourceServiceConfig';
|
|
775
799
|
export type { SsoSettingsDto } from './schemas/SsoSettingsDto';
|
|
@@ -795,6 +819,7 @@ export type { UserSourceCodeManagerResponseDto } from './schemas/UserSourceCodeM
|
|
|
795
819
|
export type { UserSourceCodeManagerResponseDtoList } from './schemas/UserSourceCodeManagerResponseDtoList';
|
|
796
820
|
export type { UtmInfo } from './schemas/UtmInfo';
|
|
797
821
|
export type { ValidationError } from './schemas/ValidationError';
|
|
822
|
+
export type { ValidationResultDto } from './schemas/ValidationResultDto';
|
|
798
823
|
export type { VariableConfigDto } from './schemas/VariableConfigDto';
|
|
799
824
|
export type { VariableDto } from './schemas/VariableDto';
|
|
800
825
|
export type { VariableRequestDto } from './schemas/VariableRequestDto';
|
|
@@ -14,6 +14,7 @@ export { createKey, useCreateKeyMutation } from './hooks/useCreateKeyMutation';
|
|
|
14
14
|
export { createLdapSettings, useCreateLdapSettingsMutation, } from './hooks/useCreateLdapSettingsMutation';
|
|
15
15
|
export { createProvider, useCreateProviderMutation } from './hooks/useCreateProviderMutation';
|
|
16
16
|
export { createServiceV2, useCreateServiceV2Mutation } from './hooks/useCreateServiceV2Mutation';
|
|
17
|
+
export { createSmtpConfig, useCreateSmtpConfigMutation } from './hooks/useCreateSmtpConfigMutation';
|
|
17
18
|
export { createToken, useCreateTokenMutation } from './hooks/useCreateTokenMutation';
|
|
18
19
|
export { createUser, useCreateUserMutation } from './hooks/useCreateUserMutation';
|
|
19
20
|
export { createVariable, useCreateVariableMutation } from './hooks/useCreateVariableMutation';
|
|
@@ -21,6 +22,7 @@ export { deleteApiKey, useDeleteApiKeyMutation } from './hooks/useDeleteApiKeyMu
|
|
|
21
22
|
export { deleteKey, useDeleteKeyMutation } from './hooks/useDeleteKeyMutation';
|
|
22
23
|
export { deleteLdapSettings, useDeleteLdapSettingsMutation, } from './hooks/useDeleteLdapSettingsMutation';
|
|
23
24
|
export { deleteServiceV2, useDeleteServiceV2Mutation } from './hooks/useDeleteServiceV2Mutation';
|
|
25
|
+
export { deleteSmtpConfig, useDeleteSmtpConfigMutation } from './hooks/useDeleteSmtpConfigMutation';
|
|
24
26
|
export { deleteToken, useDeleteTokenMutation } from './hooks/useDeleteTokenMutation';
|
|
25
27
|
export { deleteUserSourceCodeManager, useDeleteUserSourceCodeManagerMutation, } from './hooks/useDeleteUserSourceCodeManagerMutation';
|
|
26
28
|
export { deleteVariable, useDeleteVariableMutation } from './hooks/useDeleteVariableMutation';
|
|
@@ -35,6 +37,7 @@ export { getArtifactPathsForBamboo, useGetArtifactPathsForBambooMutation, } from
|
|
|
35
37
|
export { getArtifactSourceInputs, useGetArtifactSourceInputsQuery, } from './hooks/useGetArtifactSourceInputsQuery';
|
|
36
38
|
export { getAuthenticationSettingsV2, useGetAuthenticationSettingsV2Query, } from './hooks/useGetAuthenticationSettingsV2Query';
|
|
37
39
|
export { getAzureClusters, useGetAzureClustersQuery } from './hooks/useGetAzureClustersQuery';
|
|
40
|
+
export { getAzureContainerAppsManagedEnvironments, useGetAzureContainerAppsManagedEnvironmentsQuery, } from './hooks/useGetAzureContainerAppsManagedEnvironmentsQuery';
|
|
38
41
|
export { getAzureResourceGroupsBySubscription, useGetAzureResourceGroupsBySubscriptionQuery, } from './hooks/useGetAzureResourceGroupsBySubscriptionQuery';
|
|
39
42
|
export { getAzureSubscriptionsForAcrArtifactWithYaml, useGetAzureSubscriptionsForAcrArtifactWithYamlMutation, } from './hooks/useGetAzureSubscriptionsForAcrArtifactWithYamlMutation';
|
|
40
43
|
export { getAzureSubscriptions, useGetAzureSubscriptionsQuery, } from './hooks/useGetAzureSubscriptionsQuery';
|
|
@@ -132,6 +135,7 @@ export { getServiceNowTicketTypesV2, useGetServiceNowTicketTypesV2Query, } from
|
|
|
132
135
|
export { getServiceV2, useGetServiceV2Query } from './hooks/useGetServiceV2Query';
|
|
133
136
|
export { getServicesList, useGetServicesListQuery } from './hooks/useGetServicesListQuery';
|
|
134
137
|
export { getServicesYamlAndRuntimeInputsV2, useGetServicesYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetServicesYamlAndRuntimeInputsV2Mutation';
|
|
138
|
+
export { getSmtpConfig, useGetSmtpConfigQuery } from './hooks/useGetSmtpConfigQuery';
|
|
135
139
|
export { getSubscriptionTags, useGetSubscriptionTagsQuery, } from './hooks/useGetSubscriptionTagsQuery';
|
|
136
140
|
export { getToken, useGetTokenQuery } from './hooks/useGetTokenQuery';
|
|
137
141
|
export { getTwoFactorAuthSettings, useGetTwoFactorAuthSettingsQuery, } from './hooks/useGetTwoFactorAuthSettingsQuery';
|
|
@@ -169,6 +173,7 @@ export { listSecretsV2, useListSecretsV2Query } from './hooks/useListSecretsV2Qu
|
|
|
169
173
|
export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
|
|
170
174
|
export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } from './hooks/useListVersionsForAmiArtifactMutation';
|
|
171
175
|
export { listVersionsFromPackageWithServiceV2, useListVersionsFromPackageWithServiceV2Mutation, } from './hooks/useListVersionsFromPackageWithServiceV2Mutation';
|
|
176
|
+
export { moveProject, useMoveProjectMutation } from './hooks/useMoveProjectMutation';
|
|
172
177
|
export { postLdapAuthenticationTest, usePostLdapAuthenticationTestMutation, } from './hooks/usePostLdapAuthenticationTestMutation';
|
|
173
178
|
export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
|
|
174
179
|
export { postProject, usePostProjectMutation } from './hooks/usePostProjectMutation';
|
|
@@ -189,12 +194,15 @@ export { updateInfrastructure, useUpdateInfrastructureMutation, } from './hooks/
|
|
|
189
194
|
export { updateKey, useUpdateKeyMutation } from './hooks/useUpdateKeyMutation';
|
|
190
195
|
export { updateLdapSettings, useUpdateLdapSettingsMutation, } from './hooks/useUpdateLdapSettingsMutation';
|
|
191
196
|
export { updateServiceV2, useUpdateServiceV2Mutation } from './hooks/useUpdateServiceV2Mutation';
|
|
197
|
+
export { updateSmtp, useUpdateSmtpMutation } from './hooks/useUpdateSmtpMutation';
|
|
192
198
|
export { updateToken, useUpdateTokenMutation } from './hooks/useUpdateTokenMutation';
|
|
193
199
|
export { updateUserInfo, useUpdateUserInfoMutation } from './hooks/useUpdateUserInfoMutation';
|
|
194
200
|
export { updateUserSourceCodeManager, useUpdateUserSourceCodeManagerMutation, } from './hooks/useUpdateUserSourceCodeManagerMutation';
|
|
195
201
|
export { updateVariable, useUpdateVariableMutation } from './hooks/useUpdateVariableMutation';
|
|
202
|
+
export { useValidateConnectivityMutation, validateConnectivity, } from './hooks/useValidateConnectivityMutation';
|
|
196
203
|
export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
|
|
197
204
|
export { useValidateLdapConnectionSettingsMutation, validateLdapConnectionSettings, } from './hooks/useValidateLdapConnectionSettingsMutation';
|
|
198
205
|
export { useValidateLdapGroupSettingsMutation, validateLdapGroupSettings, } from './hooks/useValidateLdapGroupSettingsMutation';
|
|
199
206
|
export { useValidateLdapUserSettingsMutation, validateLdapUserSettings, } from './hooks/useValidateLdapUserSettingsMutation';
|
|
207
|
+
export { useValidateNameMutation, validateName } from './hooks/useValidateNameMutation';
|
|
200
208
|
export { useVpcsQuery, vpcs } from './hooks/useVpcsQuery';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { LdapConnectionSettings } from '../schemas/LdapConnectionSettings';
|
|
2
2
|
import type { LdapGroupSettings } from '../schemas/LdapGroupSettings';
|
|
3
3
|
import type { LdapUserSettings } from '../schemas/LdapUserSettings';
|
|
4
|
-
|
|
5
|
-
export interface LdapSettings extends NgAuthSettings {
|
|
4
|
+
export interface LdapSettings {
|
|
6
5
|
connectionSettings: LdapConnectionSettings;
|
|
7
6
|
cronExpression?: string;
|
|
8
7
|
disabled?: boolean;
|
|
@@ -10,5 +9,6 @@ export interface LdapSettings extends NgAuthSettings {
|
|
|
10
9
|
groupSettingsList?: LdapGroupSettings[];
|
|
11
10
|
identifier: string;
|
|
12
11
|
nextIterations?: number[];
|
|
12
|
+
settingsType?: 'LDAP' | 'OAUTH' | 'OIDC' | 'SAML' | 'USER_PASSWORD';
|
|
13
13
|
userSettingsList?: LdapUserSettings[];
|
|
14
14
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AzureContainerAppsManagedEnvironmentsDto } from '../schemas/AzureContainerAppsManagedEnvironmentsDto';
|
|
2
|
+
export interface ResponseAzureContainerAppsManagedEnvironmentsDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: AzureContainerAppsManagedEnvironmentsDto;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ValidationResultDto } from '../schemas/ValidationResultDto';
|
|
2
|
+
export interface ResponseValidationResultDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: ValidationResultDto;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -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.39.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",
|