@harnessio/react-ng-manager-swagger-service-client 1.29.0 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/ng-manager-swagger-service/src/services/hooks/useCreateLdapSettingsMutation.d.ts +20 -0
  2. package/dist/ng-manager-swagger-service/src/services/hooks/useCreateLdapSettingsMutation.js +14 -0
  3. package/dist/ng-manager-swagger-service/src/services/hooks/useDeleteLdapSettingsMutation.d.ts +17 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useDeleteLdapSettingsMutation.js +14 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery.d.ts +20 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery.js +14 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLdapSettingsQuery.d.ts +17 -0
  8. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLdapSettingsQuery.js +14 -0
  9. package/dist/ng-manager-swagger-service/src/services/hooks/useGetNgLdapSettingsQuery.d.ts +16 -0
  10. package/dist/ng-manager-swagger-service/src/services/hooks/useGetNgLdapSettingsQuery.js +14 -0
  11. package/dist/ng-manager-swagger-service/src/services/hooks/useGetNgLdapSettingsWithEncryptedDataDetail_1Query.d.ts +14 -0
  12. package/dist/ng-manager-swagger-service/src/services/hooks/useGetNgLdapSettingsWithEncryptedDataDetail_1Query.js +11 -0
  13. package/dist/ng-manager-swagger-service/src/services/hooks/usePostLdapAuthenticationTestMutation.d.ts +23 -0
  14. package/dist/ng-manager-swagger-service/src/services/hooks/usePostLdapAuthenticationTestMutation.js +14 -0
  15. package/dist/ng-manager-swagger-service/src/services/hooks/usePutLoginSettingsMutation.d.ts +23 -0
  16. package/dist/ng-manager-swagger-service/src/services/hooks/usePutLoginSettingsMutation.js +14 -0
  17. package/dist/ng-manager-swagger-service/src/services/hooks/useSyncLdapGroupsQuery.d.ts +21 -0
  18. package/dist/ng-manager-swagger-service/src/services/hooks/useSyncLdapGroupsQuery.js +14 -0
  19. package/dist/ng-manager-swagger-service/src/services/hooks/useSyncLdapGroupsV2Mutation.d.ts +21 -0
  20. package/dist/ng-manager-swagger-service/src/services/hooks/useSyncLdapGroupsV2Mutation.js +14 -0
  21. package/dist/ng-manager-swagger-service/src/services/hooks/useSyncUserGroupLinkedToLdapQuery.d.ts +24 -0
  22. package/dist/ng-manager-swagger-service/src/services/hooks/useSyncUserGroupLinkedToLdapQuery.js +14 -0
  23. package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateLdapSettingsMutation.d.ts +20 -0
  24. package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateLdapSettingsMutation.js +14 -0
  25. package/dist/ng-manager-swagger-service/src/services/hooks/useValidateLdapConnectionSettingsMutation.d.ts +24 -0
  26. package/dist/ng-manager-swagger-service/src/services/hooks/useValidateLdapConnectionSettingsMutation.js +14 -0
  27. package/dist/ng-manager-swagger-service/src/services/hooks/useValidateLdapGroupSettingsMutation.d.ts +24 -0
  28. package/dist/ng-manager-swagger-service/src/services/hooks/useValidateLdapGroupSettingsMutation.js +14 -0
  29. package/dist/ng-manager-swagger-service/src/services/hooks/useValidateLdapUserSettingsMutation.d.ts +24 -0
  30. package/dist/ng-manager-swagger-service/src/services/hooks/useValidateLdapUserSettingsMutation.js +14 -0
  31. package/dist/ng-manager-swagger-service/src/services/index.d.ts +64 -0
  32. package/dist/ng-manager-swagger-service/src/services/index.js +15 -0
  33. package/dist/ng-manager-swagger-service/src/services/requestBodies/LdapSettingsDtoRequestBody.d.ts +2 -0
  34. package/dist/ng-manager-swagger-service/src/services/requestBodies/LdapSettingsDtoRequestBody.js +1 -0
  35. package/dist/ng-manager-swagger-service/src/services/requestBodies/LdapSettingsRequestBody.d.ts +2 -0
  36. package/dist/ng-manager-swagger-service/src/services/requestBodies/LdapSettingsRequestBody.js +1 -0
  37. package/dist/ng-manager-swagger-service/src/services/schemas/AdditionalMetadata.d.ts +5 -0
  38. package/dist/ng-manager-swagger-service/src/services/schemas/AdditionalMetadata.js +4 -0
  39. package/dist/ng-manager-swagger-service/src/services/schemas/EmbeddedUser.d.ts +6 -0
  40. package/dist/ng-manager-swagger-service/src/services/schemas/EmbeddedUser.js +4 -0
  41. package/dist/ng-manager-swagger-service/src/services/schemas/EncryptedDataDetail.d.ts +9 -0
  42. package/dist/ng-manager-swagger-service/src/services/schemas/EncryptedDataDetail.js +1 -0
  43. package/dist/ng-manager-swagger-service/src/services/schemas/EncryptedDataParams.d.ts +4 -0
  44. package/dist/ng-manager-swagger-service/src/services/schemas/EncryptedDataParams.js +4 -0
  45. package/dist/ng-manager-swagger-service/src/services/schemas/EncryptedRecordData.d.ts +18 -0
  46. package/dist/ng-manager-swagger-service/src/services/schemas/EncryptedRecordData.js +1 -0
  47. package/dist/ng-manager-swagger-service/src/services/schemas/EncryptionConfig.d.ts +15 -0
  48. package/dist/ng-manager-swagger-service/src/services/schemas/EncryptionConfig.js +4 -0
  49. package/dist/ng-manager-swagger-service/src/services/schemas/FeatureRestrictionDetailsDto.d.ts +9 -0
  50. package/dist/ng-manager-swagger-service/src/services/schemas/FeatureRestrictionDetailsDto.js +1 -0
  51. package/dist/ng-manager-swagger-service/src/services/schemas/LdapConnectionSettings.d.ts +33 -0
  52. package/dist/ng-manager-swagger-service/src/services/schemas/LdapConnectionSettings.js +1 -0
  53. package/dist/ng-manager-swagger-service/src/services/schemas/LdapGroupSettings.d.ts +8 -0
  54. package/dist/ng-manager-swagger-service/src/services/schemas/LdapGroupSettings.js +4 -0
  55. package/dist/ng-manager-swagger-service/src/services/schemas/LdapResponse.d.ts +4 -0
  56. package/dist/ng-manager-swagger-service/src/services/schemas/LdapResponse.js +4 -0
  57. package/dist/ng-manager-swagger-service/src/services/schemas/LdapSettings.d.ts +14 -0
  58. package/dist/ng-manager-swagger-service/src/services/schemas/LdapSettings.js +1 -0
  59. package/dist/ng-manager-swagger-service/src/services/schemas/LdapSettingsDto.d.ts +13 -0
  60. package/dist/ng-manager-swagger-service/src/services/schemas/LdapSettingsDto.js +1 -0
  61. package/dist/ng-manager-swagger-service/src/services/schemas/LdapTestResponse.d.ts +4 -0
  62. package/dist/ng-manager-swagger-service/src/services/schemas/LdapTestResponse.js +4 -0
  63. package/dist/ng-manager-swagger-service/src/services/schemas/LdapUserSettings.d.ts +9 -0
  64. package/dist/ng-manager-swagger-service/src/services/schemas/LdapUserSettings.js +4 -0
  65. package/dist/ng-manager-swagger-service/src/services/schemas/LoginSettingsDto.d.ts +16 -0
  66. package/dist/ng-manager-swagger-service/src/services/schemas/LoginSettingsDto.js +1 -0
  67. package/dist/ng-manager-swagger-service/src/services/schemas/NgLdapSettingsWithEncryptedDataDetails.d.ts +6 -0
  68. package/dist/ng-manager-swagger-service/src/services/schemas/NgLdapSettingsWithEncryptedDataDetails.js +1 -0
  69. package/dist/ng-manager-swagger-service/src/services/schemas/PasswordExpirationPolicy.d.ts +11 -0
  70. package/dist/ng-manager-swagger-service/src/services/schemas/PasswordExpirationPolicy.js +4 -0
  71. package/dist/ng-manager-swagger-service/src/services/schemas/PasswordStrengthPolicy.d.ts +23 -0
  72. package/dist/ng-manager-swagger-service/src/services/schemas/PasswordStrengthPolicy.js +4 -0
  73. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListFeatureRestrictionDetailsDto.d.ts +9 -0
  74. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListFeatureRestrictionDetailsDto.js +1 -0
  75. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseBoolean.d.ts +10 -0
  76. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseBoolean.js +1 -0
  77. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLdapResponse.d.ts +11 -0
  78. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLdapResponse.js +1 -0
  79. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLdapSettings.d.ts +11 -0
  80. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLdapSettings.js +1 -0
  81. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLdapTestResponse.d.ts +11 -0
  82. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLdapTestResponse.js +1 -0
  83. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLoginSettingsDto.d.ts +11 -0
  84. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLoginSettingsDto.js +1 -0
  85. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseNgLdapSettingsWithEncryptedDataDetails.d.ts +11 -0
  86. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseNgLdapSettingsWithEncryptedDataDetails.js +1 -0
  87. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseVoid.d.ts +11 -0
  88. package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseVoid.js +1 -0
  89. package/dist/ng-manager-swagger-service/src/services/schemas/RestrictionDto.d.ts +3 -0
  90. package/dist/ng-manager-swagger-service/src/services/schemas/RestrictionDto.js +4 -0
  91. package/dist/ng-manager-swagger-service/src/services/schemas/SecretRefData.d.ts +6 -0
  92. package/dist/ng-manager-swagger-service/src/services/schemas/SecretRefData.js +4 -0
  93. package/dist/ng-manager-swagger-service/src/services/schemas/SecretUniqueIdentifier.d.ts +3 -0
  94. package/dist/ng-manager-swagger-service/src/services/schemas/SecretUniqueIdentifier.js +4 -0
  95. package/dist/ng-manager-swagger-service/src/services/schemas/SsoSettingsDto.d.ts +8 -0
  96. package/dist/ng-manager-swagger-service/src/services/schemas/SsoSettingsDto.js +4 -0
  97. package/dist/ng-manager-swagger-service/src/services/schemas/UserLockoutPolicy.d.ts +14 -0
  98. package/dist/ng-manager-swagger-service/src/services/schemas/UserLockoutPolicy.js +1 -0
  99. package/dist/ng-manager-swagger-service/src/services/schemas/Void.d.ts +3 -0
  100. package/dist/ng-manager-swagger-service/src/services/schemas/Void.js +4 -0
  101. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RestResponseLdapSettings } from '../schemas/RestResponseLdapSettings';
3
+ import type { LdapSettingsRequestBody } from '../requestBodies/LdapSettingsRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface CreateLdapSettingsMutationQueryParams {
7
+ accountIdentifier?: string;
8
+ }
9
+ export type CreateLdapSettingsRequestBody = LdapSettingsRequestBody;
10
+ export type CreateLdapSettingsOkResponse = ResponseWithPagination<RestResponseLdapSettings>;
11
+ export type CreateLdapSettingsErrorResponse = unknown;
12
+ export interface CreateLdapSettingsProps extends Omit<FetcherOptions<CreateLdapSettingsMutationQueryParams, CreateLdapSettingsRequestBody>, 'url'> {
13
+ queryParams: CreateLdapSettingsMutationQueryParams;
14
+ body: CreateLdapSettingsRequestBody;
15
+ }
16
+ export declare function createLdapSettings(props: CreateLdapSettingsProps): Promise<CreateLdapSettingsOkResponse>;
17
+ /**
18
+ *
19
+ */
20
+ export declare function useCreateLdapSettingsMutation(options?: Omit<UseMutationOptions<CreateLdapSettingsOkResponse, CreateLdapSettingsErrorResponse, CreateLdapSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateLdapSettingsOkResponse, unknown, CreateLdapSettingsProps, 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 createLdapSettings(props) {
7
+ return fetcher(Object.assign({ url: `/authentication-settings/ldap/settings`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useCreateLdapSettingsMutation(options) {
13
+ return useMutation((mutateProps) => createLdapSettings(mutateProps), options);
14
+ }
@@ -0,0 +1,17 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RestResponseBoolean } from '../schemas/RestResponseBoolean';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface DeleteLdapSettingsMutationQueryParams {
6
+ accountIdentifier?: string;
7
+ }
8
+ export type DeleteLdapSettingsOkResponse = ResponseWithPagination<RestResponseBoolean>;
9
+ export type DeleteLdapSettingsErrorResponse = unknown;
10
+ export interface DeleteLdapSettingsProps extends Omit<FetcherOptions<DeleteLdapSettingsMutationQueryParams, unknown>, 'url'> {
11
+ queryParams: DeleteLdapSettingsMutationQueryParams;
12
+ }
13
+ export declare function deleteLdapSettings(props: DeleteLdapSettingsProps): Promise<DeleteLdapSettingsOkResponse>;
14
+ /**
15
+ *
16
+ */
17
+ export declare function useDeleteLdapSettingsMutation(options?: Omit<UseMutationOptions<DeleteLdapSettingsOkResponse, DeleteLdapSettingsErrorResponse, DeleteLdapSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteLdapSettingsOkResponse, unknown, DeleteLdapSettingsProps, 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 deleteLdapSettings(props) {
7
+ return fetcher(Object.assign({ url: `/authentication-settings/ldap/settings`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useDeleteLdapSettingsMutation(options) {
13
+ return useMutation((mutateProps) => deleteLdapSettings(mutateProps), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseListFeatureRestrictionDetailsDto } from '../schemas/ResponseListFeatureRestrictionDetailsDto';
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 GetEnabledFeatureRestrictionDetailByAccountIdQueryQueryParams {
8
+ accountIdentifier: string;
9
+ includeAllLifeCycleStages?: boolean;
10
+ }
11
+ export type GetEnabledFeatureRestrictionDetailByAccountIdOkResponse = ResponseWithPagination<ResponseListFeatureRestrictionDetailsDto>;
12
+ export type GetEnabledFeatureRestrictionDetailByAccountIdErrorResponse = Failure | Error;
13
+ export interface GetEnabledFeatureRestrictionDetailByAccountIdProps extends Omit<FetcherOptions<GetEnabledFeatureRestrictionDetailByAccountIdQueryQueryParams, unknown>, 'url'> {
14
+ queryParams: GetEnabledFeatureRestrictionDetailByAccountIdQueryQueryParams;
15
+ }
16
+ export declare function getEnabledFeatureRestrictionDetailByAccountId(props: GetEnabledFeatureRestrictionDetailByAccountIdProps): Promise<GetEnabledFeatureRestrictionDetailByAccountIdOkResponse>;
17
+ /**
18
+ *
19
+ */
20
+ export declare function useGetEnabledFeatureRestrictionDetailByAccountIdQuery(props: GetEnabledFeatureRestrictionDetailByAccountIdProps, options?: Omit<UseQueryOptions<GetEnabledFeatureRestrictionDetailByAccountIdOkResponse, GetEnabledFeatureRestrictionDetailByAccountIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetEnabledFeatureRestrictionDetailByAccountIdOkResponse, GetEnabledFeatureRestrictionDetailByAccountIdErrorResponse>;
@@ -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 getEnabledFeatureRestrictionDetailByAccountId(props) {
7
+ return fetcher(Object.assign({ url: `/enforcement/enabled`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetEnabledFeatureRestrictionDetailByAccountIdQuery(props, options) {
13
+ return useQuery(['getEnabledFeatureRestrictionDetailByAccountId', props.queryParams], ({ signal }) => getEnabledFeatureRestrictionDetailByAccountId(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,17 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { RestResponseLdapSettings } from '../schemas/RestResponseLdapSettings';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetLdapSettingsQueryQueryParams {
6
+ accountIdentifier?: string;
7
+ }
8
+ export type GetLdapSettingsOkResponse = ResponseWithPagination<RestResponseLdapSettings>;
9
+ export type GetLdapSettingsErrorResponse = unknown;
10
+ export interface GetLdapSettingsProps extends Omit<FetcherOptions<GetLdapSettingsQueryQueryParams, unknown>, 'url'> {
11
+ queryParams: GetLdapSettingsQueryQueryParams;
12
+ }
13
+ export declare function getLdapSettings(props: GetLdapSettingsProps): Promise<GetLdapSettingsOkResponse>;
14
+ /**
15
+ *
16
+ */
17
+ export declare function useGetLdapSettingsQuery(props: GetLdapSettingsProps, options?: Omit<UseQueryOptions<GetLdapSettingsOkResponse, GetLdapSettingsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetLdapSettingsOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getLdapSettings(props) {
7
+ return fetcher(Object.assign({ url: `/authentication-settings/ldap/settings`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetLdapSettingsQuery(props, options) {
13
+ return useQuery(['getLdapSettings', props.queryParams], ({ signal }) => getLdapSettings(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,16 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ export interface GetNgLdapSettingsQueryQueryParams {
5
+ accountIdentifier: string;
6
+ }
7
+ export type GetNgLdapSettingsOkResponse = ResponseWithPagination<unknown>;
8
+ export type GetNgLdapSettingsErrorResponse = unknown;
9
+ export interface GetNgLdapSettingsProps extends Omit<FetcherOptions<GetNgLdapSettingsQueryQueryParams, unknown>, 'url'> {
10
+ queryParams: GetNgLdapSettingsQueryQueryParams;
11
+ }
12
+ export declare function getNgLdapSettings(props: GetNgLdapSettingsProps): Promise<GetNgLdapSettingsOkResponse>;
13
+ /**
14
+ *
15
+ */
16
+ export declare function useGetNgLdapSettingsQuery(props: GetNgLdapSettingsProps, options?: Omit<UseQueryOptions<GetNgLdapSettingsOkResponse, GetNgLdapSettingsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetNgLdapSettingsOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getNgLdapSettings(props) {
7
+ return fetcher(Object.assign({ url: `/ldap/ngLdapSettings`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetNgLdapSettingsQuery(props, options) {
13
+ return useQuery(['getNgLdapSettings', props.queryParams], ({ signal }) => getNgLdapSettings(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,14 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { RestResponseNgLdapSettingsWithEncryptedDataDetails } from '../schemas/RestResponseNgLdapSettingsWithEncryptedDataDetails';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetNgLdapSettingsWithEncryptedDataDetail_1QueryQueryParams {
6
+ accountIdentifier: string;
7
+ }
8
+ export type GetNgLdapSettingsWithEncryptedDataDetail_1OkResponse = ResponseWithPagination<RestResponseNgLdapSettingsWithEncryptedDataDetails>;
9
+ export type GetNgLdapSettingsWithEncryptedDataDetail_1ErrorResponse = unknown;
10
+ export interface GetNgLdapSettingsWithEncryptedDataDetail_1Props extends Omit<FetcherOptions<GetNgLdapSettingsWithEncryptedDataDetail_1QueryQueryParams, unknown>, 'url'> {
11
+ queryParams: GetNgLdapSettingsWithEncryptedDataDetail_1QueryQueryParams;
12
+ }
13
+ export declare function getNgLdapSettingsWithEncryptedDataDetail_1(props: GetNgLdapSettingsWithEncryptedDataDetail_1Props): Promise<GetNgLdapSettingsWithEncryptedDataDetail_1OkResponse>;
14
+ export declare function useGetNgLdapSettingsWithEncryptedDataDetail_1Query(props: GetNgLdapSettingsWithEncryptedDataDetail_1Props, options?: Omit<UseQueryOptions<GetNgLdapSettingsWithEncryptedDataDetail_1OkResponse, GetNgLdapSettingsWithEncryptedDataDetail_1ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetNgLdapSettingsWithEncryptedDataDetail_1OkResponse, unknown>;
@@ -0,0 +1,11 @@
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 getNgLdapSettingsWithEncryptedDataDetail_1(props) {
7
+ return fetcher(Object.assign({ url: `/ldap-settings-internal`, method: 'GET' }, props));
8
+ }
9
+ export function useGetNgLdapSettingsWithEncryptedDataDetail_1Query(props, options) {
10
+ return useQuery(['getNGLdapSettingsWithEncryptedDataDetail_1', props.queryParams], ({ signal }) => getNgLdapSettingsWithEncryptedDataDetail_1(Object.assign(Object.assign({}, props), { signal })), options);
11
+ }
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RestResponseLdapResponse } from '../schemas/RestResponseLdapResponse';
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 PostLdapAuthenticationTestMutationQueryParams {
8
+ accountIdentifier: string;
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ }
12
+ export type PostLdapAuthenticationTestRequestBody = unknown;
13
+ export type PostLdapAuthenticationTestOkResponse = ResponseWithPagination<RestResponseLdapResponse>;
14
+ export type PostLdapAuthenticationTestErrorResponse = Failure | Error;
15
+ export interface PostLdapAuthenticationTestProps extends Omit<FetcherOptions<PostLdapAuthenticationTestMutationQueryParams, PostLdapAuthenticationTestRequestBody>, 'url'> {
16
+ queryParams: PostLdapAuthenticationTestMutationQueryParams;
17
+ body: PostLdapAuthenticationTestRequestBody;
18
+ }
19
+ export declare function postLdapAuthenticationTest(props: PostLdapAuthenticationTestProps): Promise<PostLdapAuthenticationTestOkResponse>;
20
+ /**
21
+ *
22
+ */
23
+ export declare function usePostLdapAuthenticationTestMutation(options?: Omit<UseMutationOptions<PostLdapAuthenticationTestOkResponse, PostLdapAuthenticationTestErrorResponse, PostLdapAuthenticationTestProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostLdapAuthenticationTestOkResponse, PostLdapAuthenticationTestErrorResponse, PostLdapAuthenticationTestProps, 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 postLdapAuthenticationTest(props) {
7
+ return fetcher(Object.assign({ url: `/ldap/ldap-login-test`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function usePostLdapAuthenticationTestMutation(options) {
13
+ return useMutation((mutateProps) => postLdapAuthenticationTest(mutateProps), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RestResponseLoginSettingsDto } from '../schemas/RestResponseLoginSettingsDto';
3
+ import type { LoginSettingsDto } from '../schemas/LoginSettingsDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface PutLoginSettingsMutationPathParams {
7
+ loginSettingsId: string;
8
+ }
9
+ export interface PutLoginSettingsMutationQueryParams {
10
+ accountIdentifier?: string;
11
+ }
12
+ export type PutLoginSettingsRequestBody = LoginSettingsDto;
13
+ export type PutLoginSettingsOkResponse = ResponseWithPagination<RestResponseLoginSettingsDto>;
14
+ export type PutLoginSettingsErrorResponse = unknown;
15
+ export interface PutLoginSettingsProps extends PutLoginSettingsMutationPathParams, Omit<FetcherOptions<PutLoginSettingsMutationQueryParams, PutLoginSettingsRequestBody>, 'url'> {
16
+ queryParams: PutLoginSettingsMutationQueryParams;
17
+ body: PutLoginSettingsRequestBody;
18
+ }
19
+ export declare function putLoginSettings(props: PutLoginSettingsProps): Promise<PutLoginSettingsOkResponse>;
20
+ /**
21
+ *
22
+ */
23
+ export declare function usePutLoginSettingsMutation(options?: Omit<UseMutationOptions<PutLoginSettingsOkResponse, PutLoginSettingsErrorResponse, PutLoginSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PutLoginSettingsOkResponse, unknown, PutLoginSettingsProps, 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 putLoginSettings(props) {
7
+ return fetcher(Object.assign({ url: `/authentication-settings/login-settings/${props.loginSettingsId}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function usePutLoginSettingsMutation(options) {
13
+ return useMutation((mutateProps) => putLoginSettings(mutateProps), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { RestResponseBoolean } from '../schemas/RestResponseBoolean';
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 SyncLdapGroupsQueryQueryParams {
8
+ accountIdentifier?: string;
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ }
12
+ export type SyncLdapGroupsOkResponse = ResponseWithPagination<RestResponseBoolean>;
13
+ export type SyncLdapGroupsErrorResponse = Failure | Error;
14
+ export interface SyncLdapGroupsProps extends Omit<FetcherOptions<SyncLdapGroupsQueryQueryParams, unknown>, 'url'> {
15
+ queryParams: SyncLdapGroupsQueryQueryParams;
16
+ }
17
+ export declare function syncLdapGroups(props: SyncLdapGroupsProps): Promise<SyncLdapGroupsOkResponse>;
18
+ /**
19
+ *
20
+ */
21
+ export declare function useSyncLdapGroupsQuery(props: SyncLdapGroupsProps, options?: Omit<UseQueryOptions<SyncLdapGroupsOkResponse, SyncLdapGroupsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SyncLdapGroupsOkResponse, SyncLdapGroupsErrorResponse>;
@@ -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 syncLdapGroups(props) {
7
+ return fetcher(Object.assign({ url: `/ldap/sync-groups`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useSyncLdapGroupsQuery(props, options) {
13
+ return useQuery(['syncLdapGroups', props.queryParams], ({ signal }) => syncLdapGroups(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RestResponseBoolean } from '../schemas/RestResponseBoolean';
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 SyncLdapGroupsV2MutationQueryParams {
8
+ accountIdentifier?: string;
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ }
12
+ export type SyncLdapGroupsV2OkResponse = ResponseWithPagination<RestResponseBoolean>;
13
+ export type SyncLdapGroupsV2ErrorResponse = Failure | Error;
14
+ export interface SyncLdapGroupsV2Props extends Omit<FetcherOptions<SyncLdapGroupsV2MutationQueryParams, unknown>, 'url'> {
15
+ queryParams: SyncLdapGroupsV2MutationQueryParams;
16
+ }
17
+ export declare function syncLdapGroupsV2(props: SyncLdapGroupsV2Props): Promise<SyncLdapGroupsV2OkResponse>;
18
+ /**
19
+ *
20
+ */
21
+ export declare function useSyncLdapGroupsV2Mutation(options?: Omit<UseMutationOptions<SyncLdapGroupsV2OkResponse, SyncLdapGroupsV2ErrorResponse, SyncLdapGroupsV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SyncLdapGroupsV2OkResponse, SyncLdapGroupsV2ErrorResponse, SyncLdapGroupsV2Props, 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 syncLdapGroupsV2(props) {
7
+ return fetcher(Object.assign({ url: `/ldap/sync-groups`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useSyncLdapGroupsV2Mutation(options) {
13
+ return useMutation((mutateProps) => syncLdapGroupsV2(mutateProps), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { RestResponseVoid } from '../schemas/RestResponseVoid';
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 SyncUserGroupLinkedToLdapQueryPathParams {
8
+ userGroupId: string;
9
+ }
10
+ export interface SyncUserGroupLinkedToLdapQueryQueryParams {
11
+ accountIdentifier?: string;
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ }
15
+ export type SyncUserGroupLinkedToLdapOkResponse = ResponseWithPagination<RestResponseVoid>;
16
+ export type SyncUserGroupLinkedToLdapErrorResponse = Failure | Error;
17
+ export interface SyncUserGroupLinkedToLdapProps extends SyncUserGroupLinkedToLdapQueryPathParams, Omit<FetcherOptions<SyncUserGroupLinkedToLdapQueryQueryParams, unknown>, 'url'> {
18
+ queryParams: SyncUserGroupLinkedToLdapQueryQueryParams;
19
+ }
20
+ export declare function syncUserGroupLinkedToLdap(props: SyncUserGroupLinkedToLdapProps): Promise<SyncUserGroupLinkedToLdapOkResponse>;
21
+ /**
22
+ *
23
+ */
24
+ export declare function useSyncUserGroupLinkedToLdapQuery(props: SyncUserGroupLinkedToLdapProps, options?: Omit<UseQueryOptions<SyncUserGroupLinkedToLdapOkResponse, SyncUserGroupLinkedToLdapErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SyncUserGroupLinkedToLdapOkResponse, SyncUserGroupLinkedToLdapErrorResponse>;
@@ -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 syncUserGroupLinkedToLdap(props) {
7
+ return fetcher(Object.assign({ url: `/ldap/sync-group/${props.userGroupId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useSyncUserGroupLinkedToLdapQuery(props, options) {
13
+ return useQuery(['syncUserGroupLinkedToLDAP', props.userGroupId, props.queryParams], ({ signal }) => syncUserGroupLinkedToLdap(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RestResponseLdapSettings } from '../schemas/RestResponseLdapSettings';
3
+ import type { LdapSettingsRequestBody } from '../requestBodies/LdapSettingsRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface UpdateLdapSettingsMutationQueryParams {
7
+ accountIdentifier?: string;
8
+ }
9
+ export type UpdateLdapSettingsRequestBody = LdapSettingsRequestBody;
10
+ export type UpdateLdapSettingsOkResponse = ResponseWithPagination<RestResponseLdapSettings>;
11
+ export type UpdateLdapSettingsErrorResponse = unknown;
12
+ export interface UpdateLdapSettingsProps extends Omit<FetcherOptions<UpdateLdapSettingsMutationQueryParams, UpdateLdapSettingsRequestBody>, 'url'> {
13
+ queryParams: UpdateLdapSettingsMutationQueryParams;
14
+ body: UpdateLdapSettingsRequestBody;
15
+ }
16
+ export declare function updateLdapSettings(props: UpdateLdapSettingsProps): Promise<UpdateLdapSettingsOkResponse>;
17
+ /**
18
+ *
19
+ */
20
+ export declare function useUpdateLdapSettingsMutation(options?: Omit<UseMutationOptions<UpdateLdapSettingsOkResponse, UpdateLdapSettingsErrorResponse, UpdateLdapSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateLdapSettingsOkResponse, unknown, UpdateLdapSettingsProps, 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 updateLdapSettings(props) {
7
+ return fetcher(Object.assign({ url: `/authentication-settings/ldap/settings`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useUpdateLdapSettingsMutation(options) {
13
+ return useMutation((mutateProps) => updateLdapSettings(mutateProps), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RestResponseLdapTestResponse } from '../schemas/RestResponseLdapTestResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { LdapSettingsDtoRequestBody } from '../requestBodies/LdapSettingsDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface ValidateLdapConnectionSettingsMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export type ValidateLdapConnectionSettingsRequestBody = LdapSettingsDtoRequestBody;
14
+ export type ValidateLdapConnectionSettingsOkResponse = ResponseWithPagination<RestResponseLdapTestResponse>;
15
+ export type ValidateLdapConnectionSettingsErrorResponse = Failure | Error;
16
+ export interface ValidateLdapConnectionSettingsProps extends Omit<FetcherOptions<ValidateLdapConnectionSettingsMutationQueryParams, ValidateLdapConnectionSettingsRequestBody>, 'url'> {
17
+ queryParams: ValidateLdapConnectionSettingsMutationQueryParams;
18
+ body: ValidateLdapConnectionSettingsRequestBody;
19
+ }
20
+ export declare function validateLdapConnectionSettings(props: ValidateLdapConnectionSettingsProps): Promise<ValidateLdapConnectionSettingsOkResponse>;
21
+ /**
22
+ *
23
+ */
24
+ export declare function useValidateLdapConnectionSettingsMutation(options?: Omit<UseMutationOptions<ValidateLdapConnectionSettingsOkResponse, ValidateLdapConnectionSettingsErrorResponse, ValidateLdapConnectionSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateLdapConnectionSettingsOkResponse, ValidateLdapConnectionSettingsErrorResponse, ValidateLdapConnectionSettingsProps, 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 validateLdapConnectionSettings(props) {
7
+ return fetcher(Object.assign({ url: `/ldap/settings/test/connection`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useValidateLdapConnectionSettingsMutation(options) {
13
+ return useMutation((mutateProps) => validateLdapConnectionSettings(mutateProps), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RestResponseLdapTestResponse } from '../schemas/RestResponseLdapTestResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { LdapSettingsDtoRequestBody } from '../requestBodies/LdapSettingsDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface ValidateLdapGroupSettingsMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export type ValidateLdapGroupSettingsRequestBody = LdapSettingsDtoRequestBody;
14
+ export type ValidateLdapGroupSettingsOkResponse = ResponseWithPagination<RestResponseLdapTestResponse>;
15
+ export type ValidateLdapGroupSettingsErrorResponse = Failure | Error;
16
+ export interface ValidateLdapGroupSettingsProps extends Omit<FetcherOptions<ValidateLdapGroupSettingsMutationQueryParams, ValidateLdapGroupSettingsRequestBody>, 'url'> {
17
+ queryParams: ValidateLdapGroupSettingsMutationQueryParams;
18
+ body: ValidateLdapGroupSettingsRequestBody;
19
+ }
20
+ export declare function validateLdapGroupSettings(props: ValidateLdapGroupSettingsProps): Promise<ValidateLdapGroupSettingsOkResponse>;
21
+ /**
22
+ *
23
+ */
24
+ export declare function useValidateLdapGroupSettingsMutation(options?: Omit<UseMutationOptions<ValidateLdapGroupSettingsOkResponse, ValidateLdapGroupSettingsErrorResponse, ValidateLdapGroupSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateLdapGroupSettingsOkResponse, ValidateLdapGroupSettingsErrorResponse, ValidateLdapGroupSettingsProps, 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 validateLdapGroupSettings(props) {
7
+ return fetcher(Object.assign({ url: `/ldap/settings/test/group`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useValidateLdapGroupSettingsMutation(options) {
13
+ return useMutation((mutateProps) => validateLdapGroupSettings(mutateProps), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { RestResponseLdapTestResponse } from '../schemas/RestResponseLdapTestResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { LdapSettingsDtoRequestBody } from '../requestBodies/LdapSettingsDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface ValidateLdapUserSettingsMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ }
13
+ export type ValidateLdapUserSettingsRequestBody = LdapSettingsDtoRequestBody;
14
+ export type ValidateLdapUserSettingsOkResponse = ResponseWithPagination<RestResponseLdapTestResponse>;
15
+ export type ValidateLdapUserSettingsErrorResponse = Failure | Error;
16
+ export interface ValidateLdapUserSettingsProps extends Omit<FetcherOptions<ValidateLdapUserSettingsMutationQueryParams, ValidateLdapUserSettingsRequestBody>, 'url'> {
17
+ queryParams: ValidateLdapUserSettingsMutationQueryParams;
18
+ body: ValidateLdapUserSettingsRequestBody;
19
+ }
20
+ export declare function validateLdapUserSettings(props: ValidateLdapUserSettingsProps): Promise<ValidateLdapUserSettingsOkResponse>;
21
+ /**
22
+ *
23
+ */
24
+ export declare function useValidateLdapUserSettingsMutation(options?: Omit<UseMutationOptions<ValidateLdapUserSettingsOkResponse, ValidateLdapUserSettingsErrorResponse, ValidateLdapUserSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateLdapUserSettingsOkResponse, ValidateLdapUserSettingsErrorResponse, ValidateLdapUserSettingsProps, 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 validateLdapUserSettings(props) {
7
+ return fetcher(Object.assign({ url: `/ldap/settings/test/user`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useValidateLdapUserSettingsMutation(options) {
13
+ return useMutation((mutateProps) => validateLdapUserSettings(mutateProps), options);
14
+ }