@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.js CHANGED
@@ -62,11 +62,20 @@ __export(index_exports, {
62
62
  IDENTITY_SETTING_TAB_PROVIDERS: () => IDENTITY_SETTING_TAB_PROVIDERS,
63
63
  IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS: () => IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS,
64
64
  Identity: () => Identity,
65
+ IdentityClaimTypeService: () => IdentityClaimTypeService,
66
+ IdentityClaimValueType: () => IdentityClaimValueType,
65
67
  IdentityExtensionsGuard: () => IdentityExtensionsGuard,
68
+ IdentityRoleService: () => IdentityRoleService,
66
69
  IdentitySecurityLogService: () => IdentitySecurityLogService,
67
70
  IdentityService: () => IdentityService,
71
+ IdentitySettingsService: () => IdentitySettingsService,
68
72
  IdentityStateService: () => IdentityStateService,
73
+ IdentityUserLookupService: () => IdentityUserLookupService,
74
+ IdentityUserService: () => IdentityUserService,
75
+ LegacyIdentitySecurityLogService: () => LegacyIdentitySecurityLogService,
76
+ LegacyOrganizationUnitService: () => LegacyOrganizationUnitService,
69
77
  OrganizationUnitService: () => OrganizationUnitService,
78
+ ProfileService: () => ProfileService,
70
79
  RolesComponent: () => RolesComponent,
71
80
  TreeAdapter: () => TreeAdapter,
72
81
  UsersComponent: () => UsersComponent,
@@ -86,7 +95,10 @@ __export(index_exports, {
86
95
  eIdentityPolicyNames: () => eIdentityPolicyNames,
87
96
  eIdentityRouteNames: () => eIdentityRouteNames,
88
97
  eIdentitySettingTabNames: () => eIdentitySettingTabNames,
98
+ eIdentityTwoFactorBehaviour: () => eIdentityTwoFactorBehaviour,
99
+ identityClaimValueTypeOptions: () => identityClaimValueTypeOptions,
89
100
  identityExtensionsGuard: () => identityExtensionsGuard,
101
+ identityTwoFactorBehaviourOptions: () => identityTwoFactorBehaviourOptions,
90
102
  initializeIdentityRoutes: () => initializeIdentityRoutes,
91
103
  initializeIdentitySettingTabs: () => initializeIdentitySettingTabs,
92
104
  useClaims: () => useClaims,
@@ -202,6 +214,761 @@ var IDENTITY_SETTING_TAB_PROVIDERS = {
202
214
  configureSettingTabs
203
215
  };
204
216
 
217
+ // src/proxy/identity/identity-claim-type.service.ts
218
+ var IdentityClaimTypeService = class {
219
+ constructor(restService) {
220
+ this.restService = restService;
221
+ this.apiName = "default";
222
+ }
223
+ /**
224
+ * Creates a new claim type
225
+ */
226
+ create(input) {
227
+ return this.restService.request({
228
+ method: "POST",
229
+ url: "/api/identity/claim-types",
230
+ body: input
231
+ });
232
+ }
233
+ /**
234
+ * Deletes a claim type by ID
235
+ */
236
+ delete(id) {
237
+ return this.restService.request({
238
+ method: "DELETE",
239
+ url: `/api/identity/claim-types/${id}`
240
+ });
241
+ }
242
+ /**
243
+ * Gets a claim type by ID
244
+ */
245
+ get(id) {
246
+ return this.restService.request({
247
+ method: "GET",
248
+ url: `/api/identity/claim-types/${id}`
249
+ });
250
+ }
251
+ /**
252
+ * Gets a paginated list of claim types
253
+ */
254
+ getList(input) {
255
+ return this.restService.request({
256
+ method: "GET",
257
+ url: "/api/identity/claim-types",
258
+ params: {
259
+ filter: input.filter,
260
+ sorting: input.sorting,
261
+ skipCount: input.skipCount,
262
+ maxResultCount: input.maxResultCount
263
+ }
264
+ });
265
+ }
266
+ /**
267
+ * Updates a claim type
268
+ */
269
+ update(id, input) {
270
+ return this.restService.request({
271
+ method: "PUT",
272
+ url: `/api/identity/claim-types/${id}`,
273
+ body: input
274
+ });
275
+ }
276
+ };
277
+
278
+ // src/proxy/identity/identity-claim-value-type.enum.ts
279
+ var IdentityClaimValueType = /* @__PURE__ */ ((IdentityClaimValueType2) => {
280
+ IdentityClaimValueType2[IdentityClaimValueType2["String"] = 0] = "String";
281
+ IdentityClaimValueType2[IdentityClaimValueType2["Int"] = 1] = "Int";
282
+ IdentityClaimValueType2[IdentityClaimValueType2["Boolean"] = 2] = "Boolean";
283
+ IdentityClaimValueType2[IdentityClaimValueType2["DateTime"] = 3] = "DateTime";
284
+ return IdentityClaimValueType2;
285
+ })(IdentityClaimValueType || {});
286
+ var identityClaimValueTypeOptions = [
287
+ { label: "String", value: 0 /* String */ },
288
+ { label: "Int", value: 1 /* Int */ },
289
+ { label: "Boolean", value: 2 /* Boolean */ },
290
+ { label: "DateTime", value: 3 /* DateTime */ }
291
+ ];
292
+
293
+ // src/proxy/identity/identity-role.service.ts
294
+ var IdentityRoleService = class {
295
+ constructor(restService) {
296
+ this.restService = restService;
297
+ this.apiName = "default";
298
+ }
299
+ /**
300
+ * Creates a new role
301
+ */
302
+ create(input) {
303
+ return this.restService.request({
304
+ method: "POST",
305
+ url: "/api/identity/roles",
306
+ body: input
307
+ });
308
+ }
309
+ /**
310
+ * Deletes a role by ID
311
+ */
312
+ delete(id) {
313
+ return this.restService.request({
314
+ method: "DELETE",
315
+ url: `/api/identity/roles/${id}`
316
+ });
317
+ }
318
+ /**
319
+ * Gets a role by ID
320
+ */
321
+ get(id) {
322
+ return this.restService.request({
323
+ method: "GET",
324
+ url: `/api/identity/roles/${id}`
325
+ });
326
+ }
327
+ /**
328
+ * Gets all claim types available for roles
329
+ */
330
+ getAllClaimTypes() {
331
+ return this.restService.request({
332
+ method: "GET",
333
+ url: "/api/identity/roles/all-claim-types"
334
+ });
335
+ }
336
+ /**
337
+ * Gets all roles without pagination
338
+ */
339
+ getAllList() {
340
+ return this.restService.request({
341
+ method: "GET",
342
+ url: "/api/identity/roles/all"
343
+ });
344
+ }
345
+ /**
346
+ * Gets claims for a role
347
+ */
348
+ getClaims(id) {
349
+ return this.restService.request({
350
+ method: "GET",
351
+ url: `/api/identity/roles/${id}/claims`
352
+ });
353
+ }
354
+ /**
355
+ * Gets a paginated list of roles
356
+ */
357
+ getList(input) {
358
+ return this.restService.request({
359
+ method: "GET",
360
+ url: "/api/identity/roles",
361
+ params: {
362
+ filter: input.filter,
363
+ sorting: input.sorting,
364
+ skipCount: input.skipCount,
365
+ maxResultCount: input.maxResultCount
366
+ }
367
+ });
368
+ }
369
+ /**
370
+ * Updates a role
371
+ */
372
+ update(id, input) {
373
+ return this.restService.request({
374
+ method: "PUT",
375
+ url: `/api/identity/roles/${id}`,
376
+ body: input
377
+ });
378
+ }
379
+ /**
380
+ * Updates claims for a role
381
+ */
382
+ updateClaims(id, input) {
383
+ return this.restService.request({
384
+ method: "PUT",
385
+ url: `/api/identity/roles/${id}/claims`,
386
+ body: input
387
+ });
388
+ }
389
+ };
390
+
391
+ // src/proxy/identity/identity-security-log.service.ts
392
+ var IdentitySecurityLogService = class {
393
+ constructor(restService) {
394
+ this.restService = restService;
395
+ this.apiName = "default";
396
+ }
397
+ /**
398
+ * Gets a security log by ID
399
+ */
400
+ get(id) {
401
+ return this.restService.request({
402
+ method: "GET",
403
+ url: `/api/identity/security-logs/${id}`
404
+ });
405
+ }
406
+ /**
407
+ * Gets a paginated list of security logs
408
+ */
409
+ getList(input) {
410
+ return this.restService.request({
411
+ method: "GET",
412
+ url: "/api/identity/security-logs",
413
+ params: {
414
+ startTime: input.startTime,
415
+ endTime: input.endTime,
416
+ applicationName: input.applicationName,
417
+ identity: input.identity,
418
+ action: input.action,
419
+ userName: input.userName,
420
+ clientId: input.clientId,
421
+ correlationId: input.correlationId,
422
+ sorting: input.sorting,
423
+ skipCount: input.skipCount,
424
+ maxResultCount: input.maxResultCount
425
+ }
426
+ });
427
+ }
428
+ /**
429
+ * Gets the current user's security log by ID
430
+ */
431
+ getMy(id) {
432
+ return this.restService.request({
433
+ method: "GET",
434
+ url: `/api/identity/security-logs/my/${id}`
435
+ });
436
+ }
437
+ /**
438
+ * Gets a paginated list of the current user's security logs
439
+ */
440
+ getMyList(input) {
441
+ return this.restService.request({
442
+ method: "GET",
443
+ url: "/api/identity/security-logs/my",
444
+ params: {
445
+ startTime: input.startTime,
446
+ endTime: input.endTime,
447
+ applicationName: input.applicationName,
448
+ identity: input.identity,
449
+ action: input.action,
450
+ userName: input.userName,
451
+ clientId: input.clientId,
452
+ correlationId: input.correlationId,
453
+ sorting: input.sorting,
454
+ skipCount: input.skipCount,
455
+ maxResultCount: input.maxResultCount
456
+ }
457
+ });
458
+ }
459
+ };
460
+
461
+ // src/proxy/identity/identity-settings.service.ts
462
+ var IdentitySettingsService = class {
463
+ constructor(restService) {
464
+ this.restService = restService;
465
+ this.apiName = "default";
466
+ }
467
+ /**
468
+ * Gets identity settings
469
+ */
470
+ get() {
471
+ return this.restService.request({
472
+ method: "GET",
473
+ url: "/api/identity/settings"
474
+ });
475
+ }
476
+ /**
477
+ * Updates identity settings
478
+ */
479
+ update(input) {
480
+ return this.restService.request({
481
+ method: "PUT",
482
+ url: "/api/identity/settings",
483
+ body: input
484
+ });
485
+ }
486
+ };
487
+
488
+ // src/proxy/identity/identity-user-lookup.service.ts
489
+ var IdentityUserLookupService = class {
490
+ constructor(restService) {
491
+ this.restService = restService;
492
+ this.apiName = "default";
493
+ }
494
+ /**
495
+ * Finds a user by ID
496
+ */
497
+ findById(id) {
498
+ return this.restService.request({
499
+ method: "GET",
500
+ url: `/api/identity/users/lookup/${id}`
501
+ });
502
+ }
503
+ /**
504
+ * Finds a user by username
505
+ */
506
+ findByUserName(userName) {
507
+ return this.restService.request({
508
+ method: "GET",
509
+ url: `/api/identity/users/lookup/by-username/${userName}`
510
+ });
511
+ }
512
+ /**
513
+ * Gets the count of users matching the filter
514
+ */
515
+ getCount(input) {
516
+ return this.restService.request({
517
+ method: "GET",
518
+ url: "/api/identity/users/lookup/count",
519
+ params: {
520
+ filter: input.filter
521
+ }
522
+ });
523
+ }
524
+ /**
525
+ * Searches for users
526
+ */
527
+ search(input) {
528
+ return this.restService.request({
529
+ method: "GET",
530
+ url: "/api/identity/users/lookup/search",
531
+ params: {
532
+ filter: input.filter,
533
+ sorting: input.sorting,
534
+ skipCount: input.skipCount,
535
+ maxResultCount: input.maxResultCount
536
+ }
537
+ });
538
+ }
539
+ };
540
+
541
+ // src/proxy/identity/identity-user.service.ts
542
+ var IdentityUserService = class {
543
+ constructor(restService) {
544
+ this.restService = restService;
545
+ this.apiName = "default";
546
+ }
547
+ /**
548
+ * Creates a new user
549
+ */
550
+ create(input) {
551
+ return this.restService.request({
552
+ method: "POST",
553
+ url: "/api/identity/users",
554
+ body: input
555
+ });
556
+ }
557
+ /**
558
+ * Deletes a user by ID
559
+ */
560
+ delete(id) {
561
+ return this.restService.request({
562
+ method: "DELETE",
563
+ url: `/api/identity/users/${id}`
564
+ });
565
+ }
566
+ /**
567
+ * Finds a user by email
568
+ */
569
+ findByEmail(email) {
570
+ return this.restService.request({
571
+ method: "GET",
572
+ url: `/api/identity/users/by-email/${email}`
573
+ });
574
+ }
575
+ /**
576
+ * Finds a user by username
577
+ */
578
+ findByUsername(username) {
579
+ return this.restService.request({
580
+ method: "GET",
581
+ url: `/api/identity/users/by-username/${username}`
582
+ });
583
+ }
584
+ /**
585
+ * Gets a user by ID
586
+ */
587
+ get(id) {
588
+ return this.restService.request({
589
+ method: "GET",
590
+ url: `/api/identity/users/${id}`
591
+ });
592
+ }
593
+ /**
594
+ * Gets all claim types available for users
595
+ */
596
+ getAllClaimTypes() {
597
+ return this.restService.request({
598
+ method: "GET",
599
+ url: "/api/identity/users/all-claim-types"
600
+ });
601
+ }
602
+ /**
603
+ * Gets assignable roles for users
604
+ */
605
+ getAssignableRoles() {
606
+ return this.restService.request({
607
+ method: "GET",
608
+ url: "/api/identity/users/assignable-roles"
609
+ });
610
+ }
611
+ /**
612
+ * Gets available organization units for users
613
+ */
614
+ getAvailableOrganizationUnits() {
615
+ return this.restService.request({
616
+ method: "GET",
617
+ url: "/api/identity/users/available-organization-units"
618
+ });
619
+ }
620
+ /**
621
+ * Gets claims for a user
622
+ */
623
+ getClaims(id) {
624
+ return this.restService.request({
625
+ method: "GET",
626
+ url: `/api/identity/users/${id}/claims`
627
+ });
628
+ }
629
+ /**
630
+ * Gets a paginated list of users
631
+ */
632
+ getList(input) {
633
+ return this.restService.request({
634
+ method: "GET",
635
+ url: "/api/identity/users",
636
+ params: {
637
+ filter: input.filter,
638
+ sorting: input.sorting,
639
+ skipCount: input.skipCount,
640
+ maxResultCount: input.maxResultCount
641
+ }
642
+ });
643
+ }
644
+ /**
645
+ * Gets organization units for a user
646
+ */
647
+ getOrganizationUnits(id) {
648
+ return this.restService.request({
649
+ method: "GET",
650
+ url: `/api/identity/users/${id}/organization-units`
651
+ });
652
+ }
653
+ /**
654
+ * Gets roles for a user
655
+ */
656
+ getRoles(id) {
657
+ return this.restService.request({
658
+ method: "GET",
659
+ url: `/api/identity/users/${id}/roles`
660
+ });
661
+ }
662
+ /**
663
+ * Gets two-factor authentication status for a user
664
+ */
665
+ getTwoFactorEnabled(id) {
666
+ return this.restService.request({
667
+ method: "GET",
668
+ url: `/api/identity/users/${id}/two-factor-enabled`
669
+ });
670
+ }
671
+ /**
672
+ * Locks a user account for a specified duration
673
+ */
674
+ lock(id, lockoutDuration) {
675
+ return this.restService.request({
676
+ method: "PUT",
677
+ url: `/api/identity/users/${id}/lock/${lockoutDuration}`
678
+ });
679
+ }
680
+ /**
681
+ * Sets two-factor authentication status for a user
682
+ */
683
+ setTwoFactorEnabled(id, enabled) {
684
+ return this.restService.request({
685
+ method: "PUT",
686
+ url: `/api/identity/users/${id}/two-factor/${enabled}`
687
+ });
688
+ }
689
+ /**
690
+ * Unlocks a user account
691
+ */
692
+ unlock(id) {
693
+ return this.restService.request({
694
+ method: "PUT",
695
+ url: `/api/identity/users/${id}/unlock`
696
+ });
697
+ }
698
+ /**
699
+ * Updates a user
700
+ */
701
+ update(id, input) {
702
+ return this.restService.request({
703
+ method: "PUT",
704
+ url: `/api/identity/users/${id}`,
705
+ body: input
706
+ });
707
+ }
708
+ /**
709
+ * Updates claims for a user
710
+ */
711
+ updateClaims(id, input) {
712
+ return this.restService.request({
713
+ method: "PUT",
714
+ url: `/api/identity/users/${id}/claims`,
715
+ body: input
716
+ });
717
+ }
718
+ /**
719
+ * Updates password for a user (admin action)
720
+ */
721
+ updatePassword(id, input) {
722
+ return this.restService.request({
723
+ method: "PUT",
724
+ url: `/api/identity/users/${id}/change-password`,
725
+ body: input
726
+ });
727
+ }
728
+ /**
729
+ * Updates roles for a user
730
+ */
731
+ updateRoles(id, input) {
732
+ return this.restService.request({
733
+ method: "PUT",
734
+ url: `/api/identity/users/${id}/roles`,
735
+ body: input
736
+ });
737
+ }
738
+ };
739
+
740
+ // src/proxy/identity/organization-unit.service.ts
741
+ var OrganizationUnitService = class {
742
+ constructor(restService) {
743
+ this.restService = restService;
744
+ this.apiName = "default";
745
+ }
746
+ /**
747
+ * Adds members to an organization unit
748
+ */
749
+ addMembers(id, input) {
750
+ return this.restService.request({
751
+ method: "PUT",
752
+ url: `/api/identity/organization-units/${id}/members`,
753
+ body: input
754
+ });
755
+ }
756
+ /**
757
+ * Adds roles to an organization unit
758
+ */
759
+ addRoles(id, input) {
760
+ return this.restService.request({
761
+ method: "PUT",
762
+ url: `/api/identity/organization-units/${id}/roles`,
763
+ body: input
764
+ });
765
+ }
766
+ /**
767
+ * Creates a new organization unit
768
+ */
769
+ create(input) {
770
+ return this.restService.request({
771
+ method: "POST",
772
+ url: "/api/identity/organization-units",
773
+ body: input
774
+ });
775
+ }
776
+ /**
777
+ * Deletes an organization unit
778
+ */
779
+ delete(id) {
780
+ return this.restService.request({
781
+ method: "DELETE",
782
+ url: `/api/identity/organization-units/${id}`
783
+ });
784
+ }
785
+ /**
786
+ * Gets an organization unit by ID
787
+ */
788
+ get(id) {
789
+ return this.restService.request({
790
+ method: "GET",
791
+ url: `/api/identity/organization-units/${id}`
792
+ });
793
+ }
794
+ /**
795
+ * Gets available roles for an organization unit
796
+ */
797
+ getAvailableRoles(input) {
798
+ return this.restService.request({
799
+ method: "GET",
800
+ url: `/api/identity/organization-units/${input.id}/available-roles`,
801
+ params: {
802
+ filter: input.filter,
803
+ sorting: input.sorting,
804
+ skipCount: input.skipCount,
805
+ maxResultCount: input.maxResultCount
806
+ }
807
+ });
808
+ }
809
+ /**
810
+ * Gets available users for an organization unit
811
+ */
812
+ getAvailableUsers(input) {
813
+ return this.restService.request({
814
+ method: "GET",
815
+ url: `/api/identity/organization-units/${input.id}/available-users`,
816
+ params: {
817
+ filter: input.filter,
818
+ sorting: input.sorting,
819
+ skipCount: input.skipCount,
820
+ maxResultCount: input.maxResultCount
821
+ }
822
+ });
823
+ }
824
+ /**
825
+ * Gets a paginated list of organization units
826
+ */
827
+ getList(input) {
828
+ return this.restService.request({
829
+ method: "GET",
830
+ url: "/api/identity/organization-units",
831
+ params: {
832
+ filter: input.filter,
833
+ sorting: input.sorting,
834
+ skipCount: input.skipCount,
835
+ maxResultCount: input.maxResultCount
836
+ }
837
+ });
838
+ }
839
+ /**
840
+ * Gets all organization units without pagination
841
+ */
842
+ getListAll() {
843
+ return this.restService.request({
844
+ method: "GET",
845
+ url: "/api/identity/organization-units/all"
846
+ });
847
+ }
848
+ /**
849
+ * Gets members of an organization unit
850
+ */
851
+ getMembers(id, input) {
852
+ return this.restService.request({
853
+ method: "GET",
854
+ url: `/api/identity/organization-units/${id}/members`,
855
+ params: {
856
+ filter: input.filter,
857
+ sorting: input.sorting,
858
+ skipCount: input.skipCount,
859
+ maxResultCount: input.maxResultCount
860
+ }
861
+ });
862
+ }
863
+ /**
864
+ * Gets roles of an organization unit
865
+ */
866
+ getRoles(id, input) {
867
+ return this.restService.request({
868
+ method: "GET",
869
+ url: `/api/identity/organization-units/${id}/roles`,
870
+ params: {
871
+ sorting: input.sorting,
872
+ skipCount: input.skipCount,
873
+ maxResultCount: input.maxResultCount
874
+ }
875
+ });
876
+ }
877
+ /**
878
+ * Moves an organization unit to a new parent
879
+ */
880
+ move(id, input) {
881
+ return this.restService.request({
882
+ method: "PUT",
883
+ url: `/api/identity/organization-units/${id}/move`,
884
+ body: input
885
+ });
886
+ }
887
+ /**
888
+ * Removes a member from an organization unit
889
+ */
890
+ removeMember(id, memberId) {
891
+ return this.restService.request({
892
+ method: "DELETE",
893
+ url: `/api/identity/organization-units/${id}/members/${memberId}`
894
+ });
895
+ }
896
+ /**
897
+ * Removes a role from an organization unit
898
+ */
899
+ removeRole(id, roleId) {
900
+ return this.restService.request({
901
+ method: "DELETE",
902
+ url: `/api/identity/organization-units/${id}/roles/${roleId}`
903
+ });
904
+ }
905
+ /**
906
+ * Updates an organization unit
907
+ */
908
+ update(id, input) {
909
+ return this.restService.request({
910
+ method: "PUT",
911
+ url: `/api/identity/organization-units/${id}`,
912
+ body: input
913
+ });
914
+ }
915
+ };
916
+
917
+ // src/proxy/identity/profile.service.ts
918
+ var ProfileService = class {
919
+ constructor(restService) {
920
+ this.restService = restService;
921
+ this.apiName = "default";
922
+ }
923
+ /**
924
+ * Changes the current user's password
925
+ */
926
+ changePassword(input) {
927
+ return this.restService.request({
928
+ method: "POST",
929
+ url: "/api/identity/my-profile/change-password",
930
+ body: input
931
+ });
932
+ }
933
+ /**
934
+ * Gets the current user's profile
935
+ */
936
+ get() {
937
+ return this.restService.request({
938
+ method: "GET",
939
+ url: "/api/identity/my-profile"
940
+ });
941
+ }
942
+ /**
943
+ * Gets the current user's two-factor authentication status
944
+ */
945
+ getTwoFactorEnabled() {
946
+ return this.restService.request({
947
+ method: "GET",
948
+ url: "/api/identity/my-profile/two-factor-enabled"
949
+ });
950
+ }
951
+ /**
952
+ * Sets the current user's two-factor authentication status
953
+ */
954
+ setTwoFactorEnabled(enabled) {
955
+ return this.restService.request({
956
+ method: "POST",
957
+ url: `/api/identity/my-profile/two-factor/${enabled}`
958
+ });
959
+ }
960
+ /**
961
+ * Updates the current user's profile
962
+ */
963
+ update(input) {
964
+ return this.restService.request({
965
+ method: "PUT",
966
+ url: "/api/identity/my-profile",
967
+ body: input
968
+ });
969
+ }
970
+ };
971
+
205
972
  // src/models/identity.ts
206
973
  var Identity;
207
974
  ((Identity2) => {
@@ -326,6 +1093,19 @@ var eIdentityComponents = {
326
1093
  SecurityLogs: "Identity.SecurityLogs"
327
1094
  };
328
1095
 
1096
+ // src/enums/two-factor-behaviour.ts
1097
+ var eIdentityTwoFactorBehaviour = /* @__PURE__ */ ((eIdentityTwoFactorBehaviour2) => {
1098
+ eIdentityTwoFactorBehaviour2[eIdentityTwoFactorBehaviour2["Optional"] = 0] = "Optional";
1099
+ eIdentityTwoFactorBehaviour2[eIdentityTwoFactorBehaviour2["Disabled"] = 1] = "Disabled";
1100
+ eIdentityTwoFactorBehaviour2[eIdentityTwoFactorBehaviour2["Forced"] = 2] = "Forced";
1101
+ return eIdentityTwoFactorBehaviour2;
1102
+ })(eIdentityTwoFactorBehaviour || {});
1103
+ var identityTwoFactorBehaviourOptions = [
1104
+ { label: "Optional", value: 0 /* Optional */ },
1105
+ { label: "Disabled", value: 1 /* Disabled */ },
1106
+ { label: "Forced", value: 2 /* Forced */ }
1107
+ ];
1108
+
329
1109
  // src/guards/extensions.guard.ts
330
1110
  async function identityExtensionsGuard() {
331
1111
  return true;
@@ -925,7 +1705,7 @@ var IdentityStateService = class {
925
1705
  };
926
1706
 
927
1707
  // src/services/identity-security-log.service.ts
928
- var IdentitySecurityLogService = class {
1708
+ var LegacyIdentitySecurityLogService = class {
929
1709
  constructor(rest) {
930
1710
  /**
931
1711
  * The API name used for REST requests.
@@ -987,7 +1767,7 @@ var IdentitySecurityLogService = class {
987
1767
  };
988
1768
 
989
1769
  // src/services/organization-unit.service.ts
990
- var OrganizationUnitService = class {
1770
+ var LegacyOrganizationUnitService = class {
991
1771
  constructor(rest) {
992
1772
  /**
993
1773
  * The API name used for REST requests.
@@ -3262,11 +4042,20 @@ var TreeAdapter = class {
3262
4042
  IDENTITY_SETTING_TAB_PROVIDERS,
3263
4043
  IDENTITY_TOOLBAR_ACTION_CONTRIBUTORS,
3264
4044
  Identity,
4045
+ IdentityClaimTypeService,
4046
+ IdentityClaimValueType,
3265
4047
  IdentityExtensionsGuard,
4048
+ IdentityRoleService,
3266
4049
  IdentitySecurityLogService,
3267
4050
  IdentityService,
4051
+ IdentitySettingsService,
3268
4052
  IdentityStateService,
4053
+ IdentityUserLookupService,
4054
+ IdentityUserService,
4055
+ LegacyIdentitySecurityLogService,
4056
+ LegacyOrganizationUnitService,
3269
4057
  OrganizationUnitService,
4058
+ ProfileService,
3270
4059
  RolesComponent,
3271
4060
  TreeAdapter,
3272
4061
  UsersComponent,
@@ -3286,7 +4075,10 @@ var TreeAdapter = class {
3286
4075
  eIdentityPolicyNames,
3287
4076
  eIdentityRouteNames,
3288
4077
  eIdentitySettingTabNames,
4078
+ eIdentityTwoFactorBehaviour,
4079
+ identityClaimValueTypeOptions,
3289
4080
  identityExtensionsGuard,
4081
+ identityTwoFactorBehaviourOptions,
3290
4082
  initializeIdentityRoutes,
3291
4083
  initializeIdentitySettingTabs,
3292
4084
  useClaims,