@orbis-systems/orbis-api-clients 0.7.19 → 0.7.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aesmidas/index.d.ts +264 -58
- package/dist/aesmidas/index.d.ts.map +1 -1
- package/dist/aesmidas/index.esm.js +1 -1
- package/dist/aesmidas/index.esm.js.map +1 -1
- package/dist/aesmidas/index.js +1 -1
- package/dist/aesmidas/index.js.map +1 -1
- package/dist/bridgewise/index.d.ts +9360 -2407
- package/dist/bridgewise/index.d.ts.map +1 -1
- package/dist/bridgewise/index.esm.js +1 -1
- package/dist/bridgewise/index.esm.js.map +1 -1
- package/dist/bridgewise/index.js +1 -1
- package/dist/bridgewise/index.js.map +1 -1
- package/dist/insight/index.d.ts +424 -387
- package/dist/insight/index.d.ts.map +1 -1
- package/dist/insight/index.esm.js +1 -1
- package/dist/insight/index.esm.js.map +1 -1
- package/dist/insight/index.js +1 -1
- package/dist/insight/index.js.map +1 -1
- package/dist/middleware/index.d.ts +101 -99
- package/dist/middleware/index.d.ts.map +1 -1
- package/dist/middleware/index.esm.js +1 -1
- package/dist/middleware/index.esm.js.map +1 -1
- package/dist/middleware/index.js +1 -1
- package/dist/middleware/index.js.map +1 -1
- package/dist/orbis/index.d.ts +3959 -3932
- package/dist/orbis/index.d.ts.map +1 -1
- package/dist/orbis/index.esm.js +1 -1
- package/dist/orbis/index.esm.js.map +1 -1
- package/dist/orbis/index.js +1 -1
- package/dist/orbis/index.js.map +1 -1
- package/dist/uma/index.d.ts +1055 -691
- package/dist/uma/index.d.ts.map +1 -1
- package/dist/uma/index.esm.js +1 -1
- package/dist/uma/index.esm.js.map +1 -1
- package/dist/uma/index.js +1 -1
- package/dist/uma/index.js.map +1 -1
- package/package.json +1 -1
package/dist/uma/index.d.ts
CHANGED
|
@@ -84,6 +84,17 @@ export interface UmaGetActionLogsSerializer {
|
|
|
84
84
|
status: number;
|
|
85
85
|
total_records: number;
|
|
86
86
|
}
|
|
87
|
+
export interface UmaAllowedOriginMutationSerializer {
|
|
88
|
+
allowed_origin: UmaAllowedOriginSerializer;
|
|
89
|
+
status: number;
|
|
90
|
+
}
|
|
91
|
+
export interface UmaGetAllowedOriginsListSerializer {
|
|
92
|
+
allowed_origins_list: UmaAllowedOriginSerializer[];
|
|
93
|
+
current_page: number;
|
|
94
|
+
pages_count: number;
|
|
95
|
+
status: number;
|
|
96
|
+
total_records: number;
|
|
97
|
+
}
|
|
87
98
|
export interface UmaAPIKeysMutationSerializer {
|
|
88
99
|
api_keys: UmaAPIKeys;
|
|
89
100
|
status: number;
|
|
@@ -122,6 +133,10 @@ export interface UmaGetAuthFormsListSerializer {
|
|
|
122
133
|
status: number;
|
|
123
134
|
total_records: number;
|
|
124
135
|
}
|
|
136
|
+
export interface UmaB2BUserRegistrationSerializer {
|
|
137
|
+
status: number;
|
|
138
|
+
user: UmaB2BUserSerializer;
|
|
139
|
+
}
|
|
125
140
|
export interface UmaBasicB2BLoginResultSerializer {
|
|
126
141
|
tokens: UmaTokens;
|
|
127
142
|
user: UmaB2BUserSerializer;
|
|
@@ -221,6 +236,25 @@ export interface UmaGetBranchesListSerializer {
|
|
|
221
236
|
status: number;
|
|
222
237
|
total_records: number;
|
|
223
238
|
}
|
|
239
|
+
export interface UmaAccessControlProhibitionReason {
|
|
240
|
+
data?: any;
|
|
241
|
+
description?: string;
|
|
242
|
+
type?: UmaAccessControlProhibitionReasonType;
|
|
243
|
+
}
|
|
244
|
+
export enum UmaAccessControlProhibitionReasonType {
|
|
245
|
+
OneOfGroupRoleCheckFailedProhibition = "one_of_group_role_check_failed",
|
|
246
|
+
TargetUserIsChiefadminProhibition = "target_user_is_chiefadmin",
|
|
247
|
+
CannotAssignNonRegularPermissionsToB2CUserProhibition = "cannot_assign_non_regular_permissions_to_b2c_user",
|
|
248
|
+
SuperadminMutationNotAllowedProhibition = "superadmin_mutation_not_allowed",
|
|
249
|
+
OnlyChiefadminCanMutationSuperadminEditorsProhibition = "only_chiefadmin_can_mutate_superadmin_editors",
|
|
250
|
+
UserLacksPermissionsProhibition = "user_lacks_permissions",
|
|
251
|
+
UserLacksAccessToTargetFirmsProhibition = "user_lacks_access_to_target_firms",
|
|
252
|
+
UserLacksAdminAccessToTargetFirmsProhibition = "user_lacks_admin_access_to_target_firms",
|
|
253
|
+
TargetLacksBranchesForNonAdminFirmsProhibition = "target_lacks_branches_for_non_admin_firms",
|
|
254
|
+
UserLacksAccessToTargetBranchesProhibition = "user_lacks_access_to_target_branches",
|
|
255
|
+
TargetHasAdminFirmBranchesProhibition = "target_has_admin_firm_branches",
|
|
256
|
+
TargetUserIsDeletedProhibition = "target_user_is_deleted"
|
|
257
|
+
}
|
|
224
258
|
export enum UmaAuthAppType {
|
|
225
259
|
EmailCodeAuthAppType = "email_code",
|
|
226
260
|
SmsCodeAuthAppType = "sms_code",
|
|
@@ -233,6 +267,36 @@ export enum UmaAuthUserType {
|
|
|
233
267
|
B2BAuthUserType = "b2b",
|
|
234
268
|
B2CAuthUserType = "b2c"
|
|
235
269
|
}
|
|
270
|
+
export interface UmaClaims {
|
|
271
|
+
'2fa_on'?: boolean;
|
|
272
|
+
admin_of_firm_ids?: number[];
|
|
273
|
+
aud?: string;
|
|
274
|
+
branch_ids?: number[];
|
|
275
|
+
client_platform?: string;
|
|
276
|
+
email_verif?: boolean;
|
|
277
|
+
exp?: number;
|
|
278
|
+
firm_ids?: number[];
|
|
279
|
+
gen_mode?: UmaTokenGenerationMode;
|
|
280
|
+
have_access_to_all_firm_branches?: boolean;
|
|
281
|
+
iat?: number;
|
|
282
|
+
iss?: string;
|
|
283
|
+
jti?: string;
|
|
284
|
+
microservice_ids?: number[];
|
|
285
|
+
nbf?: number;
|
|
286
|
+
origin_id?: number;
|
|
287
|
+
pair_id?: string;
|
|
288
|
+
permissions?: string[];
|
|
289
|
+
phone_verif?: boolean;
|
|
290
|
+
sub?: string;
|
|
291
|
+
t_origin?: UmaTokenOrigin;
|
|
292
|
+
t_type?: UmaTokenType;
|
|
293
|
+
u_type?: UmaAuthUserType;
|
|
294
|
+
}
|
|
295
|
+
export enum UmaFetchListMode {
|
|
296
|
+
FetchAllFetchListMode = "fetch_all",
|
|
297
|
+
OnlyCountFetchListMode = "only_count",
|
|
298
|
+
OnlyFetchRecordsFetchListMode = "only_fetch_records"
|
|
299
|
+
}
|
|
236
300
|
export interface UmaPaginationDto {
|
|
237
301
|
page?: number;
|
|
238
302
|
size?: number;
|
|
@@ -245,10 +309,31 @@ export interface UmaSortDto {
|
|
|
245
309
|
direction?: string;
|
|
246
310
|
field?: string;
|
|
247
311
|
}
|
|
312
|
+
export enum UmaTokenGenerationMode {
|
|
313
|
+
StandardTokenGenerationMode = "standard",
|
|
314
|
+
MinifiedTokenGenerationMode = "minified"
|
|
315
|
+
}
|
|
316
|
+
export enum UmaTokenOrigin {
|
|
317
|
+
APIKeyTokenOrigin = "api_key",
|
|
318
|
+
UserTokenOrigin = "user"
|
|
319
|
+
}
|
|
320
|
+
export enum UmaTokenType {
|
|
321
|
+
RefreshToken = "refresh",
|
|
322
|
+
AccessToken = "access"
|
|
323
|
+
}
|
|
248
324
|
export interface UmaGetCountriesSerializer {
|
|
249
325
|
countries: UmaCountrySerializer[];
|
|
250
326
|
status: number;
|
|
251
327
|
}
|
|
328
|
+
export interface UmaEmailDomainMutationSerializer {
|
|
329
|
+
email_domain: UmaEmailDomainSerializer;
|
|
330
|
+
status: number;
|
|
331
|
+
}
|
|
332
|
+
export interface UmaGetEmailDomainsListSerializer {
|
|
333
|
+
email_domains: UmaEmailDomainSerializer[];
|
|
334
|
+
pagination: UmaPaginationSerializer;
|
|
335
|
+
status: number;
|
|
336
|
+
}
|
|
252
337
|
export interface UmaEndpointMutationSerializer {
|
|
253
338
|
endpoint: UmaEndpointSerializer;
|
|
254
339
|
status: number;
|
|
@@ -299,6 +384,7 @@ export enum UmaErrorCode {
|
|
|
299
384
|
PhoneNotVerifiedErr = 4017,
|
|
300
385
|
UUIDParseErr = 4026,
|
|
301
386
|
InvalidEmailOrPasswordOrTypeErr = 4028,
|
|
387
|
+
UserDeletedErr = 4029,
|
|
302
388
|
InvalidMfaCodeErr = 4128,
|
|
303
389
|
MfaRequiredErr = 4228,
|
|
304
390
|
TokenVerificationErr = 4328,
|
|
@@ -311,7 +397,7 @@ export enum UmaErrorCode {
|
|
|
311
397
|
FourthForbiddenErr = 4033,
|
|
312
398
|
FifthForbiddenErr = 4034,
|
|
313
399
|
EntitiesChoiceNotAllowed = 4303,
|
|
314
|
-
|
|
400
|
+
BodyParsingErr = 4403,
|
|
315
401
|
UpdateOfOldEntityStateErr = 4503,
|
|
316
402
|
ChiefadminMutationErr = 4603,
|
|
317
403
|
ChildEntitiesExistErr = 4703,
|
|
@@ -325,6 +411,7 @@ export enum UmaErrorCode {
|
|
|
325
411
|
FifthFieldConflictErr = 4094,
|
|
326
412
|
SixthFieldConflictErr = 4095,
|
|
327
413
|
SeventhFieldConflictErr = 4096,
|
|
414
|
+
UpdateDeletedUserErr = 4097,
|
|
328
415
|
GoneErr = 4100,
|
|
329
416
|
SecondGoneErr = 4101,
|
|
330
417
|
UnprocessableEntity = 4222,
|
|
@@ -376,10 +463,6 @@ export interface UmaMicroserviceMutationSerializer {
|
|
|
376
463
|
microservice: UmaMicroserviceSerializer;
|
|
377
464
|
status: number;
|
|
378
465
|
}
|
|
379
|
-
export interface UmaUpsertUsersSerializer {
|
|
380
|
-
status: number;
|
|
381
|
-
users: UmaAdminUserSerializer[];
|
|
382
|
-
}
|
|
383
466
|
export interface UmaGetPermissionsListSerializer {
|
|
384
467
|
current_page: number;
|
|
385
468
|
pages_count: number;
|
|
@@ -448,7 +531,7 @@ export enum UmaPermissionAG {
|
|
|
448
531
|
export enum UmaUserStatus {
|
|
449
532
|
ActiveUserStatus = "active",
|
|
450
533
|
BlockedUserStatus = "blocked",
|
|
451
|
-
|
|
534
|
+
DeletedUserStatus = "deleted"
|
|
452
535
|
}
|
|
453
536
|
export enum UmaUserType {
|
|
454
537
|
B2BUserType = "b2b",
|
|
@@ -544,6 +627,7 @@ export interface UmaAPIKeys {
|
|
|
544
627
|
export interface UmaAPIKeysB2BLoginDto {
|
|
545
628
|
api_key?: string;
|
|
546
629
|
api_secret?: string;
|
|
630
|
+
token_generation_mode?: UmaTokenGenerationMode;
|
|
547
631
|
}
|
|
548
632
|
export interface UmaActionLogEntityFilterDto {
|
|
549
633
|
entity_id?: number;
|
|
@@ -574,8 +658,12 @@ export interface UmaAdminB2BUserSerializer {
|
|
|
574
658
|
branches: UmaBranchSerializer[];
|
|
575
659
|
/** @example "2022-02-02T00:00:00Z" */
|
|
576
660
|
created_at: string;
|
|
661
|
+
delete_prohibition_reasons: UmaAccessControlProhibitionReason[];
|
|
662
|
+
/** @example "2022-02-02T00:00:00Z" */
|
|
663
|
+
deleted_at: string;
|
|
577
664
|
/** @example true */
|
|
578
665
|
do_not_ask_mfa_again: boolean;
|
|
666
|
+
edit_prohibition_reasons: UmaAccessControlProhibitionReason[];
|
|
579
667
|
/** @example "test@email.com" */
|
|
580
668
|
email: string;
|
|
581
669
|
/** @example true */
|
|
@@ -588,6 +676,8 @@ export interface UmaAdminB2BUserSerializer {
|
|
|
588
676
|
/** @example 1 */
|
|
589
677
|
id: number;
|
|
590
678
|
initiator_id: number;
|
|
679
|
+
is_delete_allowed: boolean;
|
|
680
|
+
is_edit_allowed: boolean;
|
|
591
681
|
/** @example "Jenkins" */
|
|
592
682
|
last_name: string;
|
|
593
683
|
locale: UmaLocaleSerializer;
|
|
@@ -607,11 +697,13 @@ export interface UmaAdminB2BUserSerializer {
|
|
|
607
697
|
should_reset_password: boolean;
|
|
608
698
|
small_avatar_url: string;
|
|
609
699
|
status: UmaUserStatus;
|
|
700
|
+
status_change_by_id: number;
|
|
610
701
|
status_change_notes: string;
|
|
611
702
|
status_change_reason: UmaUserStatusChangeReasonSerializer;
|
|
612
703
|
status_change_reason_id: number;
|
|
613
704
|
status_changed_at: string;
|
|
614
705
|
theme: string;
|
|
706
|
+
title: string;
|
|
615
707
|
type: UmaUserType;
|
|
616
708
|
/** @example "2022-02-02T00:00:00Z" */
|
|
617
709
|
updated_at: string;
|
|
@@ -625,8 +717,12 @@ export interface UmaAdminB2CUserSerializer {
|
|
|
625
717
|
branches: UmaBranchSerializer[];
|
|
626
718
|
/** @example "2022-02-02T00:00:00Z" */
|
|
627
719
|
created_at: string;
|
|
720
|
+
delete_prohibition_reasons: UmaAccessControlProhibitionReason[];
|
|
721
|
+
/** @example "2022-02-02T00:00:00Z" */
|
|
722
|
+
deleted_at: string;
|
|
628
723
|
/** @example true */
|
|
629
724
|
do_not_ask_mfa_again: boolean;
|
|
725
|
+
edit_prohibition_reasons: UmaAccessControlProhibitionReason[];
|
|
630
726
|
/** @example "test@email.com" */
|
|
631
727
|
email: string;
|
|
632
728
|
/** @example true */
|
|
@@ -638,6 +734,8 @@ export interface UmaAdminB2CUserSerializer {
|
|
|
638
734
|
/** @example 1 */
|
|
639
735
|
id: number;
|
|
640
736
|
initiator_id: number;
|
|
737
|
+
is_delete_allowed: boolean;
|
|
738
|
+
is_edit_allowed: boolean;
|
|
641
739
|
/** @example "Jenkins" */
|
|
642
740
|
last_name: string;
|
|
643
741
|
locale: UmaLocaleSerializer;
|
|
@@ -656,6 +754,7 @@ export interface UmaAdminB2CUserSerializer {
|
|
|
656
754
|
should_reset_password: boolean;
|
|
657
755
|
small_avatar_url: string;
|
|
658
756
|
status: UmaUserStatus;
|
|
757
|
+
status_change_by_id: number;
|
|
659
758
|
status_change_notes: string;
|
|
660
759
|
status_change_reason: UmaUserStatusChangeReasonSerializer;
|
|
661
760
|
status_change_reason_id: number;
|
|
@@ -672,8 +771,12 @@ export interface UmaAdminUserSerializer {
|
|
|
672
771
|
branches: UmaBranchSerializer[];
|
|
673
772
|
/** @example "2022-02-02T00:00:00Z" */
|
|
674
773
|
created_at: string;
|
|
774
|
+
delete_prohibition_reasons: UmaAccessControlProhibitionReason[];
|
|
775
|
+
/** @example "2022-02-02T00:00:00Z" */
|
|
776
|
+
deleted_at: string;
|
|
675
777
|
/** @example true */
|
|
676
778
|
do_not_ask_mfa_again: boolean;
|
|
779
|
+
edit_prohibition_reasons: UmaAccessControlProhibitionReason[];
|
|
677
780
|
/** @example "test@email.com" */
|
|
678
781
|
email: string;
|
|
679
782
|
/** @example true */
|
|
@@ -685,6 +788,8 @@ export interface UmaAdminUserSerializer {
|
|
|
685
788
|
/** @example 1 */
|
|
686
789
|
id: number;
|
|
687
790
|
initiator_id: number;
|
|
791
|
+
is_delete_allowed: boolean;
|
|
792
|
+
is_edit_allowed: boolean;
|
|
688
793
|
/** @example "Jenkins" */
|
|
689
794
|
last_name: string;
|
|
690
795
|
locale: UmaLocaleSerializer;
|
|
@@ -703,6 +808,7 @@ export interface UmaAdminUserSerializer {
|
|
|
703
808
|
should_reset_password: boolean;
|
|
704
809
|
small_avatar_url: string;
|
|
705
810
|
status: UmaUserStatus;
|
|
811
|
+
status_change_by_id: number;
|
|
706
812
|
status_change_notes: string;
|
|
707
813
|
status_change_reason: UmaUserStatusChangeReasonSerializer;
|
|
708
814
|
status_change_reason_id: number;
|
|
@@ -712,6 +818,17 @@ export interface UmaAdminUserSerializer {
|
|
|
712
818
|
username: string;
|
|
713
819
|
watchmen_user_links: UmaWatchmenUserLinkSerializer[];
|
|
714
820
|
}
|
|
821
|
+
export interface UmaAllowedOriginDto {
|
|
822
|
+
origin?: string;
|
|
823
|
+
}
|
|
824
|
+
export interface UmaAllowedOriginSerializer {
|
|
825
|
+
/** @example "2023-01-01T00:00:00Z" */
|
|
826
|
+
created_at: string;
|
|
827
|
+
/** @example 1 */
|
|
828
|
+
id: number;
|
|
829
|
+
/** @example "https://example.com" */
|
|
830
|
+
origin: string;
|
|
831
|
+
}
|
|
715
832
|
export interface UmaAuthAppSerializer {
|
|
716
833
|
created_at: string;
|
|
717
834
|
id: number;
|
|
@@ -776,12 +893,25 @@ export interface UmaAvatarSettingsSerializer {
|
|
|
776
893
|
big_dimensions: UmaImageDimensionsSerializer;
|
|
777
894
|
max_size_in_bytes: number;
|
|
778
895
|
}
|
|
896
|
+
export interface UmaB2BRegisterDto {
|
|
897
|
+
/** @example "test@gmail.com" */
|
|
898
|
+
email?: string;
|
|
899
|
+
/** @example "Mike" */
|
|
900
|
+
first_name?: string;
|
|
901
|
+
/** @example "Jenkins" */
|
|
902
|
+
last_name?: string;
|
|
903
|
+
/** @example "TeStPaSS" */
|
|
904
|
+
password?: string;
|
|
905
|
+
/** @example "+12312312312" */
|
|
906
|
+
phone?: string;
|
|
907
|
+
username?: string;
|
|
908
|
+
}
|
|
779
909
|
export interface UmaB2BResetPasswordDto {
|
|
780
|
-
captcha_response?: string;
|
|
781
910
|
code?: string;
|
|
782
911
|
contact?: string;
|
|
783
912
|
new_password?: string;
|
|
784
913
|
old_password?: string;
|
|
914
|
+
token_generation_mode?: UmaTokenGenerationMode;
|
|
785
915
|
}
|
|
786
916
|
export interface UmaB2BSendContactChangeCodeDto {
|
|
787
917
|
contact?: string;
|
|
@@ -797,6 +927,8 @@ export interface UmaB2BUserSerializer {
|
|
|
797
927
|
big_avatar_url: string;
|
|
798
928
|
/** @example "2022-02-02T00:00:00Z" */
|
|
799
929
|
created_at: string;
|
|
930
|
+
/** @example "2022-02-02T00:00:00Z" */
|
|
931
|
+
deleted_at: string;
|
|
800
932
|
/** @example true */
|
|
801
933
|
do_not_ask_mfa_again: boolean;
|
|
802
934
|
/** @example "test@email.com" */
|
|
@@ -832,6 +964,7 @@ export interface UmaB2BUserSerializer {
|
|
|
832
964
|
watchmen_user_links: UmaWatchmenUserLinkSerializer[];
|
|
833
965
|
}
|
|
834
966
|
export interface UmaB2CImpersonateDto {
|
|
967
|
+
token_generation_mode?: UmaTokenGenerationMode;
|
|
835
968
|
user_id?: number;
|
|
836
969
|
}
|
|
837
970
|
export interface UmaB2CInitOAuthResponse {
|
|
@@ -842,10 +975,10 @@ export interface UmaB2CRefreshDto {
|
|
|
842
975
|
auth_form_slug?: string;
|
|
843
976
|
refresh_token?: string;
|
|
844
977
|
send_redirect?: boolean;
|
|
978
|
+
token_generation_mode?: UmaTokenGenerationMode;
|
|
845
979
|
}
|
|
846
980
|
export interface UmaB2CResetPasswordDto {
|
|
847
981
|
auth_form_slug?: string;
|
|
848
|
-
captcha_response?: string;
|
|
849
982
|
code?: string;
|
|
850
983
|
contact?: string;
|
|
851
984
|
new_password?: string;
|
|
@@ -877,6 +1010,7 @@ export interface UmaBasicB2BLoginDto {
|
|
|
877
1010
|
password?: string;
|
|
878
1011
|
/** @example true */
|
|
879
1012
|
remember_me?: boolean;
|
|
1013
|
+
token_generation_mode?: UmaTokenGenerationMode;
|
|
880
1014
|
}
|
|
881
1015
|
export interface UmaBasicB2CLoginDto {
|
|
882
1016
|
auth_form_slug?: string;
|
|
@@ -890,6 +1024,7 @@ export interface UmaBasicB2CLoginDto {
|
|
|
890
1024
|
/** @example true */
|
|
891
1025
|
remember_me?: boolean;
|
|
892
1026
|
send_redirect?: boolean;
|
|
1027
|
+
token_generation_mode?: UmaTokenGenerationMode;
|
|
893
1028
|
}
|
|
894
1029
|
export interface UmaBranchAdminListItemSerializer {
|
|
895
1030
|
branch_admins_count: number;
|
|
@@ -941,6 +1076,18 @@ export interface UmaBranchAdminSerializer {
|
|
|
941
1076
|
/** @example "2022-02-02T00:00:00Z" */
|
|
942
1077
|
updated_at: string;
|
|
943
1078
|
}
|
|
1079
|
+
export interface UmaBranchDtoCommon {
|
|
1080
|
+
code?: string;
|
|
1081
|
+
name?: string;
|
|
1082
|
+
retail_available_auth_app_options?: UmaAuthAppType[];
|
|
1083
|
+
retail_email_notifications_enabled?: boolean;
|
|
1084
|
+
retail_email_verification_required?: boolean;
|
|
1085
|
+
retail_login_enabled?: boolean;
|
|
1086
|
+
retail_mfa_enabling_required?: boolean;
|
|
1087
|
+
retail_phone_verification_required?: boolean;
|
|
1088
|
+
settings?: UmaTenantSettingDto[];
|
|
1089
|
+
slug?: string;
|
|
1090
|
+
}
|
|
944
1091
|
export interface UmaBranchSerializer {
|
|
945
1092
|
/** @example "1000" */
|
|
946
1093
|
code: string;
|
|
@@ -960,6 +1107,7 @@ export interface UmaChangeUserStatusDto {
|
|
|
960
1107
|
}
|
|
961
1108
|
export interface UmaCountrySerializer {
|
|
962
1109
|
code: string;
|
|
1110
|
+
code3: string;
|
|
963
1111
|
dial_code: string;
|
|
964
1112
|
id: number;
|
|
965
1113
|
name: string;
|
|
@@ -993,6 +1141,7 @@ export interface UmaCreateB2BUserDto {
|
|
|
993
1141
|
rep_code?: string;
|
|
994
1142
|
roles?: number[];
|
|
995
1143
|
should_reset_password?: boolean;
|
|
1144
|
+
title?: string;
|
|
996
1145
|
type?: UmaUserType;
|
|
997
1146
|
username?: string;
|
|
998
1147
|
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
@@ -1121,6 +1270,7 @@ export interface UmaCreateSystemUserDto {
|
|
|
1121
1270
|
rep_code?: string;
|
|
1122
1271
|
roles?: number[];
|
|
1123
1272
|
should_reset_password?: boolean;
|
|
1273
|
+
title?: string;
|
|
1124
1274
|
type?: UmaUserType;
|
|
1125
1275
|
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
1126
1276
|
}
|
|
@@ -1149,6 +1299,28 @@ export interface UmaDeleteByIDsDtoInt64 {
|
|
|
1149
1299
|
export interface UmaDeleteSessionsDto {
|
|
1150
1300
|
pair_ids?: string[];
|
|
1151
1301
|
}
|
|
1302
|
+
export interface UmaDeleteUsersDto {
|
|
1303
|
+
ids?: number[];
|
|
1304
|
+
notes?: string;
|
|
1305
|
+
reason_id?: number;
|
|
1306
|
+
}
|
|
1307
|
+
export interface UmaEmailDomainDto {
|
|
1308
|
+
branches?: number[];
|
|
1309
|
+
domain?: string;
|
|
1310
|
+
firms?: UmaFirmInfo[];
|
|
1311
|
+
permissions?: number[];
|
|
1312
|
+
roles?: number[];
|
|
1313
|
+
}
|
|
1314
|
+
export interface UmaEmailDomainSerializer {
|
|
1315
|
+
branches: UmaBranchSerializer[];
|
|
1316
|
+
created_at: string;
|
|
1317
|
+
domain: string;
|
|
1318
|
+
firms: UmaFirmAccessSerializer[];
|
|
1319
|
+
id: number;
|
|
1320
|
+
permissions: UmaPermissionSerializer[];
|
|
1321
|
+
roles: UmaRoleSerializer[];
|
|
1322
|
+
updated_at: string;
|
|
1323
|
+
}
|
|
1152
1324
|
export interface UmaEndpointMetadataDto {
|
|
1153
1325
|
admin_ui_permission_key?: string;
|
|
1154
1326
|
skip_email_verification_check?: boolean;
|
|
@@ -1309,6 +1481,11 @@ export interface UmaGetActionLogsListFiltersDto {
|
|
|
1309
1481
|
show_only_fields_changes?: string[];
|
|
1310
1482
|
trigger_types?: string[];
|
|
1311
1483
|
}
|
|
1484
|
+
export interface UmaGetAllowedOriginsListDto {
|
|
1485
|
+
pagination?: UmaPaginationDto;
|
|
1486
|
+
search?: string;
|
|
1487
|
+
sorts?: UmaSortDto[];
|
|
1488
|
+
}
|
|
1312
1489
|
export interface UmaGetAuthFormsListDto {
|
|
1313
1490
|
filters?: UmaGetAuthFormsListFiltersDto;
|
|
1314
1491
|
pagination?: UmaPaginationDto;
|
|
@@ -1325,13 +1502,16 @@ export interface UmaGetB2BUsersListDto {
|
|
|
1325
1502
|
include_chiefadmin?: boolean;
|
|
1326
1503
|
pagination?: UmaPaginationDto;
|
|
1327
1504
|
search?: string;
|
|
1505
|
+
show_access_flags?: boolean;
|
|
1328
1506
|
show_exceeded_rate_limit_counters?: boolean;
|
|
1329
1507
|
sorts?: UmaSortDto[];
|
|
1330
1508
|
}
|
|
1331
1509
|
export interface UmaGetB2CUsersListDto {
|
|
1510
|
+
fetch_mode?: UmaFetchListMode;
|
|
1332
1511
|
filters?: UmaGetB2CUsersListFiltersDto;
|
|
1333
1512
|
pagination?: UmaPaginationDto;
|
|
1334
1513
|
search?: string;
|
|
1514
|
+
show_access_flags?: boolean;
|
|
1335
1515
|
show_exceeded_rate_limit_counters?: boolean;
|
|
1336
1516
|
sorts?: UmaSortDto[];
|
|
1337
1517
|
}
|
|
@@ -1369,6 +1549,12 @@ export interface UmaGetBranchesListFiltersDto {
|
|
|
1369
1549
|
retail_login_enabled?: boolean;
|
|
1370
1550
|
retail_phone_verification_required?: boolean;
|
|
1371
1551
|
}
|
|
1552
|
+
export interface UmaGetEmailDomainsListDto {
|
|
1553
|
+
filters?: any;
|
|
1554
|
+
pagination?: UmaPaginationDto;
|
|
1555
|
+
search?: string;
|
|
1556
|
+
sorts?: UmaSortDto[];
|
|
1557
|
+
}
|
|
1372
1558
|
export interface UmaGetEndpointsListDto {
|
|
1373
1559
|
filters?: UmaGetEndpointsListFiltersDto;
|
|
1374
1560
|
pagination?: UmaPaginationDto;
|
|
@@ -1478,6 +1664,7 @@ export interface UmaGetTrustedDevicesListDto {
|
|
|
1478
1664
|
}
|
|
1479
1665
|
export interface UmaGetUserDetailsDto {
|
|
1480
1666
|
access_token?: string;
|
|
1667
|
+
generation_type?: UmaUserDetailsGenerationType;
|
|
1481
1668
|
}
|
|
1482
1669
|
export interface UmaGetUserStatusChangeReasonsDto {
|
|
1483
1670
|
filters?: UmaGetUserStatusChangeReasonsListFiltersDto;
|
|
@@ -1617,6 +1804,16 @@ export interface UmaOptionalPaginationDto {
|
|
|
1617
1804
|
page?: number;
|
|
1618
1805
|
size?: number;
|
|
1619
1806
|
}
|
|
1807
|
+
export interface UmaPaginationSerializer {
|
|
1808
|
+
current_page: number;
|
|
1809
|
+
pages_count: number;
|
|
1810
|
+
total_records: number;
|
|
1811
|
+
}
|
|
1812
|
+
export interface UmaPartialUpdatePermissionDto {
|
|
1813
|
+
metadata?: UmaPermissionMetadataDto;
|
|
1814
|
+
microservice_id?: number;
|
|
1815
|
+
permission?: string;
|
|
1816
|
+
}
|
|
1620
1817
|
export interface UmaPdfGenerationInfo {
|
|
1621
1818
|
pdf_generated_at?: string;
|
|
1622
1819
|
pdf_url?: string;
|
|
@@ -1654,9 +1851,9 @@ export interface UmaPublicSettingsSerializer {
|
|
|
1654
1851
|
}
|
|
1655
1852
|
export interface UmaRefreshDto {
|
|
1656
1853
|
refresh_token?: string;
|
|
1854
|
+
token_generation_mode?: UmaTokenGenerationMode;
|
|
1657
1855
|
}
|
|
1658
1856
|
export interface UmaRegisterDto {
|
|
1659
|
-
captcha_response?: string;
|
|
1660
1857
|
/** @example "test@gmail.com" */
|
|
1661
1858
|
email?: string;
|
|
1662
1859
|
/** @example "Mike" */
|
|
@@ -1753,7 +1950,6 @@ export interface UmaSessionSerializer {
|
|
|
1753
1950
|
user_agent: string;
|
|
1754
1951
|
}
|
|
1755
1952
|
export interface UmaSetB2BUserSettingsDto {
|
|
1756
|
-
captcha_response?: string;
|
|
1757
1953
|
confirm_password?: string;
|
|
1758
1954
|
do_not_ask_mfa_again?: boolean;
|
|
1759
1955
|
/** @example "test@gmail.com" */
|
|
@@ -1867,6 +2063,7 @@ export interface UmaUpdateB2BUserDto {
|
|
|
1867
2063
|
rep_code?: string;
|
|
1868
2064
|
roles?: number[];
|
|
1869
2065
|
should_reset_password?: boolean;
|
|
2066
|
+
title?: string;
|
|
1870
2067
|
type?: UmaUserType;
|
|
1871
2068
|
updated_at?: string;
|
|
1872
2069
|
username?: string;
|
|
@@ -1988,6 +2185,7 @@ export interface UmaUpdateSystemUserDto {
|
|
|
1988
2185
|
rep_code?: string;
|
|
1989
2186
|
roles?: number[];
|
|
1990
2187
|
should_reset_password?: boolean;
|
|
2188
|
+
title?: string;
|
|
1991
2189
|
type?: UmaUserType;
|
|
1992
2190
|
updated_at?: string;
|
|
1993
2191
|
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
@@ -2006,29 +2204,18 @@ export interface UmaUpsertTablePresetDto {
|
|
|
2006
2204
|
presets?: object;
|
|
2007
2205
|
table_name?: string;
|
|
2008
2206
|
}
|
|
2009
|
-
export
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
firms?: number[];
|
|
2014
|
-
first_name?: string;
|
|
2015
|
-
initiator_id?: number;
|
|
2016
|
-
last_name?: string;
|
|
2017
|
-
permissions?: number[];
|
|
2018
|
-
/** @example "+1231231234" */
|
|
2019
|
-
phone?: string;
|
|
2020
|
-
rep_code?: string;
|
|
2021
|
-
roles?: number[];
|
|
2022
|
-
type?: UmaUpsertUserDtoTypeEnum;
|
|
2023
|
-
}
|
|
2024
|
-
export interface UmaUpsertUsersDto {
|
|
2025
|
-
users?: UmaUpsertUserDto[];
|
|
2207
|
+
export enum UmaUserDetailsGenerationType {
|
|
2208
|
+
ClaimsOnlyGeneration = "claims_only",
|
|
2209
|
+
FullUserDataGeneration = "full_user_data",
|
|
2210
|
+
AllUserDataGeneration = "all_user_data"
|
|
2026
2211
|
}
|
|
2027
2212
|
export interface UmaUserSerializer {
|
|
2028
2213
|
allow_feedback: boolean;
|
|
2029
2214
|
big_avatar_url: string;
|
|
2030
2215
|
/** @example "2022-02-02T00:00:00Z" */
|
|
2031
2216
|
created_at: string;
|
|
2217
|
+
/** @example "2022-02-02T00:00:00Z" */
|
|
2218
|
+
deleted_at: string;
|
|
2032
2219
|
/** @example true */
|
|
2033
2220
|
do_not_ask_mfa_again: boolean;
|
|
2034
2221
|
/** @example "test@email.com" */
|
|
@@ -2187,6 +2374,7 @@ export interface UmaWebAuthnUserEntitySerializer {
|
|
|
2187
2374
|
export interface UmaGetUserDetailsSerializer {
|
|
2188
2375
|
b2b_user: UmaAdminUserSerializer;
|
|
2189
2376
|
b2c_user: UmaAdminB2CUserSerializer;
|
|
2377
|
+
claims: UmaClaims;
|
|
2190
2378
|
status: number;
|
|
2191
2379
|
}
|
|
2192
2380
|
export interface UmaGetUserStatusChangeReasonsListSerializer {
|
|
@@ -2358,76 +2546,59 @@ export enum UmaUpdateFirmDtoStatusEnum {
|
|
|
2358
2546
|
export enum UmaUpdateIdentityProviderDtoTypeEnum {
|
|
2359
2547
|
Okta = "okta"
|
|
2360
2548
|
}
|
|
2361
|
-
export enum UmaUpsertUserDtoTypeEnum {
|
|
2362
|
-
B2B = "b2b",
|
|
2363
|
-
B2C = "b2c"
|
|
2364
|
-
}
|
|
2365
2549
|
export enum UmaVerifyContactDtoCodeTypeEnum {
|
|
2366
2550
|
Email = "email",
|
|
2367
2551
|
Voice = "voice",
|
|
2368
2552
|
Sms = "sms"
|
|
2369
2553
|
}
|
|
2370
|
-
export class
|
|
2371
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2372
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2373
|
-
/**
|
|
2374
|
-
* @description Get Action logs list
|
|
2375
|
-
* @tags action_logs
|
|
2376
|
-
* @name GetActionLogs
|
|
2377
|
-
* @summary Get Action logs list
|
|
2378
|
-
* @request POST:/v1/action-logs/list
|
|
2379
|
-
* @secure
|
|
2380
|
-
*/
|
|
2381
|
-
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2382
|
-
}
|
|
2383
|
-
export class ApiKeys<HandleError extends boolean = boolean> {
|
|
2554
|
+
export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
2384
2555
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2385
2556
|
constructor(apiClient: JwtClient<HandleError>);
|
|
2386
2557
|
/**
|
|
2387
|
-
* @description
|
|
2388
|
-
* @tags
|
|
2389
|
-
* @name
|
|
2390
|
-
* @summary
|
|
2391
|
-
* @request
|
|
2558
|
+
* @description Create Allowed Origin
|
|
2559
|
+
* @tags allowed_origins
|
|
2560
|
+
* @name Create
|
|
2561
|
+
* @summary Create Allowed Origin
|
|
2562
|
+
* @request POST:/v1/allowed-origins
|
|
2392
2563
|
* @secure
|
|
2393
2564
|
*/
|
|
2394
|
-
|
|
2565
|
+
create(createAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2395
2566
|
/**
|
|
2396
|
-
* @description
|
|
2397
|
-
* @tags
|
|
2398
|
-
* @name
|
|
2399
|
-
* @summary
|
|
2400
|
-
* @request
|
|
2567
|
+
* @description Delete allowed origins by IDs
|
|
2568
|
+
* @tags allowed_origins
|
|
2569
|
+
* @name Delete
|
|
2570
|
+
* @summary Delete Allowed Origins
|
|
2571
|
+
* @request DELETE:/v1/allowed-origins
|
|
2401
2572
|
* @secure
|
|
2402
2573
|
*/
|
|
2403
|
-
|
|
2574
|
+
delete(deleteAllowedOrigins: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2404
2575
|
/**
|
|
2405
|
-
* @description
|
|
2406
|
-
* @tags
|
|
2407
|
-
* @name
|
|
2408
|
-
* @summary
|
|
2409
|
-
* @request POST:/
|
|
2576
|
+
* @description Get paginated list of allowed origins
|
|
2577
|
+
* @tags allowed_origins
|
|
2578
|
+
* @name List
|
|
2579
|
+
* @summary Get Allowed Origins List
|
|
2580
|
+
* @request POST:/v1/allowed-origins/list
|
|
2410
2581
|
* @secure
|
|
2411
2582
|
*/
|
|
2412
|
-
|
|
2583
|
+
list(getAllowedOriginsList: UmaGetAllowedOriginsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAllowedOriginsListSerializer, HandleError>>;
|
|
2413
2584
|
/**
|
|
2414
|
-
* @description Get
|
|
2415
|
-
* @tags
|
|
2416
|
-
* @name
|
|
2417
|
-
* @summary Get
|
|
2418
|
-
* @request
|
|
2585
|
+
* @description Get allowed origin by ID
|
|
2586
|
+
* @tags allowed_origins
|
|
2587
|
+
* @name GetById
|
|
2588
|
+
* @summary Get Allowed Origin by ID
|
|
2589
|
+
* @request GET:/v1/allowed-origins/{id}
|
|
2419
2590
|
* @secure
|
|
2420
2591
|
*/
|
|
2421
|
-
|
|
2592
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2422
2593
|
/**
|
|
2423
|
-
* @description Update
|
|
2424
|
-
* @tags
|
|
2594
|
+
* @description Update allowed origin
|
|
2595
|
+
* @tags allowed_origins
|
|
2425
2596
|
* @name Update
|
|
2426
|
-
* @summary Update
|
|
2427
|
-
* @request PUT:/
|
|
2597
|
+
* @summary Update Allowed Origin
|
|
2598
|
+
* @request PUT:/v1/allowed-origins/{id}
|
|
2428
2599
|
* @secure
|
|
2429
2600
|
*/
|
|
2430
|
-
update(id: number,
|
|
2601
|
+
update(id: number, updateAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2431
2602
|
}
|
|
2432
2603
|
export class AuthApps<HandleError extends boolean = boolean> {
|
|
2433
2604
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -2513,6 +2684,19 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2513
2684
|
*/
|
|
2514
2685
|
update(id: number, updateAuthAppDto: UmaUpdateAuthAppDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthAppResponseSerializer, HandleError>>;
|
|
2515
2686
|
}
|
|
2687
|
+
export class ActionLogs<HandleError extends boolean = boolean> {
|
|
2688
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2689
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2690
|
+
/**
|
|
2691
|
+
* @description Get Action logs list
|
|
2692
|
+
* @tags action_logs
|
|
2693
|
+
* @name GetActionLogs
|
|
2694
|
+
* @summary Get Action logs list
|
|
2695
|
+
* @request POST:/v1/action-logs/list
|
|
2696
|
+
* @secure
|
|
2697
|
+
*/
|
|
2698
|
+
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2699
|
+
}
|
|
2516
2700
|
export class AuthForms<HandleError extends boolean = boolean> {
|
|
2517
2701
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2518
2702
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -2617,6 +2801,14 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2617
2801
|
* @request POST:/v1/auth/b2b/refresh
|
|
2618
2802
|
*/
|
|
2619
2803
|
refreshTokens(B2BRefreshParams: UmaRefreshDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError>>;
|
|
2804
|
+
/**
|
|
2805
|
+
* @description B2B user self-registration.
|
|
2806
|
+
* @tags b2b_auth
|
|
2807
|
+
* @name Register
|
|
2808
|
+
* @summary B2B user self-registration
|
|
2809
|
+
* @request POST:/v1/auth/b2b/register
|
|
2810
|
+
*/
|
|
2811
|
+
register(b2bRegisterParams: UmaB2BRegisterDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserRegistrationSerializer, HandleError>>;
|
|
2620
2812
|
/**
|
|
2621
2813
|
* @description Reset B2B user password
|
|
2622
2814
|
* @tags b2b_auth
|
|
@@ -2645,179 +2837,65 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2645
2837
|
*/
|
|
2646
2838
|
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2647
2839
|
}
|
|
2648
|
-
export class
|
|
2840
|
+
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
2649
2841
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2650
2842
|
constructor(apiClient: JwtClient<HandleError>);
|
|
2651
2843
|
/**
|
|
2652
|
-
* @description
|
|
2653
|
-
* @tags
|
|
2654
|
-
* @name
|
|
2655
|
-
* @summary
|
|
2656
|
-
* @request
|
|
2844
|
+
* @description Get current B2C user info by access token.
|
|
2845
|
+
* @tags b2c_auth
|
|
2846
|
+
* @name GetCurrent
|
|
2847
|
+
* @summary Get current B2C user info by access token
|
|
2848
|
+
* @request GET:/v1/auth/b2c/current
|
|
2657
2849
|
* @secure
|
|
2658
2850
|
*/
|
|
2659
|
-
|
|
2851
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError>>;
|
|
2660
2852
|
/**
|
|
2661
|
-
* @description
|
|
2662
|
-
* @tags
|
|
2663
|
-
* @name
|
|
2664
|
-
* @summary
|
|
2665
|
-
* @request
|
|
2666
|
-
* @secure
|
|
2853
|
+
* @description Initialize Apple OAuth2 Login
|
|
2854
|
+
* @tags b2c_auth
|
|
2855
|
+
* @name InitAppleLogin
|
|
2856
|
+
* @summary Initialize Apple OAuth2 Login
|
|
2857
|
+
* @request POST:/v1/auth/b2c/login/apple
|
|
2667
2858
|
*/
|
|
2668
|
-
|
|
2859
|
+
initAppleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
2860
|
+
/** Branch id/slug/code, with which user should work */
|
|
2861
|
+
BRANCH?: string;
|
|
2862
|
+
/** Firm id/slug, with which user should work */
|
|
2863
|
+
FIRM?: string;
|
|
2864
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
2669
2865
|
/**
|
|
2670
|
-
* @description
|
|
2671
|
-
* @tags
|
|
2672
|
-
* @name
|
|
2673
|
-
* @summary
|
|
2674
|
-
* @request POST:/v1/
|
|
2675
|
-
* @secure
|
|
2866
|
+
* @description Finish Apple OAuth2 Login
|
|
2867
|
+
* @tags b2c_auth
|
|
2868
|
+
* @name FinishAppleLogin
|
|
2869
|
+
* @summary Finish Apple OAuth2 Login
|
|
2870
|
+
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
2676
2871
|
*/
|
|
2677
|
-
|
|
2872
|
+
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
2678
2873
|
/**
|
|
2679
|
-
* @description
|
|
2680
|
-
* @tags
|
|
2681
|
-
* @name
|
|
2682
|
-
* @summary
|
|
2683
|
-
* @request
|
|
2684
|
-
* @secure
|
|
2874
|
+
* @description Login B2C user by email/password.
|
|
2875
|
+
* @tags b2c_auth
|
|
2876
|
+
* @name BasicLogin
|
|
2877
|
+
* @summary Login B2C user by email/password
|
|
2878
|
+
* @request POST:/v1/auth/b2c/login/basic
|
|
2685
2879
|
*/
|
|
2686
|
-
|
|
2880
|
+
basicLogin(basicLoginParams: UmaBasicB2CLoginDto, headers?: {
|
|
2881
|
+
/** Branch id/slug/code, with which user should work */
|
|
2882
|
+
BRANCH?: string;
|
|
2883
|
+
/** Firm id/slug, with which user should work */
|
|
2884
|
+
FIRM?: string;
|
|
2885
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
2687
2886
|
/**
|
|
2688
|
-
* @description
|
|
2689
|
-
* @tags
|
|
2690
|
-
* @name
|
|
2691
|
-
* @summary
|
|
2692
|
-
* @request POST:/
|
|
2693
|
-
* @secure
|
|
2887
|
+
* @description Initialize Google OAuth2 Login
|
|
2888
|
+
* @tags b2c_auth
|
|
2889
|
+
* @name InitGoogleLogin
|
|
2890
|
+
* @summary Initialize Google OAuth2 Login
|
|
2891
|
+
* @request POST:/v1/auth/b2c/login/google
|
|
2694
2892
|
*/
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
* @request POST:/v2/users/b2b/list
|
|
2702
|
-
* @secure
|
|
2703
|
-
*/
|
|
2704
|
-
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
2705
|
-
/**
|
|
2706
|
-
* @description Update B2B User
|
|
2707
|
-
* @tags b2b_users
|
|
2708
|
-
* @name Update
|
|
2709
|
-
* @summary Update B2B User
|
|
2710
|
-
* @request PUT:/v2/users/b2b/{id}
|
|
2711
|
-
* @secure
|
|
2712
|
-
*/
|
|
2713
|
-
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
2714
|
-
}
|
|
2715
|
-
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
2716
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2717
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2718
|
-
/**
|
|
2719
|
-
* @description Set B2B User Settings ReCAPTCHA code is required in following cases (if proper Debug-Token was not provided): 1. User changes email 2. User changes password 3. User changes/verifies phone number
|
|
2720
|
-
* @tags b2b_user_settings
|
|
2721
|
-
* @name SetUserSettings
|
|
2722
|
-
* @summary Set B2B User Settings
|
|
2723
|
-
* @request PUT:/v1/b2b/settings
|
|
2724
|
-
* @secure
|
|
2725
|
-
*/
|
|
2726
|
-
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
2727
|
-
/** Run endpoint in debug mode */
|
|
2728
|
-
'Debug-Token'?: string;
|
|
2729
|
-
/** Branch id, with which user should work */
|
|
2730
|
-
BRANCH?: string;
|
|
2731
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
2732
|
-
/**
|
|
2733
|
-
* @description Upload avatar for B2B user
|
|
2734
|
-
* @tags b2b_user_settings
|
|
2735
|
-
* @name UploadAvatar
|
|
2736
|
-
* @summary Upload avatar for B2B user
|
|
2737
|
-
* @request PUT:/v1/b2b/settings/avatar
|
|
2738
|
-
* @secure
|
|
2739
|
-
*/
|
|
2740
|
-
uploadAvatar(data: {
|
|
2741
|
-
/**
|
|
2742
|
-
* Avatar to upload
|
|
2743
|
-
* @format binary
|
|
2744
|
-
*/
|
|
2745
|
-
avatar?: File;
|
|
2746
|
-
/** Should delete old avatar instead of uploading new one */
|
|
2747
|
-
delete_avatar?: boolean;
|
|
2748
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
2749
|
-
/**
|
|
2750
|
-
* @description Send B2B user contact change code
|
|
2751
|
-
* @tags b2b_user_settings
|
|
2752
|
-
* @name SendContactChangeCode
|
|
2753
|
-
* @summary Send B2B user contact change code
|
|
2754
|
-
* @request POST:/v1/b2b/settings/codes
|
|
2755
|
-
* @secure
|
|
2756
|
-
*/
|
|
2757
|
-
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
2758
|
-
/** Branch id, with which user should work */
|
|
2759
|
-
BRANCH?: string;
|
|
2760
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2761
|
-
}
|
|
2762
|
-
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
2763
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2764
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2765
|
-
/**
|
|
2766
|
-
* @description Get current B2C user info by access token.
|
|
2767
|
-
* @tags b2c_auth
|
|
2768
|
-
* @name GetCurrent
|
|
2769
|
-
* @summary Get current B2C user info by access token
|
|
2770
|
-
* @request GET:/v1/auth/b2c/current
|
|
2771
|
-
* @secure
|
|
2772
|
-
*/
|
|
2773
|
-
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError>>;
|
|
2774
|
-
/**
|
|
2775
|
-
* @description Initialize Apple OAuth2 Login
|
|
2776
|
-
* @tags b2c_auth
|
|
2777
|
-
* @name InitAppleLogin
|
|
2778
|
-
* @summary Initialize Apple OAuth2 Login
|
|
2779
|
-
* @request POST:/v1/auth/b2c/login/apple
|
|
2780
|
-
*/
|
|
2781
|
-
initAppleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
2782
|
-
/** Branch id/slug/code, with which user should work */
|
|
2783
|
-
BRANCH?: string;
|
|
2784
|
-
/** Firm id/slug, with which user should work */
|
|
2785
|
-
FIRM?: string;
|
|
2786
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
2787
|
-
/**
|
|
2788
|
-
* @description Finish Apple OAuth2 Login
|
|
2789
|
-
* @tags b2c_auth
|
|
2790
|
-
* @name FinishAppleLogin
|
|
2791
|
-
* @summary Finish Apple OAuth2 Login
|
|
2792
|
-
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
2793
|
-
*/
|
|
2794
|
-
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
2795
|
-
/**
|
|
2796
|
-
* @description Login B2C user by email/password.
|
|
2797
|
-
* @tags b2c_auth
|
|
2798
|
-
* @name BasicLogin
|
|
2799
|
-
* @summary Login B2C user by email/password
|
|
2800
|
-
* @request POST:/v1/auth/b2c/login/basic
|
|
2801
|
-
*/
|
|
2802
|
-
basicLogin(basicLoginParams: UmaBasicB2CLoginDto, headers?: {
|
|
2803
|
-
/** Branch id/slug/code, with which user should work */
|
|
2804
|
-
BRANCH?: string;
|
|
2805
|
-
/** Firm id/slug, with which user should work */
|
|
2806
|
-
FIRM?: string;
|
|
2807
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
2808
|
-
/**
|
|
2809
|
-
* @description Initialize Google OAuth2 Login
|
|
2810
|
-
* @tags b2c_auth
|
|
2811
|
-
* @name InitGoogleLogin
|
|
2812
|
-
* @summary Initialize Google OAuth2 Login
|
|
2813
|
-
* @request POST:/v1/auth/b2c/login/google
|
|
2814
|
-
*/
|
|
2815
|
-
initGoogleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
2816
|
-
/** Branch id/slug/code, with which user should work */
|
|
2817
|
-
BRANCH?: string;
|
|
2818
|
-
/** Firm id/slug, with which user should work */
|
|
2819
|
-
FIRM?: string;
|
|
2820
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
2893
|
+
initGoogleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
2894
|
+
/** Branch id/slug/code, with which user should work */
|
|
2895
|
+
BRANCH?: string;
|
|
2896
|
+
/** Firm id/slug, with which user should work */
|
|
2897
|
+
FIRM?: string;
|
|
2898
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
2821
2899
|
/**
|
|
2822
2900
|
* @description Finish Google OAuth2 Login
|
|
2823
2901
|
* @tags b2c_auth
|
|
@@ -2832,6 +2910,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
2832
2910
|
* @name ImpersonateLogin
|
|
2833
2911
|
* @summary Impersonate B2C user
|
|
2834
2912
|
* @request POST:/v1/auth/b2c/login/impersonate
|
|
2913
|
+
* @secure
|
|
2835
2914
|
*/
|
|
2836
2915
|
impersonateLogin(b2cImpersonate: UmaB2CImpersonateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError>>;
|
|
2837
2916
|
/**
|
|
@@ -2850,6 +2929,8 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
2850
2929
|
* @request POST:/v1/auth/b2c/refresh
|
|
2851
2930
|
*/
|
|
2852
2931
|
refreshTokens(b2cRefreshDto: UmaB2CRefreshDto, headers?: {
|
|
2932
|
+
/** Branch id/slug/code, with which user should work */
|
|
2933
|
+
BRANCH?: string;
|
|
2853
2934
|
/**
|
|
2854
2935
|
* token
|
|
2855
2936
|
* @default "refresh_token=xxx"
|
|
@@ -2904,12 +2985,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
2904
2985
|
* @summary Send reset password code for B2C user
|
|
2905
2986
|
* @request PUT:/v1/auth/b2c/send-reset-password-code
|
|
2906
2987
|
*/
|
|
2907
|
-
sendResetPasswordCode(B2CSendResetPasswordCodeParams: UmaSendB2CResetPasswordCodeDto,
|
|
2908
|
-
/** Branch id/slug/code, with which user should work */
|
|
2909
|
-
BRANCH?: string;
|
|
2910
|
-
/** Firm id/slug, with which user should work */
|
|
2911
|
-
FIRM?: string;
|
|
2912
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2988
|
+
sendResetPasswordCode(B2CSendResetPasswordCodeParams: UmaSendB2CResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2913
2989
|
/**
|
|
2914
2990
|
* @description Send verification code for B2C user
|
|
2915
2991
|
* @tags b2c_auth
|
|
@@ -2937,234 +3013,227 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
2937
3013
|
FIRM?: string;
|
|
2938
3014
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2939
3015
|
}
|
|
2940
|
-
export class
|
|
3016
|
+
export class Sessions<HandleError extends boolean = boolean> {
|
|
2941
3017
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2942
3018
|
constructor(apiClient: JwtClient<HandleError>);
|
|
2943
3019
|
/**
|
|
2944
|
-
* @description
|
|
2945
|
-
* @tags
|
|
2946
|
-
* @name
|
|
2947
|
-
* @summary
|
|
2948
|
-
* @request
|
|
2949
|
-
* @secure
|
|
2950
|
-
*/
|
|
2951
|
-
create(createB2CUser: UmaCreateB2CUserDto, headers?: {
|
|
2952
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
2953
|
-
'X-Accept'?: string;
|
|
2954
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
2955
|
-
/**
|
|
2956
|
-
* @description Delete B2C user by id
|
|
2957
|
-
* @tags b2c_users
|
|
2958
|
-
* @name DeleteMany
|
|
2959
|
-
* @summary Delete B2C user by id
|
|
2960
|
-
* @request DELETE:/v1/users/b2c
|
|
3020
|
+
* @description et current user sessions info
|
|
3021
|
+
* @tags sessions
|
|
3022
|
+
* @name GetCurrentUserSessions
|
|
3023
|
+
* @summary Get current user sessions info
|
|
3024
|
+
* @request GET:/v1/auth/sessions
|
|
2961
3025
|
* @secure
|
|
2962
3026
|
*/
|
|
2963
|
-
|
|
3027
|
+
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSessionsListSerializer, HandleError>>;
|
|
2964
3028
|
/**
|
|
2965
|
-
* @description
|
|
2966
|
-
* @tags
|
|
2967
|
-
* @name
|
|
2968
|
-
* @summary
|
|
2969
|
-
* @request
|
|
3029
|
+
* @description Delete current user sessions by pair id's
|
|
3030
|
+
* @tags sessions
|
|
3031
|
+
* @name DeleteCurrentUserSessions
|
|
3032
|
+
* @summary Delete current user sessions by pair id's
|
|
3033
|
+
* @request DELETE:/v1/auth/sessions
|
|
2970
3034
|
* @secure
|
|
2971
3035
|
*/
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
3036
|
+
deleteCurrentUserSessions(deleteSessions: UmaDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3037
|
+
}
|
|
3038
|
+
export class TrustedDevices<HandleError extends boolean = boolean> {
|
|
3039
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3040
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2976
3041
|
/**
|
|
2977
|
-
* @description
|
|
2978
|
-
* @tags
|
|
2979
|
-
* @name
|
|
2980
|
-
* @summary
|
|
2981
|
-
* @request
|
|
3042
|
+
* @description Delete trusted devices
|
|
3043
|
+
* @tags trusted_devices
|
|
3044
|
+
* @name DeleteMany
|
|
3045
|
+
* @summary Delete trusted devices
|
|
3046
|
+
* @request DELETE:/v1/auth/trusted-devices
|
|
2982
3047
|
* @secure
|
|
2983
3048
|
*/
|
|
2984
|
-
|
|
2985
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
2986
|
-
'X-Accept'?: string;
|
|
2987
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3049
|
+
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2988
3050
|
/**
|
|
2989
|
-
* @description
|
|
2990
|
-
* @tags
|
|
2991
|
-
* @name
|
|
2992
|
-
* @summary
|
|
2993
|
-
* @request POST:/v1/
|
|
3051
|
+
* @description Get trusted devices
|
|
3052
|
+
* @tags trusted_devices
|
|
3053
|
+
* @name Get
|
|
3054
|
+
* @summary Get trusted devices
|
|
3055
|
+
* @request POST:/v1/auth/trusted-devices/list
|
|
2994
3056
|
* @secure
|
|
2995
3057
|
*/
|
|
2996
|
-
|
|
3058
|
+
get(getTrustedDevicesListDto: UmaGetTrustedDevicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTrustedDevicesListSerializer, HandleError>>;
|
|
3059
|
+
}
|
|
3060
|
+
export class WatchmenAuth<HandleError extends boolean = boolean> {
|
|
3061
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3062
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2997
3063
|
/**
|
|
2998
|
-
* @description
|
|
2999
|
-
* @tags
|
|
3000
|
-
* @name
|
|
3001
|
-
* @summary
|
|
3002
|
-
* @request
|
|
3064
|
+
* @description Generate Watchmen Auth Token
|
|
3065
|
+
* @tags watchmen_auth
|
|
3066
|
+
* @name GenerateWatchmenAuthToken
|
|
3067
|
+
* @summary Generate Watchmen Auth Token
|
|
3068
|
+
* @request POST:/v1/auth/watchmen/authentication-tokens
|
|
3003
3069
|
* @secure
|
|
3004
3070
|
*/
|
|
3005
|
-
|
|
3071
|
+
generateWatchmenAuthToken(generateWatchmenAuthTokenDto: UmaGenerateWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenGenerationResponseSerializer, HandleError>>;
|
|
3006
3072
|
/**
|
|
3007
|
-
* @description
|
|
3008
|
-
* @tags
|
|
3009
|
-
* @name
|
|
3010
|
-
* @summary
|
|
3011
|
-
* @request
|
|
3073
|
+
* @description Verify Watchmen Auth Token
|
|
3074
|
+
* @tags watchmen_auth
|
|
3075
|
+
* @name VerifyWatchmenAuthToken
|
|
3076
|
+
* @summary Verify Watchmen Auth Token
|
|
3077
|
+
* @request PUT:/v1/auth/watchmen/authentication-tokens/verify
|
|
3012
3078
|
* @secure
|
|
3013
3079
|
*/
|
|
3014
|
-
|
|
3080
|
+
verifyWatchmenAuthToken(verifyWatchmenAuthToken: UmaVerifyWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenDetailsResponseSerializer, HandleError>>;
|
|
3015
3081
|
}
|
|
3016
|
-
export class
|
|
3082
|
+
export class ApiKeys<HandleError extends boolean = boolean> {
|
|
3017
3083
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3018
3084
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3019
3085
|
/**
|
|
3020
|
-
* @description
|
|
3021
|
-
* @tags
|
|
3022
|
-
* @name
|
|
3023
|
-
* @summary
|
|
3024
|
-
* @request
|
|
3086
|
+
* @description Delete API Key by id (would throw 404 error if API key not found or belongs to different user)
|
|
3087
|
+
* @tags api_keys
|
|
3088
|
+
* @name DeleteMany
|
|
3089
|
+
* @summary Delete API Key by id
|
|
3090
|
+
* @request DELETE:/v1/b2b/api-keys
|
|
3025
3091
|
* @secure
|
|
3026
3092
|
*/
|
|
3027
|
-
|
|
3028
|
-
/** Branch id/slug/code, with which user should work */
|
|
3029
|
-
BRANCH?: string;
|
|
3030
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3093
|
+
deleteMany(deleteAPIKeys: UmaDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3031
3094
|
/**
|
|
3032
|
-
* @description
|
|
3033
|
-
* @tags
|
|
3034
|
-
* @name
|
|
3035
|
-
* @summary
|
|
3036
|
-
* @request
|
|
3095
|
+
* @description Get APIKey by id
|
|
3096
|
+
* @tags api_keys
|
|
3097
|
+
* @name GetById
|
|
3098
|
+
* @summary Get APIKey by id
|
|
3099
|
+
* @request GET:/v1/b2b/api-keys/{id}
|
|
3037
3100
|
* @secure
|
|
3038
3101
|
*/
|
|
3039
|
-
|
|
3040
|
-
/** Branch id/slug/code, with which user should work */
|
|
3041
|
-
BRANCH?: string;
|
|
3042
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3102
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3043
3103
|
/**
|
|
3044
|
-
* @description
|
|
3045
|
-
* @tags
|
|
3046
|
-
* @name
|
|
3047
|
-
* @summary
|
|
3048
|
-
* @request
|
|
3104
|
+
* @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
|
|
3105
|
+
* @tags api_keys
|
|
3106
|
+
* @name Create
|
|
3107
|
+
* @summary Create API Key & API Secret Pair
|
|
3108
|
+
* @request POST:/v2/b2b/api-keys
|
|
3049
3109
|
* @secure
|
|
3050
3110
|
*/
|
|
3051
|
-
|
|
3052
|
-
/** Branch id/slug/code, with which user should work */
|
|
3053
|
-
BRANCH?: string;
|
|
3054
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
3111
|
+
create(createApiKeys: UmaCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3055
3112
|
/**
|
|
3056
|
-
* @description
|
|
3057
|
-
* @tags
|
|
3058
|
-
* @name
|
|
3059
|
-
* @summary
|
|
3060
|
-
* @request
|
|
3113
|
+
* @description Get API Keys info(would return API Keys without secrets)
|
|
3114
|
+
* @tags api_keys
|
|
3115
|
+
* @name Get
|
|
3116
|
+
* @summary Get API Keys info(would return API Keys without secrets)
|
|
3117
|
+
* @request POST:/v2/b2b/api-keys/list
|
|
3061
3118
|
* @secure
|
|
3062
3119
|
*/
|
|
3063
|
-
|
|
3120
|
+
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError>>;
|
|
3064
3121
|
/**
|
|
3065
|
-
* @description
|
|
3066
|
-
* @tags
|
|
3067
|
-
* @name
|
|
3068
|
-
* @summary
|
|
3069
|
-
* @request
|
|
3122
|
+
* @description Update API Key Record
|
|
3123
|
+
* @tags api_keys
|
|
3124
|
+
* @name Update
|
|
3125
|
+
* @summary Update API Key Record
|
|
3126
|
+
* @request PUT:/v2/b2b/api-keys/{id}
|
|
3127
|
+
* @secure
|
|
3070
3128
|
*/
|
|
3071
|
-
|
|
3129
|
+
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3130
|
+
}
|
|
3131
|
+
export class Microservices<HandleError extends boolean = boolean> {
|
|
3132
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3133
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3072
3134
|
/**
|
|
3073
|
-
* @description
|
|
3074
|
-
* @tags
|
|
3075
|
-
* @name
|
|
3076
|
-
* @summary
|
|
3077
|
-
* @request POST:/v1/
|
|
3135
|
+
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3136
|
+
* @tags microservices
|
|
3137
|
+
* @name Create
|
|
3138
|
+
* @summary Create Microservice
|
|
3139
|
+
* @request POST:/v1/b2b/microservices
|
|
3078
3140
|
* @secure
|
|
3079
3141
|
*/
|
|
3080
|
-
|
|
3142
|
+
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3081
3143
|
/**
|
|
3082
|
-
* @description
|
|
3083
|
-
* @tags
|
|
3084
|
-
* @name
|
|
3085
|
-
* @summary
|
|
3086
|
-
* @request
|
|
3144
|
+
* @description Delete microservice by id
|
|
3145
|
+
* @tags microservices
|
|
3146
|
+
* @name DeleteMany
|
|
3147
|
+
* @summary Delete microservice by id
|
|
3148
|
+
* @request DELETE:/v1/b2b/microservices
|
|
3149
|
+
* @secure
|
|
3087
3150
|
*/
|
|
3088
|
-
|
|
3151
|
+
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3089
3152
|
/**
|
|
3090
|
-
* @description
|
|
3091
|
-
* @tags
|
|
3092
|
-
* @name
|
|
3093
|
-
* @summary
|
|
3094
|
-
* @request
|
|
3153
|
+
* @description Get Microservice by id
|
|
3154
|
+
* @tags microservices
|
|
3155
|
+
* @name GetById
|
|
3156
|
+
* @summary Get Microservice by id
|
|
3157
|
+
* @request GET:/v1/b2b/microservices/{id}
|
|
3095
3158
|
* @secure
|
|
3096
3159
|
*/
|
|
3097
|
-
|
|
3160
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3098
3161
|
/**
|
|
3099
|
-
* @description
|
|
3100
|
-
* @tags
|
|
3101
|
-
* @name
|
|
3102
|
-
* @summary
|
|
3103
|
-
* @request
|
|
3162
|
+
* @description Update microservice record
|
|
3163
|
+
* @tags microservices
|
|
3164
|
+
* @name Update
|
|
3165
|
+
* @summary Update microservice record
|
|
3166
|
+
* @request PUT:/v1/b2b/microservices/{id}
|
|
3104
3167
|
* @secure
|
|
3105
3168
|
*/
|
|
3106
|
-
|
|
3169
|
+
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3170
|
+
/**
|
|
3171
|
+
* @description Update microservice record (partial updates supported)
|
|
3172
|
+
* @tags microservices
|
|
3173
|
+
* @name PartialUpdate
|
|
3174
|
+
* @summary Update microservice record (partial updates supported)
|
|
3175
|
+
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3176
|
+
* @secure
|
|
3177
|
+
*/
|
|
3178
|
+
partialUpdate(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3179
|
+
/**
|
|
3180
|
+
* @description Get microservices with pagination
|
|
3181
|
+
* @tags microservices
|
|
3182
|
+
* @name Get
|
|
3183
|
+
* @summary Get microservices with pagination
|
|
3184
|
+
* @request POST:/v2/b2b/microservices/list
|
|
3185
|
+
* @secure
|
|
3186
|
+
*/
|
|
3187
|
+
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError>>;
|
|
3107
3188
|
}
|
|
3108
|
-
export class
|
|
3189
|
+
export class RoleTypes<HandleError extends boolean = boolean> {
|
|
3109
3190
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3110
3191
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3111
3192
|
/**
|
|
3112
|
-
* @description Create
|
|
3113
|
-
* @tags
|
|
3193
|
+
* @description Create Role Type
|
|
3194
|
+
* @tags role_types
|
|
3114
3195
|
* @name Create
|
|
3115
|
-
* @summary Create
|
|
3116
|
-
* @request POST:/v1/
|
|
3196
|
+
* @summary Create Role Type
|
|
3197
|
+
* @request POST:/v1/b2b/role-types
|
|
3117
3198
|
* @secure
|
|
3118
3199
|
*/
|
|
3119
|
-
create(
|
|
3200
|
+
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3120
3201
|
/**
|
|
3121
|
-
* @description Delete
|
|
3122
|
-
* @tags
|
|
3202
|
+
* @description Delete Role Types by ids
|
|
3203
|
+
* @tags role_types
|
|
3123
3204
|
* @name DeleteMany
|
|
3124
|
-
* @summary Delete
|
|
3125
|
-
* @request DELETE:/v1/
|
|
3205
|
+
* @summary Delete Role Types by ids
|
|
3206
|
+
* @request DELETE:/v1/b2b/role-types
|
|
3126
3207
|
* @secure
|
|
3127
3208
|
*/
|
|
3128
|
-
deleteMany(
|
|
3209
|
+
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3129
3210
|
/**
|
|
3130
|
-
* @description Get
|
|
3131
|
-
* @tags
|
|
3211
|
+
* @description Get Role Type by id
|
|
3212
|
+
* @tags role_types
|
|
3132
3213
|
* @name GetById
|
|
3133
|
-
* @summary Get
|
|
3134
|
-
* @request GET:/v1/
|
|
3214
|
+
* @summary Get Role Type by id
|
|
3215
|
+
* @request GET:/v1/b2b/role-types/{id}
|
|
3135
3216
|
* @secure
|
|
3136
3217
|
*/
|
|
3137
|
-
getById(id:
|
|
3218
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3138
3219
|
/**
|
|
3139
|
-
* @description Update
|
|
3140
|
-
* @tags
|
|
3220
|
+
* @description Update Role Type
|
|
3221
|
+
* @tags role_types
|
|
3141
3222
|
* @name Update
|
|
3142
|
-
* @summary Update
|
|
3143
|
-
* @request PUT:/v1/
|
|
3223
|
+
* @summary Update Role Type
|
|
3224
|
+
* @request PUT:/v1/b2b/role-types/{id}
|
|
3144
3225
|
* @secure
|
|
3145
3226
|
*/
|
|
3146
|
-
update(id: number,
|
|
3227
|
+
update(id: number, updateRoleType: UmaUpdateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3147
3228
|
/**
|
|
3148
|
-
* @description Get
|
|
3149
|
-
* @tags
|
|
3229
|
+
* @description Get Role Types with pagination
|
|
3230
|
+
* @tags role_types
|
|
3150
3231
|
* @name Get
|
|
3151
|
-
* @summary Get
|
|
3152
|
-
* @request POST:/v2/
|
|
3232
|
+
* @summary Get Role Types with pagination
|
|
3233
|
+
* @request POST:/v2/b2b/role-types/list
|
|
3153
3234
|
* @secure
|
|
3154
3235
|
*/
|
|
3155
|
-
get(
|
|
3156
|
-
}
|
|
3157
|
-
export class Countries<HandleError extends boolean = boolean> {
|
|
3158
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3159
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3160
|
-
/**
|
|
3161
|
-
* @description Get Countries info
|
|
3162
|
-
* @tags countries
|
|
3163
|
-
* @name Get
|
|
3164
|
-
* @summary Get Countries info
|
|
3165
|
-
* @request GET:/v1/countries/
|
|
3166
|
-
*/
|
|
3167
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3236
|
+
get(getRoleTypes: UmaGetRoleTypesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRoleTypesListSerializer, HandleError>>;
|
|
3168
3237
|
}
|
|
3169
3238
|
export class Endpoints<HandleError extends boolean = boolean> {
|
|
3170
3239
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3205,6 +3274,15 @@ export class Endpoints<HandleError extends boolean = boolean> {
|
|
|
3205
3274
|
* @secure
|
|
3206
3275
|
*/
|
|
3207
3276
|
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3277
|
+
/**
|
|
3278
|
+
* @description Update endpoint record (partial updates supported).
|
|
3279
|
+
* @tags endpoints
|
|
3280
|
+
* @name PartialUpdate
|
|
3281
|
+
* @summary Update endpoint record (partial updates supported)
|
|
3282
|
+
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3283
|
+
* @secure
|
|
3284
|
+
*/
|
|
3285
|
+
partialUpdate(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3208
3286
|
/**
|
|
3209
3287
|
* @description Get endpoints with pagination
|
|
3210
3288
|
* @tags endpoints
|
|
@@ -3215,55 +3293,6 @@ export class Endpoints<HandleError extends boolean = boolean> {
|
|
|
3215
3293
|
*/
|
|
3216
3294
|
get(endpointDto: UmaGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEndpointsListSerializer, HandleError>>;
|
|
3217
3295
|
}
|
|
3218
|
-
export class Firms<HandleError extends boolean = boolean> {
|
|
3219
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3220
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3221
|
-
/**
|
|
3222
|
-
* @description Create Firm
|
|
3223
|
-
* @tags firms
|
|
3224
|
-
* @name Create
|
|
3225
|
-
* @summary Create Firm
|
|
3226
|
-
* @request POST:/v1/firms
|
|
3227
|
-
* @secure
|
|
3228
|
-
*/
|
|
3229
|
-
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3230
|
-
/**
|
|
3231
|
-
* @description Deletes Firm by ids
|
|
3232
|
-
* @tags firms
|
|
3233
|
-
* @name DeleteMany
|
|
3234
|
-
* @summary Deletes Firm by ids
|
|
3235
|
-
* @request DELETE:/v1/firms
|
|
3236
|
-
* @secure
|
|
3237
|
-
*/
|
|
3238
|
-
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3239
|
-
/**
|
|
3240
|
-
* @description Get Firm by id
|
|
3241
|
-
* @tags firms
|
|
3242
|
-
* @name GetById
|
|
3243
|
-
* @summary Get Firm by id
|
|
3244
|
-
* @request GET:/v1/firms/{id}
|
|
3245
|
-
* @secure
|
|
3246
|
-
*/
|
|
3247
|
-
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3248
|
-
/**
|
|
3249
|
-
* @description Update Firm
|
|
3250
|
-
* @tags firms
|
|
3251
|
-
* @name Update
|
|
3252
|
-
* @summary Update Firm
|
|
3253
|
-
* @request PUT:/v1/firms/{id}
|
|
3254
|
-
* @secure
|
|
3255
|
-
*/
|
|
3256
|
-
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3257
|
-
/**
|
|
3258
|
-
* @description Get Firms with pagination
|
|
3259
|
-
* @tags firms
|
|
3260
|
-
* @name Get
|
|
3261
|
-
* @summary Get Firms with pagination
|
|
3262
|
-
* @request POST:/v2/firms/list
|
|
3263
|
-
* @secure
|
|
3264
|
-
*/
|
|
3265
|
-
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError>>;
|
|
3266
|
-
}
|
|
3267
3296
|
export class IdentityProviders<HandleError extends boolean = boolean> {
|
|
3268
3297
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3269
3298
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3313,79 +3342,181 @@ export class IdentityProviders<HandleError extends boolean = boolean> {
|
|
|
3313
3342
|
*/
|
|
3314
3343
|
get(identityProvidersDto: UmaGetIdentityProvidersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetIdentityProvidersListSerializer, HandleError>>;
|
|
3315
3344
|
}
|
|
3316
|
-
export class
|
|
3317
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3318
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3319
|
-
/**
|
|
3320
|
-
* @description get all language locales
|
|
3321
|
-
* @tags locales
|
|
3322
|
-
* @name Get
|
|
3323
|
-
* @summary get all locales
|
|
3324
|
-
* @request GET:/v1/locales
|
|
3325
|
-
*/
|
|
3326
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError>>;
|
|
3327
|
-
}
|
|
3328
|
-
export class Microservices<HandleError extends boolean = boolean> {
|
|
3345
|
+
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
3329
3346
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3330
3347
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3331
3348
|
/**
|
|
3332
|
-
* @description
|
|
3333
|
-
* @tags
|
|
3334
|
-
* @name
|
|
3335
|
-
* @summary
|
|
3336
|
-
* @request
|
|
3349
|
+
* @description Set B2B User Settings
|
|
3350
|
+
* @tags b2b_user_settings
|
|
3351
|
+
* @name SetUserSettings
|
|
3352
|
+
* @summary Set B2B User Settings
|
|
3353
|
+
* @request PUT:/v1/b2b/settings
|
|
3337
3354
|
* @secure
|
|
3338
3355
|
*/
|
|
3339
|
-
|
|
3356
|
+
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
3357
|
+
/** Run endpoint in debug mode */
|
|
3358
|
+
'Debug-Token'?: string;
|
|
3359
|
+
/** Branch id, with which user should work */
|
|
3360
|
+
BRANCH?: string;
|
|
3361
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
3340
3362
|
/**
|
|
3341
|
-
* @description
|
|
3342
|
-
* @tags
|
|
3343
|
-
* @name
|
|
3344
|
-
* @summary
|
|
3345
|
-
* @request
|
|
3363
|
+
* @description Upload avatar for B2B user
|
|
3364
|
+
* @tags b2b_user_settings
|
|
3365
|
+
* @name UploadAvatar
|
|
3366
|
+
* @summary Upload avatar for B2B user
|
|
3367
|
+
* @request PUT:/v1/b2b/settings/avatar
|
|
3346
3368
|
* @secure
|
|
3347
3369
|
*/
|
|
3348
|
-
|
|
3370
|
+
uploadAvatar(data: {
|
|
3371
|
+
/**
|
|
3372
|
+
* Avatar to upload
|
|
3373
|
+
* @format binary
|
|
3374
|
+
*/
|
|
3375
|
+
avatar?: File;
|
|
3376
|
+
/** Should delete old avatar instead of uploading new one */
|
|
3377
|
+
delete_avatar?: boolean;
|
|
3378
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
3349
3379
|
/**
|
|
3350
|
-
* @description
|
|
3351
|
-
* @tags
|
|
3352
|
-
* @name
|
|
3353
|
-
* @summary
|
|
3354
|
-
* @request
|
|
3380
|
+
* @description Send B2B user contact change code
|
|
3381
|
+
* @tags b2b_user_settings
|
|
3382
|
+
* @name SendContactChangeCode
|
|
3383
|
+
* @summary Send B2B user contact change code
|
|
3384
|
+
* @request POST:/v1/b2b/settings/codes
|
|
3355
3385
|
* @secure
|
|
3356
3386
|
*/
|
|
3357
|
-
|
|
3387
|
+
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3388
|
+
/** Branch id, with which user should work */
|
|
3389
|
+
BRANCH?: string;
|
|
3390
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3391
|
+
}
|
|
3392
|
+
export class TablePresets<HandleError extends boolean = boolean> {
|
|
3393
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3394
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3358
3395
|
/**
|
|
3359
|
-
* @description
|
|
3360
|
-
* @tags
|
|
3361
|
-
* @name
|
|
3362
|
-
* @summary
|
|
3363
|
-
* @request
|
|
3396
|
+
* @description Get user Table Presets
|
|
3397
|
+
* @tags table_presets
|
|
3398
|
+
* @name GetUserPresets
|
|
3399
|
+
* @summary Get user Table Presets
|
|
3400
|
+
* @request GET:/v1/b2b/table-presets
|
|
3364
3401
|
* @secure
|
|
3365
3402
|
*/
|
|
3366
|
-
|
|
3403
|
+
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError>>;
|
|
3367
3404
|
/**
|
|
3368
|
-
* @description
|
|
3369
|
-
* @tags
|
|
3405
|
+
* @description Upsert Table Preset
|
|
3406
|
+
* @tags table_presets
|
|
3407
|
+
* @name Upsert
|
|
3408
|
+
* @summary Upsert Table Preset
|
|
3409
|
+
* @request PUT:/v1/b2b/table-presets
|
|
3410
|
+
* @secure
|
|
3411
|
+
*/
|
|
3412
|
+
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError>>;
|
|
3413
|
+
}
|
|
3414
|
+
export class EmailDomains<HandleError extends boolean = boolean> {
|
|
3415
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3416
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3417
|
+
/**
|
|
3418
|
+
* @description Create Email Domain
|
|
3419
|
+
* @tags email_domains
|
|
3420
|
+
* @name Create
|
|
3421
|
+
* @summary Create Email Domain
|
|
3422
|
+
* @request POST:/v1/email-domains
|
|
3423
|
+
* @secure
|
|
3424
|
+
*/
|
|
3425
|
+
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3426
|
+
/**
|
|
3427
|
+
* @description Delete Email Domains
|
|
3428
|
+
* @tags email_domains
|
|
3429
|
+
* @name DeleteMany
|
|
3430
|
+
* @summary Delete email domains
|
|
3431
|
+
* @request DELETE:/v1/email-domains
|
|
3432
|
+
* @secure
|
|
3433
|
+
*/
|
|
3434
|
+
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3435
|
+
/**
|
|
3436
|
+
* @description Get emailDomains with pagination
|
|
3437
|
+
* @tags email_domains
|
|
3370
3438
|
* @name Get
|
|
3371
|
-
* @summary Get
|
|
3372
|
-
* @request POST:/
|
|
3439
|
+
* @summary Get emailDomains with pagination
|
|
3440
|
+
* @request POST:/v1/email-domains/list
|
|
3373
3441
|
* @secure
|
|
3374
3442
|
*/
|
|
3375
|
-
get(
|
|
3443
|
+
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError>>;
|
|
3444
|
+
/**
|
|
3445
|
+
* @description Get Email Domain by id
|
|
3446
|
+
* @tags email_domains
|
|
3447
|
+
* @name GetById
|
|
3448
|
+
* @summary Get Email Domain by id
|
|
3449
|
+
* @request GET:/v1/email-domains/{id}
|
|
3450
|
+
* @secure
|
|
3451
|
+
*/
|
|
3452
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3453
|
+
/**
|
|
3454
|
+
* @description Update Email Domain record (partial updates supported).
|
|
3455
|
+
* @tags email_domains
|
|
3456
|
+
* @name PartialUpdate
|
|
3457
|
+
* @summary Update Email Domain record (partial updates supported)
|
|
3458
|
+
* @request PATCH:/v1/email-domains/{id}
|
|
3459
|
+
* @secure
|
|
3460
|
+
*/
|
|
3461
|
+
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3376
3462
|
}
|
|
3377
|
-
export class
|
|
3463
|
+
export class Firms<HandleError extends boolean = boolean> {
|
|
3378
3464
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3379
3465
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3380
3466
|
/**
|
|
3381
|
-
* @description
|
|
3382
|
-
* @tags
|
|
3383
|
-
* @name
|
|
3384
|
-
* @summary
|
|
3385
|
-
* @request POST:/v1/
|
|
3467
|
+
* @description Create Firm
|
|
3468
|
+
* @tags firms
|
|
3469
|
+
* @name Create
|
|
3470
|
+
* @summary Create Firm
|
|
3471
|
+
* @request POST:/v1/firms
|
|
3472
|
+
* @secure
|
|
3473
|
+
*/
|
|
3474
|
+
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3475
|
+
/**
|
|
3476
|
+
* @description Deletes Firm by ids
|
|
3477
|
+
* @tags firms
|
|
3478
|
+
* @name DeleteMany
|
|
3479
|
+
* @summary Deletes Firm by ids
|
|
3480
|
+
* @request DELETE:/v1/firms
|
|
3481
|
+
* @secure
|
|
3482
|
+
*/
|
|
3483
|
+
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3484
|
+
/**
|
|
3485
|
+
* @description Get Firm by id
|
|
3486
|
+
* @tags firms
|
|
3487
|
+
* @name GetById
|
|
3488
|
+
* @summary Get Firm by id
|
|
3489
|
+
* @request GET:/v1/firms/{id}
|
|
3490
|
+
* @secure
|
|
3491
|
+
*/
|
|
3492
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3493
|
+
/**
|
|
3494
|
+
* @description Update Firm
|
|
3495
|
+
* @tags firms
|
|
3496
|
+
* @name Update
|
|
3497
|
+
* @summary Update Firm
|
|
3498
|
+
* @request PUT:/v1/firms/{id}
|
|
3499
|
+
* @secure
|
|
3500
|
+
*/
|
|
3501
|
+
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3502
|
+
/**
|
|
3503
|
+
* @description Update Firm (partial updates supported).
|
|
3504
|
+
* @tags firms
|
|
3505
|
+
* @name PartialUpdate
|
|
3506
|
+
* @summary Update Firm (partial updates supported)
|
|
3507
|
+
* @request PATCH:/v1/firms/{id}
|
|
3508
|
+
* @secure
|
|
3509
|
+
*/
|
|
3510
|
+
partialUpdate(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3511
|
+
/**
|
|
3512
|
+
* @description Get Firms with pagination
|
|
3513
|
+
* @tags firms
|
|
3514
|
+
* @name Get
|
|
3515
|
+
* @summary Get Firms with pagination
|
|
3516
|
+
* @request POST:/v2/firms/list
|
|
3386
3517
|
* @secure
|
|
3387
3518
|
*/
|
|
3388
|
-
|
|
3519
|
+
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError>>;
|
|
3389
3520
|
}
|
|
3390
3521
|
export class Permissions<HandleError extends boolean = boolean> {
|
|
3391
3522
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3426,6 +3557,17 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3426
3557
|
* @secure
|
|
3427
3558
|
*/
|
|
3428
3559
|
update(id: number, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
3560
|
+
/**
|
|
3561
|
+
* @description Partial Update Permission
|
|
3562
|
+
* @tags permissions
|
|
3563
|
+
* @name UpdateById
|
|
3564
|
+
* @summary Partial Update Permission
|
|
3565
|
+
* @request PATCH:/v1/permissions/{id}
|
|
3566
|
+
* @originalName update
|
|
3567
|
+
* @duplicate
|
|
3568
|
+
* @secure
|
|
3569
|
+
*/
|
|
3570
|
+
updateById(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
3429
3571
|
/**
|
|
3430
3572
|
* @description Get Permissions with pagination
|
|
3431
3573
|
* @tags permissions
|
|
@@ -3436,6 +3578,18 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3436
3578
|
*/
|
|
3437
3579
|
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError>>;
|
|
3438
3580
|
}
|
|
3581
|
+
export class Locales<HandleError extends boolean = boolean> {
|
|
3582
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3583
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3584
|
+
/**
|
|
3585
|
+
* @description get all language locales
|
|
3586
|
+
* @tags locales
|
|
3587
|
+
* @name Get
|
|
3588
|
+
* @summary get all locales
|
|
3589
|
+
* @request GET:/v1/locales
|
|
3590
|
+
*/
|
|
3591
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError>>;
|
|
3592
|
+
}
|
|
3439
3593
|
export class PublicSettings<HandleError extends boolean = boolean> {
|
|
3440
3594
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3441
3595
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3448,6 +3602,35 @@ export class PublicSettings<HandleError extends boolean = boolean> {
|
|
|
3448
3602
|
*/
|
|
3449
3603
|
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError>>;
|
|
3450
3604
|
}
|
|
3605
|
+
export class SecretNotes<HandleError extends boolean = boolean> {
|
|
3606
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3607
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3608
|
+
/**
|
|
3609
|
+
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
3610
|
+
* @tags secret_notes
|
|
3611
|
+
* @name Create
|
|
3612
|
+
* @summary Create Secret note
|
|
3613
|
+
* @request POST:/v1/secret-notes
|
|
3614
|
+
* @secure
|
|
3615
|
+
*/
|
|
3616
|
+
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError>>;
|
|
3617
|
+
/**
|
|
3618
|
+
* @description Get Secret note
|
|
3619
|
+
* @tags secret_notes
|
|
3620
|
+
* @name GetOne
|
|
3621
|
+
* @summary Get Secret note
|
|
3622
|
+
* @request POST:/v1/secret-notes/fetch
|
|
3623
|
+
*/
|
|
3624
|
+
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
3625
|
+
/**
|
|
3626
|
+
* @description Send Secret note verification code
|
|
3627
|
+
* @tags secret_notes
|
|
3628
|
+
* @name SendVerificationCode
|
|
3629
|
+
* @summary Send Secret note verification code
|
|
3630
|
+
* @request PUT:/v1/secret-notes/verification
|
|
3631
|
+
*/
|
|
3632
|
+
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3633
|
+
}
|
|
3451
3634
|
export class Roles<HandleError extends boolean = boolean> {
|
|
3452
3635
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3453
3636
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3487,6 +3670,15 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3487
3670
|
* @secure
|
|
3488
3671
|
*/
|
|
3489
3672
|
update(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
3673
|
+
/**
|
|
3674
|
+
* @description Partial Update Role. Only the fields provided in the body will be updated.
|
|
3675
|
+
* @tags roles
|
|
3676
|
+
* @name PartialUpdate
|
|
3677
|
+
* @summary Partial Update Role
|
|
3678
|
+
* @request PATCH:/v1/roles/{id}
|
|
3679
|
+
* @secure
|
|
3680
|
+
*/
|
|
3681
|
+
partialUpdate(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
3490
3682
|
/**
|
|
3491
3683
|
* @description Generate Role PDF
|
|
3492
3684
|
* @tags roles
|
|
@@ -3506,265 +3698,230 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3506
3698
|
*/
|
|
3507
3699
|
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError>>;
|
|
3508
3700
|
}
|
|
3509
|
-
export class
|
|
3701
|
+
export class Tags<HandleError extends boolean = boolean> {
|
|
3510
3702
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3511
3703
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3512
3704
|
/**
|
|
3513
|
-
* @description Create
|
|
3514
|
-
* @tags
|
|
3705
|
+
* @description Create Tag
|
|
3706
|
+
* @tags tags
|
|
3515
3707
|
* @name Create
|
|
3516
|
-
* @summary Create
|
|
3517
|
-
* @request POST:/v1/
|
|
3708
|
+
* @summary Create Tag
|
|
3709
|
+
* @request POST:/v1/tags
|
|
3518
3710
|
* @secure
|
|
3519
3711
|
*/
|
|
3520
|
-
create(
|
|
3712
|
+
create(createTagDto: UmaCreateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
3521
3713
|
/**
|
|
3522
|
-
* @description Delete
|
|
3523
|
-
* @tags
|
|
3714
|
+
* @description Delete Tags
|
|
3715
|
+
* @tags tags
|
|
3524
3716
|
* @name DeleteMany
|
|
3525
|
-
* @summary Delete
|
|
3526
|
-
* @request DELETE:/v1/
|
|
3717
|
+
* @summary Delete Tags
|
|
3718
|
+
* @request DELETE:/v1/tags
|
|
3527
3719
|
* @secure
|
|
3528
3720
|
*/
|
|
3529
|
-
deleteMany(
|
|
3721
|
+
deleteMany(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3530
3722
|
/**
|
|
3531
|
-
* @description Get
|
|
3532
|
-
* @tags
|
|
3723
|
+
* @description Get Tags List. Available fields for sorting are `id, name, created_at, updated_at`. Search is performed by `name`
|
|
3724
|
+
* @tags tags
|
|
3725
|
+
* @name Get
|
|
3726
|
+
* @summary Get Tags List
|
|
3727
|
+
* @request POST:/v1/tags/list
|
|
3728
|
+
* @secure
|
|
3729
|
+
*/
|
|
3730
|
+
get(getTagsDto: UmaGetTagsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTagsListSerializer, HandleError>>;
|
|
3731
|
+
/**
|
|
3732
|
+
* @description Get Tags By ID
|
|
3733
|
+
* @tags tags
|
|
3533
3734
|
* @name GetById
|
|
3534
|
-
* @summary Get
|
|
3535
|
-
* @request GET:/v1/
|
|
3735
|
+
* @summary Get Tag By ID
|
|
3736
|
+
* @request GET:/v1/tags/{id}
|
|
3536
3737
|
* @secure
|
|
3537
3738
|
*/
|
|
3538
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<
|
|
3739
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
3539
3740
|
/**
|
|
3540
|
-
* @description Update
|
|
3541
|
-
* @tags
|
|
3741
|
+
* @description Update Tag
|
|
3742
|
+
* @tags tags
|
|
3542
3743
|
* @name Update
|
|
3543
|
-
* @summary Update
|
|
3544
|
-
* @request PUT:/v1/
|
|
3744
|
+
* @summary Update Tag
|
|
3745
|
+
* @request PUT:/v1/tags/{id}
|
|
3545
3746
|
* @secure
|
|
3546
3747
|
*/
|
|
3547
|
-
update(id: number,
|
|
3748
|
+
update(id: number, updateTagDto: UmaUpdateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
3749
|
+
}
|
|
3750
|
+
export class Countries<HandleError extends boolean = boolean> {
|
|
3751
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3752
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3548
3753
|
/**
|
|
3549
|
-
* @description Get
|
|
3550
|
-
* @tags
|
|
3754
|
+
* @description Get Countries info
|
|
3755
|
+
* @tags countries
|
|
3551
3756
|
* @name Get
|
|
3552
|
-
* @summary Get
|
|
3553
|
-
* @request
|
|
3554
|
-
* @secure
|
|
3757
|
+
* @summary Get Countries info
|
|
3758
|
+
* @request GET:/v1/countries/
|
|
3555
3759
|
*/
|
|
3556
|
-
get(
|
|
3760
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3557
3761
|
}
|
|
3558
|
-
export class
|
|
3762
|
+
export class B2BUsers<HandleError extends boolean = boolean> {
|
|
3559
3763
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3560
3764
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3561
3765
|
/**
|
|
3562
|
-
* @description
|
|
3563
|
-
* @tags
|
|
3564
|
-
* @name
|
|
3565
|
-
* @summary
|
|
3566
|
-
* @request
|
|
3766
|
+
* @description Soft Delete B2B users
|
|
3767
|
+
* @tags b2b_users
|
|
3768
|
+
* @name DeleteMany
|
|
3769
|
+
* @summary Soft Delete B2B users
|
|
3770
|
+
* @request DELETE:/v1/users/b2b
|
|
3567
3771
|
* @secure
|
|
3568
3772
|
*/
|
|
3569
|
-
|
|
3773
|
+
deleteMany(deleteB2BUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3570
3774
|
/**
|
|
3571
|
-
* @description Get
|
|
3572
|
-
* @tags
|
|
3573
|
-
* @name GetOne
|
|
3574
|
-
* @summary Get Secret note
|
|
3575
|
-
* @request POST:/v1/secret-notes/fetch
|
|
3576
|
-
*/
|
|
3577
|
-
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
3578
|
-
/**
|
|
3579
|
-
* @description Send Secret note verification code
|
|
3580
|
-
* @tags secret_notes
|
|
3581
|
-
* @name SendVerificationCode
|
|
3582
|
-
* @summary Send Secret note verification code
|
|
3583
|
-
* @request PUT:/v1/secret-notes/verification
|
|
3584
|
-
*/
|
|
3585
|
-
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3586
|
-
}
|
|
3587
|
-
export class Sessions<HandleError extends boolean = boolean> {
|
|
3588
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3589
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3590
|
-
/**
|
|
3591
|
-
* @description et current user sessions info
|
|
3592
|
-
* @tags sessions
|
|
3593
|
-
* @name GetCurrentUserSessions
|
|
3594
|
-
* @summary Get current user sessions info
|
|
3595
|
-
* @request GET:/v1/auth/sessions
|
|
3596
|
-
* @secure
|
|
3597
|
-
*/
|
|
3598
|
-
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSessionsListSerializer, HandleError>>;
|
|
3599
|
-
/**
|
|
3600
|
-
* @description Delete current user sessions by pair id's
|
|
3601
|
-
* @tags sessions
|
|
3602
|
-
* @name DeleteCurrentUserSessions
|
|
3603
|
-
* @summary Delete current user sessions by pair id's
|
|
3604
|
-
* @request DELETE:/v1/auth/sessions
|
|
3605
|
-
* @secure
|
|
3606
|
-
*/
|
|
3607
|
-
deleteCurrentUserSessions(deleteSessions: UmaDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3608
|
-
}
|
|
3609
|
-
export class SystemUsers<HandleError extends boolean = boolean> {
|
|
3610
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3611
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3612
|
-
/**
|
|
3613
|
-
* @description Create System User
|
|
3614
|
-
* @tags system_users
|
|
3615
|
-
* @name Create
|
|
3616
|
-
* @summary Create System User
|
|
3617
|
-
* @request POST:/v1/users/system
|
|
3618
|
-
* @secure
|
|
3619
|
-
*/
|
|
3620
|
-
create(createSystemUser: UmaCreateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
3621
|
-
/**
|
|
3622
|
-
* @description Delete System user by id
|
|
3623
|
-
* @tags system_users
|
|
3624
|
-
* @name DeleteMany
|
|
3625
|
-
* @summary Delete System user by id
|
|
3626
|
-
* @request DELETE:/v1/users/system
|
|
3627
|
-
* @secure
|
|
3628
|
-
*/
|
|
3629
|
-
deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3630
|
-
/**
|
|
3631
|
-
* @description Get System users with pagination
|
|
3632
|
-
* @tags System_users
|
|
3633
|
-
* @name Get
|
|
3634
|
-
* @summary Get System users with pagination
|
|
3635
|
-
* @request POST:/v1/users/system/list
|
|
3636
|
-
* @secure
|
|
3637
|
-
*/
|
|
3638
|
-
get(getSystemUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError>>;
|
|
3639
|
-
/**
|
|
3640
|
-
* @description Get System User by id
|
|
3641
|
-
* @tags system_users
|
|
3775
|
+
* @description Get B2B User by id
|
|
3776
|
+
* @tags b2b_users
|
|
3642
3777
|
* @name GetById
|
|
3643
|
-
* @summary Get
|
|
3644
|
-
* @request GET:/v1/users/
|
|
3778
|
+
* @summary Get B2B User by id
|
|
3779
|
+
* @request GET:/v1/users/b2b/{id}
|
|
3645
3780
|
* @secure
|
|
3646
3781
|
*/
|
|
3647
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<
|
|
3782
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
3648
3783
|
/**
|
|
3649
|
-
* @description Update
|
|
3650
|
-
* @tags
|
|
3651
|
-
* @name
|
|
3652
|
-
* @summary Update
|
|
3653
|
-
* @request
|
|
3784
|
+
* @description Update B2B User (partial updates supported)
|
|
3785
|
+
* @tags b2b_users
|
|
3786
|
+
* @name PartialUpdate
|
|
3787
|
+
* @summary Update B2B User (partial updates supported)
|
|
3788
|
+
* @request PATCH:/v1/users/b2b/{id}
|
|
3654
3789
|
* @secure
|
|
3655
3790
|
*/
|
|
3656
|
-
|
|
3791
|
+
partialUpdate(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
3657
3792
|
/**
|
|
3658
|
-
* @description Generate
|
|
3659
|
-
* @tags
|
|
3793
|
+
* @description Generate B2B User PDF
|
|
3794
|
+
* @tags b2b_users
|
|
3660
3795
|
* @name GenerateAsPdf
|
|
3661
|
-
* @summary Generate
|
|
3662
|
-
* @request POST:/v1/users/
|
|
3796
|
+
* @summary Generate B2B User PDF
|
|
3797
|
+
* @request POST:/v1/users/b2b/{id}/generate-as-pdf
|
|
3663
3798
|
* @secure
|
|
3664
3799
|
*/
|
|
3665
3800
|
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
3666
3801
|
/**
|
|
3667
|
-
* @description Change
|
|
3668
|
-
* @tags
|
|
3802
|
+
* @description Change B2B User status
|
|
3803
|
+
* @tags b2b_users
|
|
3669
3804
|
* @name ChangeStatus
|
|
3670
|
-
* @summary Change
|
|
3671
|
-
* @request PATCH:/v1/users/
|
|
3805
|
+
* @summary Change B2B User status
|
|
3806
|
+
* @request PATCH:/v1/users/b2b/{id}/status
|
|
3672
3807
|
* @secure
|
|
3673
3808
|
*/
|
|
3674
3809
|
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3675
|
-
}
|
|
3676
|
-
export class TablePresets<HandleError extends boolean = boolean> {
|
|
3677
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3678
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3679
3810
|
/**
|
|
3680
|
-
* @description
|
|
3681
|
-
* @tags
|
|
3682
|
-
* @name
|
|
3683
|
-
* @summary
|
|
3684
|
-
* @request
|
|
3811
|
+
* @description Create B2B User
|
|
3812
|
+
* @tags b2b_users
|
|
3813
|
+
* @name Create
|
|
3814
|
+
* @summary Create B2B User
|
|
3815
|
+
* @request POST:/v2/users/b2b
|
|
3685
3816
|
* @secure
|
|
3686
3817
|
*/
|
|
3687
|
-
|
|
3818
|
+
create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
3688
3819
|
/**
|
|
3689
|
-
* @description
|
|
3690
|
-
* @tags
|
|
3691
|
-
* @name
|
|
3692
|
-
* @summary
|
|
3693
|
-
* @request
|
|
3820
|
+
* @description Get B2B users with pagination
|
|
3821
|
+
* @tags b2b_users
|
|
3822
|
+
* @name Get
|
|
3823
|
+
* @summary Get B2B users with pagination
|
|
3824
|
+
* @request POST:/v2/users/b2b/list
|
|
3694
3825
|
* @secure
|
|
3695
3826
|
*/
|
|
3696
|
-
|
|
3827
|
+
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
3828
|
+
/**
|
|
3829
|
+
* @description Update B2B User
|
|
3830
|
+
* @tags b2b_users
|
|
3831
|
+
* @name Update
|
|
3832
|
+
* @summary Update B2B User
|
|
3833
|
+
* @request PUT:/v2/users/b2b/{id}
|
|
3834
|
+
* @secure
|
|
3835
|
+
*/
|
|
3836
|
+
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
3697
3837
|
}
|
|
3698
|
-
export class
|
|
3838
|
+
export class B2CUsers<HandleError extends boolean = boolean> {
|
|
3699
3839
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3700
3840
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3701
3841
|
/**
|
|
3702
|
-
* @description Create
|
|
3703
|
-
* @tags
|
|
3842
|
+
* @description Create B2C User
|
|
3843
|
+
* @tags b2c_users
|
|
3704
3844
|
* @name Create
|
|
3705
|
-
* @summary Create
|
|
3706
|
-
* @request POST:/v1/
|
|
3845
|
+
* @summary Create B2C User
|
|
3846
|
+
* @request POST:/v1/users/b2c
|
|
3707
3847
|
* @secure
|
|
3708
3848
|
*/
|
|
3709
|
-
create(
|
|
3849
|
+
create(createB2CUser: UmaCreateB2CUserDto, headers?: {
|
|
3850
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3851
|
+
'X-Accept'?: string;
|
|
3852
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3710
3853
|
/**
|
|
3711
|
-
* @description Delete
|
|
3712
|
-
* @tags
|
|
3854
|
+
* @description Soft Delete B2C users
|
|
3855
|
+
* @tags b2c_users
|
|
3713
3856
|
* @name DeleteMany
|
|
3714
|
-
* @summary Delete
|
|
3715
|
-
* @request DELETE:/v1/
|
|
3857
|
+
* @summary Soft Delete B2C users
|
|
3858
|
+
* @request DELETE:/v1/users/b2c
|
|
3716
3859
|
* @secure
|
|
3717
3860
|
*/
|
|
3718
|
-
deleteMany(
|
|
3861
|
+
deleteMany(deleteB2CUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3719
3862
|
/**
|
|
3720
|
-
* @description Get
|
|
3721
|
-
* @tags
|
|
3722
|
-
* @name
|
|
3723
|
-
* @summary Get
|
|
3724
|
-
* @request
|
|
3863
|
+
* @description Get B2C User by id
|
|
3864
|
+
* @tags b2c_users
|
|
3865
|
+
* @name GetById
|
|
3866
|
+
* @summary Get B2C User by id
|
|
3867
|
+
* @request GET:/v1/users/b2c/{id}
|
|
3725
3868
|
* @secure
|
|
3726
3869
|
*/
|
|
3727
|
-
|
|
3870
|
+
getById(id: number, headers?: {
|
|
3871
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3872
|
+
'X-Accept'?: string;
|
|
3873
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3728
3874
|
/**
|
|
3729
|
-
* @description
|
|
3730
|
-
* @tags
|
|
3731
|
-
* @name
|
|
3732
|
-
* @summary
|
|
3733
|
-
* @request
|
|
3875
|
+
* @description Update B2C User
|
|
3876
|
+
* @tags b2c_users
|
|
3877
|
+
* @name Update
|
|
3878
|
+
* @summary Update B2C User
|
|
3879
|
+
* @request PUT:/v1/users/b2c/{id}
|
|
3734
3880
|
* @secure
|
|
3735
3881
|
*/
|
|
3736
|
-
|
|
3882
|
+
update(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
|
|
3883
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3884
|
+
'X-Accept'?: string;
|
|
3885
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3737
3886
|
/**
|
|
3738
|
-
* @description Update
|
|
3739
|
-
* @tags
|
|
3740
|
-
* @name
|
|
3741
|
-
* @summary Update
|
|
3742
|
-
* @request
|
|
3887
|
+
* @description Partial Update B2C User
|
|
3888
|
+
* @tags b2c_users
|
|
3889
|
+
* @name PartialUpdate
|
|
3890
|
+
* @summary Partial Update B2C User
|
|
3891
|
+
* @request PATCH:/v1/users/b2c/{id}
|
|
3743
3892
|
* @secure
|
|
3744
3893
|
*/
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3894
|
+
partialUpdate(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
|
|
3895
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3896
|
+
'X-Accept'?: string;
|
|
3897
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3750
3898
|
/**
|
|
3751
|
-
* @description
|
|
3752
|
-
* @tags
|
|
3753
|
-
* @name
|
|
3754
|
-
* @summary
|
|
3755
|
-
* @request
|
|
3899
|
+
* @description Generate B2C User PDF
|
|
3900
|
+
* @tags b2c_users
|
|
3901
|
+
* @name GenerateAsPdf
|
|
3902
|
+
* @summary Generate B2C User PDF
|
|
3903
|
+
* @request POST:/v1/users/b2c/{id}/generate-as-pdf
|
|
3756
3904
|
* @secure
|
|
3757
3905
|
*/
|
|
3758
|
-
|
|
3906
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
3759
3907
|
/**
|
|
3760
|
-
* @description
|
|
3761
|
-
* @tags
|
|
3908
|
+
* @description Change B2C User status
|
|
3909
|
+
* @tags b2c_users
|
|
3910
|
+
* @name ChangeStatus
|
|
3911
|
+
* @summary Change B2C User status
|
|
3912
|
+
* @request PATCH:/v1/users/b2c/{id}/status
|
|
3913
|
+
* @secure
|
|
3914
|
+
*/
|
|
3915
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3916
|
+
/**
|
|
3917
|
+
* @description Get B2C users with pagination
|
|
3918
|
+
* @tags b2c_users
|
|
3762
3919
|
* @name Get
|
|
3763
|
-
* @summary Get
|
|
3764
|
-
* @request POST:/
|
|
3920
|
+
* @summary Get B2C users with pagination
|
|
3921
|
+
* @request POST:/v2/users/b2c/list
|
|
3765
3922
|
* @secure
|
|
3766
3923
|
*/
|
|
3767
|
-
get(
|
|
3924
|
+
get(getB2CUsers: UmaGetB2CUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2CUserSerializer, HandleError>>;
|
|
3768
3925
|
}
|
|
3769
3926
|
export class UserDetails<HandleError extends boolean = boolean> {
|
|
3770
3927
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3819,27 +3976,81 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
3819
3976
|
*/
|
|
3820
3977
|
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3821
3978
|
}
|
|
3822
|
-
export class
|
|
3979
|
+
export class SystemUsers<HandleError extends boolean = boolean> {
|
|
3823
3980
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3824
3981
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3825
3982
|
/**
|
|
3826
|
-
* @description
|
|
3827
|
-
* @tags
|
|
3828
|
-
* @name
|
|
3829
|
-
* @summary
|
|
3830
|
-
* @request POST:/v1/
|
|
3983
|
+
* @description Create System User
|
|
3984
|
+
* @tags system_users
|
|
3985
|
+
* @name Create
|
|
3986
|
+
* @summary Create System User
|
|
3987
|
+
* @request POST:/v1/users/system
|
|
3831
3988
|
* @secure
|
|
3832
3989
|
*/
|
|
3833
|
-
|
|
3990
|
+
create(createSystemUser: UmaCreateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
3834
3991
|
/**
|
|
3835
|
-
* @description
|
|
3836
|
-
* @tags
|
|
3837
|
-
* @name
|
|
3838
|
-
* @summary
|
|
3839
|
-
* @request
|
|
3992
|
+
* @description Delete System user by id
|
|
3993
|
+
* @tags system_users
|
|
3994
|
+
* @name DeleteMany
|
|
3995
|
+
* @summary Delete System user by id
|
|
3996
|
+
* @request DELETE:/v1/users/system
|
|
3840
3997
|
* @secure
|
|
3841
3998
|
*/
|
|
3842
|
-
|
|
3999
|
+
deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4000
|
+
/**
|
|
4001
|
+
* @description Get System users with pagination
|
|
4002
|
+
* @tags System_users
|
|
4003
|
+
* @name Get
|
|
4004
|
+
* @summary Get System users with pagination
|
|
4005
|
+
* @request POST:/v1/users/system/list
|
|
4006
|
+
* @secure
|
|
4007
|
+
*/
|
|
4008
|
+
get(getSystemUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError>>;
|
|
4009
|
+
/**
|
|
4010
|
+
* @description Get System User by id
|
|
4011
|
+
* @tags system_users
|
|
4012
|
+
* @name GetById
|
|
4013
|
+
* @summary Get System User by id
|
|
4014
|
+
* @request GET:/v1/users/system/{id}
|
|
4015
|
+
* @secure
|
|
4016
|
+
*/
|
|
4017
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4018
|
+
/**
|
|
4019
|
+
* @description Update System User
|
|
4020
|
+
* @tags system_users
|
|
4021
|
+
* @name Update
|
|
4022
|
+
* @summary Update System User
|
|
4023
|
+
* @request PUT:/v1/users/system/{id}
|
|
4024
|
+
* @secure
|
|
4025
|
+
*/
|
|
4026
|
+
update(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4027
|
+
/**
|
|
4028
|
+
* @description Partial Update System User
|
|
4029
|
+
* @tags system_users
|
|
4030
|
+
* @name PartialUpdate
|
|
4031
|
+
* @summary Partial Update System User
|
|
4032
|
+
* @request PATCH:/v1/users/system/{id}
|
|
4033
|
+
* @secure
|
|
4034
|
+
*/
|
|
4035
|
+
partialUpdate(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4036
|
+
/**
|
|
4037
|
+
* @description Generate System User PDF
|
|
4038
|
+
* @tags system_users
|
|
4039
|
+
* @name GenerateAsPdf
|
|
4040
|
+
* @summary Generate System User PDF
|
|
4041
|
+
* @request POST:/v1/users/system/{id}/generate-as-pdf
|
|
4042
|
+
* @secure
|
|
4043
|
+
*/
|
|
4044
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4045
|
+
/**
|
|
4046
|
+
* @description Change System User status
|
|
4047
|
+
* @tags system_users
|
|
4048
|
+
* @name ChangeStatus
|
|
4049
|
+
* @summary Change System User status
|
|
4050
|
+
* @request PATCH:/v1/users/system/{id}/status
|
|
4051
|
+
* @secure
|
|
4052
|
+
*/
|
|
4053
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3843
4054
|
}
|
|
3844
4055
|
export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
3845
4056
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3890,6 +4101,158 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
3890
4101
|
*/
|
|
3891
4102
|
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
3892
4103
|
}
|
|
4104
|
+
export class Branches<HandleError extends boolean = boolean> {
|
|
4105
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
4106
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
4107
|
+
/**
|
|
4108
|
+
* @description Create Branch
|
|
4109
|
+
* @tags branches
|
|
4110
|
+
* @name Create
|
|
4111
|
+
* @summary Create Branch
|
|
4112
|
+
* @request POST:/v1/branches
|
|
4113
|
+
* @secure
|
|
4114
|
+
*/
|
|
4115
|
+
create(createBranch: UmaCreateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
4116
|
+
/**
|
|
4117
|
+
* @description Delete Branch by id
|
|
4118
|
+
* @tags branches
|
|
4119
|
+
* @name DeleteMany
|
|
4120
|
+
* @summary Delete Branch by id
|
|
4121
|
+
* @request DELETE:/v1/branches
|
|
4122
|
+
* @secure
|
|
4123
|
+
*/
|
|
4124
|
+
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4125
|
+
/**
|
|
4126
|
+
* @description Get Branch by id
|
|
4127
|
+
* @tags branches
|
|
4128
|
+
* @name GetById
|
|
4129
|
+
* @summary Get Branch by id
|
|
4130
|
+
* @request GET:/v1/branches/{id}
|
|
4131
|
+
* @secure
|
|
4132
|
+
*/
|
|
4133
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
4134
|
+
/**
|
|
4135
|
+
* @description Update Branch
|
|
4136
|
+
* @tags branches
|
|
4137
|
+
* @name Update
|
|
4138
|
+
* @summary Update Branch
|
|
4139
|
+
* @request PUT:/v1/branches/{id}
|
|
4140
|
+
* @secure
|
|
4141
|
+
*/
|
|
4142
|
+
update(id: number, updateBranch: UmaUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
4143
|
+
/**
|
|
4144
|
+
* @description Partial Update Branch
|
|
4145
|
+
* @tags branches
|
|
4146
|
+
* @name UpdateById
|
|
4147
|
+
* @summary Partial Update Branch
|
|
4148
|
+
* @request PATCH:/v1/branches/{id}
|
|
4149
|
+
* @originalName update
|
|
4150
|
+
* @duplicate
|
|
4151
|
+
* @secure
|
|
4152
|
+
*/
|
|
4153
|
+
updateById(id: number, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
4154
|
+
/**
|
|
4155
|
+
* @description Get Branches with pagination
|
|
4156
|
+
* @tags branches
|
|
4157
|
+
* @name Get
|
|
4158
|
+
* @summary Get Branches with pagination
|
|
4159
|
+
* @request POST:/v2/branches/list
|
|
4160
|
+
* @secure
|
|
4161
|
+
*/
|
|
4162
|
+
get(getBranches: UmaGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBranchesListSerializer, HandleError>>;
|
|
4163
|
+
}
|
|
4164
|
+
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
4165
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
4166
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
4167
|
+
/**
|
|
4168
|
+
* @description Set B2C User Settings (test)
|
|
4169
|
+
* @tags b2c_user_settings
|
|
4170
|
+
* @name SetUserSettings
|
|
4171
|
+
* @summary Set B2C User Settings
|
|
4172
|
+
* @request PUT:/v1/b2c/settings
|
|
4173
|
+
* @secure
|
|
4174
|
+
*/
|
|
4175
|
+
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
4176
|
+
/** Branch id/slug/code, with which user should work */
|
|
4177
|
+
BRANCH?: string;
|
|
4178
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
4179
|
+
/**
|
|
4180
|
+
* @description Send B2C user contact change code
|
|
4181
|
+
* @tags b2c_user_settings
|
|
4182
|
+
* @name SendContactChangeCode
|
|
4183
|
+
* @summary Send B2C user contact change code
|
|
4184
|
+
* @request POST:/v1/b2c/settings/codes
|
|
4185
|
+
* @secure
|
|
4186
|
+
*/
|
|
4187
|
+
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
4188
|
+
/** Branch id/slug/code, with which user should work */
|
|
4189
|
+
BRANCH?: string;
|
|
4190
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4191
|
+
/**
|
|
4192
|
+
* @description Get Available B2C Branch Mfa Options
|
|
4193
|
+
* @tags b2c_user_settings
|
|
4194
|
+
* @name AvailableMfaOptions
|
|
4195
|
+
* @summary Get Available B2C Branch Mfa Options
|
|
4196
|
+
* @request GET:/v1/b2c/settings/mfa-options
|
|
4197
|
+
* @secure
|
|
4198
|
+
*/
|
|
4199
|
+
availableMfaOptions(headers?: {
|
|
4200
|
+
/** Branch id/slug/code, with which user should work */
|
|
4201
|
+
BRANCH?: string;
|
|
4202
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
4203
|
+
/**
|
|
4204
|
+
* @description Delete B2C OAuth2 Bindings
|
|
4205
|
+
* @tags b2c_user_settings
|
|
4206
|
+
* @name DeleteManyOAuthBindings
|
|
4207
|
+
* @summary Delete B2C OAuth2 Bindings
|
|
4208
|
+
* @request DELETE:/v1/b2c/settings/oauth-links
|
|
4209
|
+
* @secure
|
|
4210
|
+
*/
|
|
4211
|
+
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4212
|
+
/**
|
|
4213
|
+
* @description Finish Apple OAuth2 Profile Linking
|
|
4214
|
+
* @tags b2c_user_settings
|
|
4215
|
+
* @name FinishAppleProfileLinking
|
|
4216
|
+
* @summary Finish Apple OAuth2 Profile Linking
|
|
4217
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
4218
|
+
*/
|
|
4219
|
+
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4220
|
+
/**
|
|
4221
|
+
* @description Initialize Apple OAuth2 Profile Linking
|
|
4222
|
+
* @tags b2c_user_settings
|
|
4223
|
+
* @name InitAppleProfileLinking
|
|
4224
|
+
* @summary Initialize Apple OAuth2 Profile Linking
|
|
4225
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/start
|
|
4226
|
+
* @secure
|
|
4227
|
+
*/
|
|
4228
|
+
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
4229
|
+
/**
|
|
4230
|
+
* @description Finish Google OAuth2 Profile Linking
|
|
4231
|
+
* @tags b2c_user_settings
|
|
4232
|
+
* @name FinishGoogleProfileLinking
|
|
4233
|
+
* @summary Finish Google OAuth2 Profile Linking
|
|
4234
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
4235
|
+
*/
|
|
4236
|
+
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4237
|
+
/**
|
|
4238
|
+
* @description Initialize Google OAuth2 Profile Linking
|
|
4239
|
+
* @tags b2c_user_settings
|
|
4240
|
+
* @name InitGoogleProfileLinking
|
|
4241
|
+
* @summary Initialize Google OAuth2 Profile Linking
|
|
4242
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/start
|
|
4243
|
+
* @secure
|
|
4244
|
+
*/
|
|
4245
|
+
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
4246
|
+
/**
|
|
4247
|
+
* @description Get B2C OAuth2 Bindings with pagination. Available sort fields are `id, name, app_type, b2b_user_id, b2c_user_id, provider_user_id, created_at, updated_at`. Search is performed by `name, app_type, provider_user_id` fields
|
|
4248
|
+
* @tags b2c_user_settings
|
|
4249
|
+
* @name GetOAuthBindings
|
|
4250
|
+
* @summary Get B2C OAuth2 Bindings with pagination
|
|
4251
|
+
* @request POST:/v1/b2c/settings/oauth-links/list
|
|
4252
|
+
* @secure
|
|
4253
|
+
*/
|
|
4254
|
+
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError>>;
|
|
4255
|
+
}
|
|
3893
4256
|
declare class _B2BAuth1<HandleError extends boolean = boolean> extends B2BAuth<HandleError> {
|
|
3894
4257
|
/**
|
|
3895
4258
|
* @description Login B2B user by email/password.
|
|
@@ -3922,6 +4285,7 @@ export interface UmaClientConfig<HandleError extends boolean = boolean> extends
|
|
|
3922
4285
|
export class UmaApi<HandleError extends boolean = false> extends BaseApi<HandleError, JwtClient<HandleError>> {
|
|
3923
4286
|
readonly config: UmaClientConfig<HandleError>;
|
|
3924
4287
|
actionLog: ActionLogs<HandleError>;
|
|
4288
|
+
allowedOrigins: AllowedOrigins<HandleError>;
|
|
3925
4289
|
apiKeys: ApiKeys<HandleError>;
|
|
3926
4290
|
authApps: AuthApps<HandleError>;
|
|
3927
4291
|
authForms: AuthForms<HandleError>;
|
|
@@ -3933,12 +4297,12 @@ export class UmaApi<HandleError extends boolean = false> extends BaseApi<HandleE
|
|
|
3933
4297
|
b2cUserSettings: B2CUserSettings<HandleError>;
|
|
3934
4298
|
branches: Branches<HandleError>;
|
|
3935
4299
|
countries: Countries<HandleError>;
|
|
4300
|
+
emailDomains: EmailDomains<HandleError>;
|
|
3936
4301
|
endpoints: Endpoints<HandleError>;
|
|
3937
4302
|
fims: Firms<HandleError>;
|
|
3938
4303
|
identityProviders: IdentityProviders<HandleError>;
|
|
3939
4304
|
locales: Locales<HandleError>;
|
|
3940
4305
|
microservices: Microservices<HandleError>;
|
|
3941
|
-
migrationUtils: MigrationUtils<HandleError>;
|
|
3942
4306
|
permissions: Permissions<HandleError>;
|
|
3943
4307
|
publicSettings: PublicSettings<HandleError>;
|
|
3944
4308
|
roles: Roles<HandleError>;
|