@orbis-systems/orbis-api-clients 0.8.6 → 0.8.8
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 +98 -65
- 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 +6152 -6152
- 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/index.d.ts.map +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/insight/index.d.ts +1433 -1433
- 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 +104 -104
- 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 +3862 -3862
- 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 +928 -817
- 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 +155 -154
package/dist/uma/index.d.ts
CHANGED
|
@@ -79,6 +79,197 @@ declare class JwtClient<HandleError extends boolean = boolean, AuthData extends
|
|
|
79
79
|
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
80
80
|
protected renewTokens(): Promise<AuthData>;
|
|
81
81
|
}
|
|
82
|
+
export enum UmaUserDetailsGenerationType {
|
|
83
|
+
ClaimsOnlyGeneration = "claims_only",
|
|
84
|
+
FullUserDataGeneration = "full_user_data",
|
|
85
|
+
AllUserDataGeneration = "all_user_data"
|
|
86
|
+
}
|
|
87
|
+
export enum UmaTenantSettingLabel {
|
|
88
|
+
StorePasswordHistoryForDays = "store_password_history_for_days",
|
|
89
|
+
ResetPasswordIfUserInactiveForDays = "reset_password_if_user_inactive_for_days",
|
|
90
|
+
PeriodicallyResetPasswordAfterDays = "periodically_reset_password_after_days"
|
|
91
|
+
}
|
|
92
|
+
export enum UmaUserType {
|
|
93
|
+
B2BUserType = "b2b",
|
|
94
|
+
SystemUserType = "system",
|
|
95
|
+
B2CUserType = "b2c"
|
|
96
|
+
}
|
|
97
|
+
export enum UmaUserStatusChangeReasonType {
|
|
98
|
+
BlockUserStatusChangeReasonType = "block",
|
|
99
|
+
UnblockUserStatusChangeReasonType = "unblock",
|
|
100
|
+
RestoreUserStatusChangeReasonType = "restore",
|
|
101
|
+
DeleteUserStatusChangeReasonType = "delete"
|
|
102
|
+
}
|
|
103
|
+
export enum UmaUserStatus {
|
|
104
|
+
ActiveUserStatus = "active",
|
|
105
|
+
BlockedUserStatus = "blocked",
|
|
106
|
+
DeletedUserStatus = "deleted"
|
|
107
|
+
}
|
|
108
|
+
export enum UmaPermissionAG {
|
|
109
|
+
ChiefadminPermissionAG = "chiefadmin",
|
|
110
|
+
SuperadminPermissionAG = "superadmin",
|
|
111
|
+
B2BOnlyPermissionAG = "b2b_only",
|
|
112
|
+
RegularPermissionAG = "regular"
|
|
113
|
+
}
|
|
114
|
+
export enum UmaEntityName {
|
|
115
|
+
B2BUsersEntity = "b2b_users",
|
|
116
|
+
B2CUsersEntity = "b2c_users",
|
|
117
|
+
RolesEntity = "roles",
|
|
118
|
+
RoleTypesEntity = "role_types",
|
|
119
|
+
PermissionsEntity = "permissions",
|
|
120
|
+
MicroservicesEntity = "microservices",
|
|
121
|
+
IdentityProvidersEntity = "identity_providers",
|
|
122
|
+
FirmsEntity = "firms",
|
|
123
|
+
EndpointsEntity = "endpoints",
|
|
124
|
+
BranchesEntity = "branches",
|
|
125
|
+
APIKeysEntity = "api_keys"
|
|
126
|
+
}
|
|
127
|
+
export enum UmaEntityAccessType {
|
|
128
|
+
GranularEntityAccessType = "granular",
|
|
129
|
+
HighLevelEntityAccessType = "high-level"
|
|
130
|
+
}
|
|
131
|
+
export enum UmaEndpointType {
|
|
132
|
+
RegularEndpoint = "regular",
|
|
133
|
+
DisplayOnlyEndpoint = "display_only"
|
|
134
|
+
}
|
|
135
|
+
export enum UmaAuthProviderAppType {
|
|
136
|
+
GoogleOAuth2Provider = "google-oauth2",
|
|
137
|
+
AppleIDOAuth2Provider = "apple-id"
|
|
138
|
+
}
|
|
139
|
+
export enum UmaActionType {
|
|
140
|
+
CreateAction = "create",
|
|
141
|
+
UpdateAction = "update",
|
|
142
|
+
DeleteAction = "delete",
|
|
143
|
+
ResetPasswordAction = "reset_password",
|
|
144
|
+
RegistrationAction = "registration",
|
|
145
|
+
SettingsChangeAction = "settings_change",
|
|
146
|
+
AvatarChangeAction = "avatar_change",
|
|
147
|
+
RateLimitExceededAction = "rate_limit_exceeded",
|
|
148
|
+
UserExpiredAction = "user_expired"
|
|
149
|
+
}
|
|
150
|
+
export enum UmaActionTrigger {
|
|
151
|
+
B2BUserTrigger = "b2b_user",
|
|
152
|
+
OwnerUserTrigger = "owner_user",
|
|
153
|
+
RegularMigrationsTrigger = "regular_migrations",
|
|
154
|
+
DataMigrationsTrigger = "data_migrations",
|
|
155
|
+
RateLimitTrigger = "rate_limit",
|
|
156
|
+
CronTrigger = "cron"
|
|
157
|
+
}
|
|
158
|
+
export enum UmaOption {
|
|
159
|
+
SmsMfaOption = "sms",
|
|
160
|
+
EmailMfaOption = "email",
|
|
161
|
+
VoiceMfaOption = "voice",
|
|
162
|
+
WebAuthnMfaOption = "webauthn",
|
|
163
|
+
YubicoOTPMfaOption = "yubico_otp",
|
|
164
|
+
TOTPMfaOption = "totp"
|
|
165
|
+
}
|
|
166
|
+
export enum UmaErrorCode {
|
|
167
|
+
JSONValidationErr = 4000,
|
|
168
|
+
JSONReadErr = 4001,
|
|
169
|
+
JSONParseErr = 4002,
|
|
170
|
+
ForbiddenErr = 4003,
|
|
171
|
+
ForbiddenDueLimit = 4030,
|
|
172
|
+
RecordNotFoundErr = 4004,
|
|
173
|
+
RelationNotFoundErr = 4041,
|
|
174
|
+
RecordAlreadyExistsErr = 4005,
|
|
175
|
+
ImageValidationErr = 4006,
|
|
176
|
+
InappropriateImageErr = 4007,
|
|
177
|
+
FaceNotFoundOnImageErr = 4008,
|
|
178
|
+
UnauthorizedErr = 4010,
|
|
179
|
+
TokenRevokedErr = 4012,
|
|
180
|
+
TokenNotActiveErr = 4013,
|
|
181
|
+
EmailNotVerifiedErr = 4015,
|
|
182
|
+
TokenParsingErr = 4016,
|
|
183
|
+
PhoneNotVerifiedErr = 4017,
|
|
184
|
+
UUIDParseErr = 4026,
|
|
185
|
+
InvalidEmailOrPasswordOrTypeErr = 4028,
|
|
186
|
+
UserDeletedErr = 4029,
|
|
187
|
+
InvalidMfaCodeErr = 4128,
|
|
188
|
+
MfaRequiredErr = 4228,
|
|
189
|
+
TokenVerificationErr = 4328,
|
|
190
|
+
InvalidAPIKeyOrSecretErr = 4428,
|
|
191
|
+
MfaAddingNotAllowedErr = 4528,
|
|
192
|
+
BranchRequestNotAllowed = 4103,
|
|
193
|
+
ForbiddenForUserTypeErr = 4203,
|
|
194
|
+
SecondForbiddenErr = 4031,
|
|
195
|
+
ThirdForbiddenErr = 4032,
|
|
196
|
+
FourthForbiddenErr = 4033,
|
|
197
|
+
FifthForbiddenErr = 4034,
|
|
198
|
+
EntitiesChoiceNotAllowed = 4303,
|
|
199
|
+
BodyParsingErr = 4403,
|
|
200
|
+
UpdateOfOldEntityStateErr = 4503,
|
|
201
|
+
ChiefadminMutationErr = 4603,
|
|
202
|
+
ChildEntitiesExistErr = 4703,
|
|
203
|
+
TenantActionForbiddenErr = 4803,
|
|
204
|
+
RBACManipulationErr = 4903,
|
|
205
|
+
YubicoMaxKeysLimitReachedErr = 4113,
|
|
206
|
+
ConflictErr = 4090,
|
|
207
|
+
SecondFieldConflictErr = 4091,
|
|
208
|
+
ThirdFieldConflictErr = 4092,
|
|
209
|
+
FourthFieldConflictErr = 4093,
|
|
210
|
+
FifthFieldConflictErr = 4094,
|
|
211
|
+
SixthFieldConflictErr = 4095,
|
|
212
|
+
SeventhFieldConflictErr = 4096,
|
|
213
|
+
UpdateDeletedUserErr = 4097,
|
|
214
|
+
GoneErr = 4100,
|
|
215
|
+
SecondGoneErr = 4101,
|
|
216
|
+
UnprocessableEntity = 4222,
|
|
217
|
+
TooEarlyDuplicateRequest = 4250,
|
|
218
|
+
RateLimitErr = 4291,
|
|
219
|
+
ForbiddenByFirmsStatusErr = 4292,
|
|
220
|
+
NotAcceptableError = 4600,
|
|
221
|
+
InternalServerErr = 5000,
|
|
222
|
+
InvalidRequest = 6000
|
|
223
|
+
}
|
|
224
|
+
export enum UmaTokenType {
|
|
225
|
+
RefreshToken = "refresh",
|
|
226
|
+
AccessToken = "access"
|
|
227
|
+
}
|
|
228
|
+
export enum UmaTokenOrigin {
|
|
229
|
+
APIKeyTokenOrigin = "api_key",
|
|
230
|
+
UserTokenOrigin = "user"
|
|
231
|
+
}
|
|
232
|
+
export enum UmaTokenGenerationMode {
|
|
233
|
+
StandardTokenGenerationMode = "standard",
|
|
234
|
+
MinifiedTokenGenerationMode = "minified"
|
|
235
|
+
}
|
|
236
|
+
export enum UmaResetPasswordType {
|
|
237
|
+
PasswordResetByContactCode = "by_contact_code",
|
|
238
|
+
PasswordResetByEmailLink = "by_email_link"
|
|
239
|
+
}
|
|
240
|
+
export enum UmaFetchListMode {
|
|
241
|
+
FetchAllFetchListMode = "fetch_all",
|
|
242
|
+
OnlyCountFetchListMode = "only_count",
|
|
243
|
+
OnlyFetchRecordsFetchListMode = "only_fetch_records"
|
|
244
|
+
}
|
|
245
|
+
export enum UmaAuthUserType {
|
|
246
|
+
AllAuthUserType = "all",
|
|
247
|
+
B2BAuthUserType = "b2b",
|
|
248
|
+
B2CAuthUserType = "b2c"
|
|
249
|
+
}
|
|
250
|
+
export enum UmaAuthAppType {
|
|
251
|
+
EmailCodeAuthAppType = "email_code",
|
|
252
|
+
SmsCodeAuthAppType = "sms_code",
|
|
253
|
+
YubicoOTPAuthAppType = "yubico_otp",
|
|
254
|
+
WebAuthnAuthAppType = "webauthn",
|
|
255
|
+
TOTPAuthAppType = "totp"
|
|
256
|
+
}
|
|
257
|
+
export enum UmaAccessControlProhibitionReasonType {
|
|
258
|
+
OneOfGroupRoleCheckFailedProhibition = "one_of_group_role_check_failed",
|
|
259
|
+
TargetUserIsChiefadminProhibition = "target_user_is_chiefadmin",
|
|
260
|
+
CannotAssignNonRegularPermissionsToB2CUserProhibition = "cannot_assign_non_regular_permissions_to_b2c_user",
|
|
261
|
+
SuperadminMutationNotAllowedProhibition = "superadmin_mutation_not_allowed",
|
|
262
|
+
OnlyChiefadminCanMutationSuperadminEditorsProhibition = "only_chiefadmin_can_mutate_superadmin_editors",
|
|
263
|
+
UserLacksPermissionsProhibition = "user_lacks_permissions",
|
|
264
|
+
UserLacksAccessToTargetFirmsProhibition = "user_lacks_access_to_target_firms",
|
|
265
|
+
UserLacksAdminAccessToTargetFirmsProhibition = "user_lacks_admin_access_to_target_firms",
|
|
266
|
+
TargetLacksBranchesForNonAdminFirmsProhibition = "target_lacks_branches_for_non_admin_firms",
|
|
267
|
+
UserLacksAccessToTargetBranchesProhibition = "user_lacks_access_to_target_branches",
|
|
268
|
+
TargetHasAdminFirmBranchesProhibition = "target_has_admin_firm_branches",
|
|
269
|
+
TargetUserIsDeletedProhibition = "target_user_is_deleted",
|
|
270
|
+
UserLacksUpdatePermissionProhibition = "user_lacks_update_permission",
|
|
271
|
+
UserLacksDeletePermissionProhibition = "user_lacks_delete_permission"
|
|
272
|
+
}
|
|
82
273
|
export interface UmaGetActionLogsSerializer {
|
|
83
274
|
action_logs: UmaActionLogSerializer[];
|
|
84
275
|
current_page: number;
|
|
@@ -86,6 +277,15 @@ export interface UmaGetActionLogsSerializer {
|
|
|
86
277
|
status: number;
|
|
87
278
|
total_records: number;
|
|
88
279
|
}
|
|
280
|
+
export interface UmaAdminAPIKeysMutationSerializer {
|
|
281
|
+
api_keys: UmaAdminAPIKeySerializer;
|
|
282
|
+
status: number;
|
|
283
|
+
}
|
|
284
|
+
export interface UmaGetAdminAPIKeysSerializer {
|
|
285
|
+
api_keys: UmaAdminAPIKeySerializer[];
|
|
286
|
+
pagination: UmaPaginationSerializer;
|
|
287
|
+
status: number;
|
|
288
|
+
}
|
|
89
289
|
export interface UmaAllowedOriginMutationSerializer {
|
|
90
290
|
allowed_origin: UmaAllowedOriginSerializer;
|
|
91
291
|
status: number;
|
|
@@ -243,36 +443,8 @@ export interface UmaAccessControlProhibitionReason {
|
|
|
243
443
|
description?: string;
|
|
244
444
|
type?: UmaAccessControlProhibitionReasonType;
|
|
245
445
|
}
|
|
246
|
-
export enum UmaAccessControlProhibitionReasonType {
|
|
247
|
-
OneOfGroupRoleCheckFailedProhibition = "one_of_group_role_check_failed",
|
|
248
|
-
TargetUserIsChiefadminProhibition = "target_user_is_chiefadmin",
|
|
249
|
-
CannotAssignNonRegularPermissionsToB2CUserProhibition = "cannot_assign_non_regular_permissions_to_b2c_user",
|
|
250
|
-
SuperadminMutationNotAllowedProhibition = "superadmin_mutation_not_allowed",
|
|
251
|
-
OnlyChiefadminCanMutationSuperadminEditorsProhibition = "only_chiefadmin_can_mutate_superadmin_editors",
|
|
252
|
-
UserLacksPermissionsProhibition = "user_lacks_permissions",
|
|
253
|
-
UserLacksAccessToTargetFirmsProhibition = "user_lacks_access_to_target_firms",
|
|
254
|
-
UserLacksAdminAccessToTargetFirmsProhibition = "user_lacks_admin_access_to_target_firms",
|
|
255
|
-
TargetLacksBranchesForNonAdminFirmsProhibition = "target_lacks_branches_for_non_admin_firms",
|
|
256
|
-
UserLacksAccessToTargetBranchesProhibition = "user_lacks_access_to_target_branches",
|
|
257
|
-
TargetHasAdminFirmBranchesProhibition = "target_has_admin_firm_branches",
|
|
258
|
-
TargetUserIsDeletedProhibition = "target_user_is_deleted",
|
|
259
|
-
UserLacksUpdatePermissionProhibition = "user_lacks_update_permission",
|
|
260
|
-
UserLacksDeletePermissionProhibition = "user_lacks_delete_permission"
|
|
261
|
-
}
|
|
262
|
-
export enum UmaAuthAppType {
|
|
263
|
-
EmailCodeAuthAppType = "email_code",
|
|
264
|
-
SmsCodeAuthAppType = "sms_code",
|
|
265
|
-
YubicoOTPAuthAppType = "yubico_otp",
|
|
266
|
-
WebAuthnAuthAppType = "webauthn",
|
|
267
|
-
TOTPAuthAppType = "totp"
|
|
268
|
-
}
|
|
269
|
-
export enum UmaAuthUserType {
|
|
270
|
-
AllAuthUserType = "all",
|
|
271
|
-
B2BAuthUserType = "b2b",
|
|
272
|
-
B2CAuthUserType = "b2c"
|
|
273
|
-
}
|
|
274
446
|
export interface UmaClaims {
|
|
275
|
-
|
|
447
|
+
"2fa_on"?: boolean;
|
|
276
448
|
admin_of_firm_ids?: number[];
|
|
277
449
|
aud?: string;
|
|
278
450
|
branch_ids?: number[];
|
|
@@ -296,35 +468,14 @@ export interface UmaClaims {
|
|
|
296
468
|
t_type?: UmaTokenType;
|
|
297
469
|
u_type?: UmaAuthUserType;
|
|
298
470
|
}
|
|
299
|
-
export enum UmaFetchListMode {
|
|
300
|
-
FetchAllFetchListMode = "fetch_all",
|
|
301
|
-
OnlyCountFetchListMode = "only_count",
|
|
302
|
-
OnlyFetchRecordsFetchListMode = "only_fetch_records"
|
|
303
|
-
}
|
|
304
471
|
export interface UmaPaginationDto {
|
|
305
472
|
page?: number;
|
|
306
473
|
size?: number;
|
|
307
474
|
}
|
|
308
|
-
export enum UmaResetPasswordType {
|
|
309
|
-
PasswordResetByContactCode = "by_contact_code",
|
|
310
|
-
PasswordResetByEmailLink = "by_email_link"
|
|
311
|
-
}
|
|
312
475
|
export interface UmaSortDto {
|
|
313
476
|
direction?: string;
|
|
314
477
|
field?: string;
|
|
315
478
|
}
|
|
316
|
-
export enum UmaTokenGenerationMode {
|
|
317
|
-
StandardTokenGenerationMode = "standard",
|
|
318
|
-
MinifiedTokenGenerationMode = "minified"
|
|
319
|
-
}
|
|
320
|
-
export enum UmaTokenOrigin {
|
|
321
|
-
APIKeyTokenOrigin = "api_key",
|
|
322
|
-
UserTokenOrigin = "user"
|
|
323
|
-
}
|
|
324
|
-
export enum UmaTokenType {
|
|
325
|
-
RefreshToken = "refresh",
|
|
326
|
-
AccessToken = "access"
|
|
327
|
-
}
|
|
328
479
|
export interface UmaGetCountriesSerializer {
|
|
329
480
|
countries: UmaCountrySerializer[];
|
|
330
481
|
status: number;
|
|
@@ -371,64 +522,6 @@ export interface UmaError {
|
|
|
371
522
|
field?: string;
|
|
372
523
|
request_id?: string;
|
|
373
524
|
}
|
|
374
|
-
export enum UmaErrorCode {
|
|
375
|
-
JSONValidationErr = 4000,
|
|
376
|
-
JSONReadErr = 4001,
|
|
377
|
-
JSONParseErr = 4002,
|
|
378
|
-
ForbiddenErr = 4003,
|
|
379
|
-
ForbiddenDueLimit = 4030,
|
|
380
|
-
RecordNotFoundErr = 4004,
|
|
381
|
-
RelationNotFoundErr = 4041,
|
|
382
|
-
RecordAlreadyExistsErr = 4005,
|
|
383
|
-
ImageValidationErr = 4006,
|
|
384
|
-
InappropriateImageErr = 4007,
|
|
385
|
-
FaceNotFoundOnImageErr = 4008,
|
|
386
|
-
UnauthorizedErr = 4010,
|
|
387
|
-
TokenRevokedErr = 4012,
|
|
388
|
-
TokenNotActiveErr = 4013,
|
|
389
|
-
EmailNotVerifiedErr = 4015,
|
|
390
|
-
TokenParsingErr = 4016,
|
|
391
|
-
PhoneNotVerifiedErr = 4017,
|
|
392
|
-
UUIDParseErr = 4026,
|
|
393
|
-
InvalidEmailOrPasswordOrTypeErr = 4028,
|
|
394
|
-
UserDeletedErr = 4029,
|
|
395
|
-
InvalidMfaCodeErr = 4128,
|
|
396
|
-
MfaRequiredErr = 4228,
|
|
397
|
-
TokenVerificationErr = 4328,
|
|
398
|
-
InvalidAPIKeyOrSecretErr = 4428,
|
|
399
|
-
MfaAddingNotAllowedErr = 4528,
|
|
400
|
-
BranchRequestNotAllowed = 4103,
|
|
401
|
-
ForbiddenForUserTypeErr = 4203,
|
|
402
|
-
SecondForbiddenErr = 4031,
|
|
403
|
-
ThirdForbiddenErr = 4032,
|
|
404
|
-
FourthForbiddenErr = 4033,
|
|
405
|
-
FifthForbiddenErr = 4034,
|
|
406
|
-
EntitiesChoiceNotAllowed = 4303,
|
|
407
|
-
BodyParsingErr = 4403,
|
|
408
|
-
UpdateOfOldEntityStateErr = 4503,
|
|
409
|
-
ChiefadminMutationErr = 4603,
|
|
410
|
-
ChildEntitiesExistErr = 4703,
|
|
411
|
-
TenantActionForbiddenErr = 4803,
|
|
412
|
-
RBACManipulationErr = 4903,
|
|
413
|
-
YubicoMaxKeysLimitReachedErr = 4113,
|
|
414
|
-
ConflictErr = 4090,
|
|
415
|
-
SecondFieldConflictErr = 4091,
|
|
416
|
-
ThirdFieldConflictErr = 4092,
|
|
417
|
-
FourthFieldConflictErr = 4093,
|
|
418
|
-
FifthFieldConflictErr = 4094,
|
|
419
|
-
SixthFieldConflictErr = 4095,
|
|
420
|
-
SeventhFieldConflictErr = 4096,
|
|
421
|
-
UpdateDeletedUserErr = 4097,
|
|
422
|
-
GoneErr = 4100,
|
|
423
|
-
SecondGoneErr = 4101,
|
|
424
|
-
UnprocessableEntity = 4222,
|
|
425
|
-
TooEarlyDuplicateRequest = 4250,
|
|
426
|
-
RateLimitErr = 4291,
|
|
427
|
-
ForbiddenByFirmsStatusErr = 4292,
|
|
428
|
-
NotAcceptableError = 4600,
|
|
429
|
-
InternalServerErr = 5000,
|
|
430
|
-
InvalidRequest = 6000
|
|
431
|
-
}
|
|
432
525
|
export interface UmaErrorsSerializer {
|
|
433
526
|
errors: UmaError[];
|
|
434
527
|
}
|
|
@@ -451,14 +544,6 @@ export interface UmaLocaleSerializer {
|
|
|
451
544
|
/** @example "French" */
|
|
452
545
|
name: string;
|
|
453
546
|
}
|
|
454
|
-
export enum UmaOption {
|
|
455
|
-
SmsMfaOption = "sms",
|
|
456
|
-
EmailMfaOption = "email",
|
|
457
|
-
VoiceMfaOption = "voice",
|
|
458
|
-
WebAuthnMfaOption = "webauthn",
|
|
459
|
-
YubicoOTPMfaOption = "yubico_otp",
|
|
460
|
-
TOTPMfaOption = "totp"
|
|
461
|
-
}
|
|
462
547
|
export interface UmaGetMicroservicesListSerializer {
|
|
463
548
|
current_page: number;
|
|
464
549
|
microservices_list: UmaMicroserviceSerializer[];
|
|
@@ -481,76 +566,10 @@ export interface UmaPermissionMutationSerializer {
|
|
|
481
566
|
permission: UmaPermissionSerializer;
|
|
482
567
|
status: number;
|
|
483
568
|
}
|
|
484
|
-
export enum UmaActionTrigger {
|
|
485
|
-
B2BUserTrigger = "b2b_user",
|
|
486
|
-
OwnerUserTrigger = "owner_user",
|
|
487
|
-
RegularMigrationsTrigger = "regular_migrations",
|
|
488
|
-
DataMigrationsTrigger = "data_migrations",
|
|
489
|
-
RateLimitTrigger = "rate_limit",
|
|
490
|
-
CronTrigger = "cron"
|
|
491
|
-
}
|
|
492
|
-
export enum UmaActionType {
|
|
493
|
-
CreateAction = "create",
|
|
494
|
-
UpdateAction = "update",
|
|
495
|
-
DeleteAction = "delete",
|
|
496
|
-
ResetPasswordAction = "reset_password",
|
|
497
|
-
RegistrationAction = "registration",
|
|
498
|
-
SettingsChangeAction = "settings_change",
|
|
499
|
-
AvatarChangeAction = "avatar_change",
|
|
500
|
-
RateLimitExceededAction = "rate_limit_exceeded",
|
|
501
|
-
UserExpiredAction = "user_expired"
|
|
502
|
-
}
|
|
503
|
-
export enum UmaAuthProviderAppType {
|
|
504
|
-
GoogleOAuth2Provider = "google-oauth2",
|
|
505
|
-
AppleIDOAuth2Provider = "apple-id"
|
|
506
|
-
}
|
|
507
|
-
export enum UmaEndpointType {
|
|
508
|
-
RegularEndpoint = "regular",
|
|
509
|
-
DisplayOnlyEndpoint = "display_only"
|
|
510
|
-
}
|
|
511
|
-
export enum UmaEntityAccessType {
|
|
512
|
-
GranularEntityAccessType = "granular",
|
|
513
|
-
HighLevelEntityAccessType = "high-level"
|
|
514
|
-
}
|
|
515
569
|
export interface UmaEntityData {
|
|
516
570
|
name?: string;
|
|
517
571
|
value?: UmaEntityAccessType;
|
|
518
572
|
}
|
|
519
|
-
export enum UmaEntityName {
|
|
520
|
-
B2BUsersEntity = "b2b_users",
|
|
521
|
-
B2CUsersEntity = "b2c_users",
|
|
522
|
-
RolesEntity = "roles",
|
|
523
|
-
RoleTypesEntity = "role_types",
|
|
524
|
-
PermissionsEntity = "permissions",
|
|
525
|
-
MicroservicesEntity = "microservices",
|
|
526
|
-
IdentityProvidersEntity = "identity_providers",
|
|
527
|
-
FirmsEntity = "firms",
|
|
528
|
-
EndpointsEntity = "endpoints",
|
|
529
|
-
BranchesEntity = "branches",
|
|
530
|
-
APIKeysEntity = "api_keys"
|
|
531
|
-
}
|
|
532
|
-
export enum UmaPermissionAG {
|
|
533
|
-
ChiefadminPermissionAG = "chiefadmin",
|
|
534
|
-
SuperadminPermissionAG = "superadmin",
|
|
535
|
-
B2BOnlyPermissionAG = "b2b_only",
|
|
536
|
-
RegularPermissionAG = "regular"
|
|
537
|
-
}
|
|
538
|
-
export enum UmaUserStatus {
|
|
539
|
-
ActiveUserStatus = "active",
|
|
540
|
-
BlockedUserStatus = "blocked",
|
|
541
|
-
DeletedUserStatus = "deleted"
|
|
542
|
-
}
|
|
543
|
-
export enum UmaUserStatusChangeReasonType {
|
|
544
|
-
BlockUserStatusChangeReasonType = "block",
|
|
545
|
-
UnblockUserStatusChangeReasonType = "unblock",
|
|
546
|
-
RestoreUserStatusChangeReasonType = "restore",
|
|
547
|
-
DeleteUserStatusChangeReasonType = "delete"
|
|
548
|
-
}
|
|
549
|
-
export enum UmaUserType {
|
|
550
|
-
B2BUserType = "b2b",
|
|
551
|
-
SystemUserType = "system",
|
|
552
|
-
B2CUserType = "b2c"
|
|
553
|
-
}
|
|
554
573
|
export interface UmaPublicSettingsResponseSerializer {
|
|
555
574
|
settings: UmaPublicSettingsSerializer;
|
|
556
575
|
status: number;
|
|
@@ -664,6 +683,21 @@ export interface UmaActionLogsSettingsSerializer {
|
|
|
664
683
|
action_types: UmaActionType[];
|
|
665
684
|
entity_names: UmaEntityName[];
|
|
666
685
|
}
|
|
686
|
+
export interface UmaAdminAPIKeySerializer {
|
|
687
|
+
ac_same_as_for_user: boolean;
|
|
688
|
+
api_key: string;
|
|
689
|
+
api_secret: string;
|
|
690
|
+
branches: UmaBranchSerializer[];
|
|
691
|
+
created_at: string;
|
|
692
|
+
firms: UmaFirmAccessSerializer[];
|
|
693
|
+
id: number;
|
|
694
|
+
microservices: UmaMicroserviceSerializer[];
|
|
695
|
+
name: string;
|
|
696
|
+
permissions: UmaPermissionSerializer[];
|
|
697
|
+
roles: UmaRoleSerializer[];
|
|
698
|
+
updated_at: string;
|
|
699
|
+
user: UmaUserSerializer;
|
|
700
|
+
}
|
|
667
701
|
export interface UmaAdminB2BUserSerializer {
|
|
668
702
|
access_revoking_date: string;
|
|
669
703
|
allow_feedback: boolean;
|
|
@@ -777,6 +811,38 @@ export interface UmaAdminB2CUserSerializer {
|
|
|
777
811
|
username: string;
|
|
778
812
|
watchmen_user_links: UmaWatchmenUserLinkSerializer[];
|
|
779
813
|
}
|
|
814
|
+
export interface UmaAdminCreateAPIKeyDto {
|
|
815
|
+
ac_same_as_for_user?: boolean;
|
|
816
|
+
branches?: number[];
|
|
817
|
+
firms?: UmaFirmInfo[];
|
|
818
|
+
mfa_codes?: UmaMfaCodesDto;
|
|
819
|
+
name?: string;
|
|
820
|
+
permissions?: number[];
|
|
821
|
+
roles?: number[];
|
|
822
|
+
user_id?: number;
|
|
823
|
+
}
|
|
824
|
+
export interface UmaAdminDeleteAPIKeysDto {
|
|
825
|
+
ids?: number[];
|
|
826
|
+
mfa_codes?: UmaMfaCodesDto;
|
|
827
|
+
}
|
|
828
|
+
export interface UmaAdminGetAPIKeysListDto {
|
|
829
|
+
pagination?: UmaPaginationDto;
|
|
830
|
+
search?: string;
|
|
831
|
+
sorts?: UmaSortDto[];
|
|
832
|
+
/** Optional: filter by specific user IDs */
|
|
833
|
+
user_ids?: number[];
|
|
834
|
+
}
|
|
835
|
+
export interface UmaAdminUpdateAPIKeyDto {
|
|
836
|
+
ac_same_as_for_user?: boolean;
|
|
837
|
+
branches?: number[];
|
|
838
|
+
firms?: UmaFirmInfo[];
|
|
839
|
+
mfa_codes?: UmaMfaCodesDto;
|
|
840
|
+
name?: string;
|
|
841
|
+
permissions?: number[];
|
|
842
|
+
roles?: number[];
|
|
843
|
+
updated_at?: string;
|
|
844
|
+
user_id?: number;
|
|
845
|
+
}
|
|
780
846
|
export interface UmaAdminUserSerializer {
|
|
781
847
|
access_revoking_date: string;
|
|
782
848
|
allow_feedback: boolean;
|
|
@@ -1777,6 +1843,11 @@ export interface UmaOptionalPaginationDto {
|
|
|
1777
1843
|
page?: number;
|
|
1778
1844
|
size?: number;
|
|
1779
1845
|
}
|
|
1846
|
+
export interface UmaPaginationSerializer {
|
|
1847
|
+
current_page: number;
|
|
1848
|
+
pages_count: number;
|
|
1849
|
+
total_records: number;
|
|
1850
|
+
}
|
|
1780
1851
|
export interface UmaPartialUpdatePermissionDto {
|
|
1781
1852
|
metadata?: UmaPermissionMetadataDto;
|
|
1782
1853
|
microservice_id?: number;
|
|
@@ -1973,11 +2044,6 @@ export interface UmaTenantSettingDto {
|
|
|
1973
2044
|
label?: UmaTenantSettingDtoLabelEnum;
|
|
1974
2045
|
value?: string;
|
|
1975
2046
|
}
|
|
1976
|
-
export enum UmaTenantSettingLabel {
|
|
1977
|
-
StorePasswordHistoryForDays = "store_password_history_for_days",
|
|
1978
|
-
ResetPasswordIfUserInactiveForDays = "reset_password_if_user_inactive_for_days",
|
|
1979
|
-
PeriodicallyResetPasswordAfterDays = "periodically_reset_password_after_days"
|
|
1980
|
-
}
|
|
1981
2047
|
export interface UmaTokens {
|
|
1982
2048
|
access_expires_at?: number;
|
|
1983
2049
|
access_token?: string;
|
|
@@ -2170,11 +2236,6 @@ export interface UmaUpsertTablePresetDto {
|
|
|
2170
2236
|
presets?: object;
|
|
2171
2237
|
table_name?: string;
|
|
2172
2238
|
}
|
|
2173
|
-
export enum UmaUserDetailsGenerationType {
|
|
2174
|
-
ClaimsOnlyGeneration = "claims_only",
|
|
2175
|
-
FullUserDataGeneration = "full_user_data",
|
|
2176
|
-
AllUserDataGeneration = "all_user_data"
|
|
2177
|
-
}
|
|
2178
2239
|
export interface UmaUserSerializer {
|
|
2179
2240
|
allow_feedback: boolean;
|
|
2180
2241
|
big_avatar_url: string;
|
|
@@ -2530,6 +2591,55 @@ export class ActionLogs<HandleError extends boolean = boolean> {
|
|
|
2530
2591
|
*/
|
|
2531
2592
|
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2532
2593
|
}
|
|
2594
|
+
export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
2595
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2596
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2597
|
+
/**
|
|
2598
|
+
* @description Create API Key & API Secret Pair for any B2B user. API Secret won't be accessible for read after that.
|
|
2599
|
+
* @tags admin_api_keys
|
|
2600
|
+
* @name Create
|
|
2601
|
+
* @summary Admin: Create API Key & API Secret Pair for any user
|
|
2602
|
+
* @request POST:/v1/admin/api-keys
|
|
2603
|
+
* @secure
|
|
2604
|
+
*/
|
|
2605
|
+
create(createApiKey: UmaAdminCreateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2606
|
+
/**
|
|
2607
|
+
* @description Delete any API Keys by IDs. Only accessible to chiefadmin.
|
|
2608
|
+
* @tags admin_api_keys
|
|
2609
|
+
* @name Delete
|
|
2610
|
+
* @summary Admin: Delete any API Keys
|
|
2611
|
+
* @request DELETE:/v1/admin/api-keys
|
|
2612
|
+
* @secure
|
|
2613
|
+
*/
|
|
2614
|
+
delete(deleteApiKeys: UmaAdminDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2615
|
+
/**
|
|
2616
|
+
* @description Get all API Keys info (would return API Keys without secrets). Only accessible to chiefadmin.
|
|
2617
|
+
* @tags admin_api_keys
|
|
2618
|
+
* @name Get
|
|
2619
|
+
* @summary Admin: Get all API Keys info
|
|
2620
|
+
* @request POST:/v1/admin/api-keys/list
|
|
2621
|
+
* @secure
|
|
2622
|
+
*/
|
|
2623
|
+
get(apiKeys: UmaAdminGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAdminAPIKeysSerializer, HandleError>>;
|
|
2624
|
+
/**
|
|
2625
|
+
* @description Get any API Key by id. Only accessible to chiefadmin.
|
|
2626
|
+
* @tags admin_api_keys
|
|
2627
|
+
* @name GetById
|
|
2628
|
+
* @summary Admin: Get API Key by id
|
|
2629
|
+
* @request GET:/v1/admin/api-keys/{id}
|
|
2630
|
+
* @secure
|
|
2631
|
+
*/
|
|
2632
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2633
|
+
/**
|
|
2634
|
+
* @description Update any API Key Record. Only accessible to chiefadmin.
|
|
2635
|
+
* @tags admin_api_keys
|
|
2636
|
+
* @name Update
|
|
2637
|
+
* @summary Admin: Update any API Key Record
|
|
2638
|
+
* @request PUT:/v1/admin/api-keys/{id}
|
|
2639
|
+
* @secure
|
|
2640
|
+
*/
|
|
2641
|
+
update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2642
|
+
}
|
|
2533
2643
|
export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
2534
2644
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2535
2645
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -2579,55 +2689,6 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2579
2689
|
*/
|
|
2580
2690
|
update(id: number, updateAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2581
2691
|
}
|
|
2582
|
-
export class ApiKeys<HandleError extends boolean = boolean> {
|
|
2583
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2584
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2585
|
-
/**
|
|
2586
|
-
* @description Delete API Key by id (would throw 404 error if API key not found or belongs to different user)
|
|
2587
|
-
* @tags api_keys
|
|
2588
|
-
* @name DeleteMany
|
|
2589
|
-
* @summary Delete API Key by id
|
|
2590
|
-
* @request DELETE:/v1/b2b/api-keys
|
|
2591
|
-
* @secure
|
|
2592
|
-
*/
|
|
2593
|
-
deleteMany(deleteAPIKeys: UmaDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2594
|
-
/**
|
|
2595
|
-
* @description Get APIKey by id
|
|
2596
|
-
* @tags api_keys
|
|
2597
|
-
* @name GetById
|
|
2598
|
-
* @summary Get APIKey by id
|
|
2599
|
-
* @request GET:/v1/b2b/api-keys/{id}
|
|
2600
|
-
* @secure
|
|
2601
|
-
*/
|
|
2602
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
2603
|
-
/**
|
|
2604
|
-
* @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
|
|
2605
|
-
* @tags api_keys
|
|
2606
|
-
* @name Create
|
|
2607
|
-
* @summary Create API Key & API Secret Pair
|
|
2608
|
-
* @request POST:/v2/b2b/api-keys
|
|
2609
|
-
* @secure
|
|
2610
|
-
*/
|
|
2611
|
-
create(createApiKeys: UmaCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
2612
|
-
/**
|
|
2613
|
-
* @description Get API Keys info(would return API Keys without secrets)
|
|
2614
|
-
* @tags api_keys
|
|
2615
|
-
* @name Get
|
|
2616
|
-
* @summary Get API Keys info(would return API Keys without secrets)
|
|
2617
|
-
* @request POST:/v2/b2b/api-keys/list
|
|
2618
|
-
* @secure
|
|
2619
|
-
*/
|
|
2620
|
-
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError>>;
|
|
2621
|
-
/**
|
|
2622
|
-
* @description Update API Key Record
|
|
2623
|
-
* @tags api_keys
|
|
2624
|
-
* @name Update
|
|
2625
|
-
* @summary Update API Key Record
|
|
2626
|
-
* @request PUT:/v2/b2b/api-keys/{id}
|
|
2627
|
-
* @secure
|
|
2628
|
-
*/
|
|
2629
|
-
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
2630
|
-
}
|
|
2631
2692
|
export class AuthApps<HandleError extends boolean = boolean> {
|
|
2632
2693
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2633
2694
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -2803,7 +2864,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2803
2864
|
*/
|
|
2804
2865
|
basicLogin(basicLoginParams: UmaBasicB2BLoginDto, headers?: {
|
|
2805
2866
|
/** Run endpoint in debug mode */
|
|
2806
|
-
|
|
2867
|
+
"Debug-Token"?: string;
|
|
2807
2868
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError>>;
|
|
2808
2869
|
/**
|
|
2809
2870
|
* @description logout from B2B user session
|
|
@@ -2838,7 +2899,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2838
2899
|
*/
|
|
2839
2900
|
resetPassword(B2BResetPasswordParams: UmaB2BResetPasswordDto, headers?: {
|
|
2840
2901
|
/** Run endpoint in debug mode */
|
|
2841
|
-
|
|
2902
|
+
"Debug-Token"?: string;
|
|
2842
2903
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError>>;
|
|
2843
2904
|
/**
|
|
2844
2905
|
* @description Send MFA code for B2B user
|
|
@@ -2857,128 +2918,49 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2857
2918
|
*/
|
|
2858
2919
|
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2859
2920
|
}
|
|
2860
|
-
export class
|
|
2921
|
+
export class Sessions<HandleError extends boolean = boolean> {
|
|
2861
2922
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2862
2923
|
constructor(apiClient: JwtClient<HandleError>);
|
|
2863
2924
|
/**
|
|
2864
|
-
* @description
|
|
2865
|
-
* @tags
|
|
2866
|
-
* @name
|
|
2867
|
-
* @summary
|
|
2868
|
-
* @request
|
|
2925
|
+
* @description et current user sessions info
|
|
2926
|
+
* @tags sessions
|
|
2927
|
+
* @name GetCurrentUserSessions
|
|
2928
|
+
* @summary Get current user sessions info
|
|
2929
|
+
* @request GET:/v1/auth/sessions
|
|
2869
2930
|
* @secure
|
|
2870
2931
|
*/
|
|
2871
|
-
|
|
2872
|
-
/**
|
|
2873
|
-
* @description Get B2B User by id
|
|
2874
|
-
* @tags b2b_users
|
|
2875
|
-
* @name GetById
|
|
2876
|
-
* @summary Get B2B User by id
|
|
2877
|
-
* @request GET:/v1/users/b2b/{id}
|
|
2878
|
-
* @secure
|
|
2879
|
-
*/
|
|
2880
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
2881
|
-
/**
|
|
2882
|
-
* @description Update B2B User (partial updates supported)
|
|
2883
|
-
* @tags b2b_users
|
|
2884
|
-
* @name PartialUpdate
|
|
2885
|
-
* @summary Update B2B User (partial updates supported)
|
|
2886
|
-
* @request PATCH:/v1/users/b2b/{id}
|
|
2887
|
-
* @secure
|
|
2888
|
-
*/
|
|
2889
|
-
partialUpdate(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
2890
|
-
/**
|
|
2891
|
-
* @description Generate B2B User PDF
|
|
2892
|
-
* @tags b2b_users
|
|
2893
|
-
* @name GenerateAsPdf
|
|
2894
|
-
* @summary Generate B2B User PDF
|
|
2895
|
-
* @request POST:/v1/users/b2b/{id}/generate-as-pdf
|
|
2896
|
-
* @secure
|
|
2897
|
-
*/
|
|
2898
|
-
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
2899
|
-
/**
|
|
2900
|
-
* @description Change B2B User status
|
|
2901
|
-
* @tags b2b_users
|
|
2902
|
-
* @name ChangeStatus
|
|
2903
|
-
* @summary Change B2B User status
|
|
2904
|
-
* @request PATCH:/v1/users/b2b/{id}/status
|
|
2905
|
-
* @secure
|
|
2906
|
-
*/
|
|
2907
|
-
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2908
|
-
/**
|
|
2909
|
-
* @description Create B2B User
|
|
2910
|
-
* @tags b2b_users
|
|
2911
|
-
* @name Create
|
|
2912
|
-
* @summary Create B2B User
|
|
2913
|
-
* @request POST:/v2/users/b2b
|
|
2914
|
-
* @secure
|
|
2915
|
-
*/
|
|
2916
|
-
create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
2917
|
-
/**
|
|
2918
|
-
* @description Get B2B users with pagination
|
|
2919
|
-
* @tags b2b_users
|
|
2920
|
-
* @name Get
|
|
2921
|
-
* @summary Get B2B users with pagination
|
|
2922
|
-
* @request POST:/v2/users/b2b/list
|
|
2923
|
-
* @secure
|
|
2924
|
-
*/
|
|
2925
|
-
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
2932
|
+
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSessionsListSerializer, HandleError>>;
|
|
2926
2933
|
/**
|
|
2927
|
-
* @description
|
|
2928
|
-
* @tags
|
|
2929
|
-
* @name
|
|
2930
|
-
* @summary
|
|
2931
|
-
* @request
|
|
2934
|
+
* @description Delete current user sessions by pair id's
|
|
2935
|
+
* @tags sessions
|
|
2936
|
+
* @name DeleteCurrentUserSessions
|
|
2937
|
+
* @summary Delete current user sessions by pair id's
|
|
2938
|
+
* @request DELETE:/v1/auth/sessions
|
|
2932
2939
|
* @secure
|
|
2933
2940
|
*/
|
|
2934
|
-
|
|
2941
|
+
deleteCurrentUserSessions(deleteSessions: UmaDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2935
2942
|
}
|
|
2936
|
-
export class
|
|
2943
|
+
export class TrustedDevices<HandleError extends boolean = boolean> {
|
|
2937
2944
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2938
2945
|
constructor(apiClient: JwtClient<HandleError>);
|
|
2939
2946
|
/**
|
|
2940
|
-
* @description
|
|
2941
|
-
* @tags
|
|
2942
|
-
* @name
|
|
2943
|
-
* @summary
|
|
2944
|
-
* @request
|
|
2945
|
-
* @secure
|
|
2946
|
-
*/
|
|
2947
|
-
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
2948
|
-
/** Run endpoint in debug mode */
|
|
2949
|
-
'Debug-Token'?: string;
|
|
2950
|
-
/** Branch id, with which user should work */
|
|
2951
|
-
BRANCH?: string;
|
|
2952
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
2953
|
-
/**
|
|
2954
|
-
* @description Upload avatar for B2B user
|
|
2955
|
-
* @tags b2b_user_settings
|
|
2956
|
-
* @name UploadAvatar
|
|
2957
|
-
* @summary Upload avatar for B2B user
|
|
2958
|
-
* @request PUT:/v1/b2b/settings/avatar
|
|
2947
|
+
* @description Delete trusted devices
|
|
2948
|
+
* @tags trusted_devices
|
|
2949
|
+
* @name DeleteMany
|
|
2950
|
+
* @summary Delete trusted devices
|
|
2951
|
+
* @request DELETE:/v1/auth/trusted-devices
|
|
2959
2952
|
* @secure
|
|
2960
2953
|
*/
|
|
2961
|
-
|
|
2962
|
-
/**
|
|
2963
|
-
* Avatar to upload
|
|
2964
|
-
* @format binary
|
|
2965
|
-
*/
|
|
2966
|
-
avatar?: File;
|
|
2967
|
-
/** Should delete old avatar instead of uploading new one */
|
|
2968
|
-
delete_avatar?: boolean;
|
|
2969
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
2954
|
+
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2970
2955
|
/**
|
|
2971
|
-
* @description
|
|
2972
|
-
* @tags
|
|
2973
|
-
* @name
|
|
2974
|
-
* @summary
|
|
2975
|
-
* @request POST:/v1/
|
|
2956
|
+
* @description Get trusted devices
|
|
2957
|
+
* @tags trusted_devices
|
|
2958
|
+
* @name Get
|
|
2959
|
+
* @summary Get trusted devices
|
|
2960
|
+
* @request POST:/v1/auth/trusted-devices/list
|
|
2976
2961
|
* @secure
|
|
2977
2962
|
*/
|
|
2978
|
-
|
|
2979
|
-
/** Branch id, with which user should work */
|
|
2980
|
-
BRANCH?: string;
|
|
2981
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2963
|
+
get(getTrustedDevicesListDto: UmaGetTrustedDevicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTrustedDevicesListSerializer, HandleError>>;
|
|
2982
2964
|
}
|
|
2983
2965
|
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
2984
2966
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3102,7 +3084,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3102
3084
|
*/
|
|
3103
3085
|
resetPassword(B2CResetPasswordParams: UmaB2CResetPasswordDto, headers?: {
|
|
3104
3086
|
/** Run endpoint in debug mode */
|
|
3105
|
-
|
|
3087
|
+
"Debug-Token"?: string;
|
|
3106
3088
|
/** Branch id/slug/code, with which user should work */
|
|
3107
3089
|
BRANCH?: string;
|
|
3108
3090
|
/** Firm id/slug, with which user should work */
|
|
@@ -3161,121 +3143,338 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3161
3143
|
FIRM?: string;
|
|
3162
3144
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3163
3145
|
}
|
|
3164
|
-
export class
|
|
3146
|
+
export class WatchmenAuth<HandleError extends boolean = boolean> {
|
|
3165
3147
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3166
3148
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3167
3149
|
/**
|
|
3168
|
-
* @description
|
|
3169
|
-
* @tags
|
|
3170
|
-
* @name
|
|
3171
|
-
* @summary
|
|
3172
|
-
* @request POST:/v1/
|
|
3173
|
-
* @secure
|
|
3174
|
-
*/
|
|
3175
|
-
create(createB2CUser: UmaCreateB2CUserDto, headers?: {
|
|
3176
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3177
|
-
'X-Accept'?: string;
|
|
3178
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3179
|
-
/**
|
|
3180
|
-
* @description Soft Delete B2C users
|
|
3181
|
-
* @tags b2c_users
|
|
3182
|
-
* @name DeleteMany
|
|
3183
|
-
* @summary Soft Delete B2C users
|
|
3184
|
-
* @request DELETE:/v1/users/b2c
|
|
3150
|
+
* @description Generate Watchmen Auth Token
|
|
3151
|
+
* @tags watchmen_auth
|
|
3152
|
+
* @name GenerateWatchmenAuthToken
|
|
3153
|
+
* @summary Generate Watchmen Auth Token
|
|
3154
|
+
* @request POST:/v1/auth/watchmen/authentication-tokens
|
|
3185
3155
|
* @secure
|
|
3186
3156
|
*/
|
|
3187
|
-
|
|
3157
|
+
generateWatchmenAuthToken(generateWatchmenAuthTokenDto: UmaGenerateWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenGenerationResponseSerializer, HandleError>>;
|
|
3188
3158
|
/**
|
|
3189
|
-
* @description
|
|
3190
|
-
* @tags
|
|
3191
|
-
* @name
|
|
3192
|
-
* @summary
|
|
3193
|
-
* @request
|
|
3159
|
+
* @description Verify Watchmen Auth Token
|
|
3160
|
+
* @tags watchmen_auth
|
|
3161
|
+
* @name VerifyWatchmenAuthToken
|
|
3162
|
+
* @summary Verify Watchmen Auth Token
|
|
3163
|
+
* @request PUT:/v1/auth/watchmen/authentication-tokens/verify
|
|
3194
3164
|
* @secure
|
|
3195
3165
|
*/
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3166
|
+
verifyWatchmenAuthToken(verifyWatchmenAuthToken: UmaVerifyWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenDetailsResponseSerializer, HandleError>>;
|
|
3167
|
+
}
|
|
3168
|
+
export class ApiKeys<HandleError extends boolean = boolean> {
|
|
3169
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3170
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3200
3171
|
/**
|
|
3201
|
-
* @description
|
|
3202
|
-
* @tags
|
|
3203
|
-
* @name
|
|
3204
|
-
* @summary
|
|
3205
|
-
* @request
|
|
3172
|
+
* @description Delete API Key by id (would throw 404 error if API key not found or belongs to different user)
|
|
3173
|
+
* @tags api_keys
|
|
3174
|
+
* @name DeleteMany
|
|
3175
|
+
* @summary Delete API Key by id
|
|
3176
|
+
* @request DELETE:/v1/b2b/api-keys
|
|
3206
3177
|
* @secure
|
|
3207
3178
|
*/
|
|
3208
|
-
|
|
3209
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3210
|
-
'X-Accept'?: string;
|
|
3211
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3179
|
+
deleteMany(deleteAPIKeys: UmaDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3212
3180
|
/**
|
|
3213
|
-
* @description
|
|
3214
|
-
* @tags
|
|
3215
|
-
* @name
|
|
3216
|
-
* @summary
|
|
3217
|
-
* @request
|
|
3181
|
+
* @description Get APIKey by id
|
|
3182
|
+
* @tags api_keys
|
|
3183
|
+
* @name GetById
|
|
3184
|
+
* @summary Get APIKey by id
|
|
3185
|
+
* @request GET:/v1/b2b/api-keys/{id}
|
|
3218
3186
|
* @secure
|
|
3219
3187
|
*/
|
|
3220
|
-
|
|
3221
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3222
|
-
'X-Accept'?: string;
|
|
3223
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3188
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3224
3189
|
/**
|
|
3225
|
-
* @description
|
|
3226
|
-
* @tags
|
|
3227
|
-
* @name
|
|
3228
|
-
* @summary
|
|
3229
|
-
* @request POST:/
|
|
3190
|
+
* @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
|
|
3191
|
+
* @tags api_keys
|
|
3192
|
+
* @name Create
|
|
3193
|
+
* @summary Create API Key & API Secret Pair
|
|
3194
|
+
* @request POST:/v2/b2b/api-keys
|
|
3230
3195
|
* @secure
|
|
3231
3196
|
*/
|
|
3232
|
-
|
|
3197
|
+
create(createApiKeys: UmaCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3233
3198
|
/**
|
|
3234
|
-
* @description
|
|
3235
|
-
* @tags
|
|
3236
|
-
* @name
|
|
3237
|
-
* @summary
|
|
3238
|
-
* @request
|
|
3199
|
+
* @description Get API Keys info(would return API Keys without secrets)
|
|
3200
|
+
* @tags api_keys
|
|
3201
|
+
* @name Get
|
|
3202
|
+
* @summary Get API Keys info(would return API Keys without secrets)
|
|
3203
|
+
* @request POST:/v2/b2b/api-keys/list
|
|
3239
3204
|
* @secure
|
|
3240
3205
|
*/
|
|
3241
|
-
|
|
3206
|
+
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError>>;
|
|
3242
3207
|
/**
|
|
3243
|
-
* @description
|
|
3244
|
-
* @tags
|
|
3245
|
-
* @name
|
|
3246
|
-
* @summary
|
|
3247
|
-
* @request
|
|
3208
|
+
* @description Update API Key Record
|
|
3209
|
+
* @tags api_keys
|
|
3210
|
+
* @name Update
|
|
3211
|
+
* @summary Update API Key Record
|
|
3212
|
+
* @request PUT:/v2/b2b/api-keys/{id}
|
|
3248
3213
|
* @secure
|
|
3249
3214
|
*/
|
|
3250
|
-
|
|
3215
|
+
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3251
3216
|
}
|
|
3252
|
-
export class
|
|
3217
|
+
export class Endpoints<HandleError extends boolean = boolean> {
|
|
3253
3218
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3254
3219
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3255
3220
|
/**
|
|
3256
|
-
* @description
|
|
3257
|
-
* @tags
|
|
3258
|
-
* @name
|
|
3259
|
-
* @summary
|
|
3260
|
-
* @request
|
|
3221
|
+
* @description Create Endpoint
|
|
3222
|
+
* @tags endpoints
|
|
3223
|
+
* @name Create
|
|
3224
|
+
* @summary Create Endpoint
|
|
3225
|
+
* @request POST:/v1/b2b/endpoints
|
|
3261
3226
|
* @secure
|
|
3262
3227
|
*/
|
|
3263
|
-
|
|
3264
|
-
/** Branch id/slug/code, with which user should work */
|
|
3265
|
-
BRANCH?: string;
|
|
3266
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3228
|
+
create(endpointDto: UmaCreateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3267
3229
|
/**
|
|
3268
|
-
* @description
|
|
3269
|
-
* @tags
|
|
3270
|
-
* @name
|
|
3271
|
-
* @summary
|
|
3272
|
-
* @request
|
|
3230
|
+
* @description Delete endpoint by id
|
|
3231
|
+
* @tags endpoints
|
|
3232
|
+
* @name DeleteMany
|
|
3233
|
+
* @summary Delete endpoint by id
|
|
3234
|
+
* @request DELETE:/v1/b2b/endpoints
|
|
3273
3235
|
* @secure
|
|
3274
3236
|
*/
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3237
|
+
deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3238
|
+
/**
|
|
3239
|
+
* @description Get Endpoint by id
|
|
3240
|
+
* @tags endpoints
|
|
3241
|
+
* @name GetById
|
|
3242
|
+
* @summary Get Endpoint by id
|
|
3243
|
+
* @request GET:/v1/b2b/endpoints/{id}
|
|
3244
|
+
* @secure
|
|
3245
|
+
*/
|
|
3246
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3247
|
+
/**
|
|
3248
|
+
* @description Update endpoint record
|
|
3249
|
+
* @tags endpoints
|
|
3250
|
+
* @name Update
|
|
3251
|
+
* @summary Update endpoint record
|
|
3252
|
+
* @request PUT:/v1/b2b/endpoints/{id}
|
|
3253
|
+
* @secure
|
|
3254
|
+
*/
|
|
3255
|
+
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3256
|
+
/**
|
|
3257
|
+
* @description Update endpoint record (partial updates supported).
|
|
3258
|
+
* @tags endpoints
|
|
3259
|
+
* @name PartialUpdate
|
|
3260
|
+
* @summary Update endpoint record (partial updates supported)
|
|
3261
|
+
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3262
|
+
* @secure
|
|
3263
|
+
*/
|
|
3264
|
+
partialUpdate(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3265
|
+
/**
|
|
3266
|
+
* @description Get endpoints with pagination
|
|
3267
|
+
* @tags endpoints
|
|
3268
|
+
* @name Get
|
|
3269
|
+
* @summary Get endpoints with pagination
|
|
3270
|
+
* @request POST:/v2/b2b/endpoints/list
|
|
3271
|
+
* @secure
|
|
3272
|
+
*/
|
|
3273
|
+
get(endpointDto: UmaGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEndpointsListSerializer, HandleError>>;
|
|
3274
|
+
}
|
|
3275
|
+
export class Microservices<HandleError extends boolean = boolean> {
|
|
3276
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3277
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3278
|
+
/**
|
|
3279
|
+
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3280
|
+
* @tags microservices
|
|
3281
|
+
* @name Create
|
|
3282
|
+
* @summary Create Microservice
|
|
3283
|
+
* @request POST:/v1/b2b/microservices
|
|
3284
|
+
* @secure
|
|
3285
|
+
*/
|
|
3286
|
+
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3287
|
+
/**
|
|
3288
|
+
* @description Delete microservice by id
|
|
3289
|
+
* @tags microservices
|
|
3290
|
+
* @name DeleteMany
|
|
3291
|
+
* @summary Delete microservice by id
|
|
3292
|
+
* @request DELETE:/v1/b2b/microservices
|
|
3293
|
+
* @secure
|
|
3294
|
+
*/
|
|
3295
|
+
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3296
|
+
/**
|
|
3297
|
+
* @description Get Microservice by id
|
|
3298
|
+
* @tags microservices
|
|
3299
|
+
* @name GetById
|
|
3300
|
+
* @summary Get Microservice by id
|
|
3301
|
+
* @request GET:/v1/b2b/microservices/{id}
|
|
3302
|
+
* @secure
|
|
3303
|
+
*/
|
|
3304
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3305
|
+
/**
|
|
3306
|
+
* @description Update microservice record
|
|
3307
|
+
* @tags microservices
|
|
3308
|
+
* @name Update
|
|
3309
|
+
* @summary Update microservice record
|
|
3310
|
+
* @request PUT:/v1/b2b/microservices/{id}
|
|
3311
|
+
* @secure
|
|
3312
|
+
*/
|
|
3313
|
+
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3314
|
+
/**
|
|
3315
|
+
* @description Update microservice record (partial updates supported)
|
|
3316
|
+
* @tags microservices
|
|
3317
|
+
* @name PartialUpdate
|
|
3318
|
+
* @summary Update microservice record (partial updates supported)
|
|
3319
|
+
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3320
|
+
* @secure
|
|
3321
|
+
*/
|
|
3322
|
+
partialUpdate(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3323
|
+
/**
|
|
3324
|
+
* @description Get microservices with pagination
|
|
3325
|
+
* @tags microservices
|
|
3326
|
+
* @name Get
|
|
3327
|
+
* @summary Get microservices with pagination
|
|
3328
|
+
* @request POST:/v2/b2b/microservices/list
|
|
3329
|
+
* @secure
|
|
3330
|
+
*/
|
|
3331
|
+
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError>>;
|
|
3332
|
+
}
|
|
3333
|
+
export class RoleTypes<HandleError extends boolean = boolean> {
|
|
3334
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3335
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3336
|
+
/**
|
|
3337
|
+
* @description Create Role Type
|
|
3338
|
+
* @tags role_types
|
|
3339
|
+
* @name Create
|
|
3340
|
+
* @summary Create Role Type
|
|
3341
|
+
* @request POST:/v1/b2b/role-types
|
|
3342
|
+
* @secure
|
|
3343
|
+
*/
|
|
3344
|
+
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3345
|
+
/**
|
|
3346
|
+
* @description Delete Role Types by ids
|
|
3347
|
+
* @tags role_types
|
|
3348
|
+
* @name DeleteMany
|
|
3349
|
+
* @summary Delete Role Types by ids
|
|
3350
|
+
* @request DELETE:/v1/b2b/role-types
|
|
3351
|
+
* @secure
|
|
3352
|
+
*/
|
|
3353
|
+
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3354
|
+
/**
|
|
3355
|
+
* @description Get Role Type by id
|
|
3356
|
+
* @tags role_types
|
|
3357
|
+
* @name GetById
|
|
3358
|
+
* @summary Get Role Type by id
|
|
3359
|
+
* @request GET:/v1/b2b/role-types/{id}
|
|
3360
|
+
* @secure
|
|
3361
|
+
*/
|
|
3362
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3363
|
+
/**
|
|
3364
|
+
* @description Update Role Type
|
|
3365
|
+
* @tags role_types
|
|
3366
|
+
* @name Update
|
|
3367
|
+
* @summary Update Role Type
|
|
3368
|
+
* @request PUT:/v1/b2b/role-types/{id}
|
|
3369
|
+
* @secure
|
|
3370
|
+
*/
|
|
3371
|
+
update(id: number, updateRoleType: UmaUpdateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3372
|
+
/**
|
|
3373
|
+
* @description Get Role Types with pagination
|
|
3374
|
+
* @tags role_types
|
|
3375
|
+
* @name Get
|
|
3376
|
+
* @summary Get Role Types with pagination
|
|
3377
|
+
* @request POST:/v2/b2b/role-types/list
|
|
3378
|
+
* @secure
|
|
3379
|
+
*/
|
|
3380
|
+
get(getRoleTypes: UmaGetRoleTypesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRoleTypesListSerializer, HandleError>>;
|
|
3381
|
+
}
|
|
3382
|
+
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
3383
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3384
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3385
|
+
/**
|
|
3386
|
+
* @description Set B2B User Settings
|
|
3387
|
+
* @tags b2b_user_settings
|
|
3388
|
+
* @name SetUserSettings
|
|
3389
|
+
* @summary Set B2B User Settings
|
|
3390
|
+
* @request PUT:/v1/b2b/settings
|
|
3391
|
+
* @secure
|
|
3392
|
+
*/
|
|
3393
|
+
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
3394
|
+
/** Run endpoint in debug mode */
|
|
3395
|
+
"Debug-Token"?: string;
|
|
3396
|
+
/** Branch id, with which user should work */
|
|
3397
|
+
BRANCH?: string;
|
|
3398
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
3399
|
+
/**
|
|
3400
|
+
* @description Upload avatar for B2B user
|
|
3401
|
+
* @tags b2b_user_settings
|
|
3402
|
+
* @name UploadAvatar
|
|
3403
|
+
* @summary Upload avatar for B2B user
|
|
3404
|
+
* @request PUT:/v1/b2b/settings/avatar
|
|
3405
|
+
* @secure
|
|
3406
|
+
*/
|
|
3407
|
+
uploadAvatar(data: {
|
|
3408
|
+
/**
|
|
3409
|
+
* Avatar to upload
|
|
3410
|
+
* @format binary
|
|
3411
|
+
*/
|
|
3412
|
+
avatar?: File;
|
|
3413
|
+
/** Should delete old avatar instead of uploading new one */
|
|
3414
|
+
delete_avatar?: boolean;
|
|
3415
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
3416
|
+
/**
|
|
3417
|
+
* @description Send B2B user contact change code
|
|
3418
|
+
* @tags b2b_user_settings
|
|
3419
|
+
* @name SendContactChangeCode
|
|
3420
|
+
* @summary Send B2B user contact change code
|
|
3421
|
+
* @request POST:/v1/b2b/settings/codes
|
|
3422
|
+
* @secure
|
|
3423
|
+
*/
|
|
3424
|
+
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3425
|
+
/** Branch id, with which user should work */
|
|
3426
|
+
BRANCH?: string;
|
|
3427
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3428
|
+
}
|
|
3429
|
+
export class TablePresets<HandleError extends boolean = boolean> {
|
|
3430
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3431
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3432
|
+
/**
|
|
3433
|
+
* @description Get user Table Presets
|
|
3434
|
+
* @tags table_presets
|
|
3435
|
+
* @name GetUserPresets
|
|
3436
|
+
* @summary Get user Table Presets
|
|
3437
|
+
* @request GET:/v1/b2b/table-presets
|
|
3438
|
+
* @secure
|
|
3439
|
+
*/
|
|
3440
|
+
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError>>;
|
|
3441
|
+
/**
|
|
3442
|
+
* @description Upsert Table Preset
|
|
3443
|
+
* @tags table_presets
|
|
3444
|
+
* @name Upsert
|
|
3445
|
+
* @summary Upsert Table Preset
|
|
3446
|
+
* @request PUT:/v1/b2b/table-presets
|
|
3447
|
+
* @secure
|
|
3448
|
+
*/
|
|
3449
|
+
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError>>;
|
|
3450
|
+
}
|
|
3451
|
+
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
3452
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3453
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3454
|
+
/**
|
|
3455
|
+
* @description Set B2C User Settings (test)
|
|
3456
|
+
* @tags b2c_user_settings
|
|
3457
|
+
* @name SetUserSettings
|
|
3458
|
+
* @summary Set B2C User Settings
|
|
3459
|
+
* @request PUT:/v1/b2c/settings
|
|
3460
|
+
* @secure
|
|
3461
|
+
*/
|
|
3462
|
+
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
3463
|
+
/** Branch id/slug/code, with which user should work */
|
|
3464
|
+
BRANCH?: string;
|
|
3465
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3466
|
+
/**
|
|
3467
|
+
* @description Send B2C user contact change code
|
|
3468
|
+
* @tags b2c_user_settings
|
|
3469
|
+
* @name SendContactChangeCode
|
|
3470
|
+
* @summary Send B2C user contact change code
|
|
3471
|
+
* @request POST:/v1/b2c/settings/codes
|
|
3472
|
+
* @secure
|
|
3473
|
+
*/
|
|
3474
|
+
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
3475
|
+
/** Branch id/slug/code, with which user should work */
|
|
3476
|
+
BRANCH?: string;
|
|
3477
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3279
3478
|
/**
|
|
3280
3479
|
* @description Get Available B2C Branch Mfa Options
|
|
3281
3480
|
* @tags b2c_user_settings
|
|
@@ -3399,18 +3598,6 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3399
3598
|
*/
|
|
3400
3599
|
get(getBranches: UmaGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBranchesListSerializer, HandleError>>;
|
|
3401
3600
|
}
|
|
3402
|
-
export class Countries<HandleError extends boolean = boolean> {
|
|
3403
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3404
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3405
|
-
/**
|
|
3406
|
-
* @description Get Countries info
|
|
3407
|
-
* @tags countries
|
|
3408
|
-
* @name Get
|
|
3409
|
-
* @summary Get Countries info
|
|
3410
|
-
* @request GET:/v1/countries/
|
|
3411
|
-
*/
|
|
3412
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3413
|
-
}
|
|
3414
3601
|
export class EmailDomains<HandleError extends boolean = boolean> {
|
|
3415
3602
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3416
3603
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3460,121 +3647,17 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3460
3647
|
*/
|
|
3461
3648
|
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3462
3649
|
}
|
|
3463
|
-
export class
|
|
3650
|
+
export class Countries<HandleError extends boolean = boolean> {
|
|
3464
3651
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3465
3652
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3466
3653
|
/**
|
|
3467
|
-
* @description
|
|
3468
|
-
* @tags
|
|
3469
|
-
* @name Create
|
|
3470
|
-
* @summary Create Endpoint
|
|
3471
|
-
* @request POST:/v1/b2b/endpoints
|
|
3472
|
-
* @secure
|
|
3473
|
-
*/
|
|
3474
|
-
create(endpointDto: UmaCreateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3475
|
-
/**
|
|
3476
|
-
* @description Delete endpoint by id
|
|
3477
|
-
* @tags endpoints
|
|
3478
|
-
* @name DeleteMany
|
|
3479
|
-
* @summary Delete endpoint by id
|
|
3480
|
-
* @request DELETE:/v1/b2b/endpoints
|
|
3481
|
-
* @secure
|
|
3482
|
-
*/
|
|
3483
|
-
deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3484
|
-
/**
|
|
3485
|
-
* @description Get Endpoint by id
|
|
3486
|
-
* @tags endpoints
|
|
3487
|
-
* @name GetById
|
|
3488
|
-
* @summary Get Endpoint by id
|
|
3489
|
-
* @request GET:/v1/b2b/endpoints/{id}
|
|
3490
|
-
* @secure
|
|
3491
|
-
*/
|
|
3492
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3493
|
-
/**
|
|
3494
|
-
* @description Update endpoint record
|
|
3495
|
-
* @tags endpoints
|
|
3496
|
-
* @name Update
|
|
3497
|
-
* @summary Update endpoint record
|
|
3498
|
-
* @request PUT:/v1/b2b/endpoints/{id}
|
|
3499
|
-
* @secure
|
|
3500
|
-
*/
|
|
3501
|
-
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3502
|
-
/**
|
|
3503
|
-
* @description Update endpoint record (partial updates supported).
|
|
3504
|
-
* @tags endpoints
|
|
3505
|
-
* @name PartialUpdate
|
|
3506
|
-
* @summary Update endpoint record (partial updates supported)
|
|
3507
|
-
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3508
|
-
* @secure
|
|
3509
|
-
*/
|
|
3510
|
-
partialUpdate(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3511
|
-
/**
|
|
3512
|
-
* @description Get endpoints with pagination
|
|
3513
|
-
* @tags endpoints
|
|
3514
|
-
* @name Get
|
|
3515
|
-
* @summary Get endpoints with pagination
|
|
3516
|
-
* @request POST:/v2/b2b/endpoints/list
|
|
3517
|
-
* @secure
|
|
3518
|
-
*/
|
|
3519
|
-
get(endpointDto: UmaGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEndpointsListSerializer, HandleError>>;
|
|
3520
|
-
}
|
|
3521
|
-
export class Firms<HandleError extends boolean = boolean> {
|
|
3522
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3523
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3524
|
-
/**
|
|
3525
|
-
* @description Create Firm
|
|
3526
|
-
* @tags firms
|
|
3527
|
-
* @name Create
|
|
3528
|
-
* @summary Create Firm
|
|
3529
|
-
* @request POST:/v1/firms
|
|
3530
|
-
* @secure
|
|
3531
|
-
*/
|
|
3532
|
-
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3533
|
-
/**
|
|
3534
|
-
* @description Deletes Firm by ids
|
|
3535
|
-
* @tags firms
|
|
3536
|
-
* @name DeleteMany
|
|
3537
|
-
* @summary Deletes Firm by ids
|
|
3538
|
-
* @request DELETE:/v1/firms
|
|
3539
|
-
* @secure
|
|
3540
|
-
*/
|
|
3541
|
-
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3542
|
-
/**
|
|
3543
|
-
* @description Get Firm by id
|
|
3544
|
-
* @tags firms
|
|
3545
|
-
* @name GetById
|
|
3546
|
-
* @summary Get Firm by id
|
|
3547
|
-
* @request GET:/v1/firms/{id}
|
|
3548
|
-
* @secure
|
|
3549
|
-
*/
|
|
3550
|
-
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3551
|
-
/**
|
|
3552
|
-
* @description Update Firm
|
|
3553
|
-
* @tags firms
|
|
3554
|
-
* @name Update
|
|
3555
|
-
* @summary Update Firm
|
|
3556
|
-
* @request PUT:/v1/firms/{id}
|
|
3557
|
-
* @secure
|
|
3558
|
-
*/
|
|
3559
|
-
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3560
|
-
/**
|
|
3561
|
-
* @description Update Firm (partial updates supported).
|
|
3562
|
-
* @tags firms
|
|
3563
|
-
* @name PartialUpdate
|
|
3564
|
-
* @summary Update Firm (partial updates supported)
|
|
3565
|
-
* @request PATCH:/v1/firms/{id}
|
|
3566
|
-
* @secure
|
|
3567
|
-
*/
|
|
3568
|
-
partialUpdate(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3569
|
-
/**
|
|
3570
|
-
* @description Get Firms with pagination
|
|
3571
|
-
* @tags firms
|
|
3654
|
+
* @description Get Countries info
|
|
3655
|
+
* @tags countries
|
|
3572
3656
|
* @name Get
|
|
3573
|
-
* @summary Get
|
|
3574
|
-
* @request
|
|
3575
|
-
* @secure
|
|
3657
|
+
* @summary Get Countries info
|
|
3658
|
+
* @request GET:/v1/countries/
|
|
3576
3659
|
*/
|
|
3577
|
-
get(
|
|
3660
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3578
3661
|
}
|
|
3579
3662
|
export class IdentityProviders<HandleError extends boolean = boolean> {
|
|
3580
3663
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3637,64 +3720,6 @@ export class Locales<HandleError extends boolean = boolean> {
|
|
|
3637
3720
|
*/
|
|
3638
3721
|
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError>>;
|
|
3639
3722
|
}
|
|
3640
|
-
export class Microservices<HandleError extends boolean = boolean> {
|
|
3641
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3642
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3643
|
-
/**
|
|
3644
|
-
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3645
|
-
* @tags microservices
|
|
3646
|
-
* @name Create
|
|
3647
|
-
* @summary Create Microservice
|
|
3648
|
-
* @request POST:/v1/b2b/microservices
|
|
3649
|
-
* @secure
|
|
3650
|
-
*/
|
|
3651
|
-
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3652
|
-
/**
|
|
3653
|
-
* @description Delete microservice by id
|
|
3654
|
-
* @tags microservices
|
|
3655
|
-
* @name DeleteMany
|
|
3656
|
-
* @summary Delete microservice by id
|
|
3657
|
-
* @request DELETE:/v1/b2b/microservices
|
|
3658
|
-
* @secure
|
|
3659
|
-
*/
|
|
3660
|
-
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3661
|
-
/**
|
|
3662
|
-
* @description Get Microservice by id
|
|
3663
|
-
* @tags microservices
|
|
3664
|
-
* @name GetById
|
|
3665
|
-
* @summary Get Microservice by id
|
|
3666
|
-
* @request GET:/v1/b2b/microservices/{id}
|
|
3667
|
-
* @secure
|
|
3668
|
-
*/
|
|
3669
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3670
|
-
/**
|
|
3671
|
-
* @description Update microservice record
|
|
3672
|
-
* @tags microservices
|
|
3673
|
-
* @name Update
|
|
3674
|
-
* @summary Update microservice record
|
|
3675
|
-
* @request PUT:/v1/b2b/microservices/{id}
|
|
3676
|
-
* @secure
|
|
3677
|
-
*/
|
|
3678
|
-
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3679
|
-
/**
|
|
3680
|
-
* @description Update microservice record (partial updates supported)
|
|
3681
|
-
* @tags microservices
|
|
3682
|
-
* @name PartialUpdate
|
|
3683
|
-
* @summary Update microservice record (partial updates supported)
|
|
3684
|
-
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3685
|
-
* @secure
|
|
3686
|
-
*/
|
|
3687
|
-
partialUpdate(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3688
|
-
/**
|
|
3689
|
-
* @description Get microservices with pagination
|
|
3690
|
-
* @tags microservices
|
|
3691
|
-
* @name Get
|
|
3692
|
-
* @summary Get microservices with pagination
|
|
3693
|
-
* @request POST:/v2/b2b/microservices/list
|
|
3694
|
-
* @secure
|
|
3695
|
-
*/
|
|
3696
|
-
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError>>;
|
|
3697
|
-
}
|
|
3698
3723
|
export class Permissions<HandleError extends boolean = boolean> {
|
|
3699
3724
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3700
3725
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3753,6 +3778,64 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3753
3778
|
*/
|
|
3754
3779
|
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError>>;
|
|
3755
3780
|
}
|
|
3781
|
+
export class Firms<HandleError extends boolean = boolean> {
|
|
3782
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3783
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3784
|
+
/**
|
|
3785
|
+
* @description Create Firm
|
|
3786
|
+
* @tags firms
|
|
3787
|
+
* @name Create
|
|
3788
|
+
* @summary Create Firm
|
|
3789
|
+
* @request POST:/v1/firms
|
|
3790
|
+
* @secure
|
|
3791
|
+
*/
|
|
3792
|
+
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3793
|
+
/**
|
|
3794
|
+
* @description Deletes Firm by ids
|
|
3795
|
+
* @tags firms
|
|
3796
|
+
* @name DeleteMany
|
|
3797
|
+
* @summary Deletes Firm by ids
|
|
3798
|
+
* @request DELETE:/v1/firms
|
|
3799
|
+
* @secure
|
|
3800
|
+
*/
|
|
3801
|
+
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3802
|
+
/**
|
|
3803
|
+
* @description Get Firm by id
|
|
3804
|
+
* @tags firms
|
|
3805
|
+
* @name GetById
|
|
3806
|
+
* @summary Get Firm by id
|
|
3807
|
+
* @request GET:/v1/firms/{id}
|
|
3808
|
+
* @secure
|
|
3809
|
+
*/
|
|
3810
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3811
|
+
/**
|
|
3812
|
+
* @description Update Firm
|
|
3813
|
+
* @tags firms
|
|
3814
|
+
* @name Update
|
|
3815
|
+
* @summary Update Firm
|
|
3816
|
+
* @request PUT:/v1/firms/{id}
|
|
3817
|
+
* @secure
|
|
3818
|
+
*/
|
|
3819
|
+
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3820
|
+
/**
|
|
3821
|
+
* @description Update Firm (partial updates supported).
|
|
3822
|
+
* @tags firms
|
|
3823
|
+
* @name PartialUpdate
|
|
3824
|
+
* @summary Update Firm (partial updates supported)
|
|
3825
|
+
* @request PATCH:/v1/firms/{id}
|
|
3826
|
+
* @secure
|
|
3827
|
+
*/
|
|
3828
|
+
partialUpdate(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3829
|
+
/**
|
|
3830
|
+
* @description Get Firms with pagination
|
|
3831
|
+
* @tags firms
|
|
3832
|
+
* @name Get
|
|
3833
|
+
* @summary Get Firms with pagination
|
|
3834
|
+
* @request POST:/v2/firms/list
|
|
3835
|
+
* @secure
|
|
3836
|
+
*/
|
|
3837
|
+
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError>>;
|
|
3838
|
+
}
|
|
3756
3839
|
export class PublicSettings<HandleError extends boolean = boolean> {
|
|
3757
3840
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3758
3841
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3832,105 +3915,146 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3832
3915
|
*/
|
|
3833
3916
|
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError>>;
|
|
3834
3917
|
}
|
|
3835
|
-
export class
|
|
3918
|
+
export class B2CUsers<HandleError extends boolean = boolean> {
|
|
3836
3919
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3837
3920
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3838
3921
|
/**
|
|
3839
|
-
* @description Create
|
|
3840
|
-
* @tags
|
|
3922
|
+
* @description Create B2C User
|
|
3923
|
+
* @tags b2c_users
|
|
3841
3924
|
* @name Create
|
|
3842
|
-
* @summary Create
|
|
3843
|
-
* @request POST:/v1/
|
|
3925
|
+
* @summary Create B2C User
|
|
3926
|
+
* @request POST:/v1/users/b2c
|
|
3844
3927
|
* @secure
|
|
3845
3928
|
*/
|
|
3846
|
-
create(
|
|
3929
|
+
create(createB2CUser: UmaCreateB2CUserDto, headers?: {
|
|
3930
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3931
|
+
"X-Accept"?: string;
|
|
3932
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3847
3933
|
/**
|
|
3848
|
-
* @description Delete
|
|
3849
|
-
* @tags
|
|
3934
|
+
* @description Soft Delete B2C users
|
|
3935
|
+
* @tags b2c_users
|
|
3850
3936
|
* @name DeleteMany
|
|
3851
|
-
* @summary Delete
|
|
3852
|
-
* @request DELETE:/v1/
|
|
3937
|
+
* @summary Soft Delete B2C users
|
|
3938
|
+
* @request DELETE:/v1/users/b2c
|
|
3853
3939
|
* @secure
|
|
3854
3940
|
*/
|
|
3855
|
-
deleteMany(
|
|
3941
|
+
deleteMany(deleteB2CUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3856
3942
|
/**
|
|
3857
|
-
* @description Get
|
|
3858
|
-
* @tags
|
|
3943
|
+
* @description Get B2C User by id
|
|
3944
|
+
* @tags b2c_users
|
|
3859
3945
|
* @name GetById
|
|
3860
|
-
* @summary Get
|
|
3861
|
-
* @request GET:/v1/
|
|
3946
|
+
* @summary Get B2C User by id
|
|
3947
|
+
* @request GET:/v1/users/b2c/{id}
|
|
3862
3948
|
* @secure
|
|
3863
3949
|
*/
|
|
3864
|
-
getById(id: number,
|
|
3950
|
+
getById(id: number, headers?: {
|
|
3951
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3952
|
+
"X-Accept"?: string;
|
|
3953
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3865
3954
|
/**
|
|
3866
|
-
* @description Update
|
|
3867
|
-
* @tags
|
|
3955
|
+
* @description Update B2C User
|
|
3956
|
+
* @tags b2c_users
|
|
3868
3957
|
* @name Update
|
|
3869
|
-
* @summary Update
|
|
3870
|
-
* @request PUT:/v1/
|
|
3958
|
+
* @summary Update B2C User
|
|
3959
|
+
* @request PUT:/v1/users/b2c/{id}
|
|
3871
3960
|
* @secure
|
|
3872
3961
|
*/
|
|
3873
|
-
update(id: number,
|
|
3962
|
+
update(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
|
|
3963
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3964
|
+
"X-Accept"?: string;
|
|
3965
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3874
3966
|
/**
|
|
3875
|
-
* @description
|
|
3876
|
-
* @tags
|
|
3967
|
+
* @description Partial Update B2C User
|
|
3968
|
+
* @tags b2c_users
|
|
3969
|
+
* @name PartialUpdate
|
|
3970
|
+
* @summary Partial Update B2C User
|
|
3971
|
+
* @request PATCH:/v1/users/b2c/{id}
|
|
3972
|
+
* @secure
|
|
3973
|
+
*/
|
|
3974
|
+
partialUpdate(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
|
|
3975
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3976
|
+
"X-Accept"?: string;
|
|
3977
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3978
|
+
/**
|
|
3979
|
+
* @description Generate B2C User PDF
|
|
3980
|
+
* @tags b2c_users
|
|
3981
|
+
* @name GenerateAsPdf
|
|
3982
|
+
* @summary Generate B2C User PDF
|
|
3983
|
+
* @request POST:/v1/users/b2c/{id}/generate-as-pdf
|
|
3984
|
+
* @secure
|
|
3985
|
+
*/
|
|
3986
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
3987
|
+
/**
|
|
3988
|
+
* @description Change B2C User status
|
|
3989
|
+
* @tags b2c_users
|
|
3990
|
+
* @name ChangeStatus
|
|
3991
|
+
* @summary Change B2C User status
|
|
3992
|
+
* @request PATCH:/v1/users/b2c/{id}/status
|
|
3993
|
+
* @secure
|
|
3994
|
+
*/
|
|
3995
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3996
|
+
/**
|
|
3997
|
+
* @description Get B2C users with pagination
|
|
3998
|
+
* @tags b2c_users
|
|
3877
3999
|
* @name Get
|
|
3878
|
-
* @summary Get
|
|
3879
|
-
* @request POST:/v2/
|
|
4000
|
+
* @summary Get B2C users with pagination
|
|
4001
|
+
* @request POST:/v2/users/b2c/list
|
|
3880
4002
|
* @secure
|
|
3881
4003
|
*/
|
|
3882
|
-
get(
|
|
4004
|
+
get(getB2CUsers: UmaGetB2CUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2CUserSerializer, HandleError>>;
|
|
3883
4005
|
}
|
|
3884
|
-
export class
|
|
4006
|
+
export class UserDetails<HandleError extends boolean = boolean> {
|
|
3885
4007
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3886
4008
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3887
4009
|
/**
|
|
3888
|
-
* @description
|
|
3889
|
-
* @tags
|
|
3890
|
-
* @name
|
|
3891
|
-
* @summary
|
|
3892
|
-
* @request POST:/v1/
|
|
4010
|
+
* @description Get User Details by JWT-token
|
|
4011
|
+
* @tags user_details
|
|
4012
|
+
* @name GetUserDetails
|
|
4013
|
+
* @summary Get User Details by JWT-token
|
|
4014
|
+
* @request POST:/v1/users/details/show
|
|
3893
4015
|
* @secure
|
|
3894
4016
|
*/
|
|
3895
|
-
|
|
3896
|
-
/**
|
|
3897
|
-
* @description Get Secret note
|
|
3898
|
-
* @tags secret_notes
|
|
3899
|
-
* @name GetOne
|
|
3900
|
-
* @summary Get Secret note
|
|
3901
|
-
* @request POST:/v1/secret-notes/fetch
|
|
3902
|
-
*/
|
|
3903
|
-
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
4017
|
+
getUserDetails(getUserDetailsDto: UmaGetUserDetailsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserDetailsSerializer, HandleError>>;
|
|
3904
4018
|
/**
|
|
3905
|
-
* @description
|
|
3906
|
-
* @tags
|
|
3907
|
-
* @name
|
|
3908
|
-
* @summary
|
|
3909
|
-
* @request
|
|
4019
|
+
* @description Revoke user sessions by JWT-token
|
|
4020
|
+
* @tags user_details
|
|
4021
|
+
* @name RevokeSessions
|
|
4022
|
+
* @summary Revoke user sessions by JWT-token
|
|
4023
|
+
* @request POST:/v1/users/revoke-sessions
|
|
4024
|
+
* @secure
|
|
3910
4025
|
*/
|
|
3911
|
-
|
|
4026
|
+
revokeSessions(revokeUserSessionsDto: UmaRevokeUserSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3912
4027
|
}
|
|
3913
|
-
export class
|
|
4028
|
+
export class UsersCommon<HandleError extends boolean = boolean> {
|
|
3914
4029
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3915
4030
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3916
4031
|
/**
|
|
3917
|
-
* @description
|
|
3918
|
-
* @tags
|
|
3919
|
-
* @name
|
|
3920
|
-
* @summary
|
|
3921
|
-
* @request
|
|
4032
|
+
* @description Reset B2B/B2C user rate limits
|
|
4033
|
+
* @tags users_common
|
|
4034
|
+
* @name ResetRateLimits
|
|
4035
|
+
* @summary Reset rate limits
|
|
4036
|
+
* @request PATCH:/v1/users/rate-limits/reset
|
|
3922
4037
|
* @secure
|
|
3923
4038
|
*/
|
|
3924
|
-
|
|
4039
|
+
resetRateLimits(resetRateLimitsDto: UmaResetRateLimitsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3925
4040
|
/**
|
|
3926
|
-
* @description
|
|
3927
|
-
* @tags
|
|
3928
|
-
* @name
|
|
3929
|
-
* @summary
|
|
3930
|
-
* @request
|
|
4041
|
+
* @description Get user status change reasons list
|
|
4042
|
+
* @tags users_common
|
|
4043
|
+
* @name GetUserStatusChangeReasonsList
|
|
4044
|
+
* @summary Get user status change reasons list
|
|
4045
|
+
* @request POST:/v1/users/status-change-reasons/list
|
|
3931
4046
|
* @secure
|
|
3932
4047
|
*/
|
|
3933
|
-
|
|
4048
|
+
getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto: UmaGetUserStatusChangeReasonsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserStatusChangeReasonsListSerializer, HandleError>>;
|
|
4049
|
+
/**
|
|
4050
|
+
* @description Link Watchmen user to UMA
|
|
4051
|
+
* @tags users_common
|
|
4052
|
+
* @name LinkWatchmenUsersToUma
|
|
4053
|
+
* @summary Link Watchmen user to UMA
|
|
4054
|
+
* @request POST:/v1/users/watchmen/link
|
|
4055
|
+
* @secure
|
|
4056
|
+
*/
|
|
4057
|
+
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3934
4058
|
}
|
|
3935
4059
|
export class SystemUsers<HandleError extends boolean = boolean> {
|
|
3936
4060
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -4008,222 +4132,208 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4008
4132
|
*/
|
|
4009
4133
|
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4010
4134
|
}
|
|
4011
|
-
export class
|
|
4012
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4013
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4014
|
-
/**
|
|
4015
|
-
* @description Get user Table Presets
|
|
4016
|
-
* @tags table_presets
|
|
4017
|
-
* @name GetUserPresets
|
|
4018
|
-
* @summary Get user Table Presets
|
|
4019
|
-
* @request GET:/v1/b2b/table-presets
|
|
4020
|
-
* @secure
|
|
4021
|
-
*/
|
|
4022
|
-
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError>>;
|
|
4023
|
-
/**
|
|
4024
|
-
* @description Upsert Table Preset
|
|
4025
|
-
* @tags table_presets
|
|
4026
|
-
* @name Upsert
|
|
4027
|
-
* @summary Upsert Table Preset
|
|
4028
|
-
* @request PUT:/v1/b2b/table-presets
|
|
4029
|
-
* @secure
|
|
4030
|
-
*/
|
|
4031
|
-
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError>>;
|
|
4032
|
-
}
|
|
4033
|
-
export class Tags<HandleError extends boolean = boolean> {
|
|
4135
|
+
export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
4034
4136
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
4035
4137
|
constructor(apiClient: JwtClient<HandleError>);
|
|
4036
4138
|
/**
|
|
4037
|
-
* @description Create
|
|
4038
|
-
* @tags
|
|
4139
|
+
* @description Create Watchmen Instance
|
|
4140
|
+
* @tags watchmen_instances
|
|
4039
4141
|
* @name Create
|
|
4040
|
-
* @summary Create
|
|
4041
|
-
* @request POST:/v1/
|
|
4142
|
+
* @summary Create Watchmen Instance
|
|
4143
|
+
* @request POST:/v1/watchmen-instances
|
|
4042
4144
|
* @secure
|
|
4043
4145
|
*/
|
|
4044
|
-
create(
|
|
4146
|
+
create(createWatchmenInstance: UmaCreateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4045
4147
|
/**
|
|
4046
|
-
* @description Delete
|
|
4047
|
-
* @tags
|
|
4148
|
+
* @description Delete Watchmen Instances
|
|
4149
|
+
* @tags watchmen_instances
|
|
4048
4150
|
* @name DeleteMany
|
|
4049
|
-
* @summary Delete
|
|
4050
|
-
* @request DELETE:/v1/
|
|
4151
|
+
* @summary Delete Watchmen Instances
|
|
4152
|
+
* @request DELETE:/v1/watchmen-instances
|
|
4051
4153
|
* @secure
|
|
4052
4154
|
*/
|
|
4053
|
-
deleteMany(
|
|
4155
|
+
deleteMany(deleteWatchmenInstances: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4054
4156
|
/**
|
|
4055
|
-
* @description Get
|
|
4056
|
-
* @tags
|
|
4057
|
-
* @name
|
|
4058
|
-
* @summary Get
|
|
4059
|
-
* @request POST:/v1/
|
|
4157
|
+
* @description Get Watchmen Instances with pagination. Available sort fields are `id, name, slug, url, created_at, updated_at`. Search is performed by `name, url, slug` fields.
|
|
4158
|
+
* @tags watchmen_instances
|
|
4159
|
+
* @name GetMany
|
|
4160
|
+
* @summary Get Watchmen Instances with pagination
|
|
4161
|
+
* @request POST:/v1/watchmen-instances/list
|
|
4060
4162
|
* @secure
|
|
4061
4163
|
*/
|
|
4062
|
-
|
|
4164
|
+
getMany(getWatchmenInstances: UmaGetWatchmenInstancesDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetWatchmenInstancesListSerializer, HandleError>>;
|
|
4063
4165
|
/**
|
|
4064
|
-
* @description Get
|
|
4065
|
-
* @tags
|
|
4166
|
+
* @description Get Watchmen Instance by id
|
|
4167
|
+
* @tags watchmen_instances
|
|
4066
4168
|
* @name GetById
|
|
4067
|
-
* @summary Get
|
|
4068
|
-
* @request GET:/v1/
|
|
4169
|
+
* @summary Get Watchmen Instance by id
|
|
4170
|
+
* @request GET:/v1/watchmen-instances/{id}
|
|
4069
4171
|
* @secure
|
|
4070
4172
|
*/
|
|
4071
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<
|
|
4173
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4072
4174
|
/**
|
|
4073
|
-
* @description Update
|
|
4074
|
-
* @tags
|
|
4175
|
+
* @description Update Watchmen Instance
|
|
4176
|
+
* @tags watchmen_instances
|
|
4075
4177
|
* @name Update
|
|
4076
|
-
* @summary Update
|
|
4077
|
-
* @request PUT:/v1/
|
|
4178
|
+
* @summary Update Watchmen Instance
|
|
4179
|
+
* @request PUT:/v1/watchmen-instances/{id}
|
|
4078
4180
|
* @secure
|
|
4079
4181
|
*/
|
|
4080
|
-
update(id: number,
|
|
4182
|
+
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4081
4183
|
}
|
|
4082
|
-
export class
|
|
4184
|
+
export class B2BUsers<HandleError extends boolean = boolean> {
|
|
4083
4185
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
4084
4186
|
constructor(apiClient: JwtClient<HandleError>);
|
|
4085
4187
|
/**
|
|
4086
|
-
* @description Delete
|
|
4087
|
-
* @tags
|
|
4188
|
+
* @description Soft Delete B2B users
|
|
4189
|
+
* @tags b2b_users
|
|
4088
4190
|
* @name DeleteMany
|
|
4089
|
-
* @summary Delete
|
|
4090
|
-
* @request DELETE:/v1/
|
|
4091
|
-
* @secure
|
|
4092
|
-
*/
|
|
4093
|
-
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4094
|
-
/**
|
|
4095
|
-
* @description Get trusted devices
|
|
4096
|
-
* @tags trusted_devices
|
|
4097
|
-
* @name Get
|
|
4098
|
-
* @summary Get trusted devices
|
|
4099
|
-
* @request POST:/v1/auth/trusted-devices/list
|
|
4191
|
+
* @summary Soft Delete B2B users
|
|
4192
|
+
* @request DELETE:/v1/users/b2b
|
|
4100
4193
|
* @secure
|
|
4101
4194
|
*/
|
|
4102
|
-
|
|
4103
|
-
}
|
|
4104
|
-
export class UserDetails<HandleError extends boolean = boolean> {
|
|
4105
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4106
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4195
|
+
deleteMany(deleteB2BUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4107
4196
|
/**
|
|
4108
|
-
* @description Get User
|
|
4109
|
-
* @tags
|
|
4110
|
-
* @name
|
|
4111
|
-
* @summary Get User
|
|
4112
|
-
* @request
|
|
4197
|
+
* @description Get B2B User by id
|
|
4198
|
+
* @tags b2b_users
|
|
4199
|
+
* @name GetById
|
|
4200
|
+
* @summary Get B2B User by id
|
|
4201
|
+
* @request GET:/v1/users/b2b/{id}
|
|
4113
4202
|
* @secure
|
|
4114
4203
|
*/
|
|
4115
|
-
|
|
4204
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4116
4205
|
/**
|
|
4117
|
-
* @description
|
|
4118
|
-
* @tags
|
|
4119
|
-
* @name
|
|
4120
|
-
* @summary
|
|
4121
|
-
* @request
|
|
4206
|
+
* @description Update B2B User (partial updates supported)
|
|
4207
|
+
* @tags b2b_users
|
|
4208
|
+
* @name PartialUpdate
|
|
4209
|
+
* @summary Update B2B User (partial updates supported)
|
|
4210
|
+
* @request PATCH:/v1/users/b2b/{id}
|
|
4122
4211
|
* @secure
|
|
4123
4212
|
*/
|
|
4124
|
-
|
|
4125
|
-
}
|
|
4126
|
-
export class UsersCommon<HandleError extends boolean = boolean> {
|
|
4127
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4128
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4213
|
+
partialUpdate(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4129
4214
|
/**
|
|
4130
|
-
* @description
|
|
4131
|
-
* @tags
|
|
4132
|
-
* @name
|
|
4133
|
-
* @summary
|
|
4134
|
-
* @request
|
|
4215
|
+
* @description Generate B2B User PDF
|
|
4216
|
+
* @tags b2b_users
|
|
4217
|
+
* @name GenerateAsPdf
|
|
4218
|
+
* @summary Generate B2B User PDF
|
|
4219
|
+
* @request POST:/v1/users/b2b/{id}/generate-as-pdf
|
|
4135
4220
|
* @secure
|
|
4136
4221
|
*/
|
|
4137
|
-
|
|
4222
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4138
4223
|
/**
|
|
4139
|
-
* @description
|
|
4140
|
-
* @tags
|
|
4141
|
-
* @name
|
|
4142
|
-
* @summary
|
|
4143
|
-
* @request
|
|
4224
|
+
* @description Change B2B User status
|
|
4225
|
+
* @tags b2b_users
|
|
4226
|
+
* @name ChangeStatus
|
|
4227
|
+
* @summary Change B2B User status
|
|
4228
|
+
* @request PATCH:/v1/users/b2b/{id}/status
|
|
4144
4229
|
* @secure
|
|
4145
4230
|
*/
|
|
4146
|
-
|
|
4231
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4147
4232
|
/**
|
|
4148
|
-
* @description
|
|
4149
|
-
* @tags
|
|
4150
|
-
* @name
|
|
4151
|
-
* @summary
|
|
4152
|
-
* @request POST:/
|
|
4233
|
+
* @description Create B2B User
|
|
4234
|
+
* @tags b2b_users
|
|
4235
|
+
* @name Create
|
|
4236
|
+
* @summary Create B2B User
|
|
4237
|
+
* @request POST:/v2/users/b2b
|
|
4153
4238
|
* @secure
|
|
4154
4239
|
*/
|
|
4155
|
-
|
|
4156
|
-
}
|
|
4157
|
-
export class WatchmenAuth<HandleError extends boolean = boolean> {
|
|
4158
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4159
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4240
|
+
create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4160
4241
|
/**
|
|
4161
|
-
* @description
|
|
4162
|
-
* @tags
|
|
4163
|
-
* @name
|
|
4164
|
-
* @summary
|
|
4165
|
-
* @request POST:/
|
|
4242
|
+
* @description Get B2B users with pagination
|
|
4243
|
+
* @tags b2b_users
|
|
4244
|
+
* @name Get
|
|
4245
|
+
* @summary Get B2B users with pagination
|
|
4246
|
+
* @request POST:/v2/users/b2b/list
|
|
4166
4247
|
* @secure
|
|
4167
4248
|
*/
|
|
4168
|
-
|
|
4249
|
+
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
4169
4250
|
/**
|
|
4170
|
-
* @description
|
|
4171
|
-
* @tags
|
|
4172
|
-
* @name
|
|
4173
|
-
* @summary
|
|
4174
|
-
* @request PUT:/
|
|
4251
|
+
* @description Update B2B User
|
|
4252
|
+
* @tags b2b_users
|
|
4253
|
+
* @name Update
|
|
4254
|
+
* @summary Update B2B User
|
|
4255
|
+
* @request PUT:/v2/users/b2b/{id}
|
|
4175
4256
|
* @secure
|
|
4176
4257
|
*/
|
|
4177
|
-
|
|
4258
|
+
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4178
4259
|
}
|
|
4179
|
-
export class
|
|
4260
|
+
export class Tags<HandleError extends boolean = boolean> {
|
|
4180
4261
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
4181
4262
|
constructor(apiClient: JwtClient<HandleError>);
|
|
4182
4263
|
/**
|
|
4183
|
-
* @description Create
|
|
4184
|
-
* @tags
|
|
4264
|
+
* @description Create Tag
|
|
4265
|
+
* @tags tags
|
|
4185
4266
|
* @name Create
|
|
4186
|
-
* @summary Create
|
|
4187
|
-
* @request POST:/v1/
|
|
4267
|
+
* @summary Create Tag
|
|
4268
|
+
* @request POST:/v1/tags
|
|
4188
4269
|
* @secure
|
|
4189
4270
|
*/
|
|
4190
|
-
create(
|
|
4271
|
+
create(createTagDto: UmaCreateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
4191
4272
|
/**
|
|
4192
|
-
* @description Delete
|
|
4193
|
-
* @tags
|
|
4273
|
+
* @description Delete Tags
|
|
4274
|
+
* @tags tags
|
|
4194
4275
|
* @name DeleteMany
|
|
4195
|
-
* @summary Delete
|
|
4196
|
-
* @request DELETE:/v1/
|
|
4276
|
+
* @summary Delete Tags
|
|
4277
|
+
* @request DELETE:/v1/tags
|
|
4197
4278
|
* @secure
|
|
4198
4279
|
*/
|
|
4199
|
-
deleteMany(
|
|
4280
|
+
deleteMany(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4200
4281
|
/**
|
|
4201
|
-
* @description Get
|
|
4202
|
-
* @tags
|
|
4203
|
-
* @name
|
|
4204
|
-
* @summary Get
|
|
4205
|
-
* @request POST:/v1/
|
|
4282
|
+
* @description Get Tags List. Available fields for sorting are `id, name, created_at, updated_at`. Search is performed by `name`
|
|
4283
|
+
* @tags tags
|
|
4284
|
+
* @name Get
|
|
4285
|
+
* @summary Get Tags List
|
|
4286
|
+
* @request POST:/v1/tags/list
|
|
4206
4287
|
* @secure
|
|
4207
4288
|
*/
|
|
4208
|
-
|
|
4289
|
+
get(getTagsDto: UmaGetTagsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTagsListSerializer, HandleError>>;
|
|
4209
4290
|
/**
|
|
4210
|
-
* @description Get
|
|
4211
|
-
* @tags
|
|
4291
|
+
* @description Get Tags By ID
|
|
4292
|
+
* @tags tags
|
|
4212
4293
|
* @name GetById
|
|
4213
|
-
* @summary Get
|
|
4214
|
-
* @request GET:/v1/
|
|
4294
|
+
* @summary Get Tag By ID
|
|
4295
|
+
* @request GET:/v1/tags/{id}
|
|
4215
4296
|
* @secure
|
|
4216
4297
|
*/
|
|
4217
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<
|
|
4298
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
4218
4299
|
/**
|
|
4219
|
-
* @description Update
|
|
4220
|
-
* @tags
|
|
4300
|
+
* @description Update Tag
|
|
4301
|
+
* @tags tags
|
|
4221
4302
|
* @name Update
|
|
4222
|
-
* @summary Update
|
|
4223
|
-
* @request PUT:/v1/
|
|
4303
|
+
* @summary Update Tag
|
|
4304
|
+
* @request PUT:/v1/tags/{id}
|
|
4224
4305
|
* @secure
|
|
4225
4306
|
*/
|
|
4226
|
-
update(id: number,
|
|
4307
|
+
update(id: number, updateTagDto: UmaUpdateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
4308
|
+
}
|
|
4309
|
+
export class SecretNotes<HandleError extends boolean = boolean> {
|
|
4310
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
4311
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
4312
|
+
/**
|
|
4313
|
+
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
4314
|
+
* @tags secret_notes
|
|
4315
|
+
* @name Create
|
|
4316
|
+
* @summary Create Secret note
|
|
4317
|
+
* @request POST:/v1/secret-notes
|
|
4318
|
+
* @secure
|
|
4319
|
+
*/
|
|
4320
|
+
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError>>;
|
|
4321
|
+
/**
|
|
4322
|
+
* @description Get Secret note
|
|
4323
|
+
* @tags secret_notes
|
|
4324
|
+
* @name GetOne
|
|
4325
|
+
* @summary Get Secret note
|
|
4326
|
+
* @request POST:/v1/secret-notes/fetch
|
|
4327
|
+
*/
|
|
4328
|
+
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
4329
|
+
/**
|
|
4330
|
+
* @description Send Secret note verification code
|
|
4331
|
+
* @tags secret_notes
|
|
4332
|
+
* @name SendVerificationCode
|
|
4333
|
+
* @summary Send Secret note verification code
|
|
4334
|
+
* @request PUT:/v1/secret-notes/verification
|
|
4335
|
+
*/
|
|
4336
|
+
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4227
4337
|
}
|
|
4228
4338
|
declare class _B2BAuth1<HandleError extends boolean = boolean> extends B2BAuth<HandleError> {
|
|
4229
4339
|
basicLogin(...params: Parameters<B2BAuth<HandleError>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError>>;
|
|
@@ -4244,6 +4354,7 @@ declare class UmaClient<HandleError extends boolean = boolean> extends JwtClient
|
|
|
4244
4354
|
export class UmaApi<HandleError extends boolean = false> extends BaseApi<HandleError, UmaClient<HandleError>> {
|
|
4245
4355
|
readonly config: UmaClientConfig<HandleError>;
|
|
4246
4356
|
actionLog: ActionLogs<HandleError>;
|
|
4357
|
+
adminApiKeys: AdminApiKeys<HandleError>;
|
|
4247
4358
|
allowedOrigins: AllowedOrigins<HandleError>;
|
|
4248
4359
|
apiKeys: ApiKeys<HandleError>;
|
|
4249
4360
|
authApps: AuthApps<HandleError>;
|