@harnessio/react-ng-manager-swagger-service-client 1.29.0 → 1.30.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/useGetEnabledFeatureRestrictionDetailByAccountIdQuery.d.ts +20 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/usePutLoginSettingsMutation.d.ts +23 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/usePutLoginSettingsMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +13 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +2 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EmbeddedUser.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EmbeddedUser.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/FeatureRestrictionDetailsDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/FeatureRestrictionDetailsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/LoginSettingsDto.d.ts +16 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/LoginSettingsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PasswordExpirationPolicy.d.ts +11 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PasswordExpirationPolicy.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PasswordStrengthPolicy.d.ts +23 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/PasswordStrengthPolicy.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListFeatureRestrictionDetailsDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListFeatureRestrictionDetailsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLoginSettingsDto.d.ts +11 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLoginSettingsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RestrictionDto.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RestrictionDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserLockoutPolicy.d.ts +14 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/UserLockoutPolicy.js +1 -0
- package/package.json +1 -1
|
@@ -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,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
|
+
}
|
|
@@ -93,6 +93,8 @@ export type { GetClusterNamesForGcpErrorResponse, GetClusterNamesForGcpOkRespons
|
|
|
93
93
|
export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/useGetClusterNamesForGcpQuery';
|
|
94
94
|
export type { GetEksClusterNamesErrorResponse, GetEksClusterNamesOkResponse, GetEksClusterNamesProps, GetEksClusterNamesQueryQueryParams, } from './hooks/useGetEksClusterNamesQuery';
|
|
95
95
|
export { getEksClusterNames, useGetEksClusterNamesQuery } from './hooks/useGetEksClusterNamesQuery';
|
|
96
|
+
export type { GetEnabledFeatureRestrictionDetailByAccountIdErrorResponse, GetEnabledFeatureRestrictionDetailByAccountIdOkResponse, GetEnabledFeatureRestrictionDetailByAccountIdProps, GetEnabledFeatureRestrictionDetailByAccountIdQueryQueryParams, } from './hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery';
|
|
97
|
+
export { getEnabledFeatureRestrictionDetailByAccountId, useGetEnabledFeatureRestrictionDetailByAccountIdQuery, } from './hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery';
|
|
96
98
|
export type { GetEnvironmentListV2ErrorResponse, GetEnvironmentListV2MutationQueryParams, GetEnvironmentListV2OkResponse, GetEnvironmentListV2Props, GetEnvironmentListV2RequestBody, } from './hooks/useGetEnvironmentListV2Mutation';
|
|
97
99
|
export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
|
|
98
100
|
export type { GetEnvironmentsInputYamlAndServiceOverridesV2ErrorResponse, GetEnvironmentsInputYamlAndServiceOverridesV2MutationQueryParams, GetEnvironmentsInputYamlAndServiceOverridesV2OkResponse, GetEnvironmentsInputYamlAndServiceOverridesV2Props, GetEnvironmentsInputYamlAndServiceOverridesV2RequestBody, } from './hooks/useGetEnvironmentsInputYamlAndServiceOverridesV2Mutation';
|
|
@@ -283,6 +285,8 @@ export type { PostOrganizationErrorResponse, PostOrganizationMutationQueryParams
|
|
|
283
285
|
export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
|
|
284
286
|
export type { PostProjectErrorResponse, PostProjectMutationQueryParams, PostProjectOkResponse, PostProjectProps, PostProjectRequestBody, } from './hooks/usePostProjectMutation';
|
|
285
287
|
export { postProject, usePostProjectMutation } from './hooks/usePostProjectMutation';
|
|
288
|
+
export type { PutLoginSettingsErrorResponse, PutLoginSettingsMutationPathParams, PutLoginSettingsMutationQueryParams, PutLoginSettingsOkResponse, PutLoginSettingsProps, PutLoginSettingsRequestBody, } from './hooks/usePutLoginSettingsMutation';
|
|
289
|
+
export { putLoginSettings, usePutLoginSettingsMutation } from './hooks/usePutLoginSettingsMutation';
|
|
286
290
|
export type { RemoveMemberErrorResponse, RemoveMemberMutationPathParams, RemoveMemberMutationQueryParams, RemoveMemberOkResponse, RemoveMemberProps, } from './hooks/useRemoveMemberMutation';
|
|
287
291
|
export { removeMember, useRemoveMemberMutation } from './hooks/useRemoveMemberMutation';
|
|
288
292
|
export type { RotateTokenErrorResponse, RotateTokenMutationPathParams, RotateTokenMutationQueryParams, RotateTokenOkResponse, RotateTokenProps, } from './hooks/useRotateTokenMutation';
|
|
@@ -375,6 +379,7 @@ export type { EcrBuildDetailsDto } from './schemas/EcrBuildDetailsDto';
|
|
|
375
379
|
export type { EcrListImagesDto } from './schemas/EcrListImagesDto';
|
|
376
380
|
export type { EcrRequestDto } from './schemas/EcrRequestDto';
|
|
377
381
|
export type { EcrResponseDto } from './schemas/EcrResponseDto';
|
|
382
|
+
export type { EmbeddedUser } from './schemas/EmbeddedUser';
|
|
378
383
|
export type { EntityDetail } from './schemas/EntityDetail';
|
|
379
384
|
export type { EntityGitDetails } from './schemas/EntityGitDetails';
|
|
380
385
|
export type { EntityGitMetadata } from './schemas/EntityGitMetadata';
|
|
@@ -393,6 +398,7 @@ export type { EnvironmentYamlMetadataDto } from './schemas/EnvironmentYamlMetada
|
|
|
393
398
|
export type { Error } from './schemas/Error';
|
|
394
399
|
export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
|
|
395
400
|
export type { Failure } from './schemas/Failure';
|
|
401
|
+
export type { FeatureRestrictionDetailsDto } from './schemas/FeatureRestrictionDetailsDto';
|
|
396
402
|
export type { FilePaths } from './schemas/FilePaths';
|
|
397
403
|
export type { FreezeReference } from './schemas/FreezeReference';
|
|
398
404
|
export type { GarBuildDetailsDto } from './schemas/GarBuildDetailsDto';
|
|
@@ -440,6 +446,7 @@ export type { JobParameter } from './schemas/JobParameter';
|
|
|
440
446
|
export type { LdapGroupResponse } from './schemas/LdapGroupResponse';
|
|
441
447
|
export type { LdapLinkGroupRequest } from './schemas/LdapLinkGroupRequest';
|
|
442
448
|
export type { LdapUserResponse } from './schemas/LdapUserResponse';
|
|
449
|
+
export type { LoginSettingsDto } from './schemas/LoginSettingsDto';
|
|
443
450
|
export type { NameValuePair } from './schemas/NameValuePair';
|
|
444
451
|
export type { NexusBuildDetailsDto } from './schemas/NexusBuildDetailsDto';
|
|
445
452
|
export type { NexusRepositories } from './schemas/NexusRepositories';
|
|
@@ -466,6 +473,8 @@ export type { PageTokenAggregateDto } from './schemas/PageTokenAggregateDto';
|
|
|
466
473
|
export type { PageUserGroupAggregateDto } from './schemas/PageUserGroupAggregateDto';
|
|
467
474
|
export type { PageVariableResponseDto } from './schemas/PageVariableResponseDto';
|
|
468
475
|
export type { PaginationDetails } from './schemas/PaginationDetails';
|
|
476
|
+
export type { PasswordExpirationPolicy } from './schemas/PasswordExpirationPolicy';
|
|
477
|
+
export type { PasswordStrengthPolicy } from './schemas/PasswordStrengthPolicy';
|
|
469
478
|
export type { PermissionCheck } from './schemas/PermissionCheck';
|
|
470
479
|
export type { PgpKeyIdentity } from './schemas/PgpKeyIdentity';
|
|
471
480
|
export type { Project } from './schemas/Project';
|
|
@@ -522,6 +531,7 @@ export type { ResponseListAzureArtifactsPackage } from './schemas/ResponseListAz
|
|
|
522
531
|
export type { ResponseListAzureDevopsProject } from './schemas/ResponseListAzureDevopsProject';
|
|
523
532
|
export type { ResponseListBucketResponse } from './schemas/ResponseListBucketResponse';
|
|
524
533
|
export type { ResponseListBuildDetails } from './schemas/ResponseListBuildDetails';
|
|
534
|
+
export type { ResponseListFeatureRestrictionDetailsDto } from './schemas/ResponseListFeatureRestrictionDetailsDto';
|
|
525
535
|
export type { ResponseListFilePaths } from './schemas/ResponseListFilePaths';
|
|
526
536
|
export type { ResponseListGitRepositoryResponseDto } from './schemas/ResponseListGitRepositoryResponseDto';
|
|
527
537
|
export type { ResponseListJiraIssueTransitionNg } from './schemas/ResponseListJiraIssueTransitionNg';
|
|
@@ -566,7 +576,9 @@ export type { ResponseUserGroupDto } from './schemas/ResponseUserGroupDto';
|
|
|
566
576
|
export type { ResponseVariableResponseDto } from './schemas/ResponseVariableResponseDto';
|
|
567
577
|
export type { RestResponseAuthenticationSettingsResponse } from './schemas/RestResponseAuthenticationSettingsResponse';
|
|
568
578
|
export type { RestResponseCollectionLdapGroupResponse } from './schemas/RestResponseCollectionLdapGroupResponse';
|
|
579
|
+
export type { RestResponseLoginSettingsDto } from './schemas/RestResponseLoginSettingsDto';
|
|
569
580
|
export type { RestResponseUserGroup } from './schemas/RestResponseUserGroup';
|
|
581
|
+
export type { RestrictionDto } from './schemas/RestrictionDto';
|
|
570
582
|
export type { RoleAssignmentMetadataDto } from './schemas/RoleAssignmentMetadataDto';
|
|
571
583
|
export type { SamlLinkGroupRequest } from './schemas/SamlLinkGroupRequest';
|
|
572
584
|
export type { ScopeName } from './schemas/ScopeName';
|
|
@@ -600,6 +612,7 @@ export type { UserGroupAggregateDto } from './schemas/UserGroupAggregateDto';
|
|
|
600
612
|
export type { UserGroupAggregateFilter } from './schemas/UserGroupAggregateFilter';
|
|
601
613
|
export type { UserGroupDto } from './schemas/UserGroupDto';
|
|
602
614
|
export type { UserGroupFilterDto } from './schemas/UserGroupFilterDto';
|
|
615
|
+
export type { UserLockoutPolicy } from './schemas/UserLockoutPolicy';
|
|
603
616
|
export type { UserMetadataDto } from './schemas/UserMetadataDto';
|
|
604
617
|
export type { UserRepoResponse } from './schemas/UserRepoResponse';
|
|
605
618
|
export type { ValidationError } from './schemas/ValidationError';
|
|
@@ -45,6 +45,7 @@ export { getBuildsForJenkins, useGetBuildsForJenkinsQuery, } from './hooks/useGe
|
|
|
45
45
|
export { getCannyCategories, useGetCannyCategoriesQuery } from './hooks/useGetCannyCategoriesQuery';
|
|
46
46
|
export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/useGetClusterNamesForGcpQuery';
|
|
47
47
|
export { getEksClusterNames, useGetEksClusterNamesQuery } from './hooks/useGetEksClusterNamesQuery';
|
|
48
|
+
export { getEnabledFeatureRestrictionDetailByAccountId, useGetEnabledFeatureRestrictionDetailByAccountIdQuery, } from './hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery';
|
|
48
49
|
export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
|
|
49
50
|
export { getEnvironmentsInputYamlAndServiceOverridesV2, useGetEnvironmentsInputYamlAndServiceOverridesV2Mutation, } from './hooks/useGetEnvironmentsInputYamlAndServiceOverridesV2Mutation';
|
|
50
51
|
export { getFilePathsForS3, useGetFilePathsForS3Query } from './hooks/useGetFilePathsForS3Query';
|
|
@@ -140,6 +141,7 @@ export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } fr
|
|
|
140
141
|
export { listVersionsFromPackageWithServiceV2, useListVersionsFromPackageWithServiceV2Mutation, } from './hooks/useListVersionsFromPackageWithServiceV2Mutation';
|
|
141
142
|
export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
|
|
142
143
|
export { postProject, usePostProjectMutation } from './hooks/usePostProjectMutation';
|
|
144
|
+
export { putLoginSettings, usePutLoginSettingsMutation } from './hooks/usePutLoginSettingsMutation';
|
|
143
145
|
export { removeMember, useRemoveMemberMutation } from './hooks/useRemoveMemberMutation';
|
|
144
146
|
export { rotateToken, useRotateTokenMutation } from './hooks/useRotateTokenMutation';
|
|
145
147
|
export { searchLdapGroups, useSearchLdapGroupsQuery } from './hooks/useSearchLdapGroupsQuery';
|
package/dist/ng-manager-swagger-service/src/services/schemas/FeatureRestrictionDetailsDto.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RestrictionDto } from '../schemas/RestrictionDto';
|
|
2
|
+
export interface FeatureRestrictionDetailsDto {
|
|
3
|
+
allowed?: boolean;
|
|
4
|
+
description?: string;
|
|
5
|
+
moduleType?: 'AARP' | 'AASP' | 'AAST' | 'AISRE' | 'AI_AGENT_MLOPS' | 'AI_TEST_AUTOMATION' | 'CD' | 'CE' | 'CET' | 'CF' | 'CHAOS' | 'CI' | 'CODE' | 'CORE' | 'CV' | 'DBOPS' | 'DevopsEssentials' | 'FME' | 'GOVERNANCE' | 'HAR' | 'IACM' | 'IDP' | 'PLATFORM' | 'PMS' | 'RMG' | 'SEI' | 'SRM' | 'SSCA' | 'STO' | 'TEMPLATESERVICE';
|
|
6
|
+
name?: 'ACTIVE_COMMITTERS' | 'ANALYZE_DEPLOYMENT_STEP' | 'AUDIT_STREAMING_DESTINATION' | 'AZURE_CREATE_ARM_RESOURCE' | 'AZURE_CREATE_BP_RESOURCE' | 'AZURE_ROLLBACK_ARM_RESOURCE' | 'AZURE_SLOT_DEPLOYMENT' | 'AZURE_SWAP_SLOT' | 'AZURE_TRAFFIC_SHIFT' | 'AZURE_WEBAPP_ROLLBACK' | 'BUILDS' | 'CACHE_SIZE_ALLOWANCE' | 'CCM_AUTOSTOPPING_RULES' | 'CCM_K8S_CLUSTERS' | 'COMMAND' | 'CREATE_STACK' | 'CUSTOM_RESOURCE_GROUPS' | 'CUSTOM_ROLES' | 'DATA_SINK' | 'DBOPS_ENABLED' | 'DELETE_STACK' | 'DEPLOYMENTS' | 'DEPLOYMENTS_PER_MONTH' | 'DEPLOYMENT_FREEZE' | 'DEVELOPERS' | 'EVENT_LISTENER' | 'IDP_ACTIVE_DEVELOPERS' | 'INITIAL_DEPLOYMENTS' | 'INTEGRATED_APPROVALS_WITH_CUSTOM_SCRIPT' | 'INTEGRATED_APPROVALS_WITH_HARNESS_UI' | 'INTEGRATED_APPROVALS_WITH_JIRA' | 'INTEGRATED_APPROVALS_WITH_SERVICE_NOW' | 'JENKINS_BUILD' | 'LDAP_SUPPORT' | 'MAX_BUILDS_PER_DAY' | 'MAX_BUILDS_PER_MONTH' | 'MAX_CHAOS_EXPERIMENT_RUNS_PER_MONTH' | 'MAX_CHAOS_INFRASTRUCTURES' | 'MAX_CONCURRENT_ACTIVE_PIPELINE_EXECUTIONS' | 'MAX_DEPLOYMENT_TEMPLATES' | 'MAX_PARALLEL_STEP_IN_A_PIPELINE' | 'MAX_PIPELINE_TIMEOUT_SECONDS' | 'MAX_STAGE_TIMEOUT_SECONDS' | 'MAX_STEP_TIMEOUT_SECONDS' | 'MAX_TOTAL_BUILDS' | 'MONTHLY_ACTIVE_USERS' | 'MULTIPLE_API_KEYS' | 'MULTIPLE_API_TOKENS' | 'MULTIPLE_CONNECTORS' | 'MULTIPLE_ORGANIZATIONS' | 'MULTIPLE_PROJECTS' | 'MULTIPLE_SECRETS' | 'MULTIPLE_SERVICE_ACCOUNTS' | 'MULTIPLE_USERS' | 'MULTIPLE_USER_GROUPS' | 'MULTIPLE_VARIABLES' | 'OAUTH_SUPPORT' | 'OIDC_SUPPORT' | 'PERSPECTIVES' | 'PIPELINE_CHAINING_AVAILABILITY' | 'PIPELINE_EXECUTION_DATA_RETENTION_DAYS' | 'ROLE_ASSIGNMENT' | 'ROLLBACK_STACK' | 'SAML_SUPPORT' | 'SECRET_MANAGERS' | 'SECURITY' | 'SEI_MAX_NUMBER_OF_CONTRIBUTORS' | 'SERVICES' | 'SHELL_SCRIPT_PROVISION' | 'SRM_SERVICES' | 'STRATEGY_MAX_CONCURRENT' | 'SUCCESSFUL_APPLIES' | 'TEMPLATE_SERVICE' | 'TERRAFORM_APPLY' | 'TERRAFORM_CLOUD_ROLLBACK' | 'TERRAFORM_CLOUD_RUN' | 'TERRAFORM_DESTROY' | 'TERRAFORM_PLAN' | 'TERRAFORM_ROLLBACK' | 'TERRAGRUNT_APPLY' | 'TERRAGRUNT_DESTROY' | 'TERRAGRUNT_PLAN' | 'TERRAGRUNT_ROLLBACK' | 'TEST1' | 'TEST2' | 'TEST3' | 'TEST4' | 'TEST5' | 'TEST6' | 'TEST7' | 'TEST_INTELLIGENCE' | 'TWO_FACTOR_AUTH_SUPPORT';
|
|
7
|
+
restriction?: RestrictionDto;
|
|
8
|
+
restrictionType?: 'AVAILABILITY' | 'CUSTOM' | 'DURATION' | 'LICENSE_RATE_LIMIT' | 'LICENSE_STATIC_LIMIT' | 'RATE_LIMIT' | 'STATIC_LIMIT';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { EmbeddedUser } from '../schemas/EmbeddedUser';
|
|
2
|
+
import type { PasswordExpirationPolicy } from '../schemas/PasswordExpirationPolicy';
|
|
3
|
+
import type { PasswordStrengthPolicy } from '../schemas/PasswordStrengthPolicy';
|
|
4
|
+
import type { UserLockoutPolicy } from '../schemas/UserLockoutPolicy';
|
|
5
|
+
export interface LoginSettingsDto {
|
|
6
|
+
accountId: string;
|
|
7
|
+
/**
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
10
|
+
lastUpdatedAt?: number;
|
|
11
|
+
lastUpdatedBy?: EmbeddedUser;
|
|
12
|
+
passwordExpirationPolicy: PasswordExpirationPolicy;
|
|
13
|
+
passwordStrengthPolicy: PasswordStrengthPolicy;
|
|
14
|
+
userLockoutPolicy: UserLockoutPolicy;
|
|
15
|
+
uuid: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface PasswordStrengthPolicy {
|
|
2
|
+
enabled?: boolean;
|
|
3
|
+
/**
|
|
4
|
+
* @format int32
|
|
5
|
+
*/
|
|
6
|
+
minNumberOfCharacters?: number;
|
|
7
|
+
/**
|
|
8
|
+
* @format int32
|
|
9
|
+
*/
|
|
10
|
+
minNumberOfDigits?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @format int32
|
|
13
|
+
*/
|
|
14
|
+
minNumberOfLowercaseCharacters?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @format int32
|
|
17
|
+
*/
|
|
18
|
+
minNumberOfSpecialCharacters?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @format int32
|
|
21
|
+
*/
|
|
22
|
+
minNumberOfUppercaseCharacters?: number;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FeatureRestrictionDetailsDto } from '../schemas/FeatureRestrictionDetailsDto';
|
|
2
|
+
export interface ResponseListFeatureRestrictionDetailsDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: FeatureRestrictionDetailsDto[];
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ng-manager-swagger-service/src/services/schemas/RestResponseLoginSettingsDto.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { LoginSettingsDto } from '../schemas/LoginSettingsDto';
|
|
2
|
+
import type { ResponseMessage } from '../schemas/ResponseMessage';
|
|
3
|
+
export interface RestResponseLoginSettingsDto {
|
|
4
|
+
metaData?: {
|
|
5
|
+
[key: string]: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
resource?: LoginSettingsDto;
|
|
10
|
+
responseMessages?: ResponseMessage[];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { UserGroup } from '../schemas/UserGroup';
|
|
2
|
+
export interface UserLockoutPolicy {
|
|
3
|
+
enableLockoutPolicy?: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* @format int32
|
|
6
|
+
*/
|
|
7
|
+
lockOutPeriod?: number;
|
|
8
|
+
notifyUser?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @format int32
|
|
11
|
+
*/
|
|
12
|
+
numberOfFailedAttemptsBeforeLockout?: number;
|
|
13
|
+
userGroupsToNotify?: UserGroup[];
|
|
14
|
+
}
|
|
@@ -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.30.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",
|