@orbis-systems/orbis-api-clients 1.3.2 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/aesmidas/index.d.ts +353 -166
  2. package/dist/aesmidas/index.d.ts.map +1 -1
  3. package/dist/aesmidas/index.esm.js +1 -1
  4. package/dist/aesmidas/index.esm.js.map +1 -1
  5. package/dist/aesmidas/index.js +1 -1
  6. package/dist/aesmidas/index.js.map +1 -1
  7. package/dist/bridgewise/index.d.ts +11749 -5934
  8. package/dist/bridgewise/index.d.ts.map +1 -1
  9. package/dist/bridgewise/index.esm.js +1 -1
  10. package/dist/bridgewise/index.esm.js.map +1 -1
  11. package/dist/bridgewise/index.js +1 -1
  12. package/dist/bridgewise/index.js.map +1 -1
  13. package/dist/insight/index.d.ts +131 -2
  14. package/dist/insight/index.d.ts.map +1 -1
  15. package/dist/insight/index.esm.js +1 -1
  16. package/dist/insight/index.esm.js.map +1 -1
  17. package/dist/insight/index.js +1 -1
  18. package/dist/insight/index.js.map +1 -1
  19. package/dist/middleware/index.d.ts +194 -50
  20. package/dist/middleware/index.d.ts.map +1 -1
  21. package/dist/middleware/index.esm.js +1 -1
  22. package/dist/middleware/index.esm.js.map +1 -1
  23. package/dist/middleware/index.js +1 -1
  24. package/dist/middleware/index.js.map +1 -1
  25. package/dist/orbis/index.d.ts +56 -50
  26. package/dist/orbis/index.d.ts.map +1 -1
  27. package/dist/orbis/index.esm.js +1 -1
  28. package/dist/orbis/index.esm.js.map +1 -1
  29. package/dist/orbis/index.js +1 -1
  30. package/dist/orbis/index.js.map +1 -1
  31. package/dist/uma/index.d.ts +920 -89
  32. package/dist/uma/index.d.ts.map +1 -1
  33. package/dist/uma/index.esm.js +1 -1
  34. package/dist/uma/index.esm.js.map +1 -1
  35. package/dist/uma/index.js +1 -1
  36. package/dist/uma/index.js.map +1 -1
  37. package/package.json +1 -1
@@ -114,6 +114,10 @@ export enum UmaCodeType {
114
114
  SMSCodeType = "sms",
115
115
  VoiceCodeType = "voice"
116
116
  }
117
+ export enum UmaB2CImpersonateResponseMode {
118
+ TokensImpersonateResponseMode = "tokens",
119
+ AuthCodeImpersonateResponseMode = "auth_code"
120
+ }
117
121
  export enum UmaUserType {
118
122
  B2BUserType = "b2b",
119
123
  SystemUserType = "system",
@@ -224,6 +228,8 @@ export enum UmaErrorCode {
224
228
  ThirdForbiddenErr = 4032,
225
229
  FourthForbiddenErr = 4033,
226
230
  FifthForbiddenErr = 4034,
231
+ AmbiguousFirmBranchErr = 4035,
232
+ DefaultRolesNotFoundErr = 4036,
227
233
  EntitiesChoiceNotAllowed = 4303,
228
234
  BodyParsingErr = 4403,
229
235
  UpdateOfOldEntityStateErr = 4503,
@@ -259,7 +265,6 @@ export enum UmaTokenOrigin {
259
265
  UserTokenOrigin = "user"
260
266
  }
261
267
  export enum UmaTokenGenerationMode {
262
- StandardTokenGenerationMode = "standard",
263
268
  MinifiedTokenGenerationMode = "minified"
264
269
  }
265
270
  export enum UmaResetPasswordType {
@@ -317,6 +322,47 @@ export interface UmaGetAdminAPIKeysSerializer {
317
322
  status: number;
318
323
  total_records: number;
319
324
  }
325
+ export interface UmaAIAssistantChatMutationSerializer {
326
+ chat: UmaAIAssistantChatSerializer;
327
+ status: number;
328
+ }
329
+ export interface UmaAIAssistantChatsListSerializer {
330
+ chats: UmaAIAssistantChatSerializer[];
331
+ status: number;
332
+ }
333
+ export interface UmaAIAssistantHistoryResultSerializer {
334
+ chat_id: number;
335
+ /** LockedForSeconds is the off-topic lock left on THIS chat only; other chats are unaffected. */
336
+ locked_for_seconds: number;
337
+ messages: UmaAIAssistantMessageSerializer[];
338
+ }
339
+ export interface UmaAIAssistantHistorySerializer {
340
+ history: UmaAIAssistantHistoryResultSerializer;
341
+ status: number;
342
+ }
343
+ export interface UmaAIAssistantQuestionLogDetailsSerializer {
344
+ messages: UmaAIAssistantMessageSerializer[];
345
+ question: UmaAIAssistantQuestionLogSerializer;
346
+ status: number;
347
+ }
348
+ export interface UmaAIAssistantQuestionLogListSerializer {
349
+ current_page: number;
350
+ pages_count: number;
351
+ question_log: UmaAIAssistantQuestionLogSerializer[];
352
+ status: number;
353
+ total_records: number;
354
+ }
355
+ export interface UmaAllowedEmailMutationSerializer {
356
+ allowed_email: UmaAllowedEmailSerializer;
357
+ status: number;
358
+ }
359
+ export interface UmaGetAllowedEmailsListSerializer {
360
+ allowed_emails_list: UmaAllowedEmailSerializer[];
361
+ current_page: number;
362
+ pages_count: number;
363
+ status: number;
364
+ total_records: number;
365
+ }
320
366
  export interface UmaAllowedOriginMutationSerializer {
321
367
  allowed_origin: UmaAllowedOriginSerializer;
322
368
  status: number;
@@ -428,6 +474,8 @@ export interface UmaGetCurrentB2CUserSerializer {
428
474
  status: number;
429
475
  }
430
476
  export interface UmaImpersonateResultSerializer {
477
+ auth_code: string;
478
+ state: string;
431
479
  status: number;
432
480
  tokens: UmaTokens;
433
481
  }
@@ -457,6 +505,17 @@ export interface UmaB2CUserSettingsChangeSerializer {
457
505
  settings: UmaB2CUserSettingsSerializer;
458
506
  status: number;
459
507
  }
508
+ export interface UmaBlockedEmailMutationSerializer {
509
+ blocked_email: UmaBlockedEmailSerializer;
510
+ status: number;
511
+ }
512
+ export interface UmaGetBlockedEmailsListSerializer {
513
+ blocked_emails_list: UmaBlockedEmailSerializer[];
514
+ current_page: number;
515
+ pages_count: number;
516
+ status: number;
517
+ total_records: number;
518
+ }
460
519
  export interface UmaBranchMutationSerializer {
461
520
  branch: UmaBranchAdminSerializer;
462
521
  status: number;
@@ -477,24 +536,32 @@ export interface UmaAccessControlProhibitionReason {
477
536
  export interface UmaClaims {
478
537
  '2fa_on'?: boolean;
479
538
  admin_of_firm_ids?: number[];
539
+ admin_of_firm_ids_new?: string[];
480
540
  aud?: string;
481
541
  branch_ids?: number[];
542
+ branch_ids_new?: string[];
482
543
  client_platform?: string;
483
544
  email_verif?: boolean;
484
545
  exp?: number;
485
546
  firm_ids?: number[];
547
+ firm_ids_new?: string[];
486
548
  gen_mode?: UmaTokenGenerationMode;
487
549
  have_access_to_all_firm_branches?: boolean;
488
550
  iat?: number;
489
551
  iss?: string;
490
552
  jti?: string;
491
553
  microservice_ids?: number[];
554
+ microservice_ids_new?: string[];
492
555
  nbf?: number;
493
556
  origin_id?: number;
557
+ origin_uuid?: string;
494
558
  pair_id?: string;
495
559
  permissions?: string[];
496
560
  phone_verif?: boolean;
561
+ region?: string;
562
+ regional_permissions?: Record<string, string[]>;
497
563
  sub?: string;
564
+ subject_uuid?: string;
498
565
  t_origin?: UmaTokenOrigin;
499
566
  t_type?: UmaTokenType;
500
567
  u_type?: UmaAuthUserType;
@@ -511,6 +578,17 @@ export interface UmaGetCountriesSerializer {
511
578
  countries: UmaCountrySerializer[];
512
579
  status: number;
513
580
  }
581
+ export interface UmaDefaultB2CRegistrationRoleMutationSerializer {
582
+ default_b2c_registration_role: UmaDefaultB2CRegistrationRoleSerializer;
583
+ status: number;
584
+ }
585
+ export interface UmaGetDefaultB2CRegistrationRolesListSerializer {
586
+ current_page: number;
587
+ default_b2c_registration_roles_list: UmaDefaultB2CRegistrationRoleSerializer[];
588
+ pages_count: number;
589
+ status: number;
590
+ total_records: number;
591
+ }
514
592
  export interface UmaEmailDomainMutationSerializer {
515
593
  email_domain: UmaEmailDomainSerializer;
516
594
  status: number;
@@ -605,6 +683,14 @@ export interface UmaPublicSettingsResponseSerializer {
605
683
  settings: UmaPublicSettingsSerializer;
606
684
  status: number;
607
685
  }
686
+ export interface UmaGetRegionSerializer {
687
+ region: UmaRegionSerializer;
688
+ status: number;
689
+ }
690
+ export interface UmaGetRegionsSerializer {
691
+ regions: UmaRegionSerializer[];
692
+ status: number;
693
+ }
608
694
  export interface UmaGetRolesListSerializer {
609
695
  current_page: number;
610
696
  pages_count: number;
@@ -676,6 +762,49 @@ export interface UmaGetTrustedDevicesListSerializer {
676
762
  total_records: number;
677
763
  trusted_devices_list: UmaTrustedDeviceSerializer[];
678
764
  }
765
+ export interface UmaAIAssistantAnswerSerializer {
766
+ answer_found: boolean;
767
+ category: string;
768
+ chat_id: number;
769
+ chat_name: string;
770
+ links: UmaAIAssistantLinkSerializer[];
771
+ locked_for_seconds: number;
772
+ message: string;
773
+ }
774
+ export interface UmaAIAssistantChatSerializer {
775
+ created_at: string;
776
+ id: number;
777
+ last_message_at: string;
778
+ locked_for_seconds: number;
779
+ name: string;
780
+ pinned: boolean;
781
+ pinned_at: string;
782
+ summary: string;
783
+ updated_at: string;
784
+ }
785
+ export interface UmaAIAssistantLinkSerializer {
786
+ key: string;
787
+ path: string;
788
+ title: string;
789
+ }
790
+ export interface UmaAIAssistantMessageSerializer {
791
+ answer_found: boolean;
792
+ category: string;
793
+ content: string;
794
+ created_at: string;
795
+ links: UmaAIAssistantLinkSerializer[];
796
+ role: string;
797
+ }
798
+ export interface UmaAIAssistantQuestionLogSerializer {
799
+ answered: boolean;
800
+ category: string;
801
+ chat_id: number;
802
+ chat_name: string;
803
+ created_at: string;
804
+ id: number;
805
+ question: string;
806
+ screen: string;
807
+ }
679
808
  export interface UmaAPIKeys {
680
809
  ac_same_as_for_user?: boolean;
681
810
  api_key?: string;
@@ -687,30 +816,37 @@ export interface UmaAPIKeys {
687
816
  microservices?: UmaMicroserviceSerializer[];
688
817
  name?: string;
689
818
  permissions?: UmaPermissionSerializer[];
819
+ region?: string;
690
820
  roles?: UmaRoleSerializer[];
691
821
  updated_at?: string;
822
+ uuid?: string;
692
823
  }
693
824
  export interface UmaAPIKeysB2BLoginDto {
694
825
  api_key?: string;
695
826
  api_secret?: string;
696
- token_generation_mode?: UmaTokenGenerationMode;
697
827
  }
698
828
  export interface UmaAccessBulkChangesInt {
699
829
  add?: number[];
700
830
  remove?: number[];
701
831
  }
832
+ export interface UmaAccessBulkChangesUuidUUID {
833
+ add?: string[];
834
+ remove?: string[];
835
+ }
702
836
  export interface UmaActionLogEntityFilterDto {
703
837
  entity_id?: number;
704
838
  entity_name?: string;
839
+ entity_uuid?: string;
705
840
  }
706
841
  export interface UmaActionLogSerializer {
707
842
  action_type: string;
708
843
  created_at: string;
709
844
  entity_id: number;
710
845
  entity_name: string;
846
+ entity_uuid: string;
711
847
  id: number;
712
848
  initiator: UmaUserSerializer;
713
- initiator_id: number;
849
+ initiator_id: string;
714
850
  new_state: Record<string, any>;
715
851
  prev_state: Record<string, any>;
716
852
  trigger_type: string;
@@ -732,10 +868,12 @@ export interface UmaAdminAPIKeySerializer {
732
868
  microservices: UmaMicroserviceSerializer[];
733
869
  name: string;
734
870
  permissions: UmaPermissionSerializer[];
871
+ region: string;
735
872
  roles: UmaRoleSerializer[];
736
873
  updated_at: string;
737
874
  user: UmaUserSerializer;
738
875
  user_type: string;
876
+ uuid: string;
739
877
  }
740
878
  export interface UmaAdminB2BUserSerializer {
741
879
  access_revoking_date: string;
@@ -762,8 +900,11 @@ export interface UmaAdminB2BUserSerializer {
762
900
  /** @example 1 */
763
901
  id: number;
764
902
  initiator_id: number;
903
+ initiator_uuid: string;
765
904
  is_delete_allowed: boolean;
766
905
  is_edit_allowed: boolean;
906
+ /** @example "2022-02-02T00:00:00Z" */
907
+ last_login_at: string;
767
908
  /** @example "Jenkins" */
768
909
  last_name: string;
769
910
  locale: UmaLocaleSerializer;
@@ -772,18 +913,19 @@ export interface UmaAdminB2BUserSerializer {
772
913
  mfa_enabled: boolean;
773
914
  microservices: UmaMicroserviceSerializer[];
774
915
  mode: string;
775
- permissions: UmaPermissionSerializer[];
916
+ permissions: UmaPermissionAccessSerializer[];
776
917
  /** @example "+123478844" */
777
918
  phone: string;
778
919
  /** @example true */
779
920
  phone_verified: boolean;
780
921
  primary_firm_id: number;
781
- rep_code: string;
782
- roles: UmaRoleSerializer[];
922
+ primary_firm_uuid: string;
923
+ region: string;
924
+ roles: UmaRoleAccessSerializer[];
783
925
  should_reset_password: boolean;
784
926
  small_avatar_url: string;
785
927
  status: UmaUserStatus;
786
- status_change_by_id: number;
928
+ status_change_by_id: string;
787
929
  status_change_notes: string;
788
930
  status_change_reason: UmaUserStatusChangeReasonSerializer;
789
931
  status_change_reason_id: number;
@@ -794,6 +936,7 @@ export interface UmaAdminB2BUserSerializer {
794
936
  /** @example "2022-02-02T00:00:00Z" */
795
937
  updated_at: string;
796
938
  username: string;
939
+ uuid: string;
797
940
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
798
941
  }
799
942
  export interface UmaAdminB2CUserSerializer {
@@ -821,8 +964,11 @@ export interface UmaAdminB2CUserSerializer {
821
964
  /** @example 1 */
822
965
  id: number;
823
966
  initiator_id: number;
967
+ initiator_uuid: string;
824
968
  is_delete_allowed: boolean;
825
969
  is_edit_allowed: boolean;
970
+ /** @example "2022-02-02T00:00:00Z" */
971
+ last_login_at: string;
826
972
  /** @example "Jenkins" */
827
973
  last_name: string;
828
974
  locale: UmaLocaleSerializer;
@@ -830,18 +976,19 @@ export interface UmaAdminB2CUserSerializer {
830
976
  /** @example true */
831
977
  mfa_enabled: boolean;
832
978
  microservices: UmaMicroserviceSerializer[];
833
- permissions: UmaPermissionSerializer[];
979
+ permissions: UmaPermissionAccessSerializer[];
834
980
  /** @example "+123478844" */
835
981
  phone: string;
836
982
  /** @example true */
837
983
  phone_verified: boolean;
838
984
  primary_firm_id: number;
839
- rep_code: string;
840
- roles: UmaRoleSerializer[];
985
+ primary_firm_uuid: string;
986
+ region: string;
987
+ roles: UmaRoleAccessSerializer[];
841
988
  should_reset_password: boolean;
842
989
  small_avatar_url: string;
843
990
  status: UmaUserStatus;
844
- status_change_by_id: number;
991
+ status_change_by_id: string;
845
992
  status_change_notes: string;
846
993
  status_change_reason: UmaUserStatusChangeReasonSerializer;
847
994
  status_change_reason_id: number;
@@ -849,21 +996,30 @@ export interface UmaAdminB2CUserSerializer {
849
996
  /** @example "2022-02-02T00:00:00Z" */
850
997
  updated_at: string;
851
998
  username: string;
999
+ uuid: string;
852
1000
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
853
1001
  }
854
1002
  export interface UmaAdminCreateAPIKeyDto {
855
1003
  ac_same_as_for_user?: boolean;
1004
+ branch_uuids?: string[];
856
1005
  branches?: number[];
857
1006
  firms?: UmaFirmInfo[];
858
1007
  mfa_codes?: UmaMfaCodesDto;
859
1008
  name?: string;
1009
+ permission_uuids?: string[];
860
1010
  permissions?: number[];
1011
+ region?: string;
1012
+ regional_permissions?: UmaRegionalAccessDto[];
1013
+ regional_roles?: UmaRegionalAccessDto[];
1014
+ role_uuids?: string[];
861
1015
  roles?: number[];
862
1016
  user_id?: number;
1017
+ user_uuid?: string;
863
1018
  }
864
1019
  export interface UmaAdminDeleteAPIKeysDto {
865
1020
  ids?: number[];
866
1021
  mfa_codes?: UmaMfaCodesDto;
1022
+ uuids?: string[];
867
1023
  }
868
1024
  export interface UmaAdminGetAPIKeysListDto {
869
1025
  pagination?: UmaPaginationDto;
@@ -871,17 +1027,26 @@ export interface UmaAdminGetAPIKeysListDto {
871
1027
  sorts?: UmaSortDto[];
872
1028
  /** Optional: filter by specific user IDs */
873
1029
  user_ids?: number[];
1030
+ /** Optional: filter by specific user UUIDs */
1031
+ user_uuids?: string[];
874
1032
  }
875
1033
  export interface UmaAdminUpdateAPIKeyDto {
876
1034
  ac_same_as_for_user?: boolean;
1035
+ branch_uuids?: string[];
877
1036
  branches?: number[];
878
1037
  firms?: UmaFirmInfo[];
879
1038
  mfa_codes?: UmaMfaCodesDto;
880
1039
  name?: string;
1040
+ permission_uuids?: string[];
881
1041
  permissions?: number[];
1042
+ region?: string;
1043
+ regional_permissions?: UmaRegionalAccessDto[];
1044
+ regional_roles?: UmaRegionalAccessDto[];
1045
+ role_uuids?: string[];
882
1046
  roles?: number[];
883
1047
  updated_at?: string;
884
1048
  user_id?: number;
1049
+ user_uuid?: string;
885
1050
  }
886
1051
  export interface UmaAdminUserSerializer {
887
1052
  access_revoking_date: string;
@@ -907,8 +1072,11 @@ export interface UmaAdminUserSerializer {
907
1072
  /** @example 1 */
908
1073
  id: number;
909
1074
  initiator_id: number;
1075
+ initiator_uuid: string;
910
1076
  is_delete_allowed: boolean;
911
1077
  is_edit_allowed: boolean;
1078
+ /** @example "2022-02-02T00:00:00Z" */
1079
+ last_login_at: string;
912
1080
  /** @example "Jenkins" */
913
1081
  last_name: string;
914
1082
  locale: UmaLocaleSerializer;
@@ -916,18 +1084,19 @@ export interface UmaAdminUserSerializer {
916
1084
  /** @example true */
917
1085
  mfa_enabled: boolean;
918
1086
  microservices: UmaMicroserviceSerializer[];
919
- permissions: UmaPermissionSerializer[];
1087
+ permissions: UmaPermissionAccessSerializer[];
920
1088
  /** @example "+123478844" */
921
1089
  phone: string;
922
1090
  /** @example true */
923
1091
  phone_verified: boolean;
924
1092
  primary_firm_id: number;
925
- rep_code: string;
926
- roles: UmaRoleSerializer[];
1093
+ primary_firm_uuid: string;
1094
+ region: string;
1095
+ roles: UmaRoleAccessSerializer[];
927
1096
  should_reset_password: boolean;
928
1097
  small_avatar_url: string;
929
1098
  status: UmaUserStatus;
930
- status_change_by_id: number;
1099
+ status_change_by_id: string;
931
1100
  status_change_notes: string;
932
1101
  status_change_reason: UmaUserStatusChangeReasonSerializer;
933
1102
  status_change_reason_id: number;
@@ -935,8 +1104,27 @@ export interface UmaAdminUserSerializer {
935
1104
  /** @example "2022-02-02T00:00:00Z" */
936
1105
  updated_at: string;
937
1106
  username: string;
1107
+ uuid: string;
938
1108
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
939
1109
  }
1110
+ export interface UmaAllowedEmailDto {
1111
+ email?: string;
1112
+ firm_id?: number;
1113
+ firm_uuid?: string;
1114
+ }
1115
+ export interface UmaAllowedEmailSerializer {
1116
+ created_at: string;
1117
+ email: string;
1118
+ firm: UmaFirmSerializer;
1119
+ firm_id: number;
1120
+ firm_uuid: string;
1121
+ id: number;
1122
+ updated_at: string;
1123
+ }
1124
+ export interface UmaAllowedEmailsListFiltersDto {
1125
+ firm_ids?: number[];
1126
+ firm_uuids?: string[];
1127
+ }
940
1128
  export interface UmaAllowedOriginDto {
941
1129
  origin?: string;
942
1130
  }
@@ -964,8 +1152,10 @@ export interface UmaAuthAppsLimitsSerializer {
964
1152
  }
965
1153
  export interface UmaAuthFormDto {
966
1154
  branch_id?: number;
1155
+ branch_uuid?: string;
967
1156
  client_platform_slug?: string;
968
1157
  firm_id?: number;
1158
+ firm_uuid?: string;
969
1159
  logo_base_url?: string;
970
1160
  logo_path?: string;
971
1161
  redirect_url?: string;
@@ -976,10 +1166,12 @@ export interface UmaAuthFormDto {
976
1166
  export interface UmaAuthFormSerializer {
977
1167
  branch: UmaBranchSerializer;
978
1168
  branch_id: number;
1169
+ branch_uuid: string;
979
1170
  client_platform_slug: string;
980
1171
  created_at: string;
981
1172
  firm: UmaFirmSerializer;
982
1173
  firm_id: number;
1174
+ firm_uuid: string;
983
1175
  id: number;
984
1176
  logo_base_url: string;
985
1177
  logo_path: string;
@@ -991,10 +1183,10 @@ export interface UmaAuthFormSerializer {
991
1183
  }
992
1184
  export interface UmaAuthProviderUserBindingSerializer {
993
1185
  app_type: UmaAuthProviderAppType;
994
- b2b_user_id: number;
995
- b2c_user_id: number;
1186
+ b2b_user_id: string;
1187
+ b2c_user_id: string;
996
1188
  created_at: string;
997
- firm_id: number;
1189
+ firm_id: string;
998
1190
  id: number;
999
1191
  name: string;
1000
1192
  provider_user_id: string;
@@ -1030,7 +1222,6 @@ export interface UmaB2BResetPasswordDto {
1030
1222
  contact?: string;
1031
1223
  new_password?: string;
1032
1224
  old_password?: string;
1033
- token_generation_mode?: UmaTokenGenerationMode;
1034
1225
  }
1035
1226
  export interface UmaB2BSendContactChangeCodeDto {
1036
1227
  contact?: string;
@@ -1041,11 +1232,15 @@ export interface UmaB2BUploadAvatarSerializer {
1041
1232
  small_avatar_path: string;
1042
1233
  }
1043
1234
  export interface UmaB2BUserBulkAccessUpdateDto {
1235
+ branch_uuids?: UmaAccessBulkChangesUuidUUID;
1044
1236
  branches?: UmaAccessBulkChangesInt;
1045
1237
  firms?: UmaB2BUserFirmAccessChanges[];
1238
+ permission_uuids?: UmaAccessBulkChangesUuidUUID;
1046
1239
  permissions?: UmaAccessBulkChangesInt;
1240
+ role_uuids?: UmaAccessBulkChangesUuidUUID;
1047
1241
  roles?: UmaAccessBulkChangesInt;
1048
1242
  user_ids?: number[];
1243
+ user_uuids?: string[];
1049
1244
  }
1050
1245
  export interface UmaB2BUserFirmAccessChanges {
1051
1246
  add?: UmaFirmInfo[];
@@ -1053,6 +1248,7 @@ export interface UmaB2BUserFirmAccessChanges {
1053
1248
  }
1054
1249
  export interface UmaB2BUserSerializer {
1055
1250
  admin_of_firm_ids: number[];
1251
+ admin_of_firm_uuids: string[];
1056
1252
  allow_feedback: boolean;
1057
1253
  big_avatar_url: string;
1058
1254
  /** @example "2022-02-02T00:00:00Z" */
@@ -1071,7 +1267,10 @@ export interface UmaB2BUserSerializer {
1071
1267
  /** @example 1 */
1072
1268
  id: number;
1073
1269
  initiator_id: number;
1270
+ initiator_uuid: string;
1074
1271
  is_chief_admin: boolean;
1272
+ /** @example "2022-02-02T00:00:00Z" */
1273
+ last_login_at: string;
1075
1274
  /** @example "Jenkins" */
1076
1275
  last_name: string;
1077
1276
  locale: UmaLocaleSerializer;
@@ -1084,7 +1283,7 @@ export interface UmaB2BUserSerializer {
1084
1283
  phone: string;
1085
1284
  /** @example true */
1086
1285
  phone_verified: boolean;
1087
- rep_code: string;
1286
+ region: string;
1088
1287
  should_reset_password: boolean;
1089
1288
  small_avatar_url: string;
1090
1289
  theme: string;
@@ -1092,11 +1291,13 @@ export interface UmaB2BUserSerializer {
1092
1291
  /** @example "2022-02-02T00:00:00Z" */
1093
1292
  updated_at: string;
1094
1293
  username: string;
1294
+ uuid: string;
1095
1295
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
1096
1296
  }
1097
1297
  export interface UmaB2CImpersonateDto {
1098
- token_generation_mode?: UmaTokenGenerationMode;
1298
+ response_mode?: UmaB2CImpersonateResponseMode;
1099
1299
  user_id?: number;
1300
+ user_uuid?: string;
1100
1301
  }
1101
1302
  export interface UmaB2CInitOAuthResponse {
1102
1303
  data?: UmaInitOAuthLoginSerializer;
@@ -1106,7 +1307,6 @@ export interface UmaB2CRefreshDto {
1106
1307
  auth_form_slug?: string;
1107
1308
  refresh_token?: string;
1108
1309
  send_redirect?: boolean;
1109
- token_generation_mode?: UmaTokenGenerationMode;
1110
1310
  }
1111
1311
  export interface UmaB2CResetPasswordDto {
1112
1312
  auth_form_slug?: string;
@@ -1124,11 +1324,16 @@ export interface UmaB2CSendVerificationCodeDto {
1124
1324
  contact?: string;
1125
1325
  }
1126
1326
  export interface UmaB2CUserBulkAccessUpdateDto {
1327
+ branch_uuids?: UmaAccessBulkChangesUuidUUID;
1127
1328
  branches?: UmaAccessBulkChangesInt;
1128
1329
  firm_replace?: number;
1330
+ firm_replace_uuid?: string;
1331
+ permission_uuids?: UmaAccessBulkChangesUuidUUID;
1129
1332
  permissions?: UmaAccessBulkChangesInt;
1333
+ role_uuids?: UmaAccessBulkChangesUuidUUID;
1130
1334
  roles?: UmaAccessBulkChangesInt;
1131
1335
  user_ids?: number[];
1336
+ user_uuids?: string[];
1132
1337
  }
1133
1338
  export interface UmaB2CUserSettingsSerializer {
1134
1339
  email: string;
@@ -1148,7 +1353,6 @@ export interface UmaBasicB2BLoginDto {
1148
1353
  password?: string;
1149
1354
  /** @example true */
1150
1355
  remember_me?: boolean;
1151
- token_generation_mode?: UmaTokenGenerationMode;
1152
1356
  }
1153
1357
  export interface UmaBasicB2CLoginDto {
1154
1358
  auth_form_slug?: string;
@@ -1162,7 +1366,24 @@ export interface UmaBasicB2CLoginDto {
1162
1366
  /** @example true */
1163
1367
  remember_me?: boolean;
1164
1368
  send_redirect?: boolean;
1165
- token_generation_mode?: UmaTokenGenerationMode;
1369
+ }
1370
+ export interface UmaBlockedEmailDto {
1371
+ email?: string;
1372
+ firm_id?: number;
1373
+ firm_uuid?: string;
1374
+ }
1375
+ export interface UmaBlockedEmailSerializer {
1376
+ created_at: string;
1377
+ email: string;
1378
+ firm: UmaFirmSerializer;
1379
+ firm_id: number;
1380
+ firm_uuid: string;
1381
+ id: number;
1382
+ updated_at: string;
1383
+ }
1384
+ export interface UmaBlockedEmailsListFiltersDto {
1385
+ firm_ids?: number[];
1386
+ firm_uuids?: string[];
1166
1387
  }
1167
1388
  export interface UmaBranchAdminListItemSerializer {
1168
1389
  branch_admins_count: number;
@@ -1173,22 +1394,26 @@ export interface UmaBranchAdminListItemSerializer {
1173
1394
  firm: UmaFirmSerializer;
1174
1395
  /** @example 1 */
1175
1396
  firm_id: number;
1397
+ firm_uuid: string;
1176
1398
  /** @example 1 */
1177
1399
  id: number;
1178
1400
  is_delete_allowed: boolean;
1179
1401
  is_update_allowed: boolean;
1180
1402
  /** @example "New York" */
1181
1403
  name: string;
1404
+ region: string;
1182
1405
  retail_available_mfa_options: string[];
1183
1406
  retail_email_notifications_enabled: boolean;
1184
1407
  retail_email_verification_required: boolean;
1185
1408
  retail_login_enabled: boolean;
1186
1409
  retail_mfa_enabling_required: boolean;
1187
1410
  retail_phone_verification_required: boolean;
1411
+ settings: UmaTenantSettingSerializer[];
1188
1412
  /** @example "new-york" */
1189
1413
  slug: string;
1190
1414
  /** @example "2022-02-02T00:00:00Z" */
1191
1415
  updated_at: string;
1416
+ uuid: string;
1192
1417
  }
1193
1418
  export interface UmaBranchAdminSerializer {
1194
1419
  branch_admins_count: number;
@@ -1199,20 +1424,24 @@ export interface UmaBranchAdminSerializer {
1199
1424
  firm: UmaFirmSerializer;
1200
1425
  /** @example 1 */
1201
1426
  firm_id: number;
1427
+ firm_uuid: string;
1202
1428
  /** @example 1 */
1203
1429
  id: number;
1204
1430
  /** @example "New York" */
1205
1431
  name: string;
1432
+ region: string;
1206
1433
  retail_available_mfa_options: string[];
1207
1434
  retail_email_notifications_enabled: boolean;
1208
1435
  retail_email_verification_required: boolean;
1209
1436
  retail_login_enabled: boolean;
1210
1437
  retail_mfa_enabling_required: boolean;
1211
1438
  retail_phone_verification_required: boolean;
1439
+ settings: UmaTenantSettingSerializer[];
1212
1440
  /** @example "new-york" */
1213
1441
  slug: string;
1214
1442
  /** @example "2022-02-02T00:00:00Z" */
1215
1443
  updated_at: string;
1444
+ uuid: string;
1216
1445
  }
1217
1446
  export interface UmaBranchDtoCommon {
1218
1447
  code?: string;
@@ -1231,12 +1460,15 @@ export interface UmaBranchSerializer {
1231
1460
  code: string;
1232
1461
  /** @example 1 */
1233
1462
  firm_id: number;
1463
+ firm_uuid: string;
1234
1464
  /** @example 1 */
1235
1465
  id: number;
1236
1466
  /** @example "New York" */
1237
1467
  name: string;
1468
+ region: string;
1238
1469
  /** @example "new-york" */
1239
1470
  slug: string;
1471
+ uuid: string;
1240
1472
  }
1241
1473
  export interface UmaChangeUserStatusDto {
1242
1474
  new_status?: UmaUserStatus;
@@ -1256,17 +1488,24 @@ export interface UmaCountrySerializer {
1256
1488
  }
1257
1489
  export interface UmaCreateAPIKeysDto {
1258
1490
  ac_same_as_for_user?: boolean;
1491
+ branch_uuids?: string[];
1259
1492
  branches?: number[];
1260
1493
  firms?: UmaFirmInfo[];
1261
1494
  mfa_codes?: UmaMfaCodesDto;
1262
1495
  name?: string;
1496
+ permission_uuids?: string[];
1263
1497
  permissions?: number[];
1498
+ region?: string;
1499
+ regional_permissions?: UmaRegionalAccessDto[];
1500
+ regional_roles?: UmaRegionalAccessDto[];
1501
+ role_uuids?: string[];
1264
1502
  roles?: number[];
1265
1503
  }
1266
1504
  export interface UmaCreateB2BUserDto {
1267
1505
  access_revoking_date?: string;
1268
1506
  add_default_domain_permissions?: boolean;
1269
1507
  allow_feedback?: boolean;
1508
+ branch_uuids?: string[];
1270
1509
  branches?: number[];
1271
1510
  /** @example "test@gmail.com" */
1272
1511
  email?: string;
@@ -1276,11 +1515,16 @@ export interface UmaCreateB2BUserDto {
1276
1515
  last_name?: string;
1277
1516
  /** @example "TeStPaSS" */
1278
1517
  password?: string;
1518
+ permission_uuids?: string[];
1279
1519
  permissions?: number[];
1280
1520
  /** @example "+1231231234" */
1281
1521
  phone?: string;
1282
1522
  primary_firm_id?: number;
1283
- rep_code?: string;
1523
+ primary_firm_uuid?: string;
1524
+ region?: string;
1525
+ regional_permissions?: UmaRegionalAccessDto[];
1526
+ regional_roles?: UmaRegionalAccessDto[];
1527
+ role_uuids?: string[];
1284
1528
  roles?: number[];
1285
1529
  should_reset_password?: boolean;
1286
1530
  title?: string;
@@ -1291,19 +1535,24 @@ export interface UmaCreateB2BUserDto {
1291
1535
  export interface UmaCreateB2CUserDto {
1292
1536
  access_revoking_date?: string;
1293
1537
  allow_feedback?: boolean;
1538
+ branch_uuids?: string[];
1294
1539
  branches?: number[];
1295
1540
  /** @example "test@gmail.com" */
1296
1541
  email?: string;
1297
1542
  /** @example "main" */
1298
1543
  env?: UmaB2CUserEnv;
1299
1544
  firm_id?: number;
1545
+ firm_uuid?: string;
1300
1546
  first_name?: string;
1301
1547
  last_name?: string;
1302
1548
  /** @example "TeStPaSS" */
1303
1549
  password?: string;
1550
+ permission_uuids?: string[];
1304
1551
  permissions?: number[];
1305
1552
  /** @example "+1231231234" */
1306
1553
  phone?: string;
1554
+ region?: string;
1555
+ role_uuids?: string[];
1307
1556
  roles?: number[];
1308
1557
  username?: string;
1309
1558
  watchmen_user_links?: UmaWatchmenUserLinkDto[];
@@ -1311,6 +1560,7 @@ export interface UmaCreateB2CUserDto {
1311
1560
  export interface UmaCreateBranchDto {
1312
1561
  code?: string;
1313
1562
  firm_id?: number;
1563
+ firm_uuid?: string;
1314
1564
  name?: string;
1315
1565
  retail_available_auth_app_options?: UmaAuthAppType[];
1316
1566
  retail_email_notifications_enabled?: boolean;
@@ -1327,6 +1577,8 @@ export interface UmaCreateEndpointDto {
1327
1577
  metadata?: UmaEndpointMetadataDto;
1328
1578
  method?: UmaCreateEndpointDtoMethodEnum;
1329
1579
  microservice_id?: number;
1580
+ microservice_uuid?: string;
1581
+ required_permission_uuids?: string[];
1330
1582
  required_permissions?: number[];
1331
1583
  route?: string;
1332
1584
  type?: UmaCreateEndpointDtoTypeEnum;
@@ -1343,6 +1595,7 @@ export interface UmaCreateFirmDto {
1343
1595
  name?: string;
1344
1596
  notes?: string;
1345
1597
  phone?: string;
1598
+ region?: string;
1346
1599
  slug?: string;
1347
1600
  }
1348
1601
  export interface UmaCreateIdentityProviderDto {
@@ -1351,6 +1604,7 @@ export interface UmaCreateIdentityProviderDto {
1351
1604
  client_secret?: string;
1352
1605
  company_domain?: string;
1353
1606
  firm_id?: number;
1607
+ firm_uuid?: string;
1354
1608
  priority?: number;
1355
1609
  redirect_url?: string;
1356
1610
  type?: UmaCreateIdentityProviderDtoTypeEnum;
@@ -1359,6 +1613,7 @@ export interface UmaCreateMicroserviceDto {
1359
1613
  description?: string;
1360
1614
  domains?: UmaMicroserviceDomainDto[];
1361
1615
  is_active?: boolean;
1616
+ is_globalized?: boolean;
1362
1617
  is_token_encoding_required?: boolean;
1363
1618
  is_visible_on_admin_sidebar?: boolean;
1364
1619
  logo_url?: string;
@@ -1369,13 +1624,18 @@ export interface UmaCreatePermissionDto {
1369
1624
  assignment_group?: UmaPermissionAG;
1370
1625
  metadata?: UmaPermissionMetadataDto;
1371
1626
  microservice_id?: number;
1627
+ microservice_uuid?: string;
1372
1628
  permission?: string;
1373
1629
  }
1374
1630
  export interface UmaCreateRoleDto {
1375
1631
  assignment_group?: UmaPermissionAG;
1376
1632
  firm_id?: number;
1633
+ firm_uuid?: string;
1377
1634
  microservice_id?: number;
1635
+ microservice_uuid?: string;
1378
1636
  name?: string;
1637
+ permission_can_assign_role_uuids?: string[];
1638
+ permission_uuids?: string[];
1379
1639
  permissions?: number[];
1380
1640
  permissions_can_assign_role?: number[];
1381
1641
  type_id?: number;
@@ -1400,6 +1660,7 @@ export interface UmaCreateSystemUserDto {
1400
1660
  access_revoking_date?: string;
1401
1661
  add_default_domain_permissions?: boolean;
1402
1662
  allow_feedback?: boolean;
1663
+ branch_uuids?: string[];
1403
1664
  branches?: number[];
1404
1665
  /** @example "test@gmail.com" */
1405
1666
  email?: string;
@@ -1408,11 +1669,16 @@ export interface UmaCreateSystemUserDto {
1408
1669
  has_access_to_all_firm_branches?: boolean;
1409
1670
  /** @example "TeStPaSS" */
1410
1671
  password?: string;
1672
+ permission_uuids?: string[];
1411
1673
  permissions?: number[];
1412
1674
  /** @example "+1231231234" */
1413
1675
  phone?: string;
1414
1676
  primary_firm_id?: number;
1415
- rep_code?: string;
1677
+ primary_firm_uuid?: string;
1678
+ region?: string;
1679
+ regional_permissions?: UmaRegionalAccessDto[];
1680
+ regional_roles?: UmaRegionalAccessDto[];
1681
+ role_uuids?: string[];
1416
1682
  roles?: number[];
1417
1683
  should_reset_password?: boolean;
1418
1684
  title?: string;
@@ -1431,9 +1697,30 @@ export interface UmaCreateYubicoOTPDto {
1431
1697
  name?: string;
1432
1698
  otp?: string;
1433
1699
  }
1700
+ export interface UmaDefaultB2CRegistrationRoleDto {
1701
+ branch_id?: number;
1702
+ branch_uuid?: string;
1703
+ firm_id?: number;
1704
+ firm_uuid?: string;
1705
+ role_id?: number;
1706
+ role_uuid?: string;
1707
+ }
1708
+ export interface UmaDefaultB2CRegistrationRoleSerializer {
1709
+ branch: UmaBranchSerializer;
1710
+ branch_id: number;
1711
+ branch_uuid: string;
1712
+ firm: UmaFirmSerializer;
1713
+ firm_id: number;
1714
+ firm_uuid: string;
1715
+ id: number;
1716
+ role: UmaRoleSerializer;
1717
+ role_id: number;
1718
+ role_uuid: string;
1719
+ }
1434
1720
  export interface UmaDeleteAPIKeysDto {
1435
1721
  ids?: number[];
1436
1722
  mfa_codes?: UmaMfaCodesDto;
1723
+ uuids?: string[];
1437
1724
  }
1438
1725
  export interface UmaDeleteByIDsDtoInt {
1439
1726
  ids?: number[];
@@ -1441,6 +1728,14 @@ export interface UmaDeleteByIDsDtoInt {
1441
1728
  export interface UmaDeleteByIDsDtoInt64 {
1442
1729
  ids?: number[];
1443
1730
  }
1731
+ export interface UmaDeleteByUUIDsDtoInt {
1732
+ ids?: number[];
1733
+ uuids?: string[];
1734
+ }
1735
+ export interface UmaDeleteByUUIDsDtoInt64 {
1736
+ ids?: number[];
1737
+ uuids?: string[];
1738
+ }
1444
1739
  export interface UmaDeleteSessionsDto {
1445
1740
  pair_ids?: string[];
1446
1741
  }
@@ -1448,12 +1743,19 @@ export interface UmaDeleteUsersDto {
1448
1743
  ids?: number[];
1449
1744
  notes?: string;
1450
1745
  reason_id?: number;
1746
+ uuids?: string[];
1451
1747
  }
1452
1748
  export interface UmaEmailDomainDto {
1749
+ branch_uuids?: string[];
1453
1750
  branches?: number[];
1454
1751
  domain?: string;
1455
1752
  firms?: UmaFirmInfo[];
1753
+ permission_uuids?: string[];
1456
1754
  permissions?: number[];
1755
+ region?: string;
1756
+ regional_permissions?: UmaRegionalAccessDto[];
1757
+ regional_roles?: UmaRegionalAccessDto[];
1758
+ role_uuids?: string[];
1457
1759
  roles?: number[];
1458
1760
  }
1459
1761
  export interface UmaEmailDomainSerializer {
@@ -1463,8 +1765,10 @@ export interface UmaEmailDomainSerializer {
1463
1765
  firms: UmaFirmAccessSerializer[];
1464
1766
  id: number;
1465
1767
  permissions: UmaPermissionSerializer[];
1768
+ region: string;
1466
1769
  roles: UmaRoleSerializer[];
1467
1770
  updated_at: string;
1771
+ uuid: string;
1468
1772
  }
1469
1773
  export interface UmaEndpointMetadataDto {
1470
1774
  admin_ui_permission_key?: string;
@@ -1490,10 +1794,16 @@ export interface UmaEndpointSerializer {
1490
1794
  method: UmaEndpointSerializerMethodEnum;
1491
1795
  microservice: UmaMicroserviceSerializer;
1492
1796
  microservice_id: number;
1797
+ microservice_uuid: string;
1493
1798
  required_permissions: UmaPermissionSerializer[];
1494
1799
  route: string;
1495
1800
  type: UmaEndpointType;
1496
1801
  updated_at: string;
1802
+ uuid: string;
1803
+ }
1804
+ export interface UmaExchangeB2CImpersonateAuthCodeDto {
1805
+ auth_code?: string;
1806
+ state?: string;
1497
1807
  }
1498
1808
  export interface UmaFinishOAuthLoginDto {
1499
1809
  authentication_code?: string;
@@ -1508,6 +1818,8 @@ export interface UmaFirmAccessSerializer {
1508
1818
  allow_b2c_email_notifications: boolean;
1509
1819
  allow_b2c_multi_branch_registration: boolean;
1510
1820
  b2b_users_count: number;
1821
+ b2c_access_token_expires_in_minutes: number;
1822
+ b2c_refresh_token_expires_in_hours: number;
1511
1823
  b2c_users_count: number;
1512
1824
  branches: UmaBranchSerializer[];
1513
1825
  branches_count: number;
@@ -1524,15 +1836,18 @@ export interface UmaFirmAccessSerializer {
1524
1836
  name: string;
1525
1837
  notes: string;
1526
1838
  phone: string;
1839
+ region: string;
1527
1840
  /** @example "viewtrade" */
1528
1841
  slug: string;
1529
1842
  status: string;
1530
1843
  tags: UmaTagSerializer[];
1531
1844
  /** @example "2022-02-02T00:00:00Z" */
1532
1845
  updated_at: string;
1846
+ uuid: string;
1533
1847
  }
1534
1848
  export interface UmaFirmInfo {
1535
1849
  firm_id?: number;
1850
+ firm_uuid?: string;
1536
1851
  have_access_to_all_firm_branches?: boolean;
1537
1852
  }
1538
1853
  export interface UmaFirmSerializer {
@@ -1540,6 +1855,8 @@ export interface UmaFirmSerializer {
1540
1855
  allow_b2c_email_notifications: boolean;
1541
1856
  allow_b2c_multi_branch_registration: boolean;
1542
1857
  b2b_users_count: number;
1858
+ b2c_access_token_expires_in_minutes: number;
1859
+ b2c_refresh_token_expires_in_hours: number;
1543
1860
  b2c_users_count: number;
1544
1861
  branches: UmaBranchSerializer[];
1545
1862
  branches_count: number;
@@ -1555,15 +1872,18 @@ export interface UmaFirmSerializer {
1555
1872
  name: string;
1556
1873
  notes: string;
1557
1874
  phone: string;
1875
+ region: string;
1558
1876
  /** @example "viewtrade" */
1559
1877
  slug: string;
1560
1878
  status: string;
1561
1879
  tags: UmaTagSerializer[];
1562
1880
  /** @example "2022-02-02T00:00:00Z" */
1563
1881
  updated_at: string;
1882
+ uuid: string;
1564
1883
  }
1565
1884
  export interface UmaGenerateWatchmenAuthTokenDto {
1566
1885
  branch_id?: number;
1886
+ branch_uuid?: string;
1567
1887
  }
1568
1888
  export interface UmaGeneratedEntityPDFSerializer {
1569
1889
  data: UmaPdfGenerationInfo;
@@ -1573,6 +1893,18 @@ export interface UmaGeneratedWatchmenTokenInfoSerializer {
1573
1893
  expires_at: number;
1574
1894
  token: string;
1575
1895
  }
1896
+ export interface UmaGetAIAssistantQuestionLogListDto {
1897
+ filters?: UmaGetAIAssistantQuestionLogListFiltersDto;
1898
+ pagination?: UmaPaginationDto;
1899
+ search?: string;
1900
+ sorts?: UmaSortDto[];
1901
+ }
1902
+ export interface UmaGetAIAssistantQuestionLogListFiltersDto {
1903
+ answered?: boolean;
1904
+ categories?: string[];
1905
+ date_from?: string;
1906
+ date_to?: string;
1907
+ }
1576
1908
  export interface UmaGetAPIKeysListDto {
1577
1909
  pagination?: UmaPaginationDto;
1578
1910
  search?: string;
@@ -1588,9 +1920,16 @@ export interface UmaGetActionLogsListFiltersDto {
1588
1920
  entities?: UmaActionLogEntityFilterDto[];
1589
1921
  ids?: number[];
1590
1922
  initiator_ids?: number[];
1923
+ initiator_uuids?: string[];
1591
1924
  show_only_fields_changes?: string[];
1592
1925
  trigger_types?: string[];
1593
1926
  }
1927
+ export interface UmaGetAllowedEmailsListDto {
1928
+ filters?: UmaAllowedEmailsListFiltersDto;
1929
+ pagination?: UmaPaginationDto;
1930
+ search?: string;
1931
+ sorts?: UmaSortDto[];
1932
+ }
1594
1933
  export interface UmaGetAllowedOriginsListDto {
1595
1934
  pagination?: UmaPaginationDto;
1596
1935
  search?: string;
@@ -1604,7 +1943,9 @@ export interface UmaGetAuthFormsListDto {
1604
1943
  }
1605
1944
  export interface UmaGetAuthFormsListFiltersDto {
1606
1945
  branch_ids?: number[];
1946
+ branch_uuids?: string[];
1607
1947
  firm_ids?: number[];
1948
+ firm_uuids?: string[];
1608
1949
  ids?: number[];
1609
1950
  }
1610
1951
  export interface UmaGetB2BUsersListDto {
@@ -1628,22 +1969,35 @@ export interface UmaGetB2CUsersListDto {
1628
1969
  }
1629
1970
  export interface UmaGetB2CUsersListFiltersDto {
1630
1971
  branch_ids?: number[];
1972
+ branch_uuids?: string[];
1631
1973
  email_verified?: boolean;
1632
1974
  firm_ids?: number[];
1633
1975
  firm_tag_ids?: number[];
1976
+ firm_uuids?: string[];
1634
1977
  ids?: number[];
1635
1978
  is_blocked?: boolean;
1636
1979
  microservice_ids?: number[];
1980
+ microservice_uuids?: string[];
1637
1981
  neither_verified?: boolean;
1638
1982
  permission_ids?: number[];
1639
1983
  permission_names?: string[];
1984
+ permission_uuids?: string[];
1640
1985
  phone_verified?: boolean;
1986
+ regions?: string[];
1641
1987
  role_ids?: number[];
1988
+ role_uuids?: string[];
1642
1989
  show_only?: UmaGetB2CUsersListFiltersDtoShowOnlyEnum;
1643
1990
  show_users_linked_to_watchmen?: boolean;
1644
1991
  status_change_reason_ids?: number[];
1645
1992
  statuses?: UmaUserStatus[];
1646
1993
  type?: UmaUserType;
1994
+ uuids?: string[];
1995
+ }
1996
+ export interface UmaGetBlockedEmailsListDto {
1997
+ filters?: UmaBlockedEmailsListFiltersDto;
1998
+ pagination?: UmaPaginationDto;
1999
+ search?: string;
2000
+ sorts?: UmaSortDto[];
1647
2001
  }
1648
2002
  export interface UmaGetBranchesListDto {
1649
2003
  count_branch_admins?: boolean;
@@ -1655,10 +2009,17 @@ export interface UmaGetBranchesListDto {
1655
2009
  }
1656
2010
  export interface UmaGetBranchesListFiltersDto {
1657
2011
  firm_ids?: number[];
2012
+ firm_uuids?: string[];
1658
2013
  ids?: number[];
2014
+ regions?: string[];
1659
2015
  retail_email_verification_required?: boolean;
1660
2016
  retail_login_enabled?: boolean;
1661
2017
  retail_phone_verification_required?: boolean;
2018
+ uuids?: string[];
2019
+ }
2020
+ export interface UmaGetDefaultB2CRegistrationRolesListDto {
2021
+ pagination?: UmaPaginationDto;
2022
+ sorts?: UmaSortDto[];
1662
2023
  }
1663
2024
  export interface UmaGetEmailDomainsListDto {
1664
2025
  filters?: any;
@@ -1677,6 +2038,8 @@ export interface UmaGetEndpointsListFiltersDto {
1677
2038
  is_public?: boolean;
1678
2039
  methods?: string[];
1679
2040
  microservice_ids?: number[];
2041
+ microservice_uuids?: string[];
2042
+ uuids?: string[];
1680
2043
  }
1681
2044
  export interface UmaGetFirmsListDto {
1682
2045
  count_admins?: boolean;
@@ -1691,8 +2054,10 @@ export interface UmaGetFirmsListDto {
1691
2054
  }
1692
2055
  export interface UmaGetFirmsListFiltersDto {
1693
2056
  ids?: number[];
2057
+ regions?: string[];
1694
2058
  statuses?: UmaGetFirmsListFiltersDtoStatusesEnum;
1695
2059
  tag_ids?: number[];
2060
+ uuids?: string[];
1696
2061
  }
1697
2062
  export interface UmaGetIdentityProvidersListDto {
1698
2063
  filters?: UmaGetIdentityProvidersListFiltersDto;
@@ -1702,6 +2067,7 @@ export interface UmaGetIdentityProvidersListDto {
1702
2067
  }
1703
2068
  export interface UmaGetIdentityProvidersListFiltersDto {
1704
2069
  firm_ids?: number[];
2070
+ firm_uuids?: string[];
1705
2071
  ids?: number[];
1706
2072
  types?: UmaGetIdentityProvidersListFiltersDtoTypesEnum[];
1707
2073
  }
@@ -1714,6 +2080,7 @@ export interface UmaGetMicroservicesListDto {
1714
2080
  export interface UmaGetMicroservicesListFiltersDto {
1715
2081
  ids?: number[];
1716
2082
  slugs?: string[];
2083
+ uuids?: string[];
1717
2084
  }
1718
2085
  export interface UmaGetOAuth2BindingsListDto {
1719
2086
  pagination?: UmaPaginationDto;
@@ -1731,6 +2098,8 @@ export interface UmaGetPermissionsListFiltersDto {
1731
2098
  assignment_groups?: UmaPermissionAG[];
1732
2099
  ids?: number[];
1733
2100
  microservice_ids?: number[];
2101
+ microservice_uuids?: string[];
2102
+ uuids?: string[];
1734
2103
  }
1735
2104
  export interface UmaGetRoleTypesListDto {
1736
2105
  filters?: UmaGetRoleTypesListFiltersDto;
@@ -1751,6 +2120,8 @@ export interface UmaGetRolesListFiltersDto {
1751
2120
  assignment_groups?: UmaPermissionAG[];
1752
2121
  ids?: number[];
1753
2122
  microservice_ids?: number[];
2123
+ microservice_uuids?: string[];
2124
+ role_uuids?: string[];
1754
2125
  type_ids?: number[];
1755
2126
  }
1756
2127
  export interface UmaGetSecretNoteDto {
@@ -1776,6 +2147,7 @@ export interface UmaGetTrustedDevicesListDto {
1776
2147
  export interface UmaGetUserDetailsDto {
1777
2148
  access_token?: string;
1778
2149
  generation_type?: UmaUserDetailsGenerationType;
2150
+ show_global_claims?: boolean;
1779
2151
  }
1780
2152
  export interface UmaGetUserStatusChangeReasonsDto {
1781
2153
  filters?: UmaGetUserStatusChangeReasonsListFiltersDto;
@@ -1788,25 +2160,33 @@ export interface UmaGetUserStatusChangeReasonsListFiltersDto {
1788
2160
  }
1789
2161
  export interface UmaGetUsersListFiltersDto {
1790
2162
  branch_ids?: number[];
2163
+ branch_uuids?: string[];
1791
2164
  email_verified?: boolean;
1792
2165
  firm_ids?: number[];
1793
2166
  firm_tag_ids?: number[];
2167
+ firm_uuids?: string[];
1794
2168
  ids?: number[];
1795
2169
  microservice_ids?: number[];
2170
+ microservice_uuids?: string[];
1796
2171
  neither_verified?: boolean;
1797
2172
  permission_ids?: number[];
1798
2173
  permission_names?: string[];
2174
+ permission_uuids?: string[];
1799
2175
  phone_verified?: boolean;
2176
+ regions?: string[];
1800
2177
  role_ids?: number[];
2178
+ role_uuids?: string[];
1801
2179
  show_only?: UmaGetUsersListFiltersDtoShowOnlyEnum;
1802
2180
  show_users_linked_to_watchmen?: boolean;
1803
2181
  status_change_reason_ids?: number[];
1804
2182
  statuses?: UmaUserStatus[];
1805
2183
  type?: UmaUserType;
2184
+ uuids?: string[];
1806
2185
  }
1807
2186
  export interface UmaGetVerifiedContactChangeCodeDto {
1808
2187
  type?: UmaCodeType;
1809
2188
  user_id?: number;
2189
+ user_uuid?: string;
1810
2190
  }
1811
2191
  export interface UmaGetWatchmenInstancesDto {
1812
2192
  pagination?: UmaPaginationDto;
@@ -1824,6 +2204,7 @@ export interface UmaIdentityProviderSerializer {
1824
2204
  company_domain: string;
1825
2205
  created_at: string;
1826
2206
  firm_id: number;
2207
+ firm_uuid: string;
1827
2208
  id: number;
1828
2209
  priority: number;
1829
2210
  redirect_url: string;
@@ -1851,6 +2232,7 @@ export interface UmaLinkWatchmenUserToUmaDto {
1851
2232
  branch_slug_or_code?: string;
1852
2233
  uma_user_id?: number;
1853
2234
  uma_user_type?: UmaAuthUserType;
2235
+ uma_user_uuid?: string;
1854
2236
  watchmen_instance_slug?: string;
1855
2237
  watchmen_user_id?: number;
1856
2238
  watchmen_username?: string;
@@ -1881,6 +2263,7 @@ export interface UmaMicroserviceAccessSerializer {
1881
2263
  /** @example 1 */
1882
2264
  id: number;
1883
2265
  is_active: boolean;
2266
+ is_globalized: boolean;
1884
2267
  is_token_encoding_required: boolean;
1885
2268
  is_visible_on_admin_sidebar: boolean;
1886
2269
  logo_url: string;
@@ -1895,6 +2278,7 @@ export interface UmaMicroserviceDomainDto {
1895
2278
  /** @example "/insights-api" */
1896
2279
  public_path_prefix?: string;
1897
2280
  watchmen_instance_id?: number;
2281
+ watchmen_instance_uuid?: string;
1898
2282
  }
1899
2283
  export interface UmaMicroserviceDomainSerializer {
1900
2284
  /** @example "internal.com" */
@@ -1905,6 +2289,7 @@ export interface UmaMicroserviceDomainSerializer {
1905
2289
  public_path_prefix: string;
1906
2290
  watchmen_instance: UmaWatchmenInstanceSerializer;
1907
2291
  watchmen_instance_id: number;
2292
+ watchmen_instance_uuid: string;
1908
2293
  }
1909
2294
  export interface UmaMicroserviceSerializer {
1910
2295
  created_at: string;
@@ -1913,6 +2298,7 @@ export interface UmaMicroserviceSerializer {
1913
2298
  /** @example 1 */
1914
2299
  id: number;
1915
2300
  is_active: boolean;
2301
+ is_globalized: boolean;
1916
2302
  is_token_encoding_required: boolean;
1917
2303
  is_visible_on_admin_sidebar: boolean;
1918
2304
  logo_url: string;
@@ -1920,6 +2306,7 @@ export interface UmaMicroserviceSerializer {
1920
2306
  parent_id: number;
1921
2307
  slug: string;
1922
2308
  updated_at: string;
2309
+ uuid: string;
1923
2310
  }
1924
2311
  export interface UmaOptionalPaginationDto {
1925
2312
  page?: number;
@@ -1928,6 +2315,7 @@ export interface UmaOptionalPaginationDto {
1928
2315
  export interface UmaPartialUpdateB2BUserDto {
1929
2316
  access_revoking_date?: string;
1930
2317
  allow_feedback?: boolean;
2318
+ branch_uuids?: string[];
1931
2319
  branches?: number[];
1932
2320
  /** @example "test@gmail.com" */
1933
2321
  email?: string;
@@ -1937,11 +2325,15 @@ export interface UmaPartialUpdateB2BUserDto {
1937
2325
  last_name?: string;
1938
2326
  /** @example "TeStPaSS" */
1939
2327
  password?: string;
2328
+ permission_uuids?: string[];
1940
2329
  permissions?: number[];
1941
2330
  /** @example "+1231231234" */
1942
2331
  phone?: string;
1943
2332
  primary_firm_id?: number;
1944
- rep_code?: string;
2333
+ primary_firm_uuid?: string;
2334
+ regional_permissions?: UmaRegionalAccessDto[];
2335
+ regional_roles?: UmaRegionalAccessDto[];
2336
+ role_uuids?: string[];
1945
2337
  roles?: number[];
1946
2338
  should_reset_password?: boolean;
1947
2339
  title?: string;
@@ -1952,19 +2344,23 @@ export interface UmaPartialUpdateB2BUserDto {
1952
2344
  export interface UmaPartialUpdateB2CUserDto {
1953
2345
  access_revoking_date?: string;
1954
2346
  allow_feedback?: boolean;
2347
+ branch_uuids?: string[];
1955
2348
  branches?: number[];
1956
2349
  /** @example "test@gmail.com" */
1957
2350
  email?: string;
1958
2351
  email_code?: string;
1959
2352
  firm_id?: number;
2353
+ firm_uuid?: string;
1960
2354
  first_name?: string;
1961
2355
  last_name?: string;
1962
2356
  /** @example "TeStPaSS" */
1963
2357
  password?: string;
2358
+ permission_uuids?: string[];
1964
2359
  permissions?: number[];
1965
2360
  /** @example "+1231231234" */
1966
2361
  phone?: string;
1967
2362
  phone_code?: string;
2363
+ role_uuids?: string[];
1968
2364
  roles?: number[];
1969
2365
  username?: string;
1970
2366
  watchmen_user_links?: UmaWatchmenUserLinkDto[];
@@ -1975,6 +2371,8 @@ export interface UmaPartialUpdateEndpointDto {
1975
2371
  metadata?: UmaEndpointMetadataDto;
1976
2372
  method?: UmaPartialUpdateEndpointDtoMethodEnum;
1977
2373
  microservice_id?: number;
2374
+ microservice_uuid?: string;
2375
+ required_permission_uuids?: string[];
1978
2376
  required_permissions?: number[];
1979
2377
  route?: string;
1980
2378
  type?: UmaPartialUpdateEndpointDtoTypeEnum;
@@ -1998,6 +2396,7 @@ export interface UmaPartialUpdateMicroserviceDto {
1998
2396
  description?: string;
1999
2397
  domains?: UmaMicroserviceDomainDto[];
2000
2398
  is_active?: boolean;
2399
+ is_globalized?: boolean;
2001
2400
  is_token_encoding_required?: boolean;
2002
2401
  is_visible_on_admin_sidebar?: boolean;
2003
2402
  logo_url?: string;
@@ -2007,10 +2406,13 @@ export interface UmaPartialUpdateMicroserviceDto {
2007
2406
  export interface UmaPartialUpdatePermissionDto {
2008
2407
  metadata?: UmaPermissionMetadataDto;
2009
2408
  microservice_id?: number;
2409
+ microservice_uuid?: string;
2010
2410
  permission?: string;
2011
2411
  }
2012
2412
  export interface UmaPartialUpdateRoleDto {
2013
2413
  name?: string;
2414
+ permission_can_assign_role_uuids?: string[];
2415
+ permission_uuids?: string[];
2014
2416
  permissions?: number[];
2015
2417
  permissions_can_assign_role?: number[];
2016
2418
  type_id?: number;
@@ -2018,6 +2420,7 @@ export interface UmaPartialUpdateRoleDto {
2018
2420
  export interface UmaPartialUpdateSystemUserDto {
2019
2421
  access_revoking_date?: string;
2020
2422
  allow_feedback?: boolean;
2423
+ branch_uuids?: string[];
2021
2424
  branches?: number[];
2022
2425
  /** @example "test@gmail.com" */
2023
2426
  email?: string;
@@ -2026,11 +2429,15 @@ export interface UmaPartialUpdateSystemUserDto {
2026
2429
  has_access_to_all_firm_branches?: boolean;
2027
2430
  /** @example "TeStPaSS" */
2028
2431
  password?: string;
2432
+ permission_uuids?: string[];
2029
2433
  permissions?: number[];
2030
2434
  /** @example "+1231231234" */
2031
2435
  phone?: string;
2032
2436
  primary_firm_id?: number;
2033
- rep_code?: string;
2437
+ primary_firm_uuid?: string;
2438
+ regional_permissions?: UmaRegionalAccessDto[];
2439
+ regional_roles?: UmaRegionalAccessDto[];
2440
+ role_uuids?: string[];
2034
2441
  roles?: number[];
2035
2442
  should_reset_password?: boolean;
2036
2443
  title?: string;
@@ -2041,6 +2448,20 @@ export interface UmaPdfGenerationInfo {
2041
2448
  pdf_generated_at?: string;
2042
2449
  pdf_url?: string;
2043
2450
  }
2451
+ export interface UmaPermissionAccessSerializer {
2452
+ assignment_group: UmaPermissionAccessSerializerAssignmentGroupEnum;
2453
+ created_at: string;
2454
+ /** @example 1 */
2455
+ id: number;
2456
+ metadata: UmaPermissionMetadataSerializer;
2457
+ microservice: UmaMicroserviceSerializer;
2458
+ microservice_id: number;
2459
+ microservice_uuid: string;
2460
+ permission: string;
2461
+ region: string;
2462
+ updated_at: string;
2463
+ uuid: string;
2464
+ }
2044
2465
  export interface UmaPermissionMetadataDto {
2045
2466
  entities?: Record<string, UmaEntityAccessType>;
2046
2467
  entities_new?: UmaEntityData[];
@@ -2060,8 +2481,10 @@ export interface UmaPermissionSerializer {
2060
2481
  metadata: UmaPermissionMetadataSerializer;
2061
2482
  microservice: UmaMicroserviceSerializer;
2062
2483
  microservice_id: number;
2484
+ microservice_uuid: string;
2063
2485
  permission: string;
2064
2486
  updated_at: string;
2487
+ uuid: string;
2065
2488
  }
2066
2489
  export interface UmaPublicSettingsSerializer {
2067
2490
  action_logs: UmaActionLogsSettingsSerializer;
@@ -2076,7 +2499,17 @@ export interface UmaPublicSettingsSerializer {
2076
2499
  }
2077
2500
  export interface UmaRefreshDto {
2078
2501
  refresh_token?: string;
2079
- token_generation_mode?: UmaTokenGenerationMode;
2502
+ }
2503
+ export interface UmaRegionSerializer {
2504
+ country_code: string;
2505
+ created_at: string;
2506
+ is_global: boolean;
2507
+ name: string;
2508
+ updated_at: string;
2509
+ }
2510
+ export interface UmaRegionalAccessDto {
2511
+ id?: string;
2512
+ region?: string;
2080
2513
  }
2081
2514
  export interface UmaRegisterDto {
2082
2515
  /** @example "test@gmail.com" */
@@ -2097,19 +2530,42 @@ export interface UmaResetPasswordSettingsSerializer {
2097
2530
  export interface UmaResetRateLimitsDto {
2098
2531
  user_id?: number;
2099
2532
  user_type?: UmaAuthUserType;
2533
+ user_uuid?: string;
2100
2534
  }
2101
2535
  export interface UmaRevokeUserSessionsDto {
2102
2536
  user_id?: number;
2103
2537
  user_type?: UmaRevokeUserSessionsDtoUserTypeEnum;
2538
+ user_uuid?: string;
2539
+ }
2540
+ export interface UmaRoleAccessSerializer {
2541
+ assignment_group: UmaPermissionAG;
2542
+ created_at: string;
2543
+ firm: UmaFirmSerializer;
2544
+ firm_id: string;
2545
+ id: number;
2546
+ microservice: UmaMicroserviceSerializer;
2547
+ microservice_id: number;
2548
+ microservice_uuid: string;
2549
+ name: string;
2550
+ pdf_generated_at: string;
2551
+ pdf_url: string;
2552
+ permissions: UmaPermissionSerializer[];
2553
+ permissions_can_assign_role: UmaPermissionSerializer[];
2554
+ region: string;
2555
+ type: UmaRoleTypeSerializer;
2556
+ type_id: number;
2557
+ updated_at: string;
2558
+ uuid: string;
2104
2559
  }
2105
2560
  export interface UmaRoleSerializer {
2106
2561
  assignment_group: UmaPermissionAG;
2107
2562
  created_at: string;
2108
2563
  firm: UmaFirmSerializer;
2109
- firm_id: number;
2564
+ firm_id: string;
2110
2565
  id: number;
2111
2566
  microservice: UmaMicroserviceSerializer;
2112
2567
  microservice_id: number;
2568
+ microservice_uuid: string;
2113
2569
  name: string;
2114
2570
  pdf_generated_at: string;
2115
2571
  pdf_url: string;
@@ -2118,6 +2574,7 @@ export interface UmaRoleSerializer {
2118
2574
  type: UmaRoleTypeSerializer;
2119
2575
  type_id: number;
2120
2576
  updated_at: string;
2577
+ uuid: string;
2121
2578
  }
2122
2579
  export interface UmaRoleTypeSerializer {
2123
2580
  color: string;
@@ -2153,6 +2610,13 @@ export interface UmaSendB2CResetPasswordCodeDto {
2153
2610
  contact?: string;
2154
2611
  reset_type?: UmaResetPasswordType;
2155
2612
  }
2613
+ export interface UmaSendMessageDto {
2614
+ chat_id?: number;
2615
+ context?: string;
2616
+ /** @minLength 1 */
2617
+ message: string;
2618
+ screen?: string;
2619
+ }
2156
2620
  export interface UmaSendResetPasswordCodeDto {
2157
2621
  contact?: string;
2158
2622
  type?: UmaSendResetPasswordCodeDtoTypeEnum;
@@ -2216,6 +2680,7 @@ export interface UmaTOTPSerializer {
2216
2680
  }
2217
2681
  export interface UmaTablePresetSerializer {
2218
2682
  b2b_user_id: number;
2683
+ b2b_user_uuid: string;
2219
2684
  id: number;
2220
2685
  presets: object;
2221
2686
  table_name: string;
@@ -2230,6 +2695,14 @@ export interface UmaTenantSettingDto {
2230
2695
  label?: UmaTenantSettingDtoLabelEnum;
2231
2696
  value?: string;
2232
2697
  }
2698
+ export interface UmaTenantSettingSerializer {
2699
+ branch_id: string;
2700
+ created_at: string;
2701
+ id: number;
2702
+ label: string;
2703
+ updated_at: string;
2704
+ value: string;
2705
+ }
2233
2706
  export interface UmaTokens {
2234
2707
  access_expires_at?: number;
2235
2708
  access_token?: string;
@@ -2239,9 +2712,9 @@ export interface UmaTokens {
2239
2712
  }
2240
2713
  export interface UmaTrustedDeviceSerializer {
2241
2714
  b2b_user: UmaAdminUserSerializer;
2242
- b2b_user_id: number;
2715
+ b2b_user_id: string;
2243
2716
  b2c_user: UmaAdminB2CUserSerializer;
2244
- b2c_user_id: number;
2717
+ b2c_user_id: string;
2245
2718
  created_at: string;
2246
2719
  device_id: string;
2247
2720
  device_name: string;
@@ -2252,11 +2725,16 @@ export interface UmaTrustedDeviceSerializer {
2252
2725
  }
2253
2726
  export interface UmaUpdateAPIKeysDto {
2254
2727
  ac_same_as_for_user?: boolean;
2728
+ branch_uuids?: string[];
2255
2729
  branches?: number[];
2256
2730
  firms?: UmaFirmInfo[];
2257
2731
  mfa_codes?: UmaMfaCodesDto;
2258
2732
  name?: string;
2733
+ permission_uuids?: string[];
2259
2734
  permissions?: number[];
2735
+ regional_permissions?: UmaRegionalAccessDto[];
2736
+ regional_roles?: UmaRegionalAccessDto[];
2737
+ role_uuids?: string[];
2260
2738
  roles?: number[];
2261
2739
  updated_at?: string;
2262
2740
  }
@@ -2267,6 +2745,7 @@ export interface UmaUpdateAuthAppDto {
2267
2745
  export interface UmaUpdateB2BUserDto {
2268
2746
  access_revoking_date?: string;
2269
2747
  allow_feedback?: boolean;
2748
+ branch_uuids?: string[];
2270
2749
  branches?: number[];
2271
2750
  /** @example "test@gmail.com" */
2272
2751
  email?: string;
@@ -2276,11 +2755,15 @@ export interface UmaUpdateB2BUserDto {
2276
2755
  last_name?: string;
2277
2756
  /** @example "TeStPaSS" */
2278
2757
  password?: string;
2758
+ permission_uuids?: string[];
2279
2759
  permissions?: number[];
2280
2760
  /** @example "+1231231234" */
2281
2761
  phone?: string;
2282
2762
  primary_firm_id?: number;
2283
- rep_code?: string;
2763
+ primary_firm_uuid?: string;
2764
+ regional_permissions?: UmaRegionalAccessDto[];
2765
+ regional_roles?: UmaRegionalAccessDto[];
2766
+ role_uuids?: string[];
2284
2767
  roles?: number[];
2285
2768
  should_reset_password?: boolean;
2286
2769
  title?: string;
@@ -2292,19 +2775,23 @@ export interface UmaUpdateB2BUserDto {
2292
2775
  export interface UmaUpdateB2CUserDto {
2293
2776
  access_revoking_date?: string;
2294
2777
  allow_feedback?: boolean;
2778
+ branch_uuids?: string[];
2295
2779
  branches?: number[];
2296
2780
  /** @example "test@gmail.com" */
2297
2781
  email?: string;
2298
2782
  email_code?: string;
2299
2783
  firm_id?: number;
2784
+ firm_uuid?: string;
2300
2785
  first_name?: string;
2301
2786
  last_name?: string;
2302
2787
  /** @example "TeStPaSS" */
2303
2788
  password?: string;
2789
+ permission_uuids?: string[];
2304
2790
  permissions?: number[];
2305
2791
  /** @example "+1231231234" */
2306
2792
  phone?: string;
2307
2793
  phone_code?: string;
2794
+ role_uuids?: string[];
2308
2795
  roles?: number[];
2309
2796
  updated_at?: string;
2310
2797
  username?: string;
@@ -2323,12 +2810,19 @@ export interface UmaUpdateBranchDto {
2323
2810
  slug?: string;
2324
2811
  updated_at?: string;
2325
2812
  }
2813
+ export interface UmaUpdateChatDto {
2814
+ /** @maxLength 255 */
2815
+ name?: string;
2816
+ pinned?: boolean;
2817
+ }
2326
2818
  export interface UmaUpdateEndpointDto {
2327
2819
  is_active?: boolean;
2328
2820
  is_public?: boolean;
2329
2821
  metadata?: UmaEndpointMetadataDto;
2330
2822
  method?: UmaUpdateEndpointDtoMethodEnum;
2331
2823
  microservice_id?: number;
2824
+ microservice_uuid?: string;
2825
+ required_permission_uuids?: string[];
2332
2826
  required_permissions?: number[];
2333
2827
  route?: string;
2334
2828
  type?: UmaUpdateEndpointDtoTypeEnum;
@@ -2356,6 +2850,7 @@ export interface UmaUpdateIdentityProviderDto {
2356
2850
  client_secret?: string;
2357
2851
  company_domain?: string;
2358
2852
  firm_id?: number;
2853
+ firm_uuid?: string;
2359
2854
  priority?: number;
2360
2855
  redirect_url?: string;
2361
2856
  type?: UmaUpdateIdentityProviderDtoTypeEnum;
@@ -2365,6 +2860,7 @@ export interface UmaUpdateMicroserviceDto {
2365
2860
  description?: string;
2366
2861
  domains?: UmaMicroserviceDomainDto[];
2367
2862
  is_active?: boolean;
2863
+ is_globalized?: boolean;
2368
2864
  is_token_encoding_required?: boolean;
2369
2865
  is_visible_on_admin_sidebar?: boolean;
2370
2866
  logo_url?: string;
@@ -2375,11 +2871,14 @@ export interface UmaUpdateMicroserviceDto {
2375
2871
  export interface UmaUpdatePermissionDto {
2376
2872
  metadata?: UmaPermissionMetadataDto;
2377
2873
  microservice_id?: number;
2874
+ microservice_uuid?: string;
2378
2875
  permission?: string;
2379
2876
  updated_at?: string;
2380
2877
  }
2381
2878
  export interface UmaUpdateRoleDto {
2382
2879
  name?: string;
2880
+ permission_can_assign_role_uuids?: string[];
2881
+ permission_uuids?: string[];
2383
2882
  permissions?: number[];
2384
2883
  permissions_can_assign_role?: number[];
2385
2884
  type_id?: number;
@@ -2393,6 +2892,7 @@ export interface UmaUpdateRoleTypeDto {
2393
2892
  export interface UmaUpdateSystemUserDto {
2394
2893
  access_revoking_date?: string;
2395
2894
  allow_feedback?: boolean;
2895
+ branch_uuids?: string[];
2396
2896
  branches?: number[];
2397
2897
  /** @example "test@gmail.com" */
2398
2898
  email?: string;
@@ -2401,11 +2901,15 @@ export interface UmaUpdateSystemUserDto {
2401
2901
  has_access_to_all_firm_branches?: boolean;
2402
2902
  /** @example "TeStPaSS" */
2403
2903
  password?: string;
2904
+ permission_uuids?: string[];
2404
2905
  permissions?: number[];
2405
2906
  /** @example "+1231231234" */
2406
2907
  phone?: string;
2407
2908
  primary_firm_id?: number;
2408
- rep_code?: string;
2909
+ primary_firm_uuid?: string;
2910
+ regional_permissions?: UmaRegionalAccessDto[];
2911
+ regional_roles?: UmaRegionalAccessDto[];
2912
+ role_uuids?: string[];
2409
2913
  roles?: number[];
2410
2914
  should_reset_password?: boolean;
2411
2915
  title?: string;
@@ -2446,6 +2950,9 @@ export interface UmaUserSerializer {
2446
2950
  /** @example 1 */
2447
2951
  id: number;
2448
2952
  initiator_id: number;
2953
+ initiator_uuid: string;
2954
+ /** @example "2022-02-02T00:00:00Z" */
2955
+ last_login_at: string;
2449
2956
  /** @example "Jenkins" */
2450
2957
  last_name: string;
2451
2958
  locale: UmaLocaleSerializer;
@@ -2456,12 +2963,13 @@ export interface UmaUserSerializer {
2456
2963
  phone: string;
2457
2964
  /** @example true */
2458
2965
  phone_verified: boolean;
2459
- rep_code: string;
2966
+ region: string;
2460
2967
  should_reset_password: boolean;
2461
2968
  small_avatar_url: string;
2462
2969
  /** @example "2022-02-02T00:00:00Z" */
2463
2970
  updated_at: string;
2464
2971
  username: string;
2972
+ uuid: string;
2465
2973
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
2466
2974
  }
2467
2975
  export interface UmaUserStatusChangeReasonSerializer {
@@ -2494,23 +3002,27 @@ export interface UmaWatchmenInstanceSerializer {
2494
3002
  created_at: string;
2495
3003
  id: number;
2496
3004
  name: string;
3005
+ region: string;
2497
3006
  slug: string;
2498
3007
  updated_at: string;
2499
3008
  url: string;
3009
+ uuid: string;
2500
3010
  }
2501
3011
  export interface UmaWatchmenUserLinkDto {
2502
3012
  branch_id?: number;
3013
+ branch_uuid?: string;
2503
3014
  watchmen_instance_id?: number;
3015
+ watchmen_instance_uuid?: string;
2504
3016
  watchmen_user_id?: number;
2505
3017
  }
2506
3018
  export interface UmaWatchmenUserLinkSerializer {
2507
3019
  branch: UmaBranchSerializer;
2508
- branch_id: number;
3020
+ branch_id: string;
2509
3021
  created_at: string;
2510
3022
  id: number;
2511
3023
  updated_at: string;
2512
3024
  watchmen_instance: UmaWatchmenInstanceSerializer;
2513
- watchmen_instance_id: number;
3025
+ watchmen_instance_id: string;
2514
3026
  watchmen_user_id: number;
2515
3027
  }
2516
3028
  export interface UmaWebAuthnAssertionResponse {
@@ -2722,6 +3234,11 @@ export enum UmaPartialUpdateFirmDtoStatusEnum {
2722
3234
  Suspended = "suspended",
2723
3235
  Deleted = "deleted"
2724
3236
  }
3237
+ export enum UmaPermissionAccessSerializerAssignmentGroupEnum {
3238
+ Regular = "regular",
3239
+ Chiefadmin = "chiefadmin",
3240
+ Superadmin = "superadmin"
3241
+ }
2725
3242
  export enum UmaPermissionSerializerAssignmentGroupEnum {
2726
3243
  Regular = "regular",
2727
3244
  Chiefadmin = "chiefadmin",
@@ -2809,7 +3326,10 @@ export class AdminApiKeys<HandleError extends boolean = boolean, Format extends
2809
3326
  * @request POST:/v1/admin/api-keys
2810
3327
  * @secure
2811
3328
  */
2812
- create(createApiKey: UmaAdminCreateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
3329
+ create(createApiKey: UmaAdminCreateAPIKeyDto, headers?: {
3330
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3331
+ 'X-ALL-REGIONS'?: string;
3332
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
2813
3333
  /**
2814
3334
  * @description Delete any API Keys by IDs. Only accessible to chiefadmin.
2815
3335
  * @tags admin_api_keys
@@ -2827,7 +3347,10 @@ export class AdminApiKeys<HandleError extends boolean = boolean, Format extends
2827
3347
  * @request POST:/v1/admin/api-keys/list
2828
3348
  * @secure
2829
3349
  */
2830
- get(apiKeys: UmaAdminGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAdminAPIKeysSerializer, HandleError, Format>>;
3350
+ get(apiKeys: UmaAdminGetAPIKeysListDto, headers?: {
3351
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3352
+ 'X-ALL-REGIONS'?: string;
3353
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAdminAPIKeysSerializer, HandleError, Format>>;
2831
3354
  /**
2832
3355
  * @description Get any API Key by id. Only accessible to chiefadmin.
2833
3356
  * @tags admin_api_keys
@@ -2836,7 +3359,10 @@ export class AdminApiKeys<HandleError extends boolean = boolean, Format extends
2836
3359
  * @request GET:/v1/admin/api-keys/{id}
2837
3360
  * @secure
2838
3361
  */
2839
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
3362
+ getById(id: number, headers?: {
3363
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3364
+ 'X-ALL-REGIONS'?: string;
3365
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
2840
3366
  /**
2841
3367
  * @description Update any API Key Record. Only accessible to chiefadmin.
2842
3368
  * @tags admin_api_keys
@@ -2845,7 +3371,139 @@ export class AdminApiKeys<HandleError extends boolean = boolean, Format extends
2845
3371
  * @request PUT:/v1/admin/api-keys/{id}
2846
3372
  * @secure
2847
3373
  */
2848
- update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
3374
+ update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, headers?: {
3375
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3376
+ 'X-ALL-REGIONS'?: string;
3377
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
3378
+ }
3379
+ export class AiAssistant<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3380
+ protected readonly apiClient: JwtClient<HandleError, Format>;
3381
+ constructor(apiClient: JwtClient<HandleError, Format>);
3382
+ /**
3383
+ * @description Send a question to the AI assistant and stream back an answer grounded in the knowledge base as Server-Sent Events: one or more `chunk` events with partial text, followed by one `done` event with the full answer. Pass chat_id to continue an existing chat (e.g. one reopened from the chats list); omit it to start a new chat. Pass context for extra frontend-supplied context (e.g. the page the user is on) that should inform the answer without being treated as part of the user's message or stored in chat history. A locked_for_seconds in the done event locks only the chat identified by chat_id in the same event. When the answer points at an ODB page, the page is linked inline in the answer text as markdown and also listed in links - every link is resolved from a known frontend route; routes whose path carries :placeholders are never linked.
3384
+ * @tags ai_assistant
3385
+ * @name Send
3386
+ * @summary Ask AI Assistant a Question
3387
+ * @request POST:/v1/ai-assistant/ask
3388
+ * @secure
3389
+ */
3390
+ send(sendMessage: UmaSendMessageDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAIAssistantAnswerSerializer, HandleError, Format>>;
3391
+ /**
3392
+ * @description List the current user's AI assistant chats, most recently active first. Each chat carries its own locked_for_seconds - an off-topic lock applies to the chat it was triggered in and to no other.
3393
+ * @tags ai_assistant
3394
+ * @name List
3395
+ * @summary List AI Assistant Chats
3396
+ * @request GET:/v1/ai-assistant/chats
3397
+ * @secure
3398
+ */
3399
+ list(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAIAssistantChatsListSerializer, HandleError, Format>>;
3400
+ /**
3401
+ * @description Soft-delete one of the current user's AI assistant chats. The chat is hidden from the user but retained in storage.
3402
+ * @tags ai_assistant
3403
+ * @name Delete
3404
+ * @summary Delete AI Assistant Chat By ID
3405
+ * @request DELETE:/v1/ai-assistant/chats/{id}
3406
+ * @secure
3407
+ */
3408
+ delete(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3409
+ /**
3410
+ * @description Partially update one of the current user's AI assistant chats: rename it (name) and/or pin it to the top of the chats list (pinned). Fields left out keep their current values. Pinned chats are returned first by GET /chats, most recently pinned first, and are never cut off by the chats list limit. Re-pinning an already pinned chat keeps its original pin position.
3411
+ * @tags ai_assistant
3412
+ * @name Update
3413
+ * @summary Update AI Assistant Chat
3414
+ * @request PATCH:/v1/ai-assistant/chats/{id}
3415
+ * @secure
3416
+ */
3417
+ update(id: number, updateChat: UmaUpdateChatDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAIAssistantChatMutationSerializer, HandleError, Format>>;
3418
+ /**
3419
+ * @description Get the message history of one of the current user's past AI assistant chats. locked_for_seconds is the off-topic lock left on this chat only - it never applies to the user's other chats.
3420
+ * @tags ai_assistant
3421
+ * @name GetHistory
3422
+ * @summary Get AI Assistant Chat History By ID
3423
+ * @request GET:/v1/ai-assistant/chats/{id}/messages
3424
+ * @secure
3425
+ */
3426
+ getHistory(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAIAssistantHistorySerializer, HandleError, Format>>;
3427
+ /**
3428
+ * @description Get the message history of the current user's most recently active AI assistant chat. Returns an empty list when the user has no chats yet. Each message carries the links its answer pointed at, resolved against the current frontend routes. locked_for_seconds is the off-topic lock left on that chat only - it never applies to the user's other chats.
3429
+ * @tags ai_assistant
3430
+ * @name GetHistory2
3431
+ * @summary Get AI Assistant Conversation History
3432
+ * @request GET:/v1/ai-assistant/messages
3433
+ * @originalName getHistory
3434
+ * @duplicate
3435
+ * @secure
3436
+ */
3437
+ getHistory2(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAIAssistantHistorySerializer, HandleError, Format>>;
3438
+ /**
3439
+ * @description List AI Assistant Question Log
3440
+ * @tags ai_assistant
3441
+ * @name List2
3442
+ * @summary List AI Assistant Question Log
3443
+ * @request POST:/v1/ai-assistant/question-log/list
3444
+ * @originalName list
3445
+ * @duplicate
3446
+ * @secure
3447
+ */
3448
+ list2(getQuestionLog: UmaGetAIAssistantQuestionLogListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAIAssistantQuestionLogListSerializer, HandleError, Format>>;
3449
+ /**
3450
+ * @description Get the details of a single AI Assistant Question Log entry together with the full chat history of the session it belongs to
3451
+ * @tags ai_assistant
3452
+ * @name GetDetails
3453
+ * @summary Get AI Assistant Question Log Details
3454
+ * @request GET:/v1/ai-assistant/question-log/{id}
3455
+ * @secure
3456
+ */
3457
+ getDetails(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAIAssistantQuestionLogDetailsSerializer, HandleError, Format>>;
3458
+ }
3459
+ export class AllowedEmails<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3460
+ protected readonly apiClient: JwtClient<HandleError, Format>;
3461
+ constructor(apiClient: JwtClient<HandleError, Format>);
3462
+ /**
3463
+ * @description Create Allowed Email
3464
+ * @tags allowed_emails
3465
+ * @name Create
3466
+ * @summary Create Allowed Email
3467
+ * @request POST:/v1/allowed-emails
3468
+ * @secure
3469
+ */
3470
+ create(allowedEmailDto: UmaAllowedEmailDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedEmailMutationSerializer, HandleError, Format>>;
3471
+ /**
3472
+ * @description Delete allowed emails
3473
+ * @tags allowed_emails
3474
+ * @name DeleteMany
3475
+ * @summary Delete allowed emails
3476
+ * @request DELETE:/v1/allowed-emails
3477
+ * @secure
3478
+ */
3479
+ deleteMany(deleteAllowedEmailsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3480
+ /**
3481
+ * @description Get allowed emails with pagination
3482
+ * @tags allowed_emails
3483
+ * @name Get
3484
+ * @summary Get allowed emails with pagination
3485
+ * @request POST:/v1/allowed-emails/list
3486
+ * @secure
3487
+ */
3488
+ get(allowedEmailsListDto: UmaGetAllowedEmailsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAllowedEmailsListSerializer, HandleError, Format>>;
3489
+ /**
3490
+ * @description Get Allowed Email by id
3491
+ * @tags allowed_emails
3492
+ * @name GetById
3493
+ * @summary Get Allowed Email by id
3494
+ * @request GET:/v1/allowed-emails/{id}
3495
+ * @secure
3496
+ */
3497
+ getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedEmailMutationSerializer, HandleError, Format>>;
3498
+ /**
3499
+ * @description Update Allowed Email
3500
+ * @tags allowed_emails
3501
+ * @name Update
3502
+ * @summary Update Allowed Email
3503
+ * @request PUT:/v1/allowed-emails/{id}
3504
+ * @secure
3505
+ */
3506
+ update(id: number, allowedEmailDto: UmaAllowedEmailDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedEmailMutationSerializer, HandleError, Format>>;
2849
3507
  }
2850
3508
  export class AllowedOrigins<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
2851
3509
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -2916,7 +3574,10 @@ export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseF
2916
3574
  * @request GET:/v1/b2b/api-keys/{id}
2917
3575
  * @secure
2918
3576
  */
2919
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
3577
+ getById(id: number, headers?: {
3578
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3579
+ 'X-ALL-REGIONS'?: string;
3580
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
2920
3581
  /**
2921
3582
  * @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
2922
3583
  * @tags api_keys
@@ -2925,7 +3586,10 @@ export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseF
2925
3586
  * @request POST:/v2/b2b/api-keys
2926
3587
  * @secure
2927
3588
  */
2928
- create(createApiKeys: UmaCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
3589
+ create(createApiKeys: UmaCreateAPIKeysDto, headers?: {
3590
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3591
+ 'X-ALL-REGIONS'?: string;
3592
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
2929
3593
  /**
2930
3594
  * @description Get API Keys info(would return API Keys without secrets)
2931
3595
  * @tags api_keys
@@ -2934,7 +3598,10 @@ export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseF
2934
3598
  * @request POST:/v2/b2b/api-keys/list
2935
3599
  * @secure
2936
3600
  */
2937
- get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError, Format>>;
3601
+ get(apiKeys: UmaGetAPIKeysListDto, headers?: {
3602
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3603
+ 'X-ALL-REGIONS'?: string;
3604
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError, Format>>;
2938
3605
  /**
2939
3606
  * @description Update API Key Record
2940
3607
  * @tags api_keys
@@ -2943,7 +3610,10 @@ export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseF
2943
3610
  * @request PUT:/v2/b2b/api-keys/{id}
2944
3611
  * @secure
2945
3612
  */
2946
- update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
3613
+ update(id: number, apiKeys: UmaUpdateAPIKeysDto, headers?: {
3614
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3615
+ 'X-ALL-REGIONS'?: string;
3616
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
2947
3617
  }
2948
3618
  export class AuthApps<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
2949
3619
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -3203,7 +3873,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3203
3873
  * @request GET:/v1/users/b2b/{id}
3204
3874
  * @secure
3205
3875
  */
3206
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
3876
+ getById(id: string, headers?: {
3877
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3878
+ 'X-ALL-REGIONS'?: string;
3879
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
3207
3880
  /**
3208
3881
  * @description Update B2B User (partial updates supported)
3209
3882
  * @tags b2b_users
@@ -3212,7 +3885,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3212
3885
  * @request PATCH:/v1/users/b2b/{id}
3213
3886
  * @secure
3214
3887
  */
3215
- partialUpdate(id: number, createB2BUserNew: UmaPartialUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
3888
+ partialUpdate(id: string, createB2BUserNew: UmaPartialUpdateB2BUserDto, headers?: {
3889
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3890
+ 'X-ALL-REGIONS'?: string;
3891
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
3216
3892
  /**
3217
3893
  * @description Generate B2B User PDF
3218
3894
  * @tags b2b_users
@@ -3221,7 +3897,7 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3221
3897
  * @request POST:/v1/users/b2b/{id}/generate-as-pdf
3222
3898
  * @secure
3223
3899
  */
3224
- generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
3900
+ generateAsPdf(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
3225
3901
  /**
3226
3902
  * @description Change B2B User status
3227
3903
  * @tags b2b_users
@@ -3230,7 +3906,7 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3230
3906
  * @request PATCH:/v1/users/b2b/{id}/status
3231
3907
  * @secure
3232
3908
  */
3233
- changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3909
+ changeStatus(id: string, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3234
3910
  /**
3235
3911
  * @description Create B2B User
3236
3912
  * @tags b2b_users
@@ -3239,7 +3915,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3239
3915
  * @request POST:/v2/users/b2b
3240
3916
  * @secure
3241
3917
  */
3242
- create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
3918
+ create(createB2BUser: UmaCreateB2BUserDto, headers?: {
3919
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3920
+ 'X-ALL-REGIONS'?: string;
3921
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
3243
3922
  /**
3244
3923
  * @description Get B2B users with pagination
3245
3924
  * @tags b2b_users
@@ -3248,7 +3927,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3248
3927
  * @request POST:/v2/users/b2b/list
3249
3928
  * @secure
3250
3929
  */
3251
- get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError, Format>>;
3930
+ get(getB2BUsers: UmaGetB2BUsersListDto, headers?: {
3931
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3932
+ 'X-ALL-REGIONS'?: string;
3933
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError, Format>>;
3252
3934
  /**
3253
3935
  * @description Update B2B User
3254
3936
  * @tags b2b_users
@@ -3257,7 +3939,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3257
3939
  * @request PUT:/v2/users/b2b/{id}
3258
3940
  * @secure
3259
3941
  */
3260
- update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
3942
+ update(id: string, createB2BUserNew: UmaUpdateB2BUserDto, headers?: {
3943
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
3944
+ 'X-ALL-REGIONS'?: string;
3945
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
3261
3946
  }
3262
3947
  export class B2BUserSettings<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3263
3948
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -3387,7 +4072,7 @@ export class B2CAuth<HandleError extends boolean = boolean, Format extends CaseF
3387
4072
  */
3388
4073
  finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
3389
4074
  /**
3390
- * @description Impersonate B2C user
4075
+ * @description Impersonate B2C user. By default returns tokens directly; when response_mode is "auth_code", returns a one-time auth_code together with a state identifier instead, to be exchanged for tokens via /v1/auth/b2c/login/impersonate/exchange-code. Multiple auth_codes can be valid for the same user at the same time
3391
4076
  * @tags b2c_auth
3392
4077
  * @name ImpersonateLogin
3393
4078
  * @summary Impersonate B2C user
@@ -3395,6 +4080,14 @@ export class B2CAuth<HandleError extends boolean = boolean, Format extends CaseF
3395
4080
  * @secure
3396
4081
  */
3397
4082
  impersonateLogin(b2cImpersonate: UmaB2CImpersonateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError, Format>>;
4083
+ /**
4084
+ * @description Exchange a one-time auth_code and its state (issued by /v1/auth/b2c/login/impersonate with response_mode=auth_code) for the impersonated user's tokens
4085
+ * @tags b2c_auth
4086
+ * @name ExchangeImpersonateAuthCode
4087
+ * @summary Exchange B2C impersonate auth_code for tokens
4088
+ * @request POST:/v1/auth/b2c/login/impersonate/exchange-code
4089
+ */
4090
+ exchangeImpersonateAuthCode(exchangeAuthCode: UmaExchangeB2CImpersonateAuthCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError, Format>>;
3398
4091
  /**
3399
4092
  * @description logout from B2C user session
3400
4093
  * @tags b2c_auth
@@ -3542,6 +4235,51 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3542
4235
  * @secure
3543
4236
  */
3544
4237
  getVerifiedContactChangeCode(getVerifiedContactChangeCodeDto: UmaGetVerifiedContactChangeCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4238
+ /**
4239
+ * @description Create a default role assigned to B2C users during registration
4240
+ * @tags b2c_users
4241
+ * @name CreateDefaultRegistrationRole
4242
+ * @summary Create Default B2C Registration Role
4243
+ * @request POST:/v1/users/b2c/default-registration-roles
4244
+ * @secure
4245
+ */
4246
+ createDefaultRegistrationRole(defaultB2CRegistrationRoleDto: UmaDefaultB2CRegistrationRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaDefaultB2CRegistrationRoleMutationSerializer, HandleError, Format>>;
4247
+ /**
4248
+ * @description Delete default B2C registration roles by IDs
4249
+ * @tags b2c_users
4250
+ * @name DeleteDefaultRegistrationRoles
4251
+ * @summary Delete Default B2C Registration Roles
4252
+ * @request DELETE:/v1/users/b2c/default-registration-roles
4253
+ * @secure
4254
+ */
4255
+ deleteDefaultRegistrationRoles(deleteDefaultB2CRegistrationRoles: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4256
+ /**
4257
+ * @description Get paginated list of default roles assigned to B2C users during registration
4258
+ * @tags b2c_users
4259
+ * @name GetDefaultRegistrationRolesList
4260
+ * @summary Get Default B2C Registration Roles List
4261
+ * @request POST:/v1/users/b2c/default-registration-roles/list
4262
+ * @secure
4263
+ */
4264
+ getDefaultRegistrationRolesList(getDefaultB2CRegistrationRolesList: UmaGetDefaultB2CRegistrationRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetDefaultB2CRegistrationRolesListSerializer, HandleError, Format>>;
4265
+ /**
4266
+ * @description Get default B2C registration role by id
4267
+ * @tags b2c_users
4268
+ * @name GetDefaultRegistrationRoleById
4269
+ * @summary Get Default B2C Registration Role by ID
4270
+ * @request GET:/v1/users/b2c/default-registration-roles/{id}
4271
+ * @secure
4272
+ */
4273
+ getDefaultRegistrationRoleById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaDefaultB2CRegistrationRoleMutationSerializer, HandleError, Format>>;
4274
+ /**
4275
+ * @description Update default B2C registration role
4276
+ * @tags b2c_users
4277
+ * @name UpdateDefaultRegistrationRole
4278
+ * @summary Update Default B2C Registration Role
4279
+ * @request PUT:/v1/users/b2c/default-registration-roles/{id}
4280
+ * @secure
4281
+ */
4282
+ updateDefaultRegistrationRole(id: number, defaultB2CRegistrationRoleDto: UmaDefaultB2CRegistrationRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaDefaultB2CRegistrationRoleMutationSerializer, HandleError, Format>>;
3545
4283
  /**
3546
4284
  * @description Get B2C User by id
3547
4285
  * @tags b2c_users
@@ -3550,7 +4288,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3550
4288
  * @request GET:/v1/users/b2c/{id}
3551
4289
  * @secure
3552
4290
  */
3553
- getById(id: number, headers?: {
4291
+ getById(id: string, headers?: {
3554
4292
  /** Specify format of response. Possible values: `full` (default), `shortened` */
3555
4293
  'X-Accept'?: string;
3556
4294
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
@@ -3562,7 +4300,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3562
4300
  * @request PUT:/v1/users/b2c/{id}
3563
4301
  * @secure
3564
4302
  */
3565
- update(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
4303
+ update(id: string, createB2BUser: UmaUpdateB2CUserDto, headers?: {
3566
4304
  /** Specify format of response. Possible values: `full` (default), `shortened` */
3567
4305
  'X-Accept'?: string;
3568
4306
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
@@ -3574,7 +4312,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3574
4312
  * @request PATCH:/v1/users/b2c/{id}
3575
4313
  * @secure
3576
4314
  */
3577
- partialUpdate(id: number, createB2BUser: UmaPartialUpdateB2CUserDto, headers?: {
4315
+ partialUpdate(id: string, createB2BUser: UmaPartialUpdateB2CUserDto, headers?: {
3578
4316
  /** Specify format of response. Possible values: `full` (default), `shortened` */
3579
4317
  'X-Accept'?: string;
3580
4318
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
@@ -3586,7 +4324,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3586
4324
  * @request POST:/v1/users/b2c/{id}/generate-as-pdf
3587
4325
  * @secure
3588
4326
  */
3589
- generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
4327
+ generateAsPdf(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
3590
4328
  /**
3591
4329
  * @description Change B2C User status
3592
4330
  * @tags b2c_users
@@ -3595,7 +4333,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3595
4333
  * @request PATCH:/v1/users/b2c/{id}/status
3596
4334
  * @secure
3597
4335
  */
3598
- changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4336
+ changeStatus(id: string, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3599
4337
  /**
3600
4338
  * @description Get B2C users with pagination
3601
4339
  * @tags b2c_users
@@ -3698,6 +4436,55 @@ export class B2CUserSettings<HandleError extends boolean = boolean, Format exten
3698
4436
  */
3699
4437
  getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError, Format>>;
3700
4438
  }
4439
+ export class BlockedEmails<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
4440
+ protected readonly apiClient: JwtClient<HandleError, Format>;
4441
+ constructor(apiClient: JwtClient<HandleError, Format>);
4442
+ /**
4443
+ * @description Create Blocked Email
4444
+ * @tags blocked_emails
4445
+ * @name Create
4446
+ * @summary Create Blocked Email
4447
+ * @request POST:/v1/blocked-emails
4448
+ * @secure
4449
+ */
4450
+ create(blockedEmailDto: UmaBlockedEmailDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBlockedEmailMutationSerializer, HandleError, Format>>;
4451
+ /**
4452
+ * @description Delete blocked emails
4453
+ * @tags blocked_emails
4454
+ * @name DeleteMany
4455
+ * @summary Delete blocked emails
4456
+ * @request DELETE:/v1/blocked-emails
4457
+ * @secure
4458
+ */
4459
+ deleteMany(deleteBlockedEmailsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4460
+ /**
4461
+ * @description Get blocked emails with pagination
4462
+ * @tags blocked_emails
4463
+ * @name Get
4464
+ * @summary Get blocked emails with pagination
4465
+ * @request POST:/v1/blocked-emails/list
4466
+ * @secure
4467
+ */
4468
+ get(blockedEmailsListDto: UmaGetBlockedEmailsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBlockedEmailsListSerializer, HandleError, Format>>;
4469
+ /**
4470
+ * @description Get Blocked Email by id
4471
+ * @tags blocked_emails
4472
+ * @name GetById
4473
+ * @summary Get Blocked Email by id
4474
+ * @request GET:/v1/blocked-emails/{id}
4475
+ * @secure
4476
+ */
4477
+ getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBlockedEmailMutationSerializer, HandleError, Format>>;
4478
+ /**
4479
+ * @description Update Blocked Email
4480
+ * @tags blocked_emails
4481
+ * @name Update
4482
+ * @summary Update Blocked Email
4483
+ * @request PUT:/v1/blocked-emails/{id}
4484
+ * @secure
4485
+ */
4486
+ update(id: number, blockedEmailDto: UmaBlockedEmailDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBlockedEmailMutationSerializer, HandleError, Format>>;
4487
+ }
3701
4488
  export class Branches<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3702
4489
  protected readonly apiClient: JwtClient<HandleError, Format>;
3703
4490
  constructor(apiClient: JwtClient<HandleError, Format>);
@@ -3718,7 +4505,7 @@ export class Branches<HandleError extends boolean = boolean, Format extends Case
3718
4505
  * @request DELETE:/v1/branches
3719
4506
  * @secure
3720
4507
  */
3721
- deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4508
+ deleteMany(deleteBranches: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3722
4509
  /**
3723
4510
  * @description Get Branch by id
3724
4511
  * @tags branches
@@ -3745,7 +4532,7 @@ export class Branches<HandleError extends boolean = boolean, Format extends Case
3745
4532
  * @request PATCH:/v1/branches/{id}
3746
4533
  * @secure
3747
4534
  */
3748
- partialUpdate(id: number, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
4535
+ partialUpdate(id: string, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
3749
4536
  /**
3750
4537
  * @description Get Branches with pagination
3751
4538
  * @tags branches
@@ -3788,7 +4575,7 @@ export class EmailDomains<HandleError extends boolean = boolean, Format extends
3788
4575
  * @request DELETE:/v1/email-domains
3789
4576
  * @secure
3790
4577
  */
3791
- deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4578
+ deleteMany(deleteEmailDomainsDto: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3792
4579
  /**
3793
4580
  * @description Get emailDomains with pagination
3794
4581
  * @tags email_domains
@@ -3837,7 +4624,7 @@ export class Endpoints<HandleError extends boolean = boolean, Format extends Cas
3837
4624
  * @request DELETE:/v1/b2b/endpoints
3838
4625
  * @secure
3839
4626
  */
3840
- deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4627
+ deleteMany(deleteEndpointsDto: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3841
4628
  /**
3842
4629
  * @description Get Endpoint by id
3843
4630
  * @tags endpoints
@@ -3895,9 +4682,9 @@ export class Firms<HandleError extends boolean = boolean, Format extends CaseFor
3895
4682
  * @request DELETE:/v1/firms
3896
4683
  * @secure
3897
4684
  */
3898
- deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4685
+ deleteMany(deleteFirms: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3899
4686
  /**
3900
- * @description Get Firm by id
4687
+ * @description Get Firm by id, uuid or slug
3901
4688
  * @tags firms
3902
4689
  * @name GetById
3903
4690
  * @summary Get Firm by id
@@ -4014,7 +4801,7 @@ export class Microservices<HandleError extends boolean = boolean, Format extends
4014
4801
  * @request DELETE:/v1/b2b/microservices
4015
4802
  * @secure
4016
4803
  */
4017
- deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4804
+ deleteMany(deleteMicroservices: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4018
4805
  /**
4019
4806
  * @description Get Microservice by id
4020
4807
  * @tags microservices
@@ -4023,7 +4810,7 @@ export class Microservices<HandleError extends boolean = boolean, Format extends
4023
4810
  * @request GET:/v1/b2b/microservices/{id}
4024
4811
  * @secure
4025
4812
  */
4026
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
4813
+ getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
4027
4814
  /**
4028
4815
  * @description Update microservice record
4029
4816
  * @tags microservices
@@ -4032,7 +4819,7 @@ export class Microservices<HandleError extends boolean = boolean, Format extends
4032
4819
  * @request PUT:/v1/b2b/microservices/{id}
4033
4820
  * @secure
4034
4821
  */
4035
- update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
4822
+ update(id: string, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
4036
4823
  /**
4037
4824
  * @description Update microservice record (partial updates supported)
4038
4825
  * @tags microservices
@@ -4041,7 +4828,7 @@ export class Microservices<HandleError extends boolean = boolean, Format extends
4041
4828
  * @request PATCH:/v1/b2b/microservices/{id}
4042
4829
  * @secure
4043
4830
  */
4044
- partialUpdate(id: number, microserviceDto: UmaPartialUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
4831
+ partialUpdate(id: string, microserviceDto: UmaPartialUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
4045
4832
  /**
4046
4833
  * @description Get microservices with pagination
4047
4834
  * @tags microservices
@@ -4072,7 +4859,7 @@ export class Permissions<HandleError extends boolean = boolean, Format extends C
4072
4859
  * @request DELETE:/v1/permissions
4073
4860
  * @secure
4074
4861
  */
4075
- deleteMany(deletePermissions: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4862
+ deleteMany(deletePermissions: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4076
4863
  /**
4077
4864
  * @description Get Permission by id
4078
4865
  * @tags permissions
@@ -4081,7 +4868,7 @@ export class Permissions<HandleError extends boolean = boolean, Format extends C
4081
4868
  * @request GET:/v1/permissions/{id}
4082
4869
  * @secure
4083
4870
  */
4084
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
4871
+ getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
4085
4872
  /**
4086
4873
  * @description Update Permission
4087
4874
  * @tags permissions
@@ -4090,7 +4877,7 @@ export class Permissions<HandleError extends boolean = boolean, Format extends C
4090
4877
  * @request PUT:/v1/permissions/{id}
4091
4878
  * @secure
4092
4879
  */
4093
- update(id: number, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
4880
+ update(id: string, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
4094
4881
  /**
4095
4882
  * @description Partial Update Permission
4096
4883
  * @tags permissions
@@ -4099,7 +4886,7 @@ export class Permissions<HandleError extends boolean = boolean, Format extends C
4099
4886
  * @request PATCH:/v1/permissions/{id}
4100
4887
  * @secure
4101
4888
  */
4102
- partialUpdate(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
4889
+ partialUpdate(id: string, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
4103
4890
  /**
4104
4891
  * @description Get Permissions with pagination
4105
4892
  * @tags permissions
@@ -4127,6 +4914,28 @@ export class PublicSettings<HandleError extends boolean = boolean, Format extend
4127
4914
  FIRM?: string;
4128
4915
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError, Format>>;
4129
4916
  }
4917
+ export class Regions<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
4918
+ protected readonly apiClient: JwtClient<HandleError, Format>;
4919
+ constructor(apiClient: JwtClient<HandleError, Format>);
4920
+ /**
4921
+ * @description Get Regions list
4922
+ * @tags regions
4923
+ * @name Get
4924
+ * @summary Get Regions list
4925
+ * @request GET:/v1/admin/regions
4926
+ * @secure
4927
+ */
4928
+ get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRegionsSerializer, HandleError, Format>>;
4929
+ /**
4930
+ * @description Get Region by name
4931
+ * @tags regions
4932
+ * @name GetByName
4933
+ * @summary Get Region by name
4934
+ * @request GET:/v1/admin/regions/{name}
4935
+ * @secure
4936
+ */
4937
+ getByName(name: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRegionSerializer, HandleError, Format>>;
4938
+ }
4130
4939
  export class Roles<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
4131
4940
  protected readonly apiClient: JwtClient<HandleError, Format>;
4132
4941
  constructor(apiClient: JwtClient<HandleError, Format>);
@@ -4147,7 +4956,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4147
4956
  * @request DELETE:/v1/roles
4148
4957
  * @secure
4149
4958
  */
4150
- deleteMany(deleteRoles: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4959
+ deleteMany(deleteRoles: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4151
4960
  /**
4152
4961
  * @description Get Role by id
4153
4962
  * @tags roles
@@ -4156,7 +4965,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4156
4965
  * @request GET:/v1/roles/{id}
4157
4966
  * @secure
4158
4967
  */
4159
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
4968
+ getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
4160
4969
  /**
4161
4970
  * @description Update Role
4162
4971
  * @tags roles
@@ -4165,7 +4974,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4165
4974
  * @request PUT:/v1/roles/{id}
4166
4975
  * @secure
4167
4976
  */
4168
- update(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
4977
+ update(id: string, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
4169
4978
  /**
4170
4979
  * @description Partial Update Role. Only the fields provided in the body will be updated.
4171
4980
  * @tags roles
@@ -4174,7 +4983,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4174
4983
  * @request PATCH:/v1/roles/{id}
4175
4984
  * @secure
4176
4985
  */
4177
- partialUpdate(id: number, updateRole: UmaPartialUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
4986
+ partialUpdate(id: string, updateRole: UmaPartialUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
4178
4987
  /**
4179
4988
  * @description Generate Role PDF
4180
4989
  * @tags roles
@@ -4183,7 +4992,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4183
4992
  * @request POST:/v1/roles/{id}/generate-as-pdf
4184
4993
  * @secure
4185
4994
  */
4186
- generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
4995
+ generateAsPdf(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
4187
4996
  /**
4188
4997
  * @description Get Roles with pagination
4189
4998
  * @tags roles
@@ -4305,7 +5114,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4305
5114
  * @request POST:/v1/users/system
4306
5115
  * @secure
4307
5116
  */
4308
- create(createSystemUser: UmaCreateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
5117
+ create(createSystemUser: UmaCreateSystemUserDto, headers?: {
5118
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
5119
+ 'X-ALL-REGIONS'?: string;
5120
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
4309
5121
  /**
4310
5122
  * @description Delete System user by id
4311
5123
  * @tags system_users
@@ -4314,7 +5126,7 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4314
5126
  * @request DELETE:/v1/users/system
4315
5127
  * @secure
4316
5128
  */
4317
- deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5129
+ deleteMany(deleteSystemUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4318
5130
  /**
4319
5131
  * @description Bulk-update access (roles, permissions, branches, firms) for multiple system users
4320
5132
  * @tags system_users
@@ -4332,7 +5144,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4332
5144
  * @request POST:/v1/users/system/list
4333
5145
  * @secure
4334
5146
  */
4335
- get(getSystemUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError, Format>>;
5147
+ get(getSystemUsers: UmaGetB2BUsersListDto, headers?: {
5148
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
5149
+ 'X-ALL-REGIONS'?: string;
5150
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError, Format>>;
4336
5151
  /**
4337
5152
  * @description Get System User by id
4338
5153
  * @tags system_users
@@ -4341,7 +5156,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4341
5156
  * @request GET:/v1/users/system/{id}
4342
5157
  * @secure
4343
5158
  */
4344
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
5159
+ getById(id: string, headers?: {
5160
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
5161
+ 'X-ALL-REGIONS'?: string;
5162
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
4345
5163
  /**
4346
5164
  * @description Update System User
4347
5165
  * @tags system_users
@@ -4350,7 +5168,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4350
5168
  * @request PUT:/v1/users/system/{id}
4351
5169
  * @secure
4352
5170
  */
4353
- update(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
5171
+ update(id: string, updateSystemUser: UmaUpdateSystemUserDto, headers?: {
5172
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
5173
+ 'X-ALL-REGIONS'?: string;
5174
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
4354
5175
  /**
4355
5176
  * @description Partial Update System User
4356
5177
  * @tags system_users
@@ -4359,7 +5180,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4359
5180
  * @request PATCH:/v1/users/system/{id}
4360
5181
  * @secure
4361
5182
  */
4362
- partialUpdate(id: number, updateSystemUser: UmaPartialUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
5183
+ partialUpdate(id: string, updateSystemUser: UmaPartialUpdateSystemUserDto, headers?: {
5184
+ /** If true and caller has multi-region access, include firms/branches from all regions instead of only the current region */
5185
+ 'X-ALL-REGIONS'?: string;
5186
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
4363
5187
  /**
4364
5188
  * @description Generate System User PDF
4365
5189
  * @tags system_users
@@ -4368,7 +5192,7 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4368
5192
  * @request POST:/v1/users/system/{id}/generate-as-pdf
4369
5193
  * @secure
4370
5194
  */
4371
- generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
5195
+ generateAsPdf(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
4372
5196
  /**
4373
5197
  * @description Change System User status
4374
5198
  * @tags system_users
@@ -4377,7 +5201,7 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4377
5201
  * @request PATCH:/v1/users/system/{id}/status
4378
5202
  * @secure
4379
5203
  */
4380
- changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5204
+ changeStatus(id: string, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4381
5205
  }
4382
5206
  export class TablePresets<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
4383
5207
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -4483,7 +5307,10 @@ export class UserDetails<HandleError extends boolean = boolean, Format extends C
4483
5307
  * @request POST:/v1/users/details/show
4484
5308
  * @secure
4485
5309
  */
4486
- getUserDetails(getUserDetailsDto: UmaGetUserDetailsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserDetailsSerializer, HandleError, Format>>;
5310
+ getUserDetails(getUserDetailsDto: UmaGetUserDetailsDto, headers?: {
5311
+ /** If true and caller has multi-region access, include B2B firms/branches from all regions instead of only the current region */
5312
+ 'X-ALL-REGIONS'?: string;
5313
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserDetailsSerializer, HandleError, Format>>;
4487
5314
  /**
4488
5315
  * @description Revoke user sessions by JWT-token
4489
5316
  * @tags user_details
@@ -4567,7 +5394,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean, Format ext
4567
5394
  * @request DELETE:/v1/watchmen-instances
4568
5395
  * @secure
4569
5396
  */
4570
- deleteMany(deleteWatchmenInstances: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5397
+ deleteMany(deleteWatchmenInstances: UmaDeleteByUUIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4571
5398
  /**
4572
5399
  * @description Get Watchmen Instances with pagination. Available sort fields are `id, name, slug, url, created_at, updated_at`. Search is performed by `name, url, slug` fields.
4573
5400
  * @tags watchmen_instances
@@ -4585,7 +5412,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean, Format ext
4585
5412
  * @request GET:/v1/watchmen-instances/{id}
4586
5413
  * @secure
4587
5414
  */
4588
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
5415
+ getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
4589
5416
  /**
4590
5417
  * @description Update Watchmen Instance
4591
5418
  * @tags watchmen_instances
@@ -4594,7 +5421,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean, Format ext
4594
5421
  * @request PUT:/v1/watchmen-instances/{id}
4595
5422
  * @secure
4596
5423
  */
4597
- update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
5424
+ update(id: string, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
4598
5425
  }
4599
5426
  declare class _B2BAuth1<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends B2BAuth<HandleError, Format> {
4600
5427
  basicLogin(...params: Parameters<B2BAuth<HandleError, Format>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError, Format>>;
@@ -4616,6 +5443,8 @@ export class UmaApi<HandleError extends boolean = false, Format extends CaseForm
4616
5443
  readonly config: UmaClientConfig<HandleError, Format>;
4617
5444
  actionLog: ActionLogs<HandleError, Format>;
4618
5445
  adminApiKeys: AdminApiKeys<HandleError, Format>;
5446
+ aiAssistant: AiAssistant<HandleError, Format>;
5447
+ allowedEmails: AllowedEmails<HandleError, Format>;
4619
5448
  allowedOrigins: AllowedOrigins<HandleError, Format>;
4620
5449
  apiKeys: ApiKeys<HandleError, Format>;
4621
5450
  authApps: AuthApps<HandleError, Format>;
@@ -4626,6 +5455,7 @@ export class UmaApi<HandleError extends boolean = false, Format extends CaseForm
4626
5455
  b2cAuth: _B2CAuth1<HandleError, Format>;
4627
5456
  b2cUserSettings: B2CUserSettings<HandleError, Format>;
4628
5457
  b2cUsers: B2CUsers<HandleError, Format>;
5458
+ blockedEmails: BlockedEmails<HandleError, Format>;
4629
5459
  branches: Branches<HandleError, Format>;
4630
5460
  countries: Countries<HandleError, Format>;
4631
5461
  emailDomains: EmailDomains<HandleError, Format>;
@@ -4636,6 +5466,7 @@ export class UmaApi<HandleError extends boolean = false, Format extends CaseForm
4636
5466
  microservices: Microservices<HandleError, Format>;
4637
5467
  permissions: Permissions<HandleError, Format>;
4638
5468
  publicSettings: PublicSettings<HandleError, Format>;
5469
+ regions: Regions<HandleError, Format>;
4639
5470
  roleTypes: RoleTypes<HandleError, Format>;
4640
5471
  roles: Roles<HandleError, Format>;
4641
5472
  secretNotes: SecretNotes<HandleError, Format>;