@abpjs/identity-pro 3.1.0 → 3.2.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/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { RoutesService, SettingTabsService, PagedResultDto, ABP, PagedAndSortedResultRequestDto, RestService } from '@abpjs/core';
1
+ import { RoutesService, SettingTabsService, ExtensibleObject, ExtensibleEntityDto, PagedAndSortedResultRequestDto, EntityDto, PagedResultRequestDto, ExtensibleFullAuditedEntityDto, CreationAuditedEntityDto, RestService, PagedResultDto, ListResultDto, ABP } from '@abpjs/core';
2
2
  import React, { ComponentType } from 'react';
3
3
 
4
4
  /**
@@ -201,16 +201,680 @@ declare const IDENTITY_SETTING_TAB_PROVIDERS: {
201
201
  configureSettingTabs: typeof configureSettingTabs;
202
202
  };
203
203
 
204
+ /**
205
+ * Identity claim value types
206
+ * Translated from @volo/abp.ng.identity IdentityClaimValueType
207
+ * @since 3.2.0
208
+ */
209
+ declare enum IdentityClaimValueType {
210
+ String = 0,
211
+ Int = 1,
212
+ Boolean = 2,
213
+ DateTime = 3
214
+ }
215
+ /**
216
+ * Options array for claim value type select components
217
+ * @since 3.2.0
218
+ */
219
+ declare const identityClaimValueTypeOptions: readonly [{
220
+ readonly label: "String";
221
+ readonly value: IdentityClaimValueType.String;
222
+ }, {
223
+ readonly label: "Int";
224
+ readonly value: IdentityClaimValueType.Int;
225
+ }, {
226
+ readonly label: "Boolean";
227
+ readonly value: IdentityClaimValueType.Boolean;
228
+ }, {
229
+ readonly label: "DateTime";
230
+ readonly value: IdentityClaimValueType.DateTime;
231
+ }];
232
+
233
+ /**
234
+ * Identity proxy models
235
+ * Translated from @volo/abp.ng.identity/lib/proxy/identity/models
236
+ * @since 3.2.0
237
+ */
238
+
239
+ interface ChangePasswordInput {
240
+ currentPassword: string;
241
+ newPassword: string;
242
+ }
243
+ interface ProfileDto extends ExtensibleObject {
244
+ userName: string;
245
+ email: string;
246
+ emailConfirmed: boolean;
247
+ name: string;
248
+ surname: string;
249
+ phoneNumber: string;
250
+ phoneNumberConfirmed: boolean;
251
+ isExternal: boolean;
252
+ hasPassword: boolean;
253
+ }
254
+ interface UpdateProfileDto extends ExtensibleObject {
255
+ userName: string;
256
+ email: string;
257
+ name: string;
258
+ surname: string;
259
+ phoneNumber: string;
260
+ }
261
+ interface ClaimTypeDto extends ExtensibleEntityDto<string> {
262
+ name: string;
263
+ required: boolean;
264
+ isStatic: boolean;
265
+ regex: string;
266
+ regexDescription: string;
267
+ description: string;
268
+ valueType: IdentityClaimValueType;
269
+ valueTypeAsString: string;
270
+ }
271
+ interface CreateClaimTypeDto extends ExtensibleObject {
272
+ name: string;
273
+ required: boolean;
274
+ regex: string;
275
+ regexDescription: string;
276
+ description: string;
277
+ valueType: IdentityClaimValueType;
278
+ }
279
+ interface UpdateClaimTypeDto extends ExtensibleObject {
280
+ name: string;
281
+ required: boolean;
282
+ regex: string;
283
+ regexDescription: string;
284
+ description: string;
285
+ valueType: IdentityClaimValueType;
286
+ }
287
+ interface GetIdentityClaimTypesInput extends PagedAndSortedResultRequestDto {
288
+ filter: string;
289
+ }
290
+ interface IdentityRoleDto extends ExtensibleEntityDto<string> {
291
+ name: string;
292
+ isDefault: boolean;
293
+ isStatic: boolean;
294
+ isPublic: boolean;
295
+ concurrencyStamp: string;
296
+ }
297
+ interface IdentityRoleCreateOrUpdateDtoBase extends ExtensibleObject {
298
+ name: string;
299
+ isDefault: boolean;
300
+ isPublic: boolean;
301
+ }
302
+ type IdentityRoleCreateDto = IdentityRoleCreateOrUpdateDtoBase;
303
+ interface IdentityRoleUpdateDto extends IdentityRoleCreateOrUpdateDtoBase {
304
+ concurrencyStamp: string;
305
+ }
306
+ interface IdentityRoleClaimDto {
307
+ roleId: string;
308
+ claimType: string;
309
+ claimValue: string;
310
+ }
311
+ interface GetIdentityRoleListInput extends PagedAndSortedResultRequestDto {
312
+ filter: string;
313
+ }
314
+ interface IdentityUserDto extends ExtensibleEntityDto<string> {
315
+ tenantId?: string;
316
+ userName: string;
317
+ email: string;
318
+ name: string;
319
+ surname: string;
320
+ emailConfirmed: boolean;
321
+ phoneNumber: string;
322
+ phoneNumberConfirmed: boolean;
323
+ supportTwoFactor: boolean;
324
+ lockoutEnabled: boolean;
325
+ isLockedOut: boolean;
326
+ concurrencyStamp: string;
327
+ }
328
+ interface IdentityUserCreateOrUpdateDtoBase extends ExtensibleObject {
329
+ userName: string;
330
+ name: string;
331
+ surname: string;
332
+ email: string;
333
+ phoneNumber: string;
334
+ lockoutEnabled: boolean;
335
+ roleNames: string[];
336
+ organizationUnitIds: string[];
337
+ }
338
+ interface IdentityUserCreateDto extends IdentityUserCreateOrUpdateDtoBase {
339
+ password: string;
340
+ }
341
+ interface IdentityUserUpdateDto extends IdentityUserCreateOrUpdateDtoBase {
342
+ concurrencyStamp: string;
343
+ }
344
+ interface IdentityUserClaimDto {
345
+ userId: string;
346
+ claimType: string;
347
+ claimValue: string;
348
+ }
349
+ interface IdentityUserUpdatePasswordInput {
350
+ newPassword: string;
351
+ }
352
+ interface IdentityUserUpdateRolesDto {
353
+ roleNames: string[];
354
+ }
355
+ interface GetIdentityUsersInput extends PagedAndSortedResultRequestDto {
356
+ filter: string;
357
+ }
358
+ interface IdentitySecurityLogDto extends EntityDto<string> {
359
+ tenantId?: string;
360
+ applicationName: string;
361
+ identity: string;
362
+ action: string;
363
+ userId?: string;
364
+ userName: string;
365
+ tenantName: string;
366
+ clientId: string;
367
+ correlationId: string;
368
+ clientIpAddress: string;
369
+ browserInfo: string;
370
+ creationTime: string;
371
+ extraProperties: Record<string, object>;
372
+ }
373
+ interface GetIdentitySecurityLogListInput extends PagedAndSortedResultRequestDto {
374
+ startTime?: string;
375
+ endTime?: string;
376
+ applicationName: string;
377
+ identity: string;
378
+ action: string;
379
+ userName: string;
380
+ clientId: string;
381
+ correlationId: string;
382
+ }
383
+ interface IdentityPasswordSettingsDto {
384
+ requiredLength: number;
385
+ requiredUniqueChars: number;
386
+ requireNonAlphanumeric: boolean;
387
+ requireLowercase: boolean;
388
+ requireUppercase: boolean;
389
+ requireDigit: boolean;
390
+ }
391
+ interface IdentityLockoutSettingsDto {
392
+ allowedForNewUsers: boolean;
393
+ lockoutDuration: number;
394
+ maxFailedAccessAttempts: number;
395
+ }
396
+ interface IdentitySignInSettingsDto {
397
+ requireConfirmedEmail: boolean;
398
+ enablePhoneNumberConfirmation: boolean;
399
+ requireConfirmedPhoneNumber: boolean;
400
+ }
401
+ interface IdentityUserSettingsDto {
402
+ isUserNameUpdateEnabled: boolean;
403
+ isEmailUpdateEnabled: boolean;
404
+ }
405
+ interface IdentitySettingsDto {
406
+ password: IdentityPasswordSettingsDto;
407
+ lockout: IdentityLockoutSettingsDto;
408
+ signIn: IdentitySignInSettingsDto;
409
+ user: IdentityUserSettingsDto;
410
+ }
411
+ interface OrganizationUnitCreateOrUpdateDtoBase extends ExtensibleObject {
412
+ displayName: string;
413
+ }
414
+ interface OrganizationUnitCreateDto extends OrganizationUnitCreateOrUpdateDtoBase {
415
+ parentId?: string;
416
+ }
417
+ type OrganizationUnitUpdateDto = OrganizationUnitCreateOrUpdateDtoBase;
418
+ interface OrganizationUnitRoleDto extends CreationAuditedEntityDto {
419
+ organizationUnitId: string;
420
+ roleId: string;
421
+ }
422
+ interface OrganizationUnitDto extends ExtensibleFullAuditedEntityDto<string> {
423
+ parentId?: string;
424
+ code: string;
425
+ displayName: string;
426
+ roles: OrganizationUnitRoleDto[];
427
+ }
428
+ interface OrganizationUnitWithDetailsDto extends ExtensibleFullAuditedEntityDto<string> {
429
+ parentId?: string;
430
+ code: string;
431
+ displayName: string;
432
+ roles: IdentityRoleDto[];
433
+ }
434
+ interface OrganizationUnitMoveInput {
435
+ newParentId?: string;
436
+ }
437
+ interface OrganizationUnitRoleInput {
438
+ roleIds: string[];
439
+ }
440
+ interface OrganizationUnitUserInput {
441
+ userIds: string[];
442
+ }
443
+ interface GetOrganizationUnitInput extends PagedAndSortedResultRequestDto {
444
+ filter: string;
445
+ }
446
+ interface GetAvailableRolesInput extends PagedAndSortedResultRequestDto {
447
+ filter: string;
448
+ id: string;
449
+ }
450
+ interface GetAvailableUsersInput extends PagedAndSortedResultRequestDto {
451
+ filter: string;
452
+ id: string;
453
+ }
454
+ interface UserLookupCountInputDto {
455
+ filter: string;
456
+ }
457
+ interface UserLookupSearchInputDto extends PagedResultRequestDto {
458
+ sorting: string;
459
+ filter: string;
460
+ }
461
+
462
+ /**
463
+ * Identity Claim Type Service
464
+ * Translated from @volo/abp.ng.identity IdentityClaimTypeService
465
+ * @since 3.2.0
466
+ */
467
+
468
+ /**
469
+ * Service for managing identity claim types
470
+ * @since 3.2.0
471
+ */
472
+ declare class IdentityClaimTypeService {
473
+ private restService;
474
+ apiName: string;
475
+ constructor(restService: RestService);
476
+ /**
477
+ * Creates a new claim type
478
+ */
479
+ create(input: CreateClaimTypeDto): Promise<ClaimTypeDto>;
480
+ /**
481
+ * Deletes a claim type by ID
482
+ */
483
+ delete(id: string): Promise<void>;
484
+ /**
485
+ * Gets a claim type by ID
486
+ */
487
+ get(id: string): Promise<ClaimTypeDto>;
488
+ /**
489
+ * Gets a paginated list of claim types
490
+ */
491
+ getList(input: GetIdentityClaimTypesInput): Promise<PagedResultDto<ClaimTypeDto>>;
492
+ /**
493
+ * Updates a claim type
494
+ */
495
+ update(id: string, input: UpdateClaimTypeDto): Promise<ClaimTypeDto>;
496
+ }
497
+
498
+ /**
499
+ * Identity Role Service
500
+ * Translated from @volo/abp.ng.identity IdentityRoleService
501
+ * @since 3.2.0
502
+ */
503
+
504
+ /**
505
+ * Service for managing identity roles
506
+ * @since 3.2.0
507
+ */
508
+ declare class IdentityRoleService {
509
+ private restService;
510
+ apiName: string;
511
+ constructor(restService: RestService);
512
+ /**
513
+ * Creates a new role
514
+ */
515
+ create(input: IdentityRoleCreateDto): Promise<IdentityRoleDto>;
516
+ /**
517
+ * Deletes a role by ID
518
+ */
519
+ delete(id: string): Promise<void>;
520
+ /**
521
+ * Gets a role by ID
522
+ */
523
+ get(id: string): Promise<IdentityRoleDto>;
524
+ /**
525
+ * Gets all claim types available for roles
526
+ */
527
+ getAllClaimTypes(): Promise<ClaimTypeDto[]>;
528
+ /**
529
+ * Gets all roles without pagination
530
+ */
531
+ getAllList(): Promise<ListResultDto<IdentityRoleDto>>;
532
+ /**
533
+ * Gets claims for a role
534
+ */
535
+ getClaims(id: string): Promise<IdentityRoleClaimDto[]>;
536
+ /**
537
+ * Gets a paginated list of roles
538
+ */
539
+ getList(input: GetIdentityRoleListInput): Promise<PagedResultDto<IdentityRoleDto>>;
540
+ /**
541
+ * Updates a role
542
+ */
543
+ update(id: string, input: IdentityRoleUpdateDto): Promise<IdentityRoleDto>;
544
+ /**
545
+ * Updates claims for a role
546
+ */
547
+ updateClaims(id: string, input: IdentityRoleClaimDto[]): Promise<void>;
548
+ }
549
+
550
+ /**
551
+ * Identity Security Log Service (Proxy)
552
+ * Translated from @volo/abp.ng.identity IdentitySecurityLogService (proxy version)
553
+ * @since 3.2.0
554
+ */
555
+
556
+ /**
557
+ * Proxy service for querying identity security logs
558
+ * @since 3.2.0
559
+ */
560
+ declare class IdentitySecurityLogService {
561
+ private restService;
562
+ apiName: string;
563
+ constructor(restService: RestService);
564
+ /**
565
+ * Gets a security log by ID
566
+ */
567
+ get(id: string): Promise<IdentitySecurityLogDto>;
568
+ /**
569
+ * Gets a paginated list of security logs
570
+ */
571
+ getList(input: GetIdentitySecurityLogListInput): Promise<PagedResultDto<IdentitySecurityLogDto>>;
572
+ /**
573
+ * Gets the current user's security log by ID
574
+ */
575
+ getMy(id: string): Promise<IdentitySecurityLogDto>;
576
+ /**
577
+ * Gets a paginated list of the current user's security logs
578
+ */
579
+ getMyList(input: GetIdentitySecurityLogListInput): Promise<PagedResultDto<IdentitySecurityLogDto>>;
580
+ }
581
+
582
+ /**
583
+ * Identity Settings Service
584
+ * Translated from @volo/abp.ng.identity IdentitySettingsService
585
+ * @since 3.2.0
586
+ */
587
+
588
+ /**
589
+ * Service for managing identity settings
590
+ * @since 3.2.0
591
+ */
592
+ declare class IdentitySettingsService {
593
+ private restService;
594
+ apiName: string;
595
+ constructor(restService: RestService);
596
+ /**
597
+ * Gets identity settings
598
+ */
599
+ get(): Promise<IdentitySettingsDto>;
600
+ /**
601
+ * Updates identity settings
602
+ */
603
+ update(input: IdentitySettingsDto): Promise<void>;
604
+ }
605
+
606
+ /**
607
+ * User data models for user lookup
608
+ * Translated from @volo/abp.ng.identity/lib/proxy/users/models
609
+ * @since 3.2.0
610
+ */
611
+ /**
612
+ * User data returned from user lookup service
613
+ */
614
+ interface UserData {
615
+ id: string;
616
+ tenantId?: string;
617
+ userName: string;
618
+ name: string;
619
+ surname: string;
620
+ email: string;
621
+ emailConfirmed: boolean;
622
+ phoneNumber: string;
623
+ phoneNumberConfirmed: boolean;
624
+ }
625
+
626
+ /**
627
+ * Identity User Lookup Service
628
+ * Translated from @volo/abp.ng.identity IdentityUserLookupService
629
+ * @since 3.2.0
630
+ */
631
+
632
+ /**
633
+ * Service for looking up users
634
+ * @since 3.2.0
635
+ */
636
+ declare class IdentityUserLookupService {
637
+ private restService;
638
+ apiName: string;
639
+ constructor(restService: RestService);
640
+ /**
641
+ * Finds a user by ID
642
+ */
643
+ findById(id: string): Promise<UserData>;
644
+ /**
645
+ * Finds a user by username
646
+ */
647
+ findByUserName(userName: string): Promise<UserData>;
648
+ /**
649
+ * Gets the count of users matching the filter
650
+ */
651
+ getCount(input: UserLookupCountInputDto): Promise<number>;
652
+ /**
653
+ * Searches for users
654
+ */
655
+ search(input: UserLookupSearchInputDto): Promise<ListResultDto<UserData>>;
656
+ }
657
+
658
+ /**
659
+ * Identity User Service
660
+ * Translated from @volo/abp.ng.identity IdentityUserService
661
+ * @since 3.2.0
662
+ */
663
+
664
+ /**
665
+ * Service for managing identity users
666
+ * @since 3.2.0
667
+ */
668
+ declare class IdentityUserService {
669
+ private restService;
670
+ apiName: string;
671
+ constructor(restService: RestService);
672
+ /**
673
+ * Creates a new user
674
+ */
675
+ create(input: IdentityUserCreateDto): Promise<IdentityUserDto>;
676
+ /**
677
+ * Deletes a user by ID
678
+ */
679
+ delete(id: string): Promise<void>;
680
+ /**
681
+ * Finds a user by email
682
+ */
683
+ findByEmail(email: string): Promise<IdentityUserDto>;
684
+ /**
685
+ * Finds a user by username
686
+ */
687
+ findByUsername(username: string): Promise<IdentityUserDto>;
688
+ /**
689
+ * Gets a user by ID
690
+ */
691
+ get(id: string): Promise<IdentityUserDto>;
692
+ /**
693
+ * Gets all claim types available for users
694
+ */
695
+ getAllClaimTypes(): Promise<ClaimTypeDto[]>;
696
+ /**
697
+ * Gets assignable roles for users
698
+ */
699
+ getAssignableRoles(): Promise<ListResultDto<IdentityRoleDto>>;
700
+ /**
701
+ * Gets available organization units for users
702
+ */
703
+ getAvailableOrganizationUnits(): Promise<ListResultDto<OrganizationUnitWithDetailsDto>>;
704
+ /**
705
+ * Gets claims for a user
706
+ */
707
+ getClaims(id: string): Promise<IdentityUserClaimDto[]>;
708
+ /**
709
+ * Gets a paginated list of users
710
+ */
711
+ getList(input: GetIdentityUsersInput): Promise<PagedResultDto<IdentityUserDto>>;
712
+ /**
713
+ * Gets organization units for a user
714
+ */
715
+ getOrganizationUnits(id: string): Promise<OrganizationUnitDto[]>;
716
+ /**
717
+ * Gets roles for a user
718
+ */
719
+ getRoles(id: string): Promise<ListResultDto<IdentityRoleDto>>;
720
+ /**
721
+ * Gets two-factor authentication status for a user
722
+ */
723
+ getTwoFactorEnabled(id: string): Promise<boolean>;
724
+ /**
725
+ * Locks a user account for a specified duration
726
+ */
727
+ lock(id: string, lockoutDuration: number): Promise<void>;
728
+ /**
729
+ * Sets two-factor authentication status for a user
730
+ */
731
+ setTwoFactorEnabled(id: string, enabled: boolean): Promise<void>;
732
+ /**
733
+ * Unlocks a user account
734
+ */
735
+ unlock(id: string): Promise<void>;
736
+ /**
737
+ * Updates a user
738
+ */
739
+ update(id: string, input: IdentityUserUpdateDto): Promise<IdentityUserDto>;
740
+ /**
741
+ * Updates claims for a user
742
+ */
743
+ updateClaims(id: string, input: IdentityUserClaimDto[]): Promise<void>;
744
+ /**
745
+ * Updates password for a user (admin action)
746
+ */
747
+ updatePassword(id: string, input: IdentityUserUpdatePasswordInput): Promise<void>;
748
+ /**
749
+ * Updates roles for a user
750
+ */
751
+ updateRoles(id: string, input: IdentityUserUpdateRolesDto): Promise<void>;
752
+ }
753
+
754
+ /**
755
+ * Organization Unit Service (Proxy)
756
+ * Translated from @volo/abp.ng.identity OrganizationUnitService (proxy version)
757
+ * @since 3.2.0
758
+ */
759
+
760
+ /**
761
+ * Proxy service for managing organization units
762
+ * @since 3.2.0
763
+ */
764
+ declare class OrganizationUnitService {
765
+ private restService;
766
+ apiName: string;
767
+ constructor(restService: RestService);
768
+ /**
769
+ * Adds members to an organization unit
770
+ */
771
+ addMembers(id: string, input: OrganizationUnitUserInput): Promise<void>;
772
+ /**
773
+ * Adds roles to an organization unit
774
+ */
775
+ addRoles(id: string, input: OrganizationUnitRoleInput): Promise<void>;
776
+ /**
777
+ * Creates a new organization unit
778
+ */
779
+ create(input: OrganizationUnitCreateDto): Promise<OrganizationUnitWithDetailsDto>;
780
+ /**
781
+ * Deletes an organization unit
782
+ */
783
+ delete(id: string): Promise<void>;
784
+ /**
785
+ * Gets an organization unit by ID
786
+ */
787
+ get(id: string): Promise<OrganizationUnitWithDetailsDto>;
788
+ /**
789
+ * Gets available roles for an organization unit
790
+ */
791
+ getAvailableRoles(input: GetAvailableRolesInput): Promise<PagedResultDto<IdentityRoleDto>>;
792
+ /**
793
+ * Gets available users for an organization unit
794
+ */
795
+ getAvailableUsers(input: GetAvailableUsersInput): Promise<PagedResultDto<IdentityUserDto>>;
796
+ /**
797
+ * Gets a paginated list of organization units
798
+ */
799
+ getList(input: GetOrganizationUnitInput): Promise<PagedResultDto<OrganizationUnitWithDetailsDto>>;
800
+ /**
801
+ * Gets all organization units without pagination
802
+ */
803
+ getListAll(): Promise<ListResultDto<OrganizationUnitWithDetailsDto>>;
804
+ /**
805
+ * Gets members of an organization unit
806
+ */
807
+ getMembers(id: string, input: GetIdentityUsersInput): Promise<PagedResultDto<IdentityUserDto>>;
808
+ /**
809
+ * Gets roles of an organization unit
810
+ */
811
+ getRoles(id: string, input: PagedAndSortedResultRequestDto): Promise<PagedResultDto<IdentityRoleDto>>;
812
+ /**
813
+ * Moves an organization unit to a new parent
814
+ */
815
+ move(id: string, input: OrganizationUnitMoveInput): Promise<void>;
816
+ /**
817
+ * Removes a member from an organization unit
818
+ */
819
+ removeMember(id: string, memberId: string): Promise<void>;
820
+ /**
821
+ * Removes a role from an organization unit
822
+ */
823
+ removeRole(id: string, roleId: string): Promise<void>;
824
+ /**
825
+ * Updates an organization unit
826
+ */
827
+ update(id: string, input: OrganizationUnitUpdateDto): Promise<OrganizationUnitWithDetailsDto>;
828
+ }
829
+
830
+ /**
831
+ * Profile Service
832
+ * Translated from @volo/abp.ng.identity ProfileService
833
+ * @since 3.2.0
834
+ */
835
+
836
+ /**
837
+ * Service for managing user profile
838
+ * @since 3.2.0
839
+ */
840
+ declare class ProfileService {
841
+ private restService;
842
+ apiName: string;
843
+ constructor(restService: RestService);
844
+ /**
845
+ * Changes the current user's password
846
+ */
847
+ changePassword(input: ChangePasswordInput): Promise<void>;
848
+ /**
849
+ * Gets the current user's profile
850
+ */
851
+ get(): Promise<ProfileDto>;
852
+ /**
853
+ * Gets the current user's two-factor authentication status
854
+ */
855
+ getTwoFactorEnabled(): Promise<boolean>;
856
+ /**
857
+ * Sets the current user's two-factor authentication status
858
+ */
859
+ setTwoFactorEnabled(enabled: boolean): Promise<void>;
860
+ /**
861
+ * Updates the current user's profile
862
+ */
863
+ update(input: UpdateProfileDto): Promise<ProfileDto>;
864
+ }
865
+
204
866
  /**
205
867
  * Organization Unit With Details DTO
206
868
  * Translated from @volo/abp.ng.identity v2.9.0
207
869
  * @since 2.9.0
870
+ * @updated 3.2.0 - Re-exports from proxy/identity/models
208
871
  */
872
+
209
873
  /**
210
- * Represents an organization unit with full details.
211
- * Used for displaying and managing organization units in the hierarchy.
874
+ * Legacy interface for backward compatibility.
875
+ * @deprecated Use OrganizationUnitWithDetailsDto from proxy/identity/models instead
212
876
  */
213
- interface OrganizationUnitWithDetailsDto {
877
+ interface LegacyOrganizationUnitWithDetailsDto {
214
878
  /** Parent organization unit ID (null for root units) */
215
879
  parentId?: string;
216
880
  /** Hierarchical code of the organization unit (e.g., "00001.00002") */
@@ -242,8 +906,9 @@ interface OrganizationUnitWithDetailsDto {
242
906
  * Factory function to create an OrganizationUnitWithDetailsDto with defaults.
243
907
  * @param initialValues - Partial values to initialize the DTO
244
908
  * @returns A new OrganizationUnitWithDetailsDto instance
909
+ * @deprecated Use the proxy types directly
245
910
  */
246
- declare function createOrganizationUnitWithDetailsDto(initialValues?: Partial<OrganizationUnitWithDetailsDto>): OrganizationUnitWithDetailsDto;
911
+ declare function createOrganizationUnitWithDetailsDto(initialValues?: Partial<LegacyOrganizationUnitWithDetailsDto>): LegacyOrganizationUnitWithDetailsDto;
247
912
 
248
913
  /**
249
914
  * Identity namespace containing all types related to identity management.
@@ -259,6 +924,13 @@ declare function createOrganizationUnitWithDetailsDto(initialValues?: Partial<Or
259
924
  * @since 0.7.2
260
925
  * @updated 2.9.0 - Added organization units support
261
926
  * @updated 3.1.0 - Added UserLockDurationType enum
927
+ * @updated 3.2.0 - Types deprecated, use proxy/identity/models instead
928
+ * @deprecated Types in this namespace are deprecated and will be removed in v4.0.
929
+ * Use the new typed DTOs from proxy/identity/models instead:
930
+ * - RoleItem -> IdentityRoleDto
931
+ * - UserItem -> IdentityUserDto
932
+ * - ClaimType -> ClaimTypeDto
933
+ * - etc.
262
934
  */
263
935
  declare namespace Identity {
264
936
  /**
@@ -281,10 +953,12 @@ declare namespace Identity {
281
953
  }
282
954
  /**
283
955
  * Paginated response for roles
956
+ * @deprecated Use PagedResultDto<IdentityRoleDto> from proxy/identity/models instead
284
957
  */
285
958
  type RoleResponse = ABP.PagedResponse<RoleItem>;
286
959
  /**
287
960
  * Request payload for creating/updating a role
961
+ * @deprecated Use IdentityRoleCreateDto or IdentityRoleUpdateDto from proxy/identity/models instead
288
962
  */
289
963
  interface RoleSaveRequest {
290
964
  name: string;
@@ -293,6 +967,7 @@ declare namespace Identity {
293
967
  }
294
968
  /**
295
969
  * Role item returned from the API
970
+ * @deprecated Use IdentityRoleDto from proxy/identity/models instead
296
971
  */
297
972
  interface RoleItem extends RoleSaveRequest {
298
973
  isStatic: boolean;
@@ -301,10 +976,12 @@ declare namespace Identity {
301
976
  }
302
977
  /**
303
978
  * Paginated response for users
979
+ * @deprecated Use PagedResultDto<IdentityUserDto> from proxy/identity/models instead
304
980
  */
305
981
  type UserResponse = ABP.PagedResponse<UserItem>;
306
982
  /**
307
983
  * Base user properties
984
+ * @deprecated Use IdentityUserCreateOrUpdateDtoBase from proxy/identity/models instead
308
985
  */
309
986
  interface User {
310
987
  userName: string;
@@ -317,6 +994,7 @@ declare namespace Identity {
317
994
  }
318
995
  /**
319
996
  * User item returned from the API
997
+ * @deprecated Use IdentityUserDto from proxy/identity/models instead
320
998
  */
321
999
  interface UserItem extends User {
322
1000
  tenantId: string;
@@ -329,6 +1007,7 @@ declare namespace Identity {
329
1007
  /**
330
1008
  * Request payload for creating/updating a user
331
1009
  * @updated 2.9.0 - Added organizationUnitIds
1010
+ * @deprecated Use IdentityUserCreateDto or IdentityUserUpdateDto from proxy/identity/models instead
332
1011
  */
333
1012
  interface UserSaveRequest extends User {
334
1013
  password: string;
@@ -347,6 +1026,7 @@ declare namespace Identity {
347
1026
  /**
348
1027
  * Simple claim type name for dropdowns
349
1028
  * Pro feature since 0.7.2
1029
+ * @deprecated Use ClaimTypeDto from proxy/identity/models instead
350
1030
  */
351
1031
  interface ClaimTypeName {
352
1032
  name: string;
@@ -354,6 +1034,7 @@ declare namespace Identity {
354
1034
  /**
355
1035
  * Full claim type definition
356
1036
  * Pro feature since 0.7.2
1037
+ * @deprecated Use ClaimTypeDto from proxy/identity/models instead
357
1038
  */
358
1039
  interface ClaimType {
359
1040
  /** Optional ID for existing claim types */
@@ -378,6 +1059,7 @@ declare namespace Identity {
378
1059
  /**
379
1060
  * Claim request for assigning claims to users or roles
380
1061
  * Pro feature since 0.7.2
1062
+ * @deprecated Use IdentityUserClaimDto or IdentityRoleClaimDto from proxy/identity/models instead
381
1063
  */
382
1064
  interface ClaimRequest {
383
1065
  /** User ID (for user claims) */
@@ -392,11 +1074,13 @@ declare namespace Identity {
392
1074
  /**
393
1075
  * Paginated response for claim types
394
1076
  * Pro feature since 0.7.2
1077
+ * @deprecated Use PagedResultDto<ClaimTypeDto> from proxy/identity/models instead
395
1078
  */
396
1079
  type ClaimResponse = ABP.PagedResponse<ClaimType>;
397
1080
  /**
398
1081
  * Value type enumeration for claim types
399
1082
  * Pro feature since 0.7.2
1083
+ * @deprecated Use IdentityClaimValueType from proxy/identity/identity-claim-value-type.enum instead
400
1084
  */
401
1085
  enum ClaimValueType {
402
1086
  String = 0,
@@ -423,14 +1107,15 @@ declare namespace Identity {
423
1107
  * Identity Security Log Models
424
1108
  * Types for security log management in the Identity module.
425
1109
  * @since 3.1.0
1110
+ * @updated 3.2.0 - Re-exports from proxy/identity/models
426
1111
  */
427
1112
 
428
1113
  /**
429
- * Security log data transfer object.
430
- * Represents a security event logged in the system.
1114
+ * Legacy security log data transfer object.
431
1115
  * @since 3.1.0
1116
+ * @deprecated Use IdentitySecurityLogDto from proxy/identity/models instead
432
1117
  */
433
- interface IdentitySecurityLogDto {
1118
+ interface LegacyIdentitySecurityLogDto {
434
1119
  /** Unique identifier for the log entry */
435
1120
  id: string;
436
1121
  /** Tenant ID if applicable */
@@ -494,7 +1179,7 @@ interface IdentitySecurityLogGetListInput {
494
1179
  * Paginated response for security logs.
495
1180
  * @since 3.1.0
496
1181
  */
497
- type IdentitySecurityLogResponse = PagedResultDto<IdentitySecurityLogDto>;
1182
+ type IdentitySecurityLogResponse = PagedResultDto<LegacyIdentitySecurityLogDto>;
498
1183
  /**
499
1184
  * Factory function to create a default IdentitySecurityLogGetListInput.
500
1185
  * @since 3.1.0
@@ -505,13 +1190,14 @@ declare function createIdentitySecurityLogGetListInput(overrides?: Partial<Ident
505
1190
  * Get Organization Unit Input
506
1191
  * Translated from @volo/abp.ng.identity v2.9.0
507
1192
  * @since 2.9.0
1193
+ * @updated 3.2.0 - Re-exports from proxy/identity/models
508
1194
  */
509
1195
 
510
1196
  /**
511
- * Input parameters for querying organization units.
512
- * Extends PagedAndSortedResultRequestDto for pagination and sorting support.
1197
+ * Legacy input parameters for querying organization units.
1198
+ * @deprecated Use GetOrganizationUnitInput from proxy/identity/models instead
513
1199
  */
514
- interface GetOrganizationUnitInput extends PagedAndSortedResultRequestDto {
1200
+ interface LegacyGetOrganizationUnitInput extends PagedAndSortedResultRequestDto {
515
1201
  /** Filter string for searching organization units */
516
1202
  filter?: string;
517
1203
  }
@@ -519,19 +1205,22 @@ interface GetOrganizationUnitInput extends PagedAndSortedResultRequestDto {
519
1205
  * Factory function to create a GetOrganizationUnitInput with defaults.
520
1206
  * @param initialValues - Partial values to initialize the input
521
1207
  * @returns A new GetOrganizationUnitInput instance
1208
+ * @deprecated Use the proxy types directly
522
1209
  */
523
- declare function createGetOrganizationUnitInput(initialValues?: Partial<GetOrganizationUnitInput>): GetOrganizationUnitInput;
1210
+ declare function createGetOrganizationUnitInput(initialValues?: Partial<LegacyGetOrganizationUnitInput>): LegacyGetOrganizationUnitInput;
524
1211
 
525
1212
  /**
526
1213
  * Organization Unit Create/Update Base DTO
527
1214
  * Translated from @volo/abp.ng.identity v2.9.0
528
1215
  * @since 2.9.0
1216
+ * @updated 3.2.0 - Re-exports from proxy/identity/models
529
1217
  */
1218
+
530
1219
  /**
531
- * Base interface for creating or updating organization units.
532
- * Contains common properties shared between create and update operations.
1220
+ * Legacy base interface for creating or updating organization units.
1221
+ * @deprecated Use OrganizationUnitCreateOrUpdateDtoBase from proxy/identity/models instead
533
1222
  */
534
- interface OrganizationUnitCreateOrUpdateDtoBase {
1223
+ interface LegacyOrganizationUnitCreateOrUpdateDtoBase {
535
1224
  /** Display name of the organization unit */
536
1225
  displayName: string;
537
1226
  }
@@ -539,20 +1228,22 @@ interface OrganizationUnitCreateOrUpdateDtoBase {
539
1228
  * Factory function to create an OrganizationUnitCreateOrUpdateDtoBase with defaults.
540
1229
  * @param initialValues - Partial values to initialize the DTO
541
1230
  * @returns A new OrganizationUnitCreateOrUpdateDtoBase instance
1231
+ * @deprecated Use the proxy types directly
542
1232
  */
543
- declare function createOrganizationUnitCreateOrUpdateDtoBase(initialValues?: Partial<OrganizationUnitCreateOrUpdateDtoBase>): OrganizationUnitCreateOrUpdateDtoBase;
1233
+ declare function createOrganizationUnitCreateOrUpdateDtoBase(initialValues?: Partial<LegacyOrganizationUnitCreateOrUpdateDtoBase>): LegacyOrganizationUnitCreateOrUpdateDtoBase;
544
1234
 
545
1235
  /**
546
1236
  * Organization Unit Create DTO
547
1237
  * Translated from @volo/abp.ng.identity v2.9.0
548
1238
  * @since 2.9.0
1239
+ * @updated 3.2.0 - Re-exports from proxy/identity/models
549
1240
  */
550
1241
 
551
1242
  /**
552
- * DTO for creating a new organization unit.
553
- * Extends the base DTO with parent ID for hierarchy placement.
1243
+ * Legacy DTO for creating a new organization unit.
1244
+ * @deprecated Use OrganizationUnitCreateDto from proxy/identity/models instead
554
1245
  */
555
- interface OrganizationUnitCreateDto extends OrganizationUnitCreateOrUpdateDtoBase {
1246
+ interface LegacyOrganizationUnitCreateDto extends LegacyOrganizationUnitCreateOrUpdateDtoBase {
556
1247
  /** Parent organization unit ID (optional, null for root units) */
557
1248
  parentId?: string;
558
1249
  /** Extra properties for extensibility */
@@ -562,19 +1253,22 @@ interface OrganizationUnitCreateDto extends OrganizationUnitCreateOrUpdateDtoBas
562
1253
  * Factory function to create an OrganizationUnitCreateDto with defaults.
563
1254
  * @param initialValues - Partial values to initialize the DTO
564
1255
  * @returns A new OrganizationUnitCreateDto instance
1256
+ * @deprecated Use the proxy types directly
565
1257
  */
566
- declare function createOrganizationUnitCreateDto(initialValues?: Partial<OrganizationUnitCreateDto>): OrganizationUnitCreateDto;
1258
+ declare function createOrganizationUnitCreateDto(initialValues?: Partial<LegacyOrganizationUnitCreateDto>): LegacyOrganizationUnitCreateDto;
567
1259
 
568
1260
  /**
569
1261
  * Organization Unit Move Input
570
1262
  * Translated from @volo/abp.ng.identity v2.9.0
571
1263
  * @since 2.9.0
1264
+ * @updated 3.2.0 - Re-exports from proxy/identity/models
572
1265
  */
1266
+
573
1267
  /**
574
- * Input for moving an organization unit to a new parent.
575
- * Used when reorganizing the hierarchy tree.
1268
+ * Legacy input for moving an organization unit to a new parent.
1269
+ * @deprecated Use OrganizationUnitMoveInput from proxy/identity/models instead
576
1270
  */
577
- interface OrganizationUnitMoveInput {
1271
+ interface LegacyOrganizationUnitMoveInput {
578
1272
  /** New parent organization unit ID (null to move to root level) */
579
1273
  newParentId?: string;
580
1274
  }
@@ -582,19 +1276,22 @@ interface OrganizationUnitMoveInput {
582
1276
  * Factory function to create an OrganizationUnitMoveInput with defaults.
583
1277
  * @param initialValues - Partial values to initialize the input
584
1278
  * @returns A new OrganizationUnitMoveInput instance
1279
+ * @deprecated Use the proxy types directly
585
1280
  */
586
- declare function createOrganizationUnitMoveInput(initialValues?: Partial<OrganizationUnitMoveInput>): OrganizationUnitMoveInput;
1281
+ declare function createOrganizationUnitMoveInput(initialValues?: Partial<LegacyOrganizationUnitMoveInput>): LegacyOrganizationUnitMoveInput;
587
1282
 
588
1283
  /**
589
1284
  * Organization Unit Role Input
590
1285
  * Translated from @volo/abp.ng.identity v2.9.0
591
1286
  * @since 2.9.0
1287
+ * @updated 3.2.0 - Re-exports from proxy/identity/models
592
1288
  */
1289
+
593
1290
  /**
594
- * Input for adding roles to an organization unit.
595
- * Used when assigning roles to organization units.
1291
+ * Legacy input for adding roles to an organization unit.
1292
+ * @deprecated Use OrganizationUnitRoleInput from proxy/identity/models instead
596
1293
  */
597
- interface OrganizationUnitRoleInput {
1294
+ interface LegacyOrganizationUnitRoleInput {
598
1295
  /** Array of role IDs to add to the organization unit */
599
1296
  roleIds: string[];
600
1297
  }
@@ -602,20 +1299,22 @@ interface OrganizationUnitRoleInput {
602
1299
  * Factory function to create an OrganizationUnitRoleInput with defaults.
603
1300
  * @param initialValues - Partial values to initialize the input
604
1301
  * @returns A new OrganizationUnitRoleInput instance
1302
+ * @deprecated Use the proxy types directly
605
1303
  */
606
- declare function createOrganizationUnitRoleInput(initialValues?: Partial<OrganizationUnitRoleInput>): OrganizationUnitRoleInput;
1304
+ declare function createOrganizationUnitRoleInput(initialValues?: Partial<LegacyOrganizationUnitRoleInput>): LegacyOrganizationUnitRoleInput;
607
1305
 
608
1306
  /**
609
1307
  * Organization Unit Update DTO
610
1308
  * Translated from @volo/abp.ng.identity v2.9.0
611
1309
  * @since 2.9.0
1310
+ * @updated 3.2.0 - Re-exports from proxy/identity/models
612
1311
  */
613
1312
 
614
1313
  /**
615
- * DTO for updating an existing organization unit.
616
- * Extends the base DTO with optional extra properties.
1314
+ * Legacy DTO for updating an existing organization unit.
1315
+ * @deprecated Use OrganizationUnitUpdateDto from proxy/identity/models instead
617
1316
  */
618
- interface OrganizationUnitUpdateDto extends OrganizationUnitCreateOrUpdateDtoBase {
1317
+ interface LegacyOrganizationUnitUpdateDto extends LegacyOrganizationUnitCreateOrUpdateDtoBase {
619
1318
  /** Extra properties for extensibility */
620
1319
  extraProperties?: unknown[];
621
1320
  }
@@ -623,19 +1322,22 @@ interface OrganizationUnitUpdateDto extends OrganizationUnitCreateOrUpdateDtoBas
623
1322
  * Factory function to create an OrganizationUnitUpdateDto with defaults.
624
1323
  * @param initialValues - Partial values to initialize the DTO
625
1324
  * @returns A new OrganizationUnitUpdateDto instance
1325
+ * @deprecated Use the proxy types directly
626
1326
  */
627
- declare function createOrganizationUnitUpdateDto(initialValues?: Partial<OrganizationUnitUpdateDto>): OrganizationUnitUpdateDto;
1327
+ declare function createOrganizationUnitUpdateDto(initialValues?: Partial<LegacyOrganizationUnitUpdateDto>): LegacyOrganizationUnitUpdateDto;
628
1328
 
629
1329
  /**
630
1330
  * Organization Unit User Input
631
1331
  * Translated from @volo/abp.ng.identity v2.9.0
632
1332
  * @since 2.9.0
1333
+ * @updated 3.2.0 - Re-exports from proxy/identity/models
633
1334
  */
1335
+
634
1336
  /**
635
- * Input for adding users (members) to an organization unit.
636
- * Used when assigning members to organization units.
1337
+ * Legacy input for adding users (members) to an organization unit.
1338
+ * @deprecated Use OrganizationUnitUserInput from proxy/identity/models instead
637
1339
  */
638
- interface OrganizationUnitUserInput {
1340
+ interface LegacyOrganizationUnitUserInput {
639
1341
  /** Array of user IDs to add to the organization unit */
640
1342
  userIds: string[];
641
1343
  }
@@ -643,8 +1345,9 @@ interface OrganizationUnitUserInput {
643
1345
  * Factory function to create an OrganizationUnitUserInput with defaults.
644
1346
  * @param initialValues - Partial values to initialize the input
645
1347
  * @returns A new OrganizationUnitUserInput instance
1348
+ * @deprecated Use the proxy types directly
646
1349
  */
647
- declare function createOrganizationUnitUserInput(initialValues?: Partial<OrganizationUnitUserInput>): OrganizationUnitUserInput;
1350
+ declare function createOrganizationUnitUserInput(initialValues?: Partial<LegacyOrganizationUnitUserInput>): LegacyOrganizationUnitUserInput;
648
1351
 
649
1352
  /**
650
1353
  * Identity Pro Component Identifiers
@@ -673,6 +1376,34 @@ declare const eIdentityComponents: {
673
1376
  */
674
1377
  type IdentityComponentKey = (typeof eIdentityComponents)[keyof typeof eIdentityComponents];
675
1378
 
1379
+ /**
1380
+ * Two-factor authentication behaviour options
1381
+ * Translated from @volo/abp.ng.identity eIdentityTwoFactorBehaviour
1382
+ * @since 3.2.0
1383
+ */
1384
+ declare enum eIdentityTwoFactorBehaviour {
1385
+ /** Two-factor authentication is optional for users */
1386
+ Optional = 0,
1387
+ /** Two-factor authentication is disabled */
1388
+ Disabled = 1,
1389
+ /** Two-factor authentication is required for all users */
1390
+ Forced = 2
1391
+ }
1392
+ /**
1393
+ * Options array for two-factor behaviour select components
1394
+ * @since 3.2.0
1395
+ */
1396
+ declare const identityTwoFactorBehaviourOptions: readonly [{
1397
+ readonly label: "Optional";
1398
+ readonly value: eIdentityTwoFactorBehaviour.Optional;
1399
+ }, {
1400
+ readonly label: "Disabled";
1401
+ readonly value: eIdentityTwoFactorBehaviour.Disabled;
1402
+ }, {
1403
+ readonly label: "Forced";
1404
+ readonly value: eIdentityTwoFactorBehaviour.Forced;
1405
+ }];
1406
+
676
1407
  /**
677
1408
  * Identity Extensions Guard
678
1409
  * Guard for loading identity extensions before route activation.
@@ -1095,19 +1826,17 @@ declare class IdentityStateService {
1095
1826
  }
1096
1827
 
1097
1828
  /**
1098
- * Service for managing identity security log API operations.
1099
- * Provides methods to query security logs for users in the identity module.
1100
- *
1101
- * Security logs track user authentication events such as:
1102
- * - Login succeeded/failed
1103
- * - Logout
1104
- * - Password changes
1105
- * - Two-factor authentication events
1106
- *
1107
- * Translated from @volo/abp.ng.identity IdentitySecurityLogService
1829
+ * Identity Security Log Service
1108
1830
  * @since 3.1.0
1831
+ * @updated 3.2.0 - New proxy service re-exported, legacy service renamed
1109
1832
  */
1110
- declare class IdentitySecurityLogService {
1833
+
1834
+ /**
1835
+ * Legacy service for managing identity security log API operations.
1836
+ * @deprecated Use IdentitySecurityLogService from proxy/identity instead
1837
+ * @since 3.1.0
1838
+ */
1839
+ declare class LegacyIdentitySecurityLogService {
1111
1840
  /**
1112
1841
  * The API name used for REST requests.
1113
1842
  */
@@ -1120,14 +1849,14 @@ declare class IdentitySecurityLogService {
1120
1849
  * @param params - Query parameters for filtering and pagination
1121
1850
  * @returns Promise with paginated security logs
1122
1851
  */
1123
- getListByInput(params?: Partial<IdentitySecurityLogGetListInput>): Promise<PagedResultDto<IdentitySecurityLogDto>>;
1852
+ getListByInput(params?: Partial<IdentitySecurityLogGetListInput>): Promise<PagedResultDto<LegacyIdentitySecurityLogDto>>;
1124
1853
  /**
1125
1854
  * Get a single security log by ID.
1126
1855
  * Requires AbpIdentity.SecurityLogs permission.
1127
1856
  * @param id - The security log ID
1128
1857
  * @returns Promise with the security log details
1129
1858
  */
1130
- getById(id: string): Promise<IdentitySecurityLogDto>;
1859
+ getById(id: string): Promise<LegacyIdentitySecurityLogDto>;
1131
1860
  /**
1132
1861
  * Get security logs for the current user.
1133
1862
  * This method allows users to view their own security logs without
@@ -1135,24 +1864,28 @@ declare class IdentitySecurityLogService {
1135
1864
  * @param params - Query parameters for filtering and pagination
1136
1865
  * @returns Promise with paginated security logs for current user
1137
1866
  */
1138
- getMyListByInput(params?: Partial<IdentitySecurityLogGetListInput>): Promise<PagedResultDto<IdentitySecurityLogDto>>;
1867
+ getMyListByInput(params?: Partial<IdentitySecurityLogGetListInput>): Promise<PagedResultDto<LegacyIdentitySecurityLogDto>>;
1139
1868
  /**
1140
1869
  * Get a single security log by ID for the current user.
1141
1870
  * This method allows users to view details of their own security logs.
1142
1871
  * @param id - The security log ID
1143
1872
  * @returns Promise with the security log details
1144
1873
  */
1145
- getMyById(id: string): Promise<IdentitySecurityLogDto>;
1874
+ getMyById(id: string): Promise<LegacyIdentitySecurityLogDto>;
1146
1875
  }
1147
1876
 
1148
1877
  /**
1149
- * Service for managing organization unit operations.
1150
- * Handles CRUD operations for organization units hierarchy.
1151
- *
1152
- * Translated from @volo/abp.ng.identity OrganizationUnitService
1878
+ * Organization Unit Service
1153
1879
  * @since 2.9.0
1880
+ * @updated 3.2.0 - New proxy service re-exported, legacy service renamed
1154
1881
  */
1155
- declare class OrganizationUnitService {
1882
+
1883
+ /**
1884
+ * Legacy service for managing organization unit operations.
1885
+ * @deprecated Use OrganizationUnitService from proxy/identity instead
1886
+ * @since 2.9.0
1887
+ */
1888
+ declare class LegacyOrganizationUnitService {
1156
1889
  /**
1157
1890
  * The API name used for REST requests.
1158
1891
  */
@@ -1165,20 +1898,20 @@ declare class OrganizationUnitService {
1165
1898
  * @param id - The organization unit ID
1166
1899
  * @returns Promise resolving when complete
1167
1900
  */
1168
- addRolesByIdAndInput(body: OrganizationUnitRoleInput, id: string): Promise<void>;
1901
+ addRolesByIdAndInput(body: LegacyOrganizationUnitRoleInput, id: string): Promise<void>;
1169
1902
  /**
1170
1903
  * Add members (users) to an organization unit
1171
1904
  * @param body - The user IDs to add
1172
1905
  * @param id - The organization unit ID
1173
1906
  * @returns Promise resolving when complete
1174
1907
  */
1175
- addMembersByIdAndInput(body: OrganizationUnitUserInput, id: string): Promise<void>;
1908
+ addMembersByIdAndInput(body: LegacyOrganizationUnitUserInput, id: string): Promise<void>;
1176
1909
  /**
1177
1910
  * Create a new organization unit
1178
1911
  * @param body - The organization unit data
1179
1912
  * @returns Promise with the created organization unit
1180
1913
  */
1181
- createByInput(body: OrganizationUnitCreateDto): Promise<OrganizationUnitWithDetailsDto>;
1914
+ createByInput(body: LegacyOrganizationUnitCreateDto): Promise<LegacyOrganizationUnitWithDetailsDto>;
1182
1915
  /**
1183
1916
  * Delete an organization unit
1184
1917
  * @param id - The organization unit ID to delete
@@ -1190,13 +1923,13 @@ declare class OrganizationUnitService {
1190
1923
  * @param id - The organization unit ID
1191
1924
  * @returns Promise with the organization unit
1192
1925
  */
1193
- getById(id: string): Promise<OrganizationUnitWithDetailsDto>;
1926
+ getById(id: string): Promise<LegacyOrganizationUnitWithDetailsDto>;
1194
1927
  /**
1195
1928
  * Get organization units with optional filtering and pagination
1196
1929
  * @param params - Query parameters for filtering and pagination
1197
1930
  * @returns Promise with paginated organization units
1198
1931
  */
1199
- getListByInput(params?: GetOrganizationUnitInput): Promise<PagedResultDto<OrganizationUnitWithDetailsDto>>;
1932
+ getListByInput(params?: LegacyGetOrganizationUnitInput): Promise<PagedResultDto<LegacyOrganizationUnitWithDetailsDto>>;
1200
1933
  /**
1201
1934
  * Get roles assigned to an organization unit
1202
1935
  * @param params - Query parameters for pagination
@@ -1217,14 +1950,14 @@ declare class OrganizationUnitService {
1217
1950
  * @param id - The organization unit ID to move
1218
1951
  * @returns Promise resolving when complete
1219
1952
  */
1220
- moveByIdAndInput(body: OrganizationUnitMoveInput, id: string): Promise<void>;
1953
+ moveByIdAndInput(body: LegacyOrganizationUnitMoveInput, id: string): Promise<void>;
1221
1954
  /**
1222
1955
  * Update an organization unit
1223
1956
  * @param body - The updated organization unit data
1224
1957
  * @param id - The organization unit ID to update
1225
1958
  * @returns Promise with the updated organization unit
1226
1959
  */
1227
- updateByIdAndInput(body: OrganizationUnitUpdateDto, id: string): Promise<OrganizationUnitWithDetailsDto>;
1960
+ updateByIdAndInput(body: LegacyOrganizationUnitUpdateDto, id: string): Promise<LegacyOrganizationUnitWithDetailsDto>;
1228
1961
  /**
1229
1962
  * Remove a member (user) from an organization unit
1230
1963
  * @param id - The organization unit ID
@@ -2238,4 +2971,4 @@ declare class TreeAdapter<T extends BaseNode = BaseNode> {
2238
2971
  expandPathToNode(id: string): void;
2239
2972
  }
2240
2973
 
2241
- export { type BaseNode, ClaimModal, type ClaimModalProps, type ClaimOperationResult, ClaimsComponent, type ClaimsComponentProps, type CreateFormPropContributorCallback, DEFAULT_CLAIMS_CREATE_FORM_PROPS, DEFAULT_CLAIMS_EDIT_FORM_PROPS, DEFAULT_CLAIMS_ENTITY_ACTIONS, DEFAULT_CLAIMS_ENTITY_PROPS, DEFAULT_CLAIMS_TOOLBAR_ACTIONS, DEFAULT_IDENTITY_CREATE_FORM_PROPS, DEFAULT_IDENTITY_EDIT_FORM_PROPS, DEFAULT_IDENTITY_ENTITY_ACTIONS, DEFAULT_IDENTITY_ENTITY_PROPS, DEFAULT_IDENTITY_TOOLBAR_ACTIONS, DEFAULT_ORGANIZATION_MEMBERS_ENTITY_ACTIONS, DEFAULT_ORGANIZATION_MEMBERS_ENTITY_PROPS, DEFAULT_ORGANIZATION_ROLES_ENTITY_ACTIONS, DEFAULT_ORGANIZATION_ROLES_ENTITY_PROPS, DEFAULT_ORGANIZATION_UNITS_TOOLBAR_ACTIONS, DEFAULT_ROLES_CREATE_FORM_PROPS, DEFAULT_ROLES_EDIT_FORM_PROPS, DEFAULT_ROLES_ENTITY_ACTIONS, DEFAULT_ROLES_ENTITY_PROPS, DEFAULT_ROLES_TOOLBAR_ACTIONS, DEFAULT_SECURITY_LOGS_ENTITY_ACTIONS, DEFAULT_SECURITY_LOGS_ENTITY_PROPS, DEFAULT_SECURITY_LOGS_TOOLBAR_ACTIONS, DEFAULT_USERS_CREATE_FORM_PROPS, DEFAULT_USERS_EDIT_FORM_PROPS, DEFAULT_USERS_ENTITY_ACTIONS, DEFAULT_USERS_ENTITY_PROPS, DEFAULT_USERS_TOOLBAR_ACTIONS, type EditFormPropContributorCallback, type EntityAction, type EntityActionContributorCallback, type EntityProp, type EntityPropContributorCallback, type FormProp, type GetOrganizationUnitInput, IDENTITY_CREATE_FORM_PROP_CONTRIBUTORS, IDENTITY_EDIT_FORM_PROP_CONTRIBUTORS, IDENTITY_ENTITY_ACTION_CONTRIBUTORS, IDENTITY_ENTITY_PROP_CONTRIBUTORS, IDENTITY_POLICIES, IDENTITY_ROUTES, IDENTITY_ROUTE_PATHS, IDENTITY_ROUTE_PROVIDERS, IDENTITY_SETTING_TAB_CONFIG, IDENTITY_SETTING_TAB_PROVIDERS, IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS, Identity, type IdentityComponentKey, type IdentityCreateFormPropContributors, type IdentityEditFormPropContributors, type IdentityEntityActionContributors, type IdentityEntityPropContributors, IdentityExtensionsGuard, type IdentityPolicyNameKey, type IdentityRouteNameKey, type IdentitySecurityLogDto, type IdentitySecurityLogGetListInput, type IdentitySecurityLogResponse, IdentitySecurityLogService, IdentityService, type IdentitySettingTabConfig, type IdentitySettingTabNameKey, identitySettings as IdentitySettings, IdentityStateService, type IdentityToolbarActionContributors, type OrganizationUnitCreateDto, type OrganizationUnitCreateOrUpdateDtoBase, type OrganizationUnitMoveInput, type OrganizationUnitRoleInput, OrganizationUnitService, type OrganizationUnitUpdateDto, type OrganizationUnitUserInput, type OrganizationUnitWithDetailsDto, type RoleOperationResult, RolesComponent, type RolesComponentProps, type SortOrder, type ToolbarAction, type ToolbarActionContributorCallback, TreeAdapter, type TreeNode, type UseClaimsReturn, type UseIdentityReturn, type UseRolesReturn, type UseUsersReturn, type UserOperationResult, UsersComponent, type UsersComponentProps, configureRoutes, configureSettingTabs, createGetOrganizationUnitInput, createIdentitySecurityLogGetListInput, createOrganizationUnitCreateDto, createOrganizationUnitCreateOrUpdateDtoBase, createOrganizationUnitMoveInput, createOrganizationUnitRoleInput, createOrganizationUnitUpdateDto, createOrganizationUnitUserInput, createOrganizationUnitWithDetailsDto, createTreeNode, eIdentityComponents, eIdentityPolicyNames, eIdentityRouteNames, eIdentitySettingTabNames, identityExtensionsGuard, initializeIdentityRoutes, initializeIdentitySettingTabs, useClaims, useIdentity, useIdentityExtensionsGuard, useRoles, useUsers };
2974
+ export { type BaseNode, type ChangePasswordInput, ClaimModal, type ClaimModalProps, type ClaimOperationResult, type ClaimTypeDto, ClaimsComponent, type ClaimsComponentProps, type CreateClaimTypeDto, type CreateFormPropContributorCallback, DEFAULT_CLAIMS_CREATE_FORM_PROPS, DEFAULT_CLAIMS_EDIT_FORM_PROPS, DEFAULT_CLAIMS_ENTITY_ACTIONS, DEFAULT_CLAIMS_ENTITY_PROPS, DEFAULT_CLAIMS_TOOLBAR_ACTIONS, DEFAULT_IDENTITY_CREATE_FORM_PROPS, DEFAULT_IDENTITY_EDIT_FORM_PROPS, DEFAULT_IDENTITY_ENTITY_ACTIONS, DEFAULT_IDENTITY_ENTITY_PROPS, DEFAULT_IDENTITY_TOOLBAR_ACTIONS, DEFAULT_ORGANIZATION_MEMBERS_ENTITY_ACTIONS, DEFAULT_ORGANIZATION_MEMBERS_ENTITY_PROPS, DEFAULT_ORGANIZATION_ROLES_ENTITY_ACTIONS, DEFAULT_ORGANIZATION_ROLES_ENTITY_PROPS, DEFAULT_ORGANIZATION_UNITS_TOOLBAR_ACTIONS, DEFAULT_ROLES_CREATE_FORM_PROPS, DEFAULT_ROLES_EDIT_FORM_PROPS, DEFAULT_ROLES_ENTITY_ACTIONS, DEFAULT_ROLES_ENTITY_PROPS, DEFAULT_ROLES_TOOLBAR_ACTIONS, DEFAULT_SECURITY_LOGS_ENTITY_ACTIONS, DEFAULT_SECURITY_LOGS_ENTITY_PROPS, DEFAULT_SECURITY_LOGS_TOOLBAR_ACTIONS, DEFAULT_USERS_CREATE_FORM_PROPS, DEFAULT_USERS_EDIT_FORM_PROPS, DEFAULT_USERS_ENTITY_ACTIONS, DEFAULT_USERS_ENTITY_PROPS, DEFAULT_USERS_TOOLBAR_ACTIONS, type EditFormPropContributorCallback, type EntityAction, type EntityActionContributorCallback, type EntityProp, type EntityPropContributorCallback, type FormProp, type GetAvailableRolesInput, type GetAvailableUsersInput, type GetIdentityClaimTypesInput, type GetIdentityRoleListInput, type GetIdentitySecurityLogListInput, type GetIdentityUsersInput, type GetOrganizationUnitInput, IDENTITY_CREATE_FORM_PROP_CONTRIBUTORS, IDENTITY_EDIT_FORM_PROP_CONTRIBUTORS, IDENTITY_ENTITY_ACTION_CONTRIBUTORS, IDENTITY_ENTITY_PROP_CONTRIBUTORS, IDENTITY_POLICIES, IDENTITY_ROUTES, IDENTITY_ROUTE_PATHS, IDENTITY_ROUTE_PROVIDERS, IDENTITY_SETTING_TAB_CONFIG, IDENTITY_SETTING_TAB_PROVIDERS, IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS, Identity, IdentityClaimTypeService, IdentityClaimValueType, type IdentityComponentKey, type IdentityCreateFormPropContributors, type IdentityEditFormPropContributors, type IdentityEntityActionContributors, type IdentityEntityPropContributors, IdentityExtensionsGuard, type IdentityLockoutSettingsDto, type IdentityPasswordSettingsDto, type IdentityPolicyNameKey, type IdentityRoleClaimDto, type IdentityRoleCreateDto, type IdentityRoleCreateOrUpdateDtoBase, type IdentityRoleDto, IdentityRoleService, type IdentityRoleUpdateDto, type IdentityRouteNameKey, type IdentitySecurityLogDto, type IdentitySecurityLogGetListInput, type IdentitySecurityLogResponse, IdentitySecurityLogService, IdentityService, type IdentitySettingTabConfig, type IdentitySettingTabNameKey, identitySettings as IdentitySettings, type IdentitySettingsDto, IdentitySettingsService, type IdentitySignInSettingsDto, IdentityStateService, type IdentityToolbarActionContributors, type IdentityUserClaimDto, type IdentityUserCreateDto, type IdentityUserCreateOrUpdateDtoBase, type IdentityUserDto, IdentityUserLookupService, IdentityUserService, type IdentityUserSettingsDto, type IdentityUserUpdateDto, type IdentityUserUpdatePasswordInput, type IdentityUserUpdateRolesDto, type LegacyGetOrganizationUnitInput, type LegacyIdentitySecurityLogDto, LegacyIdentitySecurityLogService, type LegacyOrganizationUnitCreateDto, type LegacyOrganizationUnitCreateOrUpdateDtoBase, type LegacyOrganizationUnitMoveInput, type LegacyOrganizationUnitRoleInput, LegacyOrganizationUnitService, type LegacyOrganizationUnitUpdateDto, type LegacyOrganizationUnitUserInput, type LegacyOrganizationUnitWithDetailsDto, type OrganizationUnitCreateDto, type OrganizationUnitCreateOrUpdateDtoBase, type OrganizationUnitDto, type OrganizationUnitMoveInput, type OrganizationUnitRoleDto, type OrganizationUnitRoleInput, OrganizationUnitService, type OrganizationUnitUpdateDto, type OrganizationUnitUserInput, type OrganizationUnitWithDetailsDto, type ProfileDto, ProfileService, type RoleOperationResult, RolesComponent, type RolesComponentProps, type SortOrder, type ToolbarAction, type ToolbarActionContributorCallback, TreeAdapter, type TreeNode, type UpdateClaimTypeDto, type UpdateProfileDto, type UseClaimsReturn, type UseIdentityReturn, type UseRolesReturn, type UseUsersReturn, type UserData, type UserLookupCountInputDto, type UserLookupSearchInputDto, type UserOperationResult, UsersComponent, type UsersComponentProps, configureRoutes, configureSettingTabs, createGetOrganizationUnitInput, createIdentitySecurityLogGetListInput, createOrganizationUnitCreateDto, createOrganizationUnitCreateOrUpdateDtoBase, createOrganizationUnitMoveInput, createOrganizationUnitRoleInput, createOrganizationUnitUpdateDto, createOrganizationUnitUserInput, createOrganizationUnitWithDetailsDto, createTreeNode, eIdentityComponents, eIdentityPolicyNames, eIdentityRouteNames, eIdentitySettingTabNames, eIdentityTwoFactorBehaviour, identityClaimValueTypeOptions, identityExtensionsGuard, identityTwoFactorBehaviourOptions, initializeIdentityRoutes, initializeIdentitySettingTabs, useClaims, useIdentity, useIdentityExtensionsGuard, useRoles, useUsers };