@orbis-systems/orbis-api-clients 1.3.1 → 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 (43) hide show
  1. package/dist/aesmidas/index.d.ts +356 -167
  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 +11752 -5935
  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/index.d.ts +3 -1
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.esm.js +1 -1
  16. package/dist/index.esm.js.map +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/insight/index.d.ts +134 -3
  20. package/dist/insight/index.d.ts.map +1 -1
  21. package/dist/insight/index.esm.js +1 -1
  22. package/dist/insight/index.esm.js.map +1 -1
  23. package/dist/insight/index.js +1 -1
  24. package/dist/insight/index.js.map +1 -1
  25. package/dist/middleware/index.d.ts +197 -51
  26. package/dist/middleware/index.d.ts.map +1 -1
  27. package/dist/middleware/index.esm.js +1 -1
  28. package/dist/middleware/index.esm.js.map +1 -1
  29. package/dist/middleware/index.js +1 -1
  30. package/dist/middleware/index.js.map +1 -1
  31. package/dist/orbis/index.d.ts +59 -51
  32. package/dist/orbis/index.d.ts.map +1 -1
  33. package/dist/orbis/index.esm.js +1 -1
  34. package/dist/orbis/index.esm.js.map +1 -1
  35. package/dist/orbis/index.js +1 -1
  36. package/dist/orbis/index.js.map +1 -1
  37. package/dist/uma/index.d.ts +923 -90
  38. package/dist/uma/index.d.ts.map +1 -1
  39. package/dist/uma/index.esm.js +1 -1
  40. package/dist/uma/index.esm.js.map +1 -1
  41. package/dist/uma/index.js +1 -1
  42. package/dist/uma/index.js.map +1 -1
  43. package/package.json +157 -157
@@ -1,4 +1,4 @@
1
- import { AxiosError, AxiosInstance, AxiosRequestConfig, HttpStatusCode } from "axios";
1
+ import { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponseHeaders, HttpStatusCode } from "axios";
2
2
  import { UmaBasicB2BLoginSerializer as _UmaBasicB2BLoginSerializer1, UmaSimpleB2BLoginSerializer as _UmaSimpleB2BLoginSerializer1, UmaB2CLoginResultSerializer as _UmaB2CLoginResultSerializer1 } from "apis/uma";
3
3
  enum CaseFormat {
4
4
  Camel = "camel",
@@ -45,12 +45,14 @@ type SuccessClientResponse<Data = unknown, RawData = unknown> = ResponseStatus &
45
45
  success: true;
46
46
  data: Data;
47
47
  rawData: RawData;
48
+ headers: AxiosResponseHeaders;
48
49
  };
49
50
  type ErrorClientResponse = ResponseStatus & {
50
51
  success: false;
51
52
  data?: any;
52
53
  rawData?: any;
53
54
  error: unknown;
55
+ headers?: AxiosResponseHeaders;
54
56
  };
55
57
  type ClientResponse<Data = unknown, HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> = HandleError extends true ? SuccessClientResponse<TransformData<Data, Format>, Data> | ErrorClientResponse : SuccessClientResponse<TransformData<Data, Format>, Data>;
56
58
  declare abstract class BaseClient<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, AuthData = unknown> {
@@ -112,6 +114,10 @@ export enum UmaCodeType {
112
114
  SMSCodeType = "sms",
113
115
  VoiceCodeType = "voice"
114
116
  }
117
+ export enum UmaB2CImpersonateResponseMode {
118
+ TokensImpersonateResponseMode = "tokens",
119
+ AuthCodeImpersonateResponseMode = "auth_code"
120
+ }
115
121
  export enum UmaUserType {
116
122
  B2BUserType = "b2b",
117
123
  SystemUserType = "system",
@@ -222,6 +228,8 @@ export enum UmaErrorCode {
222
228
  ThirdForbiddenErr = 4032,
223
229
  FourthForbiddenErr = 4033,
224
230
  FifthForbiddenErr = 4034,
231
+ AmbiguousFirmBranchErr = 4035,
232
+ DefaultRolesNotFoundErr = 4036,
225
233
  EntitiesChoiceNotAllowed = 4303,
226
234
  BodyParsingErr = 4403,
227
235
  UpdateOfOldEntityStateErr = 4503,
@@ -257,7 +265,6 @@ export enum UmaTokenOrigin {
257
265
  UserTokenOrigin = "user"
258
266
  }
259
267
  export enum UmaTokenGenerationMode {
260
- StandardTokenGenerationMode = "standard",
261
268
  MinifiedTokenGenerationMode = "minified"
262
269
  }
263
270
  export enum UmaResetPasswordType {
@@ -315,6 +322,47 @@ export interface UmaGetAdminAPIKeysSerializer {
315
322
  status: number;
316
323
  total_records: number;
317
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
+ }
318
366
  export interface UmaAllowedOriginMutationSerializer {
319
367
  allowed_origin: UmaAllowedOriginSerializer;
320
368
  status: number;
@@ -426,6 +474,8 @@ export interface UmaGetCurrentB2CUserSerializer {
426
474
  status: number;
427
475
  }
428
476
  export interface UmaImpersonateResultSerializer {
477
+ auth_code: string;
478
+ state: string;
429
479
  status: number;
430
480
  tokens: UmaTokens;
431
481
  }
@@ -455,6 +505,17 @@ export interface UmaB2CUserSettingsChangeSerializer {
455
505
  settings: UmaB2CUserSettingsSerializer;
456
506
  status: number;
457
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
+ }
458
519
  export interface UmaBranchMutationSerializer {
459
520
  branch: UmaBranchAdminSerializer;
460
521
  status: number;
@@ -475,24 +536,32 @@ export interface UmaAccessControlProhibitionReason {
475
536
  export interface UmaClaims {
476
537
  '2fa_on'?: boolean;
477
538
  admin_of_firm_ids?: number[];
539
+ admin_of_firm_ids_new?: string[];
478
540
  aud?: string;
479
541
  branch_ids?: number[];
542
+ branch_ids_new?: string[];
480
543
  client_platform?: string;
481
544
  email_verif?: boolean;
482
545
  exp?: number;
483
546
  firm_ids?: number[];
547
+ firm_ids_new?: string[];
484
548
  gen_mode?: UmaTokenGenerationMode;
485
549
  have_access_to_all_firm_branches?: boolean;
486
550
  iat?: number;
487
551
  iss?: string;
488
552
  jti?: string;
489
553
  microservice_ids?: number[];
554
+ microservice_ids_new?: string[];
490
555
  nbf?: number;
491
556
  origin_id?: number;
557
+ origin_uuid?: string;
492
558
  pair_id?: string;
493
559
  permissions?: string[];
494
560
  phone_verif?: boolean;
561
+ region?: string;
562
+ regional_permissions?: Record<string, string[]>;
495
563
  sub?: string;
564
+ subject_uuid?: string;
496
565
  t_origin?: UmaTokenOrigin;
497
566
  t_type?: UmaTokenType;
498
567
  u_type?: UmaAuthUserType;
@@ -509,6 +578,17 @@ export interface UmaGetCountriesSerializer {
509
578
  countries: UmaCountrySerializer[];
510
579
  status: number;
511
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
+ }
512
592
  export interface UmaEmailDomainMutationSerializer {
513
593
  email_domain: UmaEmailDomainSerializer;
514
594
  status: number;
@@ -603,6 +683,14 @@ export interface UmaPublicSettingsResponseSerializer {
603
683
  settings: UmaPublicSettingsSerializer;
604
684
  status: number;
605
685
  }
686
+ export interface UmaGetRegionSerializer {
687
+ region: UmaRegionSerializer;
688
+ status: number;
689
+ }
690
+ export interface UmaGetRegionsSerializer {
691
+ regions: UmaRegionSerializer[];
692
+ status: number;
693
+ }
606
694
  export interface UmaGetRolesListSerializer {
607
695
  current_page: number;
608
696
  pages_count: number;
@@ -674,6 +762,49 @@ export interface UmaGetTrustedDevicesListSerializer {
674
762
  total_records: number;
675
763
  trusted_devices_list: UmaTrustedDeviceSerializer[];
676
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
+ }
677
808
  export interface UmaAPIKeys {
678
809
  ac_same_as_for_user?: boolean;
679
810
  api_key?: string;
@@ -685,30 +816,37 @@ export interface UmaAPIKeys {
685
816
  microservices?: UmaMicroserviceSerializer[];
686
817
  name?: string;
687
818
  permissions?: UmaPermissionSerializer[];
819
+ region?: string;
688
820
  roles?: UmaRoleSerializer[];
689
821
  updated_at?: string;
822
+ uuid?: string;
690
823
  }
691
824
  export interface UmaAPIKeysB2BLoginDto {
692
825
  api_key?: string;
693
826
  api_secret?: string;
694
- token_generation_mode?: UmaTokenGenerationMode;
695
827
  }
696
828
  export interface UmaAccessBulkChangesInt {
697
829
  add?: number[];
698
830
  remove?: number[];
699
831
  }
832
+ export interface UmaAccessBulkChangesUuidUUID {
833
+ add?: string[];
834
+ remove?: string[];
835
+ }
700
836
  export interface UmaActionLogEntityFilterDto {
701
837
  entity_id?: number;
702
838
  entity_name?: string;
839
+ entity_uuid?: string;
703
840
  }
704
841
  export interface UmaActionLogSerializer {
705
842
  action_type: string;
706
843
  created_at: string;
707
844
  entity_id: number;
708
845
  entity_name: string;
846
+ entity_uuid: string;
709
847
  id: number;
710
848
  initiator: UmaUserSerializer;
711
- initiator_id: number;
849
+ initiator_id: string;
712
850
  new_state: Record<string, any>;
713
851
  prev_state: Record<string, any>;
714
852
  trigger_type: string;
@@ -730,10 +868,12 @@ export interface UmaAdminAPIKeySerializer {
730
868
  microservices: UmaMicroserviceSerializer[];
731
869
  name: string;
732
870
  permissions: UmaPermissionSerializer[];
871
+ region: string;
733
872
  roles: UmaRoleSerializer[];
734
873
  updated_at: string;
735
874
  user: UmaUserSerializer;
736
875
  user_type: string;
876
+ uuid: string;
737
877
  }
738
878
  export interface UmaAdminB2BUserSerializer {
739
879
  access_revoking_date: string;
@@ -760,8 +900,11 @@ export interface UmaAdminB2BUserSerializer {
760
900
  /** @example 1 */
761
901
  id: number;
762
902
  initiator_id: number;
903
+ initiator_uuid: string;
763
904
  is_delete_allowed: boolean;
764
905
  is_edit_allowed: boolean;
906
+ /** @example "2022-02-02T00:00:00Z" */
907
+ last_login_at: string;
765
908
  /** @example "Jenkins" */
766
909
  last_name: string;
767
910
  locale: UmaLocaleSerializer;
@@ -770,18 +913,19 @@ export interface UmaAdminB2BUserSerializer {
770
913
  mfa_enabled: boolean;
771
914
  microservices: UmaMicroserviceSerializer[];
772
915
  mode: string;
773
- permissions: UmaPermissionSerializer[];
916
+ permissions: UmaPermissionAccessSerializer[];
774
917
  /** @example "+123478844" */
775
918
  phone: string;
776
919
  /** @example true */
777
920
  phone_verified: boolean;
778
921
  primary_firm_id: number;
779
- rep_code: string;
780
- roles: UmaRoleSerializer[];
922
+ primary_firm_uuid: string;
923
+ region: string;
924
+ roles: UmaRoleAccessSerializer[];
781
925
  should_reset_password: boolean;
782
926
  small_avatar_url: string;
783
927
  status: UmaUserStatus;
784
- status_change_by_id: number;
928
+ status_change_by_id: string;
785
929
  status_change_notes: string;
786
930
  status_change_reason: UmaUserStatusChangeReasonSerializer;
787
931
  status_change_reason_id: number;
@@ -792,6 +936,7 @@ export interface UmaAdminB2BUserSerializer {
792
936
  /** @example "2022-02-02T00:00:00Z" */
793
937
  updated_at: string;
794
938
  username: string;
939
+ uuid: string;
795
940
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
796
941
  }
797
942
  export interface UmaAdminB2CUserSerializer {
@@ -819,8 +964,11 @@ export interface UmaAdminB2CUserSerializer {
819
964
  /** @example 1 */
820
965
  id: number;
821
966
  initiator_id: number;
967
+ initiator_uuid: string;
822
968
  is_delete_allowed: boolean;
823
969
  is_edit_allowed: boolean;
970
+ /** @example "2022-02-02T00:00:00Z" */
971
+ last_login_at: string;
824
972
  /** @example "Jenkins" */
825
973
  last_name: string;
826
974
  locale: UmaLocaleSerializer;
@@ -828,18 +976,19 @@ export interface UmaAdminB2CUserSerializer {
828
976
  /** @example true */
829
977
  mfa_enabled: boolean;
830
978
  microservices: UmaMicroserviceSerializer[];
831
- permissions: UmaPermissionSerializer[];
979
+ permissions: UmaPermissionAccessSerializer[];
832
980
  /** @example "+123478844" */
833
981
  phone: string;
834
982
  /** @example true */
835
983
  phone_verified: boolean;
836
984
  primary_firm_id: number;
837
- rep_code: string;
838
- roles: UmaRoleSerializer[];
985
+ primary_firm_uuid: string;
986
+ region: string;
987
+ roles: UmaRoleAccessSerializer[];
839
988
  should_reset_password: boolean;
840
989
  small_avatar_url: string;
841
990
  status: UmaUserStatus;
842
- status_change_by_id: number;
991
+ status_change_by_id: string;
843
992
  status_change_notes: string;
844
993
  status_change_reason: UmaUserStatusChangeReasonSerializer;
845
994
  status_change_reason_id: number;
@@ -847,21 +996,30 @@ export interface UmaAdminB2CUserSerializer {
847
996
  /** @example "2022-02-02T00:00:00Z" */
848
997
  updated_at: string;
849
998
  username: string;
999
+ uuid: string;
850
1000
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
851
1001
  }
852
1002
  export interface UmaAdminCreateAPIKeyDto {
853
1003
  ac_same_as_for_user?: boolean;
1004
+ branch_uuids?: string[];
854
1005
  branches?: number[];
855
1006
  firms?: UmaFirmInfo[];
856
1007
  mfa_codes?: UmaMfaCodesDto;
857
1008
  name?: string;
1009
+ permission_uuids?: string[];
858
1010
  permissions?: number[];
1011
+ region?: string;
1012
+ regional_permissions?: UmaRegionalAccessDto[];
1013
+ regional_roles?: UmaRegionalAccessDto[];
1014
+ role_uuids?: string[];
859
1015
  roles?: number[];
860
1016
  user_id?: number;
1017
+ user_uuid?: string;
861
1018
  }
862
1019
  export interface UmaAdminDeleteAPIKeysDto {
863
1020
  ids?: number[];
864
1021
  mfa_codes?: UmaMfaCodesDto;
1022
+ uuids?: string[];
865
1023
  }
866
1024
  export interface UmaAdminGetAPIKeysListDto {
867
1025
  pagination?: UmaPaginationDto;
@@ -869,17 +1027,26 @@ export interface UmaAdminGetAPIKeysListDto {
869
1027
  sorts?: UmaSortDto[];
870
1028
  /** Optional: filter by specific user IDs */
871
1029
  user_ids?: number[];
1030
+ /** Optional: filter by specific user UUIDs */
1031
+ user_uuids?: string[];
872
1032
  }
873
1033
  export interface UmaAdminUpdateAPIKeyDto {
874
1034
  ac_same_as_for_user?: boolean;
1035
+ branch_uuids?: string[];
875
1036
  branches?: number[];
876
1037
  firms?: UmaFirmInfo[];
877
1038
  mfa_codes?: UmaMfaCodesDto;
878
1039
  name?: string;
1040
+ permission_uuids?: string[];
879
1041
  permissions?: number[];
1042
+ region?: string;
1043
+ regional_permissions?: UmaRegionalAccessDto[];
1044
+ regional_roles?: UmaRegionalAccessDto[];
1045
+ role_uuids?: string[];
880
1046
  roles?: number[];
881
1047
  updated_at?: string;
882
1048
  user_id?: number;
1049
+ user_uuid?: string;
883
1050
  }
884
1051
  export interface UmaAdminUserSerializer {
885
1052
  access_revoking_date: string;
@@ -905,8 +1072,11 @@ export interface UmaAdminUserSerializer {
905
1072
  /** @example 1 */
906
1073
  id: number;
907
1074
  initiator_id: number;
1075
+ initiator_uuid: string;
908
1076
  is_delete_allowed: boolean;
909
1077
  is_edit_allowed: boolean;
1078
+ /** @example "2022-02-02T00:00:00Z" */
1079
+ last_login_at: string;
910
1080
  /** @example "Jenkins" */
911
1081
  last_name: string;
912
1082
  locale: UmaLocaleSerializer;
@@ -914,18 +1084,19 @@ export interface UmaAdminUserSerializer {
914
1084
  /** @example true */
915
1085
  mfa_enabled: boolean;
916
1086
  microservices: UmaMicroserviceSerializer[];
917
- permissions: UmaPermissionSerializer[];
1087
+ permissions: UmaPermissionAccessSerializer[];
918
1088
  /** @example "+123478844" */
919
1089
  phone: string;
920
1090
  /** @example true */
921
1091
  phone_verified: boolean;
922
1092
  primary_firm_id: number;
923
- rep_code: string;
924
- roles: UmaRoleSerializer[];
1093
+ primary_firm_uuid: string;
1094
+ region: string;
1095
+ roles: UmaRoleAccessSerializer[];
925
1096
  should_reset_password: boolean;
926
1097
  small_avatar_url: string;
927
1098
  status: UmaUserStatus;
928
- status_change_by_id: number;
1099
+ status_change_by_id: string;
929
1100
  status_change_notes: string;
930
1101
  status_change_reason: UmaUserStatusChangeReasonSerializer;
931
1102
  status_change_reason_id: number;
@@ -933,8 +1104,27 @@ export interface UmaAdminUserSerializer {
933
1104
  /** @example "2022-02-02T00:00:00Z" */
934
1105
  updated_at: string;
935
1106
  username: string;
1107
+ uuid: string;
936
1108
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
937
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
+ }
938
1128
  export interface UmaAllowedOriginDto {
939
1129
  origin?: string;
940
1130
  }
@@ -962,8 +1152,10 @@ export interface UmaAuthAppsLimitsSerializer {
962
1152
  }
963
1153
  export interface UmaAuthFormDto {
964
1154
  branch_id?: number;
1155
+ branch_uuid?: string;
965
1156
  client_platform_slug?: string;
966
1157
  firm_id?: number;
1158
+ firm_uuid?: string;
967
1159
  logo_base_url?: string;
968
1160
  logo_path?: string;
969
1161
  redirect_url?: string;
@@ -974,10 +1166,12 @@ export interface UmaAuthFormDto {
974
1166
  export interface UmaAuthFormSerializer {
975
1167
  branch: UmaBranchSerializer;
976
1168
  branch_id: number;
1169
+ branch_uuid: string;
977
1170
  client_platform_slug: string;
978
1171
  created_at: string;
979
1172
  firm: UmaFirmSerializer;
980
1173
  firm_id: number;
1174
+ firm_uuid: string;
981
1175
  id: number;
982
1176
  logo_base_url: string;
983
1177
  logo_path: string;
@@ -989,10 +1183,10 @@ export interface UmaAuthFormSerializer {
989
1183
  }
990
1184
  export interface UmaAuthProviderUserBindingSerializer {
991
1185
  app_type: UmaAuthProviderAppType;
992
- b2b_user_id: number;
993
- b2c_user_id: number;
1186
+ b2b_user_id: string;
1187
+ b2c_user_id: string;
994
1188
  created_at: string;
995
- firm_id: number;
1189
+ firm_id: string;
996
1190
  id: number;
997
1191
  name: string;
998
1192
  provider_user_id: string;
@@ -1028,7 +1222,6 @@ export interface UmaB2BResetPasswordDto {
1028
1222
  contact?: string;
1029
1223
  new_password?: string;
1030
1224
  old_password?: string;
1031
- token_generation_mode?: UmaTokenGenerationMode;
1032
1225
  }
1033
1226
  export interface UmaB2BSendContactChangeCodeDto {
1034
1227
  contact?: string;
@@ -1039,11 +1232,15 @@ export interface UmaB2BUploadAvatarSerializer {
1039
1232
  small_avatar_path: string;
1040
1233
  }
1041
1234
  export interface UmaB2BUserBulkAccessUpdateDto {
1235
+ branch_uuids?: UmaAccessBulkChangesUuidUUID;
1042
1236
  branches?: UmaAccessBulkChangesInt;
1043
1237
  firms?: UmaB2BUserFirmAccessChanges[];
1238
+ permission_uuids?: UmaAccessBulkChangesUuidUUID;
1044
1239
  permissions?: UmaAccessBulkChangesInt;
1240
+ role_uuids?: UmaAccessBulkChangesUuidUUID;
1045
1241
  roles?: UmaAccessBulkChangesInt;
1046
1242
  user_ids?: number[];
1243
+ user_uuids?: string[];
1047
1244
  }
1048
1245
  export interface UmaB2BUserFirmAccessChanges {
1049
1246
  add?: UmaFirmInfo[];
@@ -1051,6 +1248,7 @@ export interface UmaB2BUserFirmAccessChanges {
1051
1248
  }
1052
1249
  export interface UmaB2BUserSerializer {
1053
1250
  admin_of_firm_ids: number[];
1251
+ admin_of_firm_uuids: string[];
1054
1252
  allow_feedback: boolean;
1055
1253
  big_avatar_url: string;
1056
1254
  /** @example "2022-02-02T00:00:00Z" */
@@ -1069,7 +1267,10 @@ export interface UmaB2BUserSerializer {
1069
1267
  /** @example 1 */
1070
1268
  id: number;
1071
1269
  initiator_id: number;
1270
+ initiator_uuid: string;
1072
1271
  is_chief_admin: boolean;
1272
+ /** @example "2022-02-02T00:00:00Z" */
1273
+ last_login_at: string;
1073
1274
  /** @example "Jenkins" */
1074
1275
  last_name: string;
1075
1276
  locale: UmaLocaleSerializer;
@@ -1082,7 +1283,7 @@ export interface UmaB2BUserSerializer {
1082
1283
  phone: string;
1083
1284
  /** @example true */
1084
1285
  phone_verified: boolean;
1085
- rep_code: string;
1286
+ region: string;
1086
1287
  should_reset_password: boolean;
1087
1288
  small_avatar_url: string;
1088
1289
  theme: string;
@@ -1090,11 +1291,13 @@ export interface UmaB2BUserSerializer {
1090
1291
  /** @example "2022-02-02T00:00:00Z" */
1091
1292
  updated_at: string;
1092
1293
  username: string;
1294
+ uuid: string;
1093
1295
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
1094
1296
  }
1095
1297
  export interface UmaB2CImpersonateDto {
1096
- token_generation_mode?: UmaTokenGenerationMode;
1298
+ response_mode?: UmaB2CImpersonateResponseMode;
1097
1299
  user_id?: number;
1300
+ user_uuid?: string;
1098
1301
  }
1099
1302
  export interface UmaB2CInitOAuthResponse {
1100
1303
  data?: UmaInitOAuthLoginSerializer;
@@ -1104,7 +1307,6 @@ export interface UmaB2CRefreshDto {
1104
1307
  auth_form_slug?: string;
1105
1308
  refresh_token?: string;
1106
1309
  send_redirect?: boolean;
1107
- token_generation_mode?: UmaTokenGenerationMode;
1108
1310
  }
1109
1311
  export interface UmaB2CResetPasswordDto {
1110
1312
  auth_form_slug?: string;
@@ -1122,11 +1324,16 @@ export interface UmaB2CSendVerificationCodeDto {
1122
1324
  contact?: string;
1123
1325
  }
1124
1326
  export interface UmaB2CUserBulkAccessUpdateDto {
1327
+ branch_uuids?: UmaAccessBulkChangesUuidUUID;
1125
1328
  branches?: UmaAccessBulkChangesInt;
1126
1329
  firm_replace?: number;
1330
+ firm_replace_uuid?: string;
1331
+ permission_uuids?: UmaAccessBulkChangesUuidUUID;
1127
1332
  permissions?: UmaAccessBulkChangesInt;
1333
+ role_uuids?: UmaAccessBulkChangesUuidUUID;
1128
1334
  roles?: UmaAccessBulkChangesInt;
1129
1335
  user_ids?: number[];
1336
+ user_uuids?: string[];
1130
1337
  }
1131
1338
  export interface UmaB2CUserSettingsSerializer {
1132
1339
  email: string;
@@ -1146,7 +1353,6 @@ export interface UmaBasicB2BLoginDto {
1146
1353
  password?: string;
1147
1354
  /** @example true */
1148
1355
  remember_me?: boolean;
1149
- token_generation_mode?: UmaTokenGenerationMode;
1150
1356
  }
1151
1357
  export interface UmaBasicB2CLoginDto {
1152
1358
  auth_form_slug?: string;
@@ -1160,7 +1366,24 @@ export interface UmaBasicB2CLoginDto {
1160
1366
  /** @example true */
1161
1367
  remember_me?: boolean;
1162
1368
  send_redirect?: boolean;
1163
- 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[];
1164
1387
  }
1165
1388
  export interface UmaBranchAdminListItemSerializer {
1166
1389
  branch_admins_count: number;
@@ -1171,22 +1394,26 @@ export interface UmaBranchAdminListItemSerializer {
1171
1394
  firm: UmaFirmSerializer;
1172
1395
  /** @example 1 */
1173
1396
  firm_id: number;
1397
+ firm_uuid: string;
1174
1398
  /** @example 1 */
1175
1399
  id: number;
1176
1400
  is_delete_allowed: boolean;
1177
1401
  is_update_allowed: boolean;
1178
1402
  /** @example "New York" */
1179
1403
  name: string;
1404
+ region: string;
1180
1405
  retail_available_mfa_options: string[];
1181
1406
  retail_email_notifications_enabled: boolean;
1182
1407
  retail_email_verification_required: boolean;
1183
1408
  retail_login_enabled: boolean;
1184
1409
  retail_mfa_enabling_required: boolean;
1185
1410
  retail_phone_verification_required: boolean;
1411
+ settings: UmaTenantSettingSerializer[];
1186
1412
  /** @example "new-york" */
1187
1413
  slug: string;
1188
1414
  /** @example "2022-02-02T00:00:00Z" */
1189
1415
  updated_at: string;
1416
+ uuid: string;
1190
1417
  }
1191
1418
  export interface UmaBranchAdminSerializer {
1192
1419
  branch_admins_count: number;
@@ -1197,20 +1424,24 @@ export interface UmaBranchAdminSerializer {
1197
1424
  firm: UmaFirmSerializer;
1198
1425
  /** @example 1 */
1199
1426
  firm_id: number;
1427
+ firm_uuid: string;
1200
1428
  /** @example 1 */
1201
1429
  id: number;
1202
1430
  /** @example "New York" */
1203
1431
  name: string;
1432
+ region: string;
1204
1433
  retail_available_mfa_options: string[];
1205
1434
  retail_email_notifications_enabled: boolean;
1206
1435
  retail_email_verification_required: boolean;
1207
1436
  retail_login_enabled: boolean;
1208
1437
  retail_mfa_enabling_required: boolean;
1209
1438
  retail_phone_verification_required: boolean;
1439
+ settings: UmaTenantSettingSerializer[];
1210
1440
  /** @example "new-york" */
1211
1441
  slug: string;
1212
1442
  /** @example "2022-02-02T00:00:00Z" */
1213
1443
  updated_at: string;
1444
+ uuid: string;
1214
1445
  }
1215
1446
  export interface UmaBranchDtoCommon {
1216
1447
  code?: string;
@@ -1229,12 +1460,15 @@ export interface UmaBranchSerializer {
1229
1460
  code: string;
1230
1461
  /** @example 1 */
1231
1462
  firm_id: number;
1463
+ firm_uuid: string;
1232
1464
  /** @example 1 */
1233
1465
  id: number;
1234
1466
  /** @example "New York" */
1235
1467
  name: string;
1468
+ region: string;
1236
1469
  /** @example "new-york" */
1237
1470
  slug: string;
1471
+ uuid: string;
1238
1472
  }
1239
1473
  export interface UmaChangeUserStatusDto {
1240
1474
  new_status?: UmaUserStatus;
@@ -1254,17 +1488,24 @@ export interface UmaCountrySerializer {
1254
1488
  }
1255
1489
  export interface UmaCreateAPIKeysDto {
1256
1490
  ac_same_as_for_user?: boolean;
1491
+ branch_uuids?: string[];
1257
1492
  branches?: number[];
1258
1493
  firms?: UmaFirmInfo[];
1259
1494
  mfa_codes?: UmaMfaCodesDto;
1260
1495
  name?: string;
1496
+ permission_uuids?: string[];
1261
1497
  permissions?: number[];
1498
+ region?: string;
1499
+ regional_permissions?: UmaRegionalAccessDto[];
1500
+ regional_roles?: UmaRegionalAccessDto[];
1501
+ role_uuids?: string[];
1262
1502
  roles?: number[];
1263
1503
  }
1264
1504
  export interface UmaCreateB2BUserDto {
1265
1505
  access_revoking_date?: string;
1266
1506
  add_default_domain_permissions?: boolean;
1267
1507
  allow_feedback?: boolean;
1508
+ branch_uuids?: string[];
1268
1509
  branches?: number[];
1269
1510
  /** @example "test@gmail.com" */
1270
1511
  email?: string;
@@ -1274,11 +1515,16 @@ export interface UmaCreateB2BUserDto {
1274
1515
  last_name?: string;
1275
1516
  /** @example "TeStPaSS" */
1276
1517
  password?: string;
1518
+ permission_uuids?: string[];
1277
1519
  permissions?: number[];
1278
1520
  /** @example "+1231231234" */
1279
1521
  phone?: string;
1280
1522
  primary_firm_id?: number;
1281
- rep_code?: string;
1523
+ primary_firm_uuid?: string;
1524
+ region?: string;
1525
+ regional_permissions?: UmaRegionalAccessDto[];
1526
+ regional_roles?: UmaRegionalAccessDto[];
1527
+ role_uuids?: string[];
1282
1528
  roles?: number[];
1283
1529
  should_reset_password?: boolean;
1284
1530
  title?: string;
@@ -1289,19 +1535,24 @@ export interface UmaCreateB2BUserDto {
1289
1535
  export interface UmaCreateB2CUserDto {
1290
1536
  access_revoking_date?: string;
1291
1537
  allow_feedback?: boolean;
1538
+ branch_uuids?: string[];
1292
1539
  branches?: number[];
1293
1540
  /** @example "test@gmail.com" */
1294
1541
  email?: string;
1295
1542
  /** @example "main" */
1296
1543
  env?: UmaB2CUserEnv;
1297
1544
  firm_id?: number;
1545
+ firm_uuid?: string;
1298
1546
  first_name?: string;
1299
1547
  last_name?: string;
1300
1548
  /** @example "TeStPaSS" */
1301
1549
  password?: string;
1550
+ permission_uuids?: string[];
1302
1551
  permissions?: number[];
1303
1552
  /** @example "+1231231234" */
1304
1553
  phone?: string;
1554
+ region?: string;
1555
+ role_uuids?: string[];
1305
1556
  roles?: number[];
1306
1557
  username?: string;
1307
1558
  watchmen_user_links?: UmaWatchmenUserLinkDto[];
@@ -1309,6 +1560,7 @@ export interface UmaCreateB2CUserDto {
1309
1560
  export interface UmaCreateBranchDto {
1310
1561
  code?: string;
1311
1562
  firm_id?: number;
1563
+ firm_uuid?: string;
1312
1564
  name?: string;
1313
1565
  retail_available_auth_app_options?: UmaAuthAppType[];
1314
1566
  retail_email_notifications_enabled?: boolean;
@@ -1325,6 +1577,8 @@ export interface UmaCreateEndpointDto {
1325
1577
  metadata?: UmaEndpointMetadataDto;
1326
1578
  method?: UmaCreateEndpointDtoMethodEnum;
1327
1579
  microservice_id?: number;
1580
+ microservice_uuid?: string;
1581
+ required_permission_uuids?: string[];
1328
1582
  required_permissions?: number[];
1329
1583
  route?: string;
1330
1584
  type?: UmaCreateEndpointDtoTypeEnum;
@@ -1341,6 +1595,7 @@ export interface UmaCreateFirmDto {
1341
1595
  name?: string;
1342
1596
  notes?: string;
1343
1597
  phone?: string;
1598
+ region?: string;
1344
1599
  slug?: string;
1345
1600
  }
1346
1601
  export interface UmaCreateIdentityProviderDto {
@@ -1349,6 +1604,7 @@ export interface UmaCreateIdentityProviderDto {
1349
1604
  client_secret?: string;
1350
1605
  company_domain?: string;
1351
1606
  firm_id?: number;
1607
+ firm_uuid?: string;
1352
1608
  priority?: number;
1353
1609
  redirect_url?: string;
1354
1610
  type?: UmaCreateIdentityProviderDtoTypeEnum;
@@ -1357,6 +1613,7 @@ export interface UmaCreateMicroserviceDto {
1357
1613
  description?: string;
1358
1614
  domains?: UmaMicroserviceDomainDto[];
1359
1615
  is_active?: boolean;
1616
+ is_globalized?: boolean;
1360
1617
  is_token_encoding_required?: boolean;
1361
1618
  is_visible_on_admin_sidebar?: boolean;
1362
1619
  logo_url?: string;
@@ -1367,13 +1624,18 @@ export interface UmaCreatePermissionDto {
1367
1624
  assignment_group?: UmaPermissionAG;
1368
1625
  metadata?: UmaPermissionMetadataDto;
1369
1626
  microservice_id?: number;
1627
+ microservice_uuid?: string;
1370
1628
  permission?: string;
1371
1629
  }
1372
1630
  export interface UmaCreateRoleDto {
1373
1631
  assignment_group?: UmaPermissionAG;
1374
1632
  firm_id?: number;
1633
+ firm_uuid?: string;
1375
1634
  microservice_id?: number;
1635
+ microservice_uuid?: string;
1376
1636
  name?: string;
1637
+ permission_can_assign_role_uuids?: string[];
1638
+ permission_uuids?: string[];
1377
1639
  permissions?: number[];
1378
1640
  permissions_can_assign_role?: number[];
1379
1641
  type_id?: number;
@@ -1398,6 +1660,7 @@ export interface UmaCreateSystemUserDto {
1398
1660
  access_revoking_date?: string;
1399
1661
  add_default_domain_permissions?: boolean;
1400
1662
  allow_feedback?: boolean;
1663
+ branch_uuids?: string[];
1401
1664
  branches?: number[];
1402
1665
  /** @example "test@gmail.com" */
1403
1666
  email?: string;
@@ -1406,11 +1669,16 @@ export interface UmaCreateSystemUserDto {
1406
1669
  has_access_to_all_firm_branches?: boolean;
1407
1670
  /** @example "TeStPaSS" */
1408
1671
  password?: string;
1672
+ permission_uuids?: string[];
1409
1673
  permissions?: number[];
1410
1674
  /** @example "+1231231234" */
1411
1675
  phone?: string;
1412
1676
  primary_firm_id?: number;
1413
- rep_code?: string;
1677
+ primary_firm_uuid?: string;
1678
+ region?: string;
1679
+ regional_permissions?: UmaRegionalAccessDto[];
1680
+ regional_roles?: UmaRegionalAccessDto[];
1681
+ role_uuids?: string[];
1414
1682
  roles?: number[];
1415
1683
  should_reset_password?: boolean;
1416
1684
  title?: string;
@@ -1429,9 +1697,30 @@ export interface UmaCreateYubicoOTPDto {
1429
1697
  name?: string;
1430
1698
  otp?: string;
1431
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
+ }
1432
1720
  export interface UmaDeleteAPIKeysDto {
1433
1721
  ids?: number[];
1434
1722
  mfa_codes?: UmaMfaCodesDto;
1723
+ uuids?: string[];
1435
1724
  }
1436
1725
  export interface UmaDeleteByIDsDtoInt {
1437
1726
  ids?: number[];
@@ -1439,6 +1728,14 @@ export interface UmaDeleteByIDsDtoInt {
1439
1728
  export interface UmaDeleteByIDsDtoInt64 {
1440
1729
  ids?: number[];
1441
1730
  }
1731
+ export interface UmaDeleteByUUIDsDtoInt {
1732
+ ids?: number[];
1733
+ uuids?: string[];
1734
+ }
1735
+ export interface UmaDeleteByUUIDsDtoInt64 {
1736
+ ids?: number[];
1737
+ uuids?: string[];
1738
+ }
1442
1739
  export interface UmaDeleteSessionsDto {
1443
1740
  pair_ids?: string[];
1444
1741
  }
@@ -1446,12 +1743,19 @@ export interface UmaDeleteUsersDto {
1446
1743
  ids?: number[];
1447
1744
  notes?: string;
1448
1745
  reason_id?: number;
1746
+ uuids?: string[];
1449
1747
  }
1450
1748
  export interface UmaEmailDomainDto {
1749
+ branch_uuids?: string[];
1451
1750
  branches?: number[];
1452
1751
  domain?: string;
1453
1752
  firms?: UmaFirmInfo[];
1753
+ permission_uuids?: string[];
1454
1754
  permissions?: number[];
1755
+ region?: string;
1756
+ regional_permissions?: UmaRegionalAccessDto[];
1757
+ regional_roles?: UmaRegionalAccessDto[];
1758
+ role_uuids?: string[];
1455
1759
  roles?: number[];
1456
1760
  }
1457
1761
  export interface UmaEmailDomainSerializer {
@@ -1461,8 +1765,10 @@ export interface UmaEmailDomainSerializer {
1461
1765
  firms: UmaFirmAccessSerializer[];
1462
1766
  id: number;
1463
1767
  permissions: UmaPermissionSerializer[];
1768
+ region: string;
1464
1769
  roles: UmaRoleSerializer[];
1465
1770
  updated_at: string;
1771
+ uuid: string;
1466
1772
  }
1467
1773
  export interface UmaEndpointMetadataDto {
1468
1774
  admin_ui_permission_key?: string;
@@ -1488,10 +1794,16 @@ export interface UmaEndpointSerializer {
1488
1794
  method: UmaEndpointSerializerMethodEnum;
1489
1795
  microservice: UmaMicroserviceSerializer;
1490
1796
  microservice_id: number;
1797
+ microservice_uuid: string;
1491
1798
  required_permissions: UmaPermissionSerializer[];
1492
1799
  route: string;
1493
1800
  type: UmaEndpointType;
1494
1801
  updated_at: string;
1802
+ uuid: string;
1803
+ }
1804
+ export interface UmaExchangeB2CImpersonateAuthCodeDto {
1805
+ auth_code?: string;
1806
+ state?: string;
1495
1807
  }
1496
1808
  export interface UmaFinishOAuthLoginDto {
1497
1809
  authentication_code?: string;
@@ -1506,6 +1818,8 @@ export interface UmaFirmAccessSerializer {
1506
1818
  allow_b2c_email_notifications: boolean;
1507
1819
  allow_b2c_multi_branch_registration: boolean;
1508
1820
  b2b_users_count: number;
1821
+ b2c_access_token_expires_in_minutes: number;
1822
+ b2c_refresh_token_expires_in_hours: number;
1509
1823
  b2c_users_count: number;
1510
1824
  branches: UmaBranchSerializer[];
1511
1825
  branches_count: number;
@@ -1522,15 +1836,18 @@ export interface UmaFirmAccessSerializer {
1522
1836
  name: string;
1523
1837
  notes: string;
1524
1838
  phone: string;
1839
+ region: string;
1525
1840
  /** @example "viewtrade" */
1526
1841
  slug: string;
1527
1842
  status: string;
1528
1843
  tags: UmaTagSerializer[];
1529
1844
  /** @example "2022-02-02T00:00:00Z" */
1530
1845
  updated_at: string;
1846
+ uuid: string;
1531
1847
  }
1532
1848
  export interface UmaFirmInfo {
1533
1849
  firm_id?: number;
1850
+ firm_uuid?: string;
1534
1851
  have_access_to_all_firm_branches?: boolean;
1535
1852
  }
1536
1853
  export interface UmaFirmSerializer {
@@ -1538,6 +1855,8 @@ export interface UmaFirmSerializer {
1538
1855
  allow_b2c_email_notifications: boolean;
1539
1856
  allow_b2c_multi_branch_registration: boolean;
1540
1857
  b2b_users_count: number;
1858
+ b2c_access_token_expires_in_minutes: number;
1859
+ b2c_refresh_token_expires_in_hours: number;
1541
1860
  b2c_users_count: number;
1542
1861
  branches: UmaBranchSerializer[];
1543
1862
  branches_count: number;
@@ -1553,15 +1872,18 @@ export interface UmaFirmSerializer {
1553
1872
  name: string;
1554
1873
  notes: string;
1555
1874
  phone: string;
1875
+ region: string;
1556
1876
  /** @example "viewtrade" */
1557
1877
  slug: string;
1558
1878
  status: string;
1559
1879
  tags: UmaTagSerializer[];
1560
1880
  /** @example "2022-02-02T00:00:00Z" */
1561
1881
  updated_at: string;
1882
+ uuid: string;
1562
1883
  }
1563
1884
  export interface UmaGenerateWatchmenAuthTokenDto {
1564
1885
  branch_id?: number;
1886
+ branch_uuid?: string;
1565
1887
  }
1566
1888
  export interface UmaGeneratedEntityPDFSerializer {
1567
1889
  data: UmaPdfGenerationInfo;
@@ -1571,6 +1893,18 @@ export interface UmaGeneratedWatchmenTokenInfoSerializer {
1571
1893
  expires_at: number;
1572
1894
  token: string;
1573
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
+ }
1574
1908
  export interface UmaGetAPIKeysListDto {
1575
1909
  pagination?: UmaPaginationDto;
1576
1910
  search?: string;
@@ -1586,9 +1920,16 @@ export interface UmaGetActionLogsListFiltersDto {
1586
1920
  entities?: UmaActionLogEntityFilterDto[];
1587
1921
  ids?: number[];
1588
1922
  initiator_ids?: number[];
1923
+ initiator_uuids?: string[];
1589
1924
  show_only_fields_changes?: string[];
1590
1925
  trigger_types?: string[];
1591
1926
  }
1927
+ export interface UmaGetAllowedEmailsListDto {
1928
+ filters?: UmaAllowedEmailsListFiltersDto;
1929
+ pagination?: UmaPaginationDto;
1930
+ search?: string;
1931
+ sorts?: UmaSortDto[];
1932
+ }
1592
1933
  export interface UmaGetAllowedOriginsListDto {
1593
1934
  pagination?: UmaPaginationDto;
1594
1935
  search?: string;
@@ -1602,7 +1943,9 @@ export interface UmaGetAuthFormsListDto {
1602
1943
  }
1603
1944
  export interface UmaGetAuthFormsListFiltersDto {
1604
1945
  branch_ids?: number[];
1946
+ branch_uuids?: string[];
1605
1947
  firm_ids?: number[];
1948
+ firm_uuids?: string[];
1606
1949
  ids?: number[];
1607
1950
  }
1608
1951
  export interface UmaGetB2BUsersListDto {
@@ -1626,22 +1969,35 @@ export interface UmaGetB2CUsersListDto {
1626
1969
  }
1627
1970
  export interface UmaGetB2CUsersListFiltersDto {
1628
1971
  branch_ids?: number[];
1972
+ branch_uuids?: string[];
1629
1973
  email_verified?: boolean;
1630
1974
  firm_ids?: number[];
1631
1975
  firm_tag_ids?: number[];
1976
+ firm_uuids?: string[];
1632
1977
  ids?: number[];
1633
1978
  is_blocked?: boolean;
1634
1979
  microservice_ids?: number[];
1980
+ microservice_uuids?: string[];
1635
1981
  neither_verified?: boolean;
1636
1982
  permission_ids?: number[];
1637
1983
  permission_names?: string[];
1984
+ permission_uuids?: string[];
1638
1985
  phone_verified?: boolean;
1986
+ regions?: string[];
1639
1987
  role_ids?: number[];
1988
+ role_uuids?: string[];
1640
1989
  show_only?: UmaGetB2CUsersListFiltersDtoShowOnlyEnum;
1641
1990
  show_users_linked_to_watchmen?: boolean;
1642
1991
  status_change_reason_ids?: number[];
1643
1992
  statuses?: UmaUserStatus[];
1644
1993
  type?: UmaUserType;
1994
+ uuids?: string[];
1995
+ }
1996
+ export interface UmaGetBlockedEmailsListDto {
1997
+ filters?: UmaBlockedEmailsListFiltersDto;
1998
+ pagination?: UmaPaginationDto;
1999
+ search?: string;
2000
+ sorts?: UmaSortDto[];
1645
2001
  }
1646
2002
  export interface UmaGetBranchesListDto {
1647
2003
  count_branch_admins?: boolean;
@@ -1653,10 +2009,17 @@ export interface UmaGetBranchesListDto {
1653
2009
  }
1654
2010
  export interface UmaGetBranchesListFiltersDto {
1655
2011
  firm_ids?: number[];
2012
+ firm_uuids?: string[];
1656
2013
  ids?: number[];
2014
+ regions?: string[];
1657
2015
  retail_email_verification_required?: boolean;
1658
2016
  retail_login_enabled?: boolean;
1659
2017
  retail_phone_verification_required?: boolean;
2018
+ uuids?: string[];
2019
+ }
2020
+ export interface UmaGetDefaultB2CRegistrationRolesListDto {
2021
+ pagination?: UmaPaginationDto;
2022
+ sorts?: UmaSortDto[];
1660
2023
  }
1661
2024
  export interface UmaGetEmailDomainsListDto {
1662
2025
  filters?: any;
@@ -1675,6 +2038,8 @@ export interface UmaGetEndpointsListFiltersDto {
1675
2038
  is_public?: boolean;
1676
2039
  methods?: string[];
1677
2040
  microservice_ids?: number[];
2041
+ microservice_uuids?: string[];
2042
+ uuids?: string[];
1678
2043
  }
1679
2044
  export interface UmaGetFirmsListDto {
1680
2045
  count_admins?: boolean;
@@ -1689,8 +2054,10 @@ export interface UmaGetFirmsListDto {
1689
2054
  }
1690
2055
  export interface UmaGetFirmsListFiltersDto {
1691
2056
  ids?: number[];
2057
+ regions?: string[];
1692
2058
  statuses?: UmaGetFirmsListFiltersDtoStatusesEnum;
1693
2059
  tag_ids?: number[];
2060
+ uuids?: string[];
1694
2061
  }
1695
2062
  export interface UmaGetIdentityProvidersListDto {
1696
2063
  filters?: UmaGetIdentityProvidersListFiltersDto;
@@ -1700,6 +2067,7 @@ export interface UmaGetIdentityProvidersListDto {
1700
2067
  }
1701
2068
  export interface UmaGetIdentityProvidersListFiltersDto {
1702
2069
  firm_ids?: number[];
2070
+ firm_uuids?: string[];
1703
2071
  ids?: number[];
1704
2072
  types?: UmaGetIdentityProvidersListFiltersDtoTypesEnum[];
1705
2073
  }
@@ -1712,6 +2080,7 @@ export interface UmaGetMicroservicesListDto {
1712
2080
  export interface UmaGetMicroservicesListFiltersDto {
1713
2081
  ids?: number[];
1714
2082
  slugs?: string[];
2083
+ uuids?: string[];
1715
2084
  }
1716
2085
  export interface UmaGetOAuth2BindingsListDto {
1717
2086
  pagination?: UmaPaginationDto;
@@ -1729,6 +2098,8 @@ export interface UmaGetPermissionsListFiltersDto {
1729
2098
  assignment_groups?: UmaPermissionAG[];
1730
2099
  ids?: number[];
1731
2100
  microservice_ids?: number[];
2101
+ microservice_uuids?: string[];
2102
+ uuids?: string[];
1732
2103
  }
1733
2104
  export interface UmaGetRoleTypesListDto {
1734
2105
  filters?: UmaGetRoleTypesListFiltersDto;
@@ -1749,6 +2120,8 @@ export interface UmaGetRolesListFiltersDto {
1749
2120
  assignment_groups?: UmaPermissionAG[];
1750
2121
  ids?: number[];
1751
2122
  microservice_ids?: number[];
2123
+ microservice_uuids?: string[];
2124
+ role_uuids?: string[];
1752
2125
  type_ids?: number[];
1753
2126
  }
1754
2127
  export interface UmaGetSecretNoteDto {
@@ -1774,6 +2147,7 @@ export interface UmaGetTrustedDevicesListDto {
1774
2147
  export interface UmaGetUserDetailsDto {
1775
2148
  access_token?: string;
1776
2149
  generation_type?: UmaUserDetailsGenerationType;
2150
+ show_global_claims?: boolean;
1777
2151
  }
1778
2152
  export interface UmaGetUserStatusChangeReasonsDto {
1779
2153
  filters?: UmaGetUserStatusChangeReasonsListFiltersDto;
@@ -1786,25 +2160,33 @@ export interface UmaGetUserStatusChangeReasonsListFiltersDto {
1786
2160
  }
1787
2161
  export interface UmaGetUsersListFiltersDto {
1788
2162
  branch_ids?: number[];
2163
+ branch_uuids?: string[];
1789
2164
  email_verified?: boolean;
1790
2165
  firm_ids?: number[];
1791
2166
  firm_tag_ids?: number[];
2167
+ firm_uuids?: string[];
1792
2168
  ids?: number[];
1793
2169
  microservice_ids?: number[];
2170
+ microservice_uuids?: string[];
1794
2171
  neither_verified?: boolean;
1795
2172
  permission_ids?: number[];
1796
2173
  permission_names?: string[];
2174
+ permission_uuids?: string[];
1797
2175
  phone_verified?: boolean;
2176
+ regions?: string[];
1798
2177
  role_ids?: number[];
2178
+ role_uuids?: string[];
1799
2179
  show_only?: UmaGetUsersListFiltersDtoShowOnlyEnum;
1800
2180
  show_users_linked_to_watchmen?: boolean;
1801
2181
  status_change_reason_ids?: number[];
1802
2182
  statuses?: UmaUserStatus[];
1803
2183
  type?: UmaUserType;
2184
+ uuids?: string[];
1804
2185
  }
1805
2186
  export interface UmaGetVerifiedContactChangeCodeDto {
1806
2187
  type?: UmaCodeType;
1807
2188
  user_id?: number;
2189
+ user_uuid?: string;
1808
2190
  }
1809
2191
  export interface UmaGetWatchmenInstancesDto {
1810
2192
  pagination?: UmaPaginationDto;
@@ -1822,6 +2204,7 @@ export interface UmaIdentityProviderSerializer {
1822
2204
  company_domain: string;
1823
2205
  created_at: string;
1824
2206
  firm_id: number;
2207
+ firm_uuid: string;
1825
2208
  id: number;
1826
2209
  priority: number;
1827
2210
  redirect_url: string;
@@ -1849,6 +2232,7 @@ export interface UmaLinkWatchmenUserToUmaDto {
1849
2232
  branch_slug_or_code?: string;
1850
2233
  uma_user_id?: number;
1851
2234
  uma_user_type?: UmaAuthUserType;
2235
+ uma_user_uuid?: string;
1852
2236
  watchmen_instance_slug?: string;
1853
2237
  watchmen_user_id?: number;
1854
2238
  watchmen_username?: string;
@@ -1879,6 +2263,7 @@ export interface UmaMicroserviceAccessSerializer {
1879
2263
  /** @example 1 */
1880
2264
  id: number;
1881
2265
  is_active: boolean;
2266
+ is_globalized: boolean;
1882
2267
  is_token_encoding_required: boolean;
1883
2268
  is_visible_on_admin_sidebar: boolean;
1884
2269
  logo_url: string;
@@ -1893,6 +2278,7 @@ export interface UmaMicroserviceDomainDto {
1893
2278
  /** @example "/insights-api" */
1894
2279
  public_path_prefix?: string;
1895
2280
  watchmen_instance_id?: number;
2281
+ watchmen_instance_uuid?: string;
1896
2282
  }
1897
2283
  export interface UmaMicroserviceDomainSerializer {
1898
2284
  /** @example "internal.com" */
@@ -1903,6 +2289,7 @@ export interface UmaMicroserviceDomainSerializer {
1903
2289
  public_path_prefix: string;
1904
2290
  watchmen_instance: UmaWatchmenInstanceSerializer;
1905
2291
  watchmen_instance_id: number;
2292
+ watchmen_instance_uuid: string;
1906
2293
  }
1907
2294
  export interface UmaMicroserviceSerializer {
1908
2295
  created_at: string;
@@ -1911,6 +2298,7 @@ export interface UmaMicroserviceSerializer {
1911
2298
  /** @example 1 */
1912
2299
  id: number;
1913
2300
  is_active: boolean;
2301
+ is_globalized: boolean;
1914
2302
  is_token_encoding_required: boolean;
1915
2303
  is_visible_on_admin_sidebar: boolean;
1916
2304
  logo_url: string;
@@ -1918,6 +2306,7 @@ export interface UmaMicroserviceSerializer {
1918
2306
  parent_id: number;
1919
2307
  slug: string;
1920
2308
  updated_at: string;
2309
+ uuid: string;
1921
2310
  }
1922
2311
  export interface UmaOptionalPaginationDto {
1923
2312
  page?: number;
@@ -1926,6 +2315,7 @@ export interface UmaOptionalPaginationDto {
1926
2315
  export interface UmaPartialUpdateB2BUserDto {
1927
2316
  access_revoking_date?: string;
1928
2317
  allow_feedback?: boolean;
2318
+ branch_uuids?: string[];
1929
2319
  branches?: number[];
1930
2320
  /** @example "test@gmail.com" */
1931
2321
  email?: string;
@@ -1935,11 +2325,15 @@ export interface UmaPartialUpdateB2BUserDto {
1935
2325
  last_name?: string;
1936
2326
  /** @example "TeStPaSS" */
1937
2327
  password?: string;
2328
+ permission_uuids?: string[];
1938
2329
  permissions?: number[];
1939
2330
  /** @example "+1231231234" */
1940
2331
  phone?: string;
1941
2332
  primary_firm_id?: number;
1942
- rep_code?: string;
2333
+ primary_firm_uuid?: string;
2334
+ regional_permissions?: UmaRegionalAccessDto[];
2335
+ regional_roles?: UmaRegionalAccessDto[];
2336
+ role_uuids?: string[];
1943
2337
  roles?: number[];
1944
2338
  should_reset_password?: boolean;
1945
2339
  title?: string;
@@ -1950,19 +2344,23 @@ export interface UmaPartialUpdateB2BUserDto {
1950
2344
  export interface UmaPartialUpdateB2CUserDto {
1951
2345
  access_revoking_date?: string;
1952
2346
  allow_feedback?: boolean;
2347
+ branch_uuids?: string[];
1953
2348
  branches?: number[];
1954
2349
  /** @example "test@gmail.com" */
1955
2350
  email?: string;
1956
2351
  email_code?: string;
1957
2352
  firm_id?: number;
2353
+ firm_uuid?: string;
1958
2354
  first_name?: string;
1959
2355
  last_name?: string;
1960
2356
  /** @example "TeStPaSS" */
1961
2357
  password?: string;
2358
+ permission_uuids?: string[];
1962
2359
  permissions?: number[];
1963
2360
  /** @example "+1231231234" */
1964
2361
  phone?: string;
1965
2362
  phone_code?: string;
2363
+ role_uuids?: string[];
1966
2364
  roles?: number[];
1967
2365
  username?: string;
1968
2366
  watchmen_user_links?: UmaWatchmenUserLinkDto[];
@@ -1973,6 +2371,8 @@ export interface UmaPartialUpdateEndpointDto {
1973
2371
  metadata?: UmaEndpointMetadataDto;
1974
2372
  method?: UmaPartialUpdateEndpointDtoMethodEnum;
1975
2373
  microservice_id?: number;
2374
+ microservice_uuid?: string;
2375
+ required_permission_uuids?: string[];
1976
2376
  required_permissions?: number[];
1977
2377
  route?: string;
1978
2378
  type?: UmaPartialUpdateEndpointDtoTypeEnum;
@@ -1996,6 +2396,7 @@ export interface UmaPartialUpdateMicroserviceDto {
1996
2396
  description?: string;
1997
2397
  domains?: UmaMicroserviceDomainDto[];
1998
2398
  is_active?: boolean;
2399
+ is_globalized?: boolean;
1999
2400
  is_token_encoding_required?: boolean;
2000
2401
  is_visible_on_admin_sidebar?: boolean;
2001
2402
  logo_url?: string;
@@ -2005,10 +2406,13 @@ export interface UmaPartialUpdateMicroserviceDto {
2005
2406
  export interface UmaPartialUpdatePermissionDto {
2006
2407
  metadata?: UmaPermissionMetadataDto;
2007
2408
  microservice_id?: number;
2409
+ microservice_uuid?: string;
2008
2410
  permission?: string;
2009
2411
  }
2010
2412
  export interface UmaPartialUpdateRoleDto {
2011
2413
  name?: string;
2414
+ permission_can_assign_role_uuids?: string[];
2415
+ permission_uuids?: string[];
2012
2416
  permissions?: number[];
2013
2417
  permissions_can_assign_role?: number[];
2014
2418
  type_id?: number;
@@ -2016,6 +2420,7 @@ export interface UmaPartialUpdateRoleDto {
2016
2420
  export interface UmaPartialUpdateSystemUserDto {
2017
2421
  access_revoking_date?: string;
2018
2422
  allow_feedback?: boolean;
2423
+ branch_uuids?: string[];
2019
2424
  branches?: number[];
2020
2425
  /** @example "test@gmail.com" */
2021
2426
  email?: string;
@@ -2024,11 +2429,15 @@ export interface UmaPartialUpdateSystemUserDto {
2024
2429
  has_access_to_all_firm_branches?: boolean;
2025
2430
  /** @example "TeStPaSS" */
2026
2431
  password?: string;
2432
+ permission_uuids?: string[];
2027
2433
  permissions?: number[];
2028
2434
  /** @example "+1231231234" */
2029
2435
  phone?: string;
2030
2436
  primary_firm_id?: number;
2031
- rep_code?: string;
2437
+ primary_firm_uuid?: string;
2438
+ regional_permissions?: UmaRegionalAccessDto[];
2439
+ regional_roles?: UmaRegionalAccessDto[];
2440
+ role_uuids?: string[];
2032
2441
  roles?: number[];
2033
2442
  should_reset_password?: boolean;
2034
2443
  title?: string;
@@ -2039,6 +2448,20 @@ export interface UmaPdfGenerationInfo {
2039
2448
  pdf_generated_at?: string;
2040
2449
  pdf_url?: string;
2041
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
+ }
2042
2465
  export interface UmaPermissionMetadataDto {
2043
2466
  entities?: Record<string, UmaEntityAccessType>;
2044
2467
  entities_new?: UmaEntityData[];
@@ -2058,8 +2481,10 @@ export interface UmaPermissionSerializer {
2058
2481
  metadata: UmaPermissionMetadataSerializer;
2059
2482
  microservice: UmaMicroserviceSerializer;
2060
2483
  microservice_id: number;
2484
+ microservice_uuid: string;
2061
2485
  permission: string;
2062
2486
  updated_at: string;
2487
+ uuid: string;
2063
2488
  }
2064
2489
  export interface UmaPublicSettingsSerializer {
2065
2490
  action_logs: UmaActionLogsSettingsSerializer;
@@ -2074,7 +2499,17 @@ export interface UmaPublicSettingsSerializer {
2074
2499
  }
2075
2500
  export interface UmaRefreshDto {
2076
2501
  refresh_token?: string;
2077
- 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;
2078
2513
  }
2079
2514
  export interface UmaRegisterDto {
2080
2515
  /** @example "test@gmail.com" */
@@ -2095,19 +2530,42 @@ export interface UmaResetPasswordSettingsSerializer {
2095
2530
  export interface UmaResetRateLimitsDto {
2096
2531
  user_id?: number;
2097
2532
  user_type?: UmaAuthUserType;
2533
+ user_uuid?: string;
2098
2534
  }
2099
2535
  export interface UmaRevokeUserSessionsDto {
2100
2536
  user_id?: number;
2101
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;
2102
2559
  }
2103
2560
  export interface UmaRoleSerializer {
2104
2561
  assignment_group: UmaPermissionAG;
2105
2562
  created_at: string;
2106
2563
  firm: UmaFirmSerializer;
2107
- firm_id: number;
2564
+ firm_id: string;
2108
2565
  id: number;
2109
2566
  microservice: UmaMicroserviceSerializer;
2110
2567
  microservice_id: number;
2568
+ microservice_uuid: string;
2111
2569
  name: string;
2112
2570
  pdf_generated_at: string;
2113
2571
  pdf_url: string;
@@ -2116,6 +2574,7 @@ export interface UmaRoleSerializer {
2116
2574
  type: UmaRoleTypeSerializer;
2117
2575
  type_id: number;
2118
2576
  updated_at: string;
2577
+ uuid: string;
2119
2578
  }
2120
2579
  export interface UmaRoleTypeSerializer {
2121
2580
  color: string;
@@ -2151,6 +2610,13 @@ export interface UmaSendB2CResetPasswordCodeDto {
2151
2610
  contact?: string;
2152
2611
  reset_type?: UmaResetPasswordType;
2153
2612
  }
2613
+ export interface UmaSendMessageDto {
2614
+ chat_id?: number;
2615
+ context?: string;
2616
+ /** @minLength 1 */
2617
+ message: string;
2618
+ screen?: string;
2619
+ }
2154
2620
  export interface UmaSendResetPasswordCodeDto {
2155
2621
  contact?: string;
2156
2622
  type?: UmaSendResetPasswordCodeDtoTypeEnum;
@@ -2214,6 +2680,7 @@ export interface UmaTOTPSerializer {
2214
2680
  }
2215
2681
  export interface UmaTablePresetSerializer {
2216
2682
  b2b_user_id: number;
2683
+ b2b_user_uuid: string;
2217
2684
  id: number;
2218
2685
  presets: object;
2219
2686
  table_name: string;
@@ -2228,6 +2695,14 @@ export interface UmaTenantSettingDto {
2228
2695
  label?: UmaTenantSettingDtoLabelEnum;
2229
2696
  value?: string;
2230
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
+ }
2231
2706
  export interface UmaTokens {
2232
2707
  access_expires_at?: number;
2233
2708
  access_token?: string;
@@ -2237,9 +2712,9 @@ export interface UmaTokens {
2237
2712
  }
2238
2713
  export interface UmaTrustedDeviceSerializer {
2239
2714
  b2b_user: UmaAdminUserSerializer;
2240
- b2b_user_id: number;
2715
+ b2b_user_id: string;
2241
2716
  b2c_user: UmaAdminB2CUserSerializer;
2242
- b2c_user_id: number;
2717
+ b2c_user_id: string;
2243
2718
  created_at: string;
2244
2719
  device_id: string;
2245
2720
  device_name: string;
@@ -2250,11 +2725,16 @@ export interface UmaTrustedDeviceSerializer {
2250
2725
  }
2251
2726
  export interface UmaUpdateAPIKeysDto {
2252
2727
  ac_same_as_for_user?: boolean;
2728
+ branch_uuids?: string[];
2253
2729
  branches?: number[];
2254
2730
  firms?: UmaFirmInfo[];
2255
2731
  mfa_codes?: UmaMfaCodesDto;
2256
2732
  name?: string;
2733
+ permission_uuids?: string[];
2257
2734
  permissions?: number[];
2735
+ regional_permissions?: UmaRegionalAccessDto[];
2736
+ regional_roles?: UmaRegionalAccessDto[];
2737
+ role_uuids?: string[];
2258
2738
  roles?: number[];
2259
2739
  updated_at?: string;
2260
2740
  }
@@ -2265,6 +2745,7 @@ export interface UmaUpdateAuthAppDto {
2265
2745
  export interface UmaUpdateB2BUserDto {
2266
2746
  access_revoking_date?: string;
2267
2747
  allow_feedback?: boolean;
2748
+ branch_uuids?: string[];
2268
2749
  branches?: number[];
2269
2750
  /** @example "test@gmail.com" */
2270
2751
  email?: string;
@@ -2274,11 +2755,15 @@ export interface UmaUpdateB2BUserDto {
2274
2755
  last_name?: string;
2275
2756
  /** @example "TeStPaSS" */
2276
2757
  password?: string;
2758
+ permission_uuids?: string[];
2277
2759
  permissions?: number[];
2278
2760
  /** @example "+1231231234" */
2279
2761
  phone?: string;
2280
2762
  primary_firm_id?: number;
2281
- rep_code?: string;
2763
+ primary_firm_uuid?: string;
2764
+ regional_permissions?: UmaRegionalAccessDto[];
2765
+ regional_roles?: UmaRegionalAccessDto[];
2766
+ role_uuids?: string[];
2282
2767
  roles?: number[];
2283
2768
  should_reset_password?: boolean;
2284
2769
  title?: string;
@@ -2290,19 +2775,23 @@ export interface UmaUpdateB2BUserDto {
2290
2775
  export interface UmaUpdateB2CUserDto {
2291
2776
  access_revoking_date?: string;
2292
2777
  allow_feedback?: boolean;
2778
+ branch_uuids?: string[];
2293
2779
  branches?: number[];
2294
2780
  /** @example "test@gmail.com" */
2295
2781
  email?: string;
2296
2782
  email_code?: string;
2297
2783
  firm_id?: number;
2784
+ firm_uuid?: string;
2298
2785
  first_name?: string;
2299
2786
  last_name?: string;
2300
2787
  /** @example "TeStPaSS" */
2301
2788
  password?: string;
2789
+ permission_uuids?: string[];
2302
2790
  permissions?: number[];
2303
2791
  /** @example "+1231231234" */
2304
2792
  phone?: string;
2305
2793
  phone_code?: string;
2794
+ role_uuids?: string[];
2306
2795
  roles?: number[];
2307
2796
  updated_at?: string;
2308
2797
  username?: string;
@@ -2321,12 +2810,19 @@ export interface UmaUpdateBranchDto {
2321
2810
  slug?: string;
2322
2811
  updated_at?: string;
2323
2812
  }
2813
+ export interface UmaUpdateChatDto {
2814
+ /** @maxLength 255 */
2815
+ name?: string;
2816
+ pinned?: boolean;
2817
+ }
2324
2818
  export interface UmaUpdateEndpointDto {
2325
2819
  is_active?: boolean;
2326
2820
  is_public?: boolean;
2327
2821
  metadata?: UmaEndpointMetadataDto;
2328
2822
  method?: UmaUpdateEndpointDtoMethodEnum;
2329
2823
  microservice_id?: number;
2824
+ microservice_uuid?: string;
2825
+ required_permission_uuids?: string[];
2330
2826
  required_permissions?: number[];
2331
2827
  route?: string;
2332
2828
  type?: UmaUpdateEndpointDtoTypeEnum;
@@ -2354,6 +2850,7 @@ export interface UmaUpdateIdentityProviderDto {
2354
2850
  client_secret?: string;
2355
2851
  company_domain?: string;
2356
2852
  firm_id?: number;
2853
+ firm_uuid?: string;
2357
2854
  priority?: number;
2358
2855
  redirect_url?: string;
2359
2856
  type?: UmaUpdateIdentityProviderDtoTypeEnum;
@@ -2363,6 +2860,7 @@ export interface UmaUpdateMicroserviceDto {
2363
2860
  description?: string;
2364
2861
  domains?: UmaMicroserviceDomainDto[];
2365
2862
  is_active?: boolean;
2863
+ is_globalized?: boolean;
2366
2864
  is_token_encoding_required?: boolean;
2367
2865
  is_visible_on_admin_sidebar?: boolean;
2368
2866
  logo_url?: string;
@@ -2373,11 +2871,14 @@ export interface UmaUpdateMicroserviceDto {
2373
2871
  export interface UmaUpdatePermissionDto {
2374
2872
  metadata?: UmaPermissionMetadataDto;
2375
2873
  microservice_id?: number;
2874
+ microservice_uuid?: string;
2376
2875
  permission?: string;
2377
2876
  updated_at?: string;
2378
2877
  }
2379
2878
  export interface UmaUpdateRoleDto {
2380
2879
  name?: string;
2880
+ permission_can_assign_role_uuids?: string[];
2881
+ permission_uuids?: string[];
2381
2882
  permissions?: number[];
2382
2883
  permissions_can_assign_role?: number[];
2383
2884
  type_id?: number;
@@ -2391,6 +2892,7 @@ export interface UmaUpdateRoleTypeDto {
2391
2892
  export interface UmaUpdateSystemUserDto {
2392
2893
  access_revoking_date?: string;
2393
2894
  allow_feedback?: boolean;
2895
+ branch_uuids?: string[];
2394
2896
  branches?: number[];
2395
2897
  /** @example "test@gmail.com" */
2396
2898
  email?: string;
@@ -2399,11 +2901,15 @@ export interface UmaUpdateSystemUserDto {
2399
2901
  has_access_to_all_firm_branches?: boolean;
2400
2902
  /** @example "TeStPaSS" */
2401
2903
  password?: string;
2904
+ permission_uuids?: string[];
2402
2905
  permissions?: number[];
2403
2906
  /** @example "+1231231234" */
2404
2907
  phone?: string;
2405
2908
  primary_firm_id?: number;
2406
- rep_code?: string;
2909
+ primary_firm_uuid?: string;
2910
+ regional_permissions?: UmaRegionalAccessDto[];
2911
+ regional_roles?: UmaRegionalAccessDto[];
2912
+ role_uuids?: string[];
2407
2913
  roles?: number[];
2408
2914
  should_reset_password?: boolean;
2409
2915
  title?: string;
@@ -2444,6 +2950,9 @@ export interface UmaUserSerializer {
2444
2950
  /** @example 1 */
2445
2951
  id: number;
2446
2952
  initiator_id: number;
2953
+ initiator_uuid: string;
2954
+ /** @example "2022-02-02T00:00:00Z" */
2955
+ last_login_at: string;
2447
2956
  /** @example "Jenkins" */
2448
2957
  last_name: string;
2449
2958
  locale: UmaLocaleSerializer;
@@ -2454,12 +2963,13 @@ export interface UmaUserSerializer {
2454
2963
  phone: string;
2455
2964
  /** @example true */
2456
2965
  phone_verified: boolean;
2457
- rep_code: string;
2966
+ region: string;
2458
2967
  should_reset_password: boolean;
2459
2968
  small_avatar_url: string;
2460
2969
  /** @example "2022-02-02T00:00:00Z" */
2461
2970
  updated_at: string;
2462
2971
  username: string;
2972
+ uuid: string;
2463
2973
  watchmen_user_links: UmaWatchmenUserLinkSerializer[];
2464
2974
  }
2465
2975
  export interface UmaUserStatusChangeReasonSerializer {
@@ -2492,23 +3002,27 @@ export interface UmaWatchmenInstanceSerializer {
2492
3002
  created_at: string;
2493
3003
  id: number;
2494
3004
  name: string;
3005
+ region: string;
2495
3006
  slug: string;
2496
3007
  updated_at: string;
2497
3008
  url: string;
3009
+ uuid: string;
2498
3010
  }
2499
3011
  export interface UmaWatchmenUserLinkDto {
2500
3012
  branch_id?: number;
3013
+ branch_uuid?: string;
2501
3014
  watchmen_instance_id?: number;
3015
+ watchmen_instance_uuid?: string;
2502
3016
  watchmen_user_id?: number;
2503
3017
  }
2504
3018
  export interface UmaWatchmenUserLinkSerializer {
2505
3019
  branch: UmaBranchSerializer;
2506
- branch_id: number;
3020
+ branch_id: string;
2507
3021
  created_at: string;
2508
3022
  id: number;
2509
3023
  updated_at: string;
2510
3024
  watchmen_instance: UmaWatchmenInstanceSerializer;
2511
- watchmen_instance_id: number;
3025
+ watchmen_instance_id: string;
2512
3026
  watchmen_user_id: number;
2513
3027
  }
2514
3028
  export interface UmaWebAuthnAssertionResponse {
@@ -2720,6 +3234,11 @@ export enum UmaPartialUpdateFirmDtoStatusEnum {
2720
3234
  Suspended = "suspended",
2721
3235
  Deleted = "deleted"
2722
3236
  }
3237
+ export enum UmaPermissionAccessSerializerAssignmentGroupEnum {
3238
+ Regular = "regular",
3239
+ Chiefadmin = "chiefadmin",
3240
+ Superadmin = "superadmin"
3241
+ }
2723
3242
  export enum UmaPermissionSerializerAssignmentGroupEnum {
2724
3243
  Regular = "regular",
2725
3244
  Chiefadmin = "chiefadmin",
@@ -2807,7 +3326,10 @@ export class AdminApiKeys<HandleError extends boolean = boolean, Format extends
2807
3326
  * @request POST:/v1/admin/api-keys
2808
3327
  * @secure
2809
3328
  */
2810
- 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>>;
2811
3333
  /**
2812
3334
  * @description Delete any API Keys by IDs. Only accessible to chiefadmin.
2813
3335
  * @tags admin_api_keys
@@ -2825,7 +3347,10 @@ export class AdminApiKeys<HandleError extends boolean = boolean, Format extends
2825
3347
  * @request POST:/v1/admin/api-keys/list
2826
3348
  * @secure
2827
3349
  */
2828
- 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>>;
2829
3354
  /**
2830
3355
  * @description Get any API Key by id. Only accessible to chiefadmin.
2831
3356
  * @tags admin_api_keys
@@ -2834,7 +3359,10 @@ export class AdminApiKeys<HandleError extends boolean = boolean, Format extends
2834
3359
  * @request GET:/v1/admin/api-keys/{id}
2835
3360
  * @secure
2836
3361
  */
2837
- 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>>;
2838
3366
  /**
2839
3367
  * @description Update any API Key Record. Only accessible to chiefadmin.
2840
3368
  * @tags admin_api_keys
@@ -2843,7 +3371,139 @@ export class AdminApiKeys<HandleError extends boolean = boolean, Format extends
2843
3371
  * @request PUT:/v1/admin/api-keys/{id}
2844
3372
  * @secure
2845
3373
  */
2846
- 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>>;
2847
3507
  }
2848
3508
  export class AllowedOrigins<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
2849
3509
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -2914,7 +3574,10 @@ export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseF
2914
3574
  * @request GET:/v1/b2b/api-keys/{id}
2915
3575
  * @secure
2916
3576
  */
2917
- 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>>;
2918
3581
  /**
2919
3582
  * @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
2920
3583
  * @tags api_keys
@@ -2923,7 +3586,10 @@ export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseF
2923
3586
  * @request POST:/v2/b2b/api-keys
2924
3587
  * @secure
2925
3588
  */
2926
- 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>>;
2927
3593
  /**
2928
3594
  * @description Get API Keys info(would return API Keys without secrets)
2929
3595
  * @tags api_keys
@@ -2932,7 +3598,10 @@ export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseF
2932
3598
  * @request POST:/v2/b2b/api-keys/list
2933
3599
  * @secure
2934
3600
  */
2935
- 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>>;
2936
3605
  /**
2937
3606
  * @description Update API Key Record
2938
3607
  * @tags api_keys
@@ -2941,7 +3610,10 @@ export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseF
2941
3610
  * @request PUT:/v2/b2b/api-keys/{id}
2942
3611
  * @secure
2943
3612
  */
2944
- 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>>;
2945
3617
  }
2946
3618
  export class AuthApps<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
2947
3619
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -3201,7 +3873,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3201
3873
  * @request GET:/v1/users/b2b/{id}
3202
3874
  * @secure
3203
3875
  */
3204
- 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>>;
3205
3880
  /**
3206
3881
  * @description Update B2B User (partial updates supported)
3207
3882
  * @tags b2b_users
@@ -3210,7 +3885,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3210
3885
  * @request PATCH:/v1/users/b2b/{id}
3211
3886
  * @secure
3212
3887
  */
3213
- 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>>;
3214
3892
  /**
3215
3893
  * @description Generate B2B User PDF
3216
3894
  * @tags b2b_users
@@ -3219,7 +3897,7 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3219
3897
  * @request POST:/v1/users/b2b/{id}/generate-as-pdf
3220
3898
  * @secure
3221
3899
  */
3222
- generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
3900
+ generateAsPdf(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
3223
3901
  /**
3224
3902
  * @description Change B2B User status
3225
3903
  * @tags b2b_users
@@ -3228,7 +3906,7 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3228
3906
  * @request PATCH:/v1/users/b2b/{id}/status
3229
3907
  * @secure
3230
3908
  */
3231
- 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>>;
3232
3910
  /**
3233
3911
  * @description Create B2B User
3234
3912
  * @tags b2b_users
@@ -3237,7 +3915,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3237
3915
  * @request POST:/v2/users/b2b
3238
3916
  * @secure
3239
3917
  */
3240
- 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>>;
3241
3922
  /**
3242
3923
  * @description Get B2B users with pagination
3243
3924
  * @tags b2b_users
@@ -3246,7 +3927,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3246
3927
  * @request POST:/v2/users/b2b/list
3247
3928
  * @secure
3248
3929
  */
3249
- 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>>;
3250
3934
  /**
3251
3935
  * @description Update B2B User
3252
3936
  * @tags b2b_users
@@ -3255,7 +3939,10 @@ export class B2BUsers<HandleError extends boolean = boolean, Format extends Case
3255
3939
  * @request PUT:/v2/users/b2b/{id}
3256
3940
  * @secure
3257
3941
  */
3258
- 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>>;
3259
3946
  }
3260
3947
  export class B2BUserSettings<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3261
3948
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -3385,7 +4072,7 @@ export class B2CAuth<HandleError extends boolean = boolean, Format extends CaseF
3385
4072
  */
3386
4073
  finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
3387
4074
  /**
3388
- * @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
3389
4076
  * @tags b2c_auth
3390
4077
  * @name ImpersonateLogin
3391
4078
  * @summary Impersonate B2C user
@@ -3393,6 +4080,14 @@ export class B2CAuth<HandleError extends boolean = boolean, Format extends CaseF
3393
4080
  * @secure
3394
4081
  */
3395
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>>;
3396
4091
  /**
3397
4092
  * @description logout from B2C user session
3398
4093
  * @tags b2c_auth
@@ -3540,6 +4235,51 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3540
4235
  * @secure
3541
4236
  */
3542
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>>;
3543
4283
  /**
3544
4284
  * @description Get B2C User by id
3545
4285
  * @tags b2c_users
@@ -3548,7 +4288,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3548
4288
  * @request GET:/v1/users/b2c/{id}
3549
4289
  * @secure
3550
4290
  */
3551
- getById(id: number, headers?: {
4291
+ getById(id: string, headers?: {
3552
4292
  /** Specify format of response. Possible values: `full` (default), `shortened` */
3553
4293
  'X-Accept'?: string;
3554
4294
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
@@ -3560,7 +4300,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3560
4300
  * @request PUT:/v1/users/b2c/{id}
3561
4301
  * @secure
3562
4302
  */
3563
- update(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
4303
+ update(id: string, createB2BUser: UmaUpdateB2CUserDto, headers?: {
3564
4304
  /** Specify format of response. Possible values: `full` (default), `shortened` */
3565
4305
  'X-Accept'?: string;
3566
4306
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
@@ -3572,7 +4312,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3572
4312
  * @request PATCH:/v1/users/b2c/{id}
3573
4313
  * @secure
3574
4314
  */
3575
- partialUpdate(id: number, createB2BUser: UmaPartialUpdateB2CUserDto, headers?: {
4315
+ partialUpdate(id: string, createB2BUser: UmaPartialUpdateB2CUserDto, headers?: {
3576
4316
  /** Specify format of response. Possible values: `full` (default), `shortened` */
3577
4317
  'X-Accept'?: string;
3578
4318
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
@@ -3584,7 +4324,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3584
4324
  * @request POST:/v1/users/b2c/{id}/generate-as-pdf
3585
4325
  * @secure
3586
4326
  */
3587
- generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
4327
+ generateAsPdf(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
3588
4328
  /**
3589
4329
  * @description Change B2C User status
3590
4330
  * @tags b2c_users
@@ -3593,7 +4333,7 @@ export class B2CUsers<HandleError extends boolean = boolean, Format extends Case
3593
4333
  * @request PATCH:/v1/users/b2c/{id}/status
3594
4334
  * @secure
3595
4335
  */
3596
- 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>>;
3597
4337
  /**
3598
4338
  * @description Get B2C users with pagination
3599
4339
  * @tags b2c_users
@@ -3696,6 +4436,55 @@ export class B2CUserSettings<HandleError extends boolean = boolean, Format exten
3696
4436
  */
3697
4437
  getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError, Format>>;
3698
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
+ }
3699
4488
  export class Branches<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
3700
4489
  protected readonly apiClient: JwtClient<HandleError, Format>;
3701
4490
  constructor(apiClient: JwtClient<HandleError, Format>);
@@ -3716,7 +4505,7 @@ export class Branches<HandleError extends boolean = boolean, Format extends Case
3716
4505
  * @request DELETE:/v1/branches
3717
4506
  * @secure
3718
4507
  */
3719
- deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4508
+ deleteMany(deleteBranches: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3720
4509
  /**
3721
4510
  * @description Get Branch by id
3722
4511
  * @tags branches
@@ -3743,7 +4532,7 @@ export class Branches<HandleError extends boolean = boolean, Format extends Case
3743
4532
  * @request PATCH:/v1/branches/{id}
3744
4533
  * @secure
3745
4534
  */
3746
- 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>>;
3747
4536
  /**
3748
4537
  * @description Get Branches with pagination
3749
4538
  * @tags branches
@@ -3786,7 +4575,7 @@ export class EmailDomains<HandleError extends boolean = boolean, Format extends
3786
4575
  * @request DELETE:/v1/email-domains
3787
4576
  * @secure
3788
4577
  */
3789
- deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4578
+ deleteMany(deleteEmailDomainsDto: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3790
4579
  /**
3791
4580
  * @description Get emailDomains with pagination
3792
4581
  * @tags email_domains
@@ -3835,7 +4624,7 @@ export class Endpoints<HandleError extends boolean = boolean, Format extends Cas
3835
4624
  * @request DELETE:/v1/b2b/endpoints
3836
4625
  * @secure
3837
4626
  */
3838
- deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4627
+ deleteMany(deleteEndpointsDto: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3839
4628
  /**
3840
4629
  * @description Get Endpoint by id
3841
4630
  * @tags endpoints
@@ -3893,9 +4682,9 @@ export class Firms<HandleError extends boolean = boolean, Format extends CaseFor
3893
4682
  * @request DELETE:/v1/firms
3894
4683
  * @secure
3895
4684
  */
3896
- deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4685
+ deleteMany(deleteFirms: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
3897
4686
  /**
3898
- * @description Get Firm by id
4687
+ * @description Get Firm by id, uuid or slug
3899
4688
  * @tags firms
3900
4689
  * @name GetById
3901
4690
  * @summary Get Firm by id
@@ -4012,7 +4801,7 @@ export class Microservices<HandleError extends boolean = boolean, Format extends
4012
4801
  * @request DELETE:/v1/b2b/microservices
4013
4802
  * @secure
4014
4803
  */
4015
- deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4804
+ deleteMany(deleteMicroservices: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4016
4805
  /**
4017
4806
  * @description Get Microservice by id
4018
4807
  * @tags microservices
@@ -4021,7 +4810,7 @@ export class Microservices<HandleError extends boolean = boolean, Format extends
4021
4810
  * @request GET:/v1/b2b/microservices/{id}
4022
4811
  * @secure
4023
4812
  */
4024
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
4813
+ getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
4025
4814
  /**
4026
4815
  * @description Update microservice record
4027
4816
  * @tags microservices
@@ -4030,7 +4819,7 @@ export class Microservices<HandleError extends boolean = boolean, Format extends
4030
4819
  * @request PUT:/v1/b2b/microservices/{id}
4031
4820
  * @secure
4032
4821
  */
4033
- 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>>;
4034
4823
  /**
4035
4824
  * @description Update microservice record (partial updates supported)
4036
4825
  * @tags microservices
@@ -4039,7 +4828,7 @@ export class Microservices<HandleError extends boolean = boolean, Format extends
4039
4828
  * @request PATCH:/v1/b2b/microservices/{id}
4040
4829
  * @secure
4041
4830
  */
4042
- 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>>;
4043
4832
  /**
4044
4833
  * @description Get microservices with pagination
4045
4834
  * @tags microservices
@@ -4070,7 +4859,7 @@ export class Permissions<HandleError extends boolean = boolean, Format extends C
4070
4859
  * @request DELETE:/v1/permissions
4071
4860
  * @secure
4072
4861
  */
4073
- deleteMany(deletePermissions: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4862
+ deleteMany(deletePermissions: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4074
4863
  /**
4075
4864
  * @description Get Permission by id
4076
4865
  * @tags permissions
@@ -4079,7 +4868,7 @@ export class Permissions<HandleError extends boolean = boolean, Format extends C
4079
4868
  * @request GET:/v1/permissions/{id}
4080
4869
  * @secure
4081
4870
  */
4082
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
4871
+ getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
4083
4872
  /**
4084
4873
  * @description Update Permission
4085
4874
  * @tags permissions
@@ -4088,7 +4877,7 @@ export class Permissions<HandleError extends boolean = boolean, Format extends C
4088
4877
  * @request PUT:/v1/permissions/{id}
4089
4878
  * @secure
4090
4879
  */
4091
- 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>>;
4092
4881
  /**
4093
4882
  * @description Partial Update Permission
4094
4883
  * @tags permissions
@@ -4097,7 +4886,7 @@ export class Permissions<HandleError extends boolean = boolean, Format extends C
4097
4886
  * @request PATCH:/v1/permissions/{id}
4098
4887
  * @secure
4099
4888
  */
4100
- 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>>;
4101
4890
  /**
4102
4891
  * @description Get Permissions with pagination
4103
4892
  * @tags permissions
@@ -4125,6 +4914,28 @@ export class PublicSettings<HandleError extends boolean = boolean, Format extend
4125
4914
  FIRM?: string;
4126
4915
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError, Format>>;
4127
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
+ }
4128
4939
  export class Roles<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
4129
4940
  protected readonly apiClient: JwtClient<HandleError, Format>;
4130
4941
  constructor(apiClient: JwtClient<HandleError, Format>);
@@ -4145,7 +4956,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4145
4956
  * @request DELETE:/v1/roles
4146
4957
  * @secure
4147
4958
  */
4148
- deleteMany(deleteRoles: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4959
+ deleteMany(deleteRoles: UmaDeleteByUUIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4149
4960
  /**
4150
4961
  * @description Get Role by id
4151
4962
  * @tags roles
@@ -4154,7 +4965,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4154
4965
  * @request GET:/v1/roles/{id}
4155
4966
  * @secure
4156
4967
  */
4157
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
4968
+ getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
4158
4969
  /**
4159
4970
  * @description Update Role
4160
4971
  * @tags roles
@@ -4163,7 +4974,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4163
4974
  * @request PUT:/v1/roles/{id}
4164
4975
  * @secure
4165
4976
  */
4166
- 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>>;
4167
4978
  /**
4168
4979
  * @description Partial Update Role. Only the fields provided in the body will be updated.
4169
4980
  * @tags roles
@@ -4172,7 +4983,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4172
4983
  * @request PATCH:/v1/roles/{id}
4173
4984
  * @secure
4174
4985
  */
4175
- 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>>;
4176
4987
  /**
4177
4988
  * @description Generate Role PDF
4178
4989
  * @tags roles
@@ -4181,7 +4992,7 @@ export class Roles<HandleError extends boolean = boolean, Format extends CaseFor
4181
4992
  * @request POST:/v1/roles/{id}/generate-as-pdf
4182
4993
  * @secure
4183
4994
  */
4184
- generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
4995
+ generateAsPdf(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
4185
4996
  /**
4186
4997
  * @description Get Roles with pagination
4187
4998
  * @tags roles
@@ -4303,7 +5114,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4303
5114
  * @request POST:/v1/users/system
4304
5115
  * @secure
4305
5116
  */
4306
- 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>>;
4307
5121
  /**
4308
5122
  * @description Delete System user by id
4309
5123
  * @tags system_users
@@ -4312,7 +5126,7 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4312
5126
  * @request DELETE:/v1/users/system
4313
5127
  * @secure
4314
5128
  */
4315
- deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5129
+ deleteMany(deleteSystemUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4316
5130
  /**
4317
5131
  * @description Bulk-update access (roles, permissions, branches, firms) for multiple system users
4318
5132
  * @tags system_users
@@ -4330,7 +5144,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4330
5144
  * @request POST:/v1/users/system/list
4331
5145
  * @secure
4332
5146
  */
4333
- 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>>;
4334
5151
  /**
4335
5152
  * @description Get System User by id
4336
5153
  * @tags system_users
@@ -4339,7 +5156,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4339
5156
  * @request GET:/v1/users/system/{id}
4340
5157
  * @secure
4341
5158
  */
4342
- 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>>;
4343
5163
  /**
4344
5164
  * @description Update System User
4345
5165
  * @tags system_users
@@ -4348,7 +5168,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4348
5168
  * @request PUT:/v1/users/system/{id}
4349
5169
  * @secure
4350
5170
  */
4351
- 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>>;
4352
5175
  /**
4353
5176
  * @description Partial Update System User
4354
5177
  * @tags system_users
@@ -4357,7 +5180,10 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4357
5180
  * @request PATCH:/v1/users/system/{id}
4358
5181
  * @secure
4359
5182
  */
4360
- 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>>;
4361
5187
  /**
4362
5188
  * @description Generate System User PDF
4363
5189
  * @tags system_users
@@ -4366,7 +5192,7 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4366
5192
  * @request POST:/v1/users/system/{id}/generate-as-pdf
4367
5193
  * @secure
4368
5194
  */
4369
- generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
5195
+ generateAsPdf(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
4370
5196
  /**
4371
5197
  * @description Change System User status
4372
5198
  * @tags system_users
@@ -4375,7 +5201,7 @@ export class SystemUsers<HandleError extends boolean = boolean, Format extends C
4375
5201
  * @request PATCH:/v1/users/system/{id}/status
4376
5202
  * @secure
4377
5203
  */
4378
- 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>>;
4379
5205
  }
4380
5206
  export class TablePresets<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
4381
5207
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -4481,7 +5307,10 @@ export class UserDetails<HandleError extends boolean = boolean, Format extends C
4481
5307
  * @request POST:/v1/users/details/show
4482
5308
  * @secure
4483
5309
  */
4484
- 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>>;
4485
5314
  /**
4486
5315
  * @description Revoke user sessions by JWT-token
4487
5316
  * @tags user_details
@@ -4565,7 +5394,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean, Format ext
4565
5394
  * @request DELETE:/v1/watchmen-instances
4566
5395
  * @secure
4567
5396
  */
4568
- deleteMany(deleteWatchmenInstances: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
5397
+ deleteMany(deleteWatchmenInstances: UmaDeleteByUUIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
4569
5398
  /**
4570
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.
4571
5400
  * @tags watchmen_instances
@@ -4583,7 +5412,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean, Format ext
4583
5412
  * @request GET:/v1/watchmen-instances/{id}
4584
5413
  * @secure
4585
5414
  */
4586
- getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
5415
+ getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
4587
5416
  /**
4588
5417
  * @description Update Watchmen Instance
4589
5418
  * @tags watchmen_instances
@@ -4592,7 +5421,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean, Format ext
4592
5421
  * @request PUT:/v1/watchmen-instances/{id}
4593
5422
  * @secure
4594
5423
  */
4595
- 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>>;
4596
5425
  }
4597
5426
  declare class _B2BAuth1<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends B2BAuth<HandleError, Format> {
4598
5427
  basicLogin(...params: Parameters<B2BAuth<HandleError, Format>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError, Format>>;
@@ -4614,6 +5443,8 @@ export class UmaApi<HandleError extends boolean = false, Format extends CaseForm
4614
5443
  readonly config: UmaClientConfig<HandleError, Format>;
4615
5444
  actionLog: ActionLogs<HandleError, Format>;
4616
5445
  adminApiKeys: AdminApiKeys<HandleError, Format>;
5446
+ aiAssistant: AiAssistant<HandleError, Format>;
5447
+ allowedEmails: AllowedEmails<HandleError, Format>;
4617
5448
  allowedOrigins: AllowedOrigins<HandleError, Format>;
4618
5449
  apiKeys: ApiKeys<HandleError, Format>;
4619
5450
  authApps: AuthApps<HandleError, Format>;
@@ -4624,6 +5455,7 @@ export class UmaApi<HandleError extends boolean = false, Format extends CaseForm
4624
5455
  b2cAuth: _B2CAuth1<HandleError, Format>;
4625
5456
  b2cUserSettings: B2CUserSettings<HandleError, Format>;
4626
5457
  b2cUsers: B2CUsers<HandleError, Format>;
5458
+ blockedEmails: BlockedEmails<HandleError, Format>;
4627
5459
  branches: Branches<HandleError, Format>;
4628
5460
  countries: Countries<HandleError, Format>;
4629
5461
  emailDomains: EmailDomains<HandleError, Format>;
@@ -4634,6 +5466,7 @@ export class UmaApi<HandleError extends boolean = false, Format extends CaseForm
4634
5466
  microservices: Microservices<HandleError, Format>;
4635
5467
  permissions: Permissions<HandleError, Format>;
4636
5468
  publicSettings: PublicSettings<HandleError, Format>;
5469
+ regions: Regions<HandleError, Format>;
4637
5470
  roleTypes: RoleTypes<HandleError, Format>;
4638
5471
  roles: Roles<HandleError, Format>;
4639
5472
  secretNotes: SecretNotes<HandleError, Format>;