@orbis-systems/orbis-api-clients 0.8.0 → 0.8.2
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 +443 -286
- 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 +5928 -4813
- package/dist/bridgewise/index.d.ts.map +1 -1
- package/dist/bridgewise/index.esm.js +1 -1
- package/dist/bridgewise/index.esm.js.map +1 -1
- package/dist/bridgewise/index.js +1 -1
- package/dist/bridgewise/index.js.map +1 -1
- package/dist/insight/index.d.ts +1319 -1297
- 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 +102 -81
- 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 +3985 -3985
- 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 +876 -906
- package/dist/uma/index.d.ts.map +1 -1
- package/dist/uma/index.esm.js +1 -1
- package/dist/uma/index.esm.js.map +1 -1
- package/dist/uma/index.js +1 -1
- package/dist/uma/index.js.map +1 -1
- package/package.json +1 -1
package/dist/uma/index.d.ts
CHANGED
|
@@ -62,23 +62,6 @@ declare class BaseApi<HandleError extends boolean = boolean, ApiClient extends B
|
|
|
62
62
|
constructor(apiClient: ApiClient);
|
|
63
63
|
getApiClient(): ApiClient;
|
|
64
64
|
}
|
|
65
|
-
interface JwtClientConfig<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClientConfig<HandleError> {
|
|
66
|
-
authSchema?: string;
|
|
67
|
-
autoRenewToken?: boolean;
|
|
68
|
-
onRenewTokens?: () => Promise<AuthData>;
|
|
69
|
-
}
|
|
70
|
-
interface JwtAuthData {
|
|
71
|
-
accessToken: string;
|
|
72
|
-
refreshToken?: string;
|
|
73
|
-
}
|
|
74
|
-
declare class JwtClient<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClient<HandleError, AuthData> {
|
|
75
|
-
protected readonly config: JwtClientConfig<HandleError, AuthData>;
|
|
76
|
-
constructor(config: JwtClientConfig<HandleError, AuthData>);
|
|
77
|
-
getConfig(): JwtClientConfig<HandleError>;
|
|
78
|
-
setRenewTokensCallback(renewTokensCallback: () => Promise<AuthData>): void;
|
|
79
|
-
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
80
|
-
protected renewTokens(): Promise<AuthData>;
|
|
81
|
-
}
|
|
82
65
|
export interface UmaGetActionLogsSerializer {
|
|
83
66
|
action_logs: UmaActionLogSerializer[];
|
|
84
67
|
current_page: number;
|
|
@@ -255,7 +238,9 @@ export enum UmaAccessControlProhibitionReasonType {
|
|
|
255
238
|
TargetLacksBranchesForNonAdminFirmsProhibition = "target_lacks_branches_for_non_admin_firms",
|
|
256
239
|
UserLacksAccessToTargetBranchesProhibition = "user_lacks_access_to_target_branches",
|
|
257
240
|
TargetHasAdminFirmBranchesProhibition = "target_has_admin_firm_branches",
|
|
258
|
-
TargetUserIsDeletedProhibition = "target_user_is_deleted"
|
|
241
|
+
TargetUserIsDeletedProhibition = "target_user_is_deleted",
|
|
242
|
+
UserLacksUpdatePermissionProhibition = "user_lacks_update_permission",
|
|
243
|
+
UserLacksDeletePermissionProhibition = "user_lacks_delete_permission"
|
|
259
244
|
}
|
|
260
245
|
export enum UmaAuthAppType {
|
|
261
246
|
EmailCodeAuthAppType = "email_code",
|
|
@@ -332,9 +317,11 @@ export interface UmaEmailDomainMutationSerializer {
|
|
|
332
317
|
status: number;
|
|
333
318
|
}
|
|
334
319
|
export interface UmaGetEmailDomainsListSerializer {
|
|
320
|
+
current_page: number;
|
|
335
321
|
email_domains: UmaEmailDomainSerializer[];
|
|
336
|
-
|
|
322
|
+
pages_count: number;
|
|
337
323
|
status: number;
|
|
324
|
+
total_records: number;
|
|
338
325
|
}
|
|
339
326
|
export interface UmaEndpointMutationSerializer {
|
|
340
327
|
endpoint: UmaEndpointSerializer;
|
|
@@ -348,12 +335,12 @@ export interface UmaGetEndpointsListSerializer {
|
|
|
348
335
|
total_records: number;
|
|
349
336
|
}
|
|
350
337
|
export interface UmaFirmMutationSerializer {
|
|
351
|
-
firm:
|
|
338
|
+
firm: UmaFirmSerializer;
|
|
352
339
|
status: number;
|
|
353
340
|
}
|
|
354
341
|
export interface UmaGetFirmsListSerializer {
|
|
355
342
|
current_page: number;
|
|
356
|
-
firms_list:
|
|
343
|
+
firms_list: UmaFirmSerializer[];
|
|
357
344
|
pages_count: number;
|
|
358
345
|
status: number;
|
|
359
346
|
total_records: number;
|
|
@@ -374,6 +361,7 @@ export enum UmaErrorCode {
|
|
|
374
361
|
ForbiddenErr = 4003,
|
|
375
362
|
ForbiddenDueLimit = 4030,
|
|
376
363
|
RecordNotFoundErr = 4004,
|
|
364
|
+
RelationNotFoundErr = 4041,
|
|
377
365
|
RecordAlreadyExistsErr = 4005,
|
|
378
366
|
ImageValidationErr = 4006,
|
|
379
367
|
InappropriateImageErr = 4007,
|
|
@@ -535,6 +523,12 @@ export enum UmaUserStatus {
|
|
|
535
523
|
BlockedUserStatus = "blocked",
|
|
536
524
|
DeletedUserStatus = "deleted"
|
|
537
525
|
}
|
|
526
|
+
export enum UmaUserStatusChangeReasonType {
|
|
527
|
+
BlockUserStatusChangeReasonType = "block",
|
|
528
|
+
UnblockUserStatusChangeReasonType = "unblock",
|
|
529
|
+
RestoreUserStatusChangeReasonType = "restore",
|
|
530
|
+
DeleteUserStatusChangeReasonType = "delete"
|
|
531
|
+
}
|
|
538
532
|
export enum UmaUserType {
|
|
539
533
|
B2BUserType = "b2b",
|
|
540
534
|
SystemUserType = "system",
|
|
@@ -960,6 +954,7 @@ export interface UmaB2BUserSerializer {
|
|
|
960
954
|
should_reset_password: boolean;
|
|
961
955
|
small_avatar_url: string;
|
|
962
956
|
theme: string;
|
|
957
|
+
title: string;
|
|
963
958
|
/** @example "2022-02-02T00:00:00Z" */
|
|
964
959
|
updated_at: string;
|
|
965
960
|
username: string;
|
|
@@ -1196,12 +1191,10 @@ export interface UmaCreateFirmDto {
|
|
|
1196
1191
|
b2c_refresh_token_expires_in_hours?: number;
|
|
1197
1192
|
email?: string;
|
|
1198
1193
|
firm_tags?: number[];
|
|
1199
|
-
mailgun_creds?: UmaFirmMailgunCredsDto;
|
|
1200
1194
|
name?: string;
|
|
1201
1195
|
notes?: string;
|
|
1202
1196
|
phone?: string;
|
|
1203
1197
|
slug?: string;
|
|
1204
|
-
twilio_creds?: UmaFirmTwilioCredsDto;
|
|
1205
1198
|
}
|
|
1206
1199
|
export interface UmaCreateIdentityProviderDto {
|
|
1207
1200
|
auth_url?: string;
|
|
@@ -1390,12 +1383,6 @@ export interface UmaFirmInfo {
|
|
|
1390
1383
|
firm_id?: number;
|
|
1391
1384
|
have_access_to_all_firm_branches?: boolean;
|
|
1392
1385
|
}
|
|
1393
|
-
export interface UmaFirmMailgunCredsDto {
|
|
1394
|
-
domain?: string;
|
|
1395
|
-
from_address?: string;
|
|
1396
|
-
from_name?: string;
|
|
1397
|
-
private_api_key?: string;
|
|
1398
|
-
}
|
|
1399
1386
|
export interface UmaFirmSerializer {
|
|
1400
1387
|
admins_count: number;
|
|
1401
1388
|
allow_b2c_email_notifications: boolean;
|
|
@@ -1421,39 +1408,6 @@ export interface UmaFirmSerializer {
|
|
|
1421
1408
|
/** @example "2022-02-02T00:00:00Z" */
|
|
1422
1409
|
updated_at: string;
|
|
1423
1410
|
}
|
|
1424
|
-
export interface UmaFirmTwilioCredsDto {
|
|
1425
|
-
account_sid?: string;
|
|
1426
|
-
auth_token?: string;
|
|
1427
|
-
phone_number?: string;
|
|
1428
|
-
subaccount_sid?: string;
|
|
1429
|
-
}
|
|
1430
|
-
export interface UmaFirmWithCredsSerializer {
|
|
1431
|
-
admins_count: number;
|
|
1432
|
-
allow_b2c_email_notifications: boolean;
|
|
1433
|
-
allow_b2c_multi_branch_registration: boolean;
|
|
1434
|
-
b2b_users_count: number;
|
|
1435
|
-
b2c_users_count: number;
|
|
1436
|
-
branches: UmaBranchSerializer[];
|
|
1437
|
-
branches_count: number;
|
|
1438
|
-
/** @example "2022-02-02T00:00:00Z" */
|
|
1439
|
-
created_at: string;
|
|
1440
|
-
email: string;
|
|
1441
|
-
/** @example 1 */
|
|
1442
|
-
id: number;
|
|
1443
|
-
last_status_change_at: string;
|
|
1444
|
-
mailgun_creds: UmaFirmMailgunCredsDto;
|
|
1445
|
-
/** @example "ViewTrade" */
|
|
1446
|
-
name: string;
|
|
1447
|
-
notes: string;
|
|
1448
|
-
phone: string;
|
|
1449
|
-
/** @example "viewtrade" */
|
|
1450
|
-
slug: string;
|
|
1451
|
-
status: string;
|
|
1452
|
-
tags: UmaTagSerializer[];
|
|
1453
|
-
twilio_creds: UmaFirmTwilioCredsDto;
|
|
1454
|
-
/** @example "2022-02-02T00:00:00Z" */
|
|
1455
|
-
updated_at: string;
|
|
1456
|
-
}
|
|
1457
1411
|
export interface UmaGenerateWatchmenAuthTokenDto {
|
|
1458
1412
|
branch_id?: number;
|
|
1459
1413
|
}
|
|
@@ -1675,7 +1629,7 @@ export interface UmaGetUserStatusChangeReasonsDto {
|
|
|
1675
1629
|
sorts?: UmaSortDto[];
|
|
1676
1630
|
}
|
|
1677
1631
|
export interface UmaGetUserStatusChangeReasonsListFiltersDto {
|
|
1678
|
-
types?:
|
|
1632
|
+
types?: UmaUserStatusChangeReasonType[];
|
|
1679
1633
|
}
|
|
1680
1634
|
export interface UmaGetUsersListFiltersDto {
|
|
1681
1635
|
branch_ids?: number[];
|
|
@@ -1806,11 +1760,6 @@ export interface UmaOptionalPaginationDto {
|
|
|
1806
1760
|
page?: number;
|
|
1807
1761
|
size?: number;
|
|
1808
1762
|
}
|
|
1809
|
-
export interface UmaPaginationSerializer {
|
|
1810
|
-
current_page: number;
|
|
1811
|
-
pages_count: number;
|
|
1812
|
-
total_records: number;
|
|
1813
|
-
}
|
|
1814
1763
|
export interface UmaPartialUpdatePermissionDto {
|
|
1815
1764
|
metadata?: UmaPermissionMetadataDto;
|
|
1816
1765
|
microservice_id?: number;
|
|
@@ -2121,13 +2070,11 @@ export interface UmaUpdateFirmDto {
|
|
|
2121
2070
|
b2c_refresh_token_expires_in_hours?: number;
|
|
2122
2071
|
email?: string;
|
|
2123
2072
|
firm_tags?: number[];
|
|
2124
|
-
mailgun_creds?: UmaFirmMailgunCredsDto;
|
|
2125
2073
|
name?: string;
|
|
2126
2074
|
notes?: string;
|
|
2127
2075
|
phone?: string;
|
|
2128
2076
|
slug?: string;
|
|
2129
2077
|
status?: UmaUpdateFirmDtoStatusEnum;
|
|
2130
|
-
twilio_creds?: UmaFirmTwilioCredsDto;
|
|
2131
2078
|
updated_at?: string;
|
|
2132
2079
|
}
|
|
2133
2080
|
export interface UmaUpdateIdentityProviderDto {
|
|
@@ -2253,7 +2200,7 @@ export interface UmaUserStatusChangeReasonSerializer {
|
|
|
2253
2200
|
created_at: string;
|
|
2254
2201
|
id: number;
|
|
2255
2202
|
name: string;
|
|
2256
|
-
type:
|
|
2203
|
+
type: UmaUserStatusChangeReasonType;
|
|
2257
2204
|
updated_at: string;
|
|
2258
2205
|
}
|
|
2259
2206
|
export interface UmaVerificationSettingsSerializer {
|
|
@@ -2553,18 +2500,22 @@ export enum UmaVerifyContactDtoCodeTypeEnum {
|
|
|
2553
2500
|
Voice = "voice",
|
|
2554
2501
|
Sms = "sms"
|
|
2555
2502
|
}
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2503
|
+
interface JwtClientConfig<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClientConfig<HandleError> {
|
|
2504
|
+
authSchema?: string;
|
|
2505
|
+
autoRenewToken?: boolean;
|
|
2506
|
+
onRenewTokens?: () => Promise<AuthData>;
|
|
2507
|
+
}
|
|
2508
|
+
interface JwtAuthData {
|
|
2509
|
+
accessToken: string;
|
|
2510
|
+
refreshToken?: string;
|
|
2511
|
+
}
|
|
2512
|
+
declare class JwtClient<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClient<HandleError, AuthData> {
|
|
2513
|
+
protected readonly config: JwtClientConfig<HandleError, AuthData>;
|
|
2514
|
+
constructor(config: JwtClientConfig<HandleError, AuthData>);
|
|
2515
|
+
getConfig(): JwtClientConfig<HandleError>;
|
|
2516
|
+
setRenewTokensCallback(renewTokensCallback: () => Promise<AuthData>): void;
|
|
2517
|
+
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
2518
|
+
protected renewTokens(): Promise<AuthData>;
|
|
2568
2519
|
}
|
|
2569
2520
|
export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
2570
2521
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -2615,54 +2566,18 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2615
2566
|
*/
|
|
2616
2567
|
update(id: number, updateAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2617
2568
|
}
|
|
2618
|
-
export class
|
|
2569
|
+
export class ActionLogs<HandleError extends boolean = boolean> {
|
|
2619
2570
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2620
2571
|
constructor(apiClient: JwtClient<HandleError>);
|
|
2621
2572
|
/**
|
|
2622
|
-
* @description
|
|
2623
|
-
* @tags
|
|
2624
|
-
* @name
|
|
2625
|
-
* @summary
|
|
2626
|
-
* @request
|
|
2627
|
-
* @secure
|
|
2628
|
-
*/
|
|
2629
|
-
deleteMany(deleteAPIKeys: UmaDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2630
|
-
/**
|
|
2631
|
-
* @description Get APIKey by id
|
|
2632
|
-
* @tags api_keys
|
|
2633
|
-
* @name GetById
|
|
2634
|
-
* @summary Get APIKey by id
|
|
2635
|
-
* @request GET:/v1/b2b/api-keys/{id}
|
|
2636
|
-
* @secure
|
|
2637
|
-
*/
|
|
2638
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
2639
|
-
/**
|
|
2640
|
-
* @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
|
|
2641
|
-
* @tags api_keys
|
|
2642
|
-
* @name Create
|
|
2643
|
-
* @summary Create API Key & API Secret Pair
|
|
2644
|
-
* @request POST:/v2/b2b/api-keys
|
|
2645
|
-
* @secure
|
|
2646
|
-
*/
|
|
2647
|
-
create(createApiKeys: UmaCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
2648
|
-
/**
|
|
2649
|
-
* @description Get API Keys info(would return API Keys without secrets)
|
|
2650
|
-
* @tags api_keys
|
|
2651
|
-
* @name Get
|
|
2652
|
-
* @summary Get API Keys info(would return API Keys without secrets)
|
|
2653
|
-
* @request POST:/v2/b2b/api-keys/list
|
|
2654
|
-
* @secure
|
|
2655
|
-
*/
|
|
2656
|
-
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError>>;
|
|
2657
|
-
/**
|
|
2658
|
-
* @description Update API Key Record
|
|
2659
|
-
* @tags api_keys
|
|
2660
|
-
* @name Update
|
|
2661
|
-
* @summary Update API Key Record
|
|
2662
|
-
* @request PUT:/v2/b2b/api-keys/{id}
|
|
2573
|
+
* @description Get Action logs list
|
|
2574
|
+
* @tags action_logs
|
|
2575
|
+
* @name GetActionLogs
|
|
2576
|
+
* @summary Get Action logs list
|
|
2577
|
+
* @request POST:/v1/action-logs/list
|
|
2663
2578
|
* @secure
|
|
2664
2579
|
*/
|
|
2665
|
-
|
|
2580
|
+
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2666
2581
|
}
|
|
2667
2582
|
export class AuthApps<HandleError extends boolean = boolean> {
|
|
2668
2583
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -2710,7 +2625,12 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2710
2625
|
* @summary Get WebAuthn login challenge
|
|
2711
2626
|
* @request POST:/v1/auth-apps/webauthn/login/request
|
|
2712
2627
|
*/
|
|
2713
|
-
getLoginChallenge(getWebAuthnLoginChallengeDto: UmaGetWebAuthnLoginChallengeDto,
|
|
2628
|
+
getLoginChallenge(getWebAuthnLoginChallengeDto: UmaGetWebAuthnLoginChallengeDto, headers?: {
|
|
2629
|
+
/** Branch id/slug/code, with which user should work */
|
|
2630
|
+
BRANCH?: string;
|
|
2631
|
+
/** Firm id/slug, with which user should work */
|
|
2632
|
+
FIRM?: string;
|
|
2633
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialAssertionSerializer, HandleError>>;
|
|
2714
2634
|
/**
|
|
2715
2635
|
* @description Get WebAuthn register challenge
|
|
2716
2636
|
* @tags auth_apps
|
|
@@ -2805,6 +2725,28 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2805
2725
|
*/
|
|
2806
2726
|
update(id: number, authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
2807
2727
|
}
|
|
2728
|
+
export class Sessions<HandleError extends boolean = boolean> {
|
|
2729
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2730
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2731
|
+
/**
|
|
2732
|
+
* @description et current user sessions info
|
|
2733
|
+
* @tags sessions
|
|
2734
|
+
* @name GetCurrentUserSessions
|
|
2735
|
+
* @summary Get current user sessions info
|
|
2736
|
+
* @request GET:/v1/auth/sessions
|
|
2737
|
+
* @secure
|
|
2738
|
+
*/
|
|
2739
|
+
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSessionsListSerializer, HandleError>>;
|
|
2740
|
+
/**
|
|
2741
|
+
* @description Delete current user sessions by pair id's
|
|
2742
|
+
* @tags sessions
|
|
2743
|
+
* @name DeleteCurrentUserSessions
|
|
2744
|
+
* @summary Delete current user sessions by pair id's
|
|
2745
|
+
* @request DELETE:/v1/auth/sessions
|
|
2746
|
+
* @secure
|
|
2747
|
+
*/
|
|
2748
|
+
deleteCurrentUserSessions(deleteSessions: UmaDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2749
|
+
}
|
|
2808
2750
|
export class B2BAuth<HandleError extends boolean = boolean> {
|
|
2809
2751
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2810
2752
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -2888,196 +2830,73 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2888
2830
|
*/
|
|
2889
2831
|
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2890
2832
|
}
|
|
2891
|
-
export class
|
|
2833
|
+
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
2892
2834
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2893
2835
|
constructor(apiClient: JwtClient<HandleError>);
|
|
2894
2836
|
/**
|
|
2895
|
-
* @description
|
|
2896
|
-
* @tags
|
|
2897
|
-
* @name
|
|
2898
|
-
* @summary
|
|
2899
|
-
* @request
|
|
2837
|
+
* @description Get current B2C user info by access token.
|
|
2838
|
+
* @tags b2c_auth
|
|
2839
|
+
* @name GetCurrent
|
|
2840
|
+
* @summary Get current B2C user info by access token
|
|
2841
|
+
* @request GET:/v1/auth/b2c/current
|
|
2900
2842
|
* @secure
|
|
2901
2843
|
*/
|
|
2902
|
-
|
|
2844
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError>>;
|
|
2903
2845
|
/**
|
|
2904
|
-
* @description
|
|
2905
|
-
* @tags
|
|
2906
|
-
* @name
|
|
2907
|
-
* @summary
|
|
2908
|
-
* @request
|
|
2909
|
-
* @secure
|
|
2846
|
+
* @description Initialize Apple OAuth2 Login
|
|
2847
|
+
* @tags b2c_auth
|
|
2848
|
+
* @name InitAppleLogin
|
|
2849
|
+
* @summary Initialize Apple OAuth2 Login
|
|
2850
|
+
* @request POST:/v1/auth/b2c/login/apple
|
|
2910
2851
|
*/
|
|
2911
|
-
|
|
2852
|
+
initAppleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
2853
|
+
/** Branch id/slug/code, with which user should work */
|
|
2854
|
+
BRANCH?: string;
|
|
2855
|
+
/** Firm id/slug, with which user should work */
|
|
2856
|
+
FIRM?: string;
|
|
2857
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
2912
2858
|
/**
|
|
2913
|
-
* @description
|
|
2914
|
-
* @tags
|
|
2915
|
-
* @name
|
|
2916
|
-
* @summary
|
|
2917
|
-
* @request
|
|
2918
|
-
* @secure
|
|
2859
|
+
* @description Finish Apple OAuth2 Login
|
|
2860
|
+
* @tags b2c_auth
|
|
2861
|
+
* @name FinishAppleLogin
|
|
2862
|
+
* @summary Finish Apple OAuth2 Login
|
|
2863
|
+
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
2919
2864
|
*/
|
|
2920
|
-
|
|
2865
|
+
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
2921
2866
|
/**
|
|
2922
|
-
* @description
|
|
2923
|
-
* @tags
|
|
2924
|
-
* @name
|
|
2925
|
-
* @summary
|
|
2926
|
-
* @request POST:/v1/
|
|
2927
|
-
* @secure
|
|
2867
|
+
* @description Login B2C user by email/password.
|
|
2868
|
+
* @tags b2c_auth
|
|
2869
|
+
* @name BasicLogin
|
|
2870
|
+
* @summary Login B2C user by email/password
|
|
2871
|
+
* @request POST:/v1/auth/b2c/login/basic
|
|
2928
2872
|
*/
|
|
2929
|
-
|
|
2873
|
+
basicLogin(basicLoginParams: UmaBasicB2CLoginDto, headers?: {
|
|
2874
|
+
/** Branch id/slug/code, with which user should work */
|
|
2875
|
+
BRANCH?: string;
|
|
2876
|
+
/** Firm id/slug, with which user should work */
|
|
2877
|
+
FIRM?: string;
|
|
2878
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
2930
2879
|
/**
|
|
2931
|
-
* @description
|
|
2932
|
-
* @tags
|
|
2933
|
-
* @name
|
|
2934
|
-
* @summary
|
|
2935
|
-
* @request
|
|
2936
|
-
* @secure
|
|
2880
|
+
* @description Initialize Google OAuth2 Login
|
|
2881
|
+
* @tags b2c_auth
|
|
2882
|
+
* @name InitGoogleLogin
|
|
2883
|
+
* @summary Initialize Google OAuth2 Login
|
|
2884
|
+
* @request POST:/v1/auth/b2c/login/google
|
|
2937
2885
|
*/
|
|
2938
|
-
|
|
2886
|
+
initGoogleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
2887
|
+
/** Branch id/slug/code, with which user should work */
|
|
2888
|
+
BRANCH?: string;
|
|
2889
|
+
/** Firm id/slug, with which user should work */
|
|
2890
|
+
FIRM?: string;
|
|
2891
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
2939
2892
|
/**
|
|
2940
|
-
* @description
|
|
2941
|
-
* @tags
|
|
2942
|
-
* @name
|
|
2943
|
-
* @summary
|
|
2944
|
-
* @request POST:/
|
|
2945
|
-
* @secure
|
|
2893
|
+
* @description Finish Google OAuth2 Login
|
|
2894
|
+
* @tags b2c_auth
|
|
2895
|
+
* @name FinishGoogleLogin
|
|
2896
|
+
* @summary Finish Google OAuth2 Login
|
|
2897
|
+
* @request POST:/v1/auth/b2c/login/google/callback
|
|
2946
2898
|
*/
|
|
2947
|
-
|
|
2948
|
-
/**
|
|
2949
|
-
* @description Get B2B users with pagination
|
|
2950
|
-
* @tags b2b_users
|
|
2951
|
-
* @name Get
|
|
2952
|
-
* @summary Get B2B users with pagination
|
|
2953
|
-
* @request POST:/v2/users/b2b/list
|
|
2954
|
-
* @secure
|
|
2955
|
-
*/
|
|
2956
|
-
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
2957
|
-
/**
|
|
2958
|
-
* @description Update B2B User
|
|
2959
|
-
* @tags b2b_users
|
|
2960
|
-
* @name Update
|
|
2961
|
-
* @summary Update B2B User
|
|
2962
|
-
* @request PUT:/v2/users/b2b/{id}
|
|
2963
|
-
* @secure
|
|
2964
|
-
*/
|
|
2965
|
-
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
2966
|
-
}
|
|
2967
|
-
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
2968
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2969
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2970
|
-
/**
|
|
2971
|
-
* @description Set B2B User Settings
|
|
2972
|
-
* @tags b2b_user_settings
|
|
2973
|
-
* @name SetUserSettings
|
|
2974
|
-
* @summary Set B2B User Settings
|
|
2975
|
-
* @request PUT:/v1/b2b/settings
|
|
2976
|
-
* @secure
|
|
2977
|
-
*/
|
|
2978
|
-
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
2979
|
-
/** Run endpoint in debug mode */
|
|
2980
|
-
'Debug-Token'?: string;
|
|
2981
|
-
/** Branch id, with which user should work */
|
|
2982
|
-
BRANCH?: string;
|
|
2983
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
2984
|
-
/**
|
|
2985
|
-
* @description Upload avatar for B2B user
|
|
2986
|
-
* @tags b2b_user_settings
|
|
2987
|
-
* @name UploadAvatar
|
|
2988
|
-
* @summary Upload avatar for B2B user
|
|
2989
|
-
* @request PUT:/v1/b2b/settings/avatar
|
|
2990
|
-
* @secure
|
|
2991
|
-
*/
|
|
2992
|
-
uploadAvatar(data: {
|
|
2993
|
-
/**
|
|
2994
|
-
* Avatar to upload
|
|
2995
|
-
* @format binary
|
|
2996
|
-
*/
|
|
2997
|
-
avatar?: File;
|
|
2998
|
-
/** Should delete old avatar instead of uploading new one */
|
|
2999
|
-
delete_avatar?: boolean;
|
|
3000
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
3001
|
-
/**
|
|
3002
|
-
* @description Send B2B user contact change code
|
|
3003
|
-
* @tags b2b_user_settings
|
|
3004
|
-
* @name SendContactChangeCode
|
|
3005
|
-
* @summary Send B2B user contact change code
|
|
3006
|
-
* @request POST:/v1/b2b/settings/codes
|
|
3007
|
-
* @secure
|
|
3008
|
-
*/
|
|
3009
|
-
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3010
|
-
/** Branch id, with which user should work */
|
|
3011
|
-
BRANCH?: string;
|
|
3012
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3013
|
-
}
|
|
3014
|
-
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
3015
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3016
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3017
|
-
/**
|
|
3018
|
-
* @description Get current B2C user info by access token.
|
|
3019
|
-
* @tags b2c_auth
|
|
3020
|
-
* @name GetCurrent
|
|
3021
|
-
* @summary Get current B2C user info by access token
|
|
3022
|
-
* @request GET:/v1/auth/b2c/current
|
|
3023
|
-
* @secure
|
|
3024
|
-
*/
|
|
3025
|
-
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError>>;
|
|
3026
|
-
/**
|
|
3027
|
-
* @description Initialize Apple OAuth2 Login
|
|
3028
|
-
* @tags b2c_auth
|
|
3029
|
-
* @name InitAppleLogin
|
|
3030
|
-
* @summary Initialize Apple OAuth2 Login
|
|
3031
|
-
* @request POST:/v1/auth/b2c/login/apple
|
|
3032
|
-
*/
|
|
3033
|
-
initAppleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
3034
|
-
/** Branch id/slug/code, with which user should work */
|
|
3035
|
-
BRANCH?: string;
|
|
3036
|
-
/** Firm id/slug, with which user should work */
|
|
3037
|
-
FIRM?: string;
|
|
3038
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3039
|
-
/**
|
|
3040
|
-
* @description Finish Apple OAuth2 Login
|
|
3041
|
-
* @tags b2c_auth
|
|
3042
|
-
* @name FinishAppleLogin
|
|
3043
|
-
* @summary Finish Apple OAuth2 Login
|
|
3044
|
-
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
3045
|
-
*/
|
|
3046
|
-
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3047
|
-
/**
|
|
3048
|
-
* @description Login B2C user by email/password.
|
|
3049
|
-
* @tags b2c_auth
|
|
3050
|
-
* @name BasicLogin
|
|
3051
|
-
* @summary Login B2C user by email/password
|
|
3052
|
-
* @request POST:/v1/auth/b2c/login/basic
|
|
3053
|
-
*/
|
|
3054
|
-
basicLogin(basicLoginParams: UmaBasicB2CLoginDto, headers?: {
|
|
3055
|
-
/** Branch id/slug/code, with which user should work */
|
|
3056
|
-
BRANCH?: string;
|
|
3057
|
-
/** Firm id/slug, with which user should work */
|
|
3058
|
-
FIRM?: string;
|
|
3059
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3060
|
-
/**
|
|
3061
|
-
* @description Initialize Google OAuth2 Login
|
|
3062
|
-
* @tags b2c_auth
|
|
3063
|
-
* @name InitGoogleLogin
|
|
3064
|
-
* @summary Initialize Google OAuth2 Login
|
|
3065
|
-
* @request POST:/v1/auth/b2c/login/google
|
|
3066
|
-
*/
|
|
3067
|
-
initGoogleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
3068
|
-
/** Branch id/slug/code, with which user should work */
|
|
3069
|
-
BRANCH?: string;
|
|
3070
|
-
/** Firm id/slug, with which user should work */
|
|
3071
|
-
FIRM?: string;
|
|
3072
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3073
|
-
/**
|
|
3074
|
-
* @description Finish Google OAuth2 Login
|
|
3075
|
-
* @tags b2c_auth
|
|
3076
|
-
* @name FinishGoogleLogin
|
|
3077
|
-
* @summary Finish Google OAuth2 Login
|
|
3078
|
-
* @request POST:/v1/auth/b2c/login/google/callback
|
|
3079
|
-
*/
|
|
3080
|
-
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
2899
|
+
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3081
2900
|
/**
|
|
3082
2901
|
* @description Impersonate B2C user
|
|
3083
2902
|
* @tags b2c_auth
|
|
@@ -3159,7 +2978,12 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3159
2978
|
* @summary Send reset password code for B2C user
|
|
3160
2979
|
* @request PUT:/v1/auth/b2c/send-reset-password-code
|
|
3161
2980
|
*/
|
|
3162
|
-
sendResetPasswordCode(B2CSendResetPasswordCodeParams: UmaSendB2CResetPasswordCodeDto,
|
|
2981
|
+
sendResetPasswordCode(B2CSendResetPasswordCodeParams: UmaSendB2CResetPasswordCodeDto, headers?: {
|
|
2982
|
+
/** Branch id/slug/code, with which user should work */
|
|
2983
|
+
BRANCH?: string;
|
|
2984
|
+
/** Firm id/slug, with which user should work */
|
|
2985
|
+
FIRM?: string;
|
|
2986
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3163
2987
|
/**
|
|
3164
2988
|
* @description Send verification code for B2C user
|
|
3165
2989
|
* @tags b2c_auth
|
|
@@ -3187,601 +3011,592 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3187
3011
|
FIRM?: string;
|
|
3188
3012
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3189
3013
|
}
|
|
3190
|
-
export class
|
|
3014
|
+
export class TrustedDevices<HandleError extends boolean = boolean> {
|
|
3191
3015
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3192
3016
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3193
3017
|
/**
|
|
3194
|
-
* @description
|
|
3195
|
-
* @tags
|
|
3196
|
-
* @name
|
|
3197
|
-
* @summary
|
|
3198
|
-
* @request
|
|
3018
|
+
* @description Delete trusted devices
|
|
3019
|
+
* @tags trusted_devices
|
|
3020
|
+
* @name DeleteMany
|
|
3021
|
+
* @summary Delete trusted devices
|
|
3022
|
+
* @request DELETE:/v1/auth/trusted-devices
|
|
3199
3023
|
* @secure
|
|
3200
3024
|
*/
|
|
3201
|
-
|
|
3202
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3203
|
-
'X-Accept'?: string;
|
|
3204
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3025
|
+
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3205
3026
|
/**
|
|
3206
|
-
* @description
|
|
3207
|
-
* @tags
|
|
3208
|
-
* @name
|
|
3209
|
-
* @summary
|
|
3210
|
-
* @request
|
|
3027
|
+
* @description Get trusted devices
|
|
3028
|
+
* @tags trusted_devices
|
|
3029
|
+
* @name Get
|
|
3030
|
+
* @summary Get trusted devices
|
|
3031
|
+
* @request POST:/v1/auth/trusted-devices/list
|
|
3211
3032
|
* @secure
|
|
3212
3033
|
*/
|
|
3213
|
-
|
|
3034
|
+
get(getTrustedDevicesListDto: UmaGetTrustedDevicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTrustedDevicesListSerializer, HandleError>>;
|
|
3035
|
+
}
|
|
3036
|
+
export class WatchmenAuth<HandleError extends boolean = boolean> {
|
|
3037
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3038
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3214
3039
|
/**
|
|
3215
|
-
* @description
|
|
3216
|
-
* @tags
|
|
3217
|
-
* @name
|
|
3218
|
-
* @summary
|
|
3219
|
-
* @request
|
|
3040
|
+
* @description Generate Watchmen Auth Token
|
|
3041
|
+
* @tags watchmen_auth
|
|
3042
|
+
* @name GenerateWatchmenAuthToken
|
|
3043
|
+
* @summary Generate Watchmen Auth Token
|
|
3044
|
+
* @request POST:/v1/auth/watchmen/authentication-tokens
|
|
3220
3045
|
* @secure
|
|
3221
3046
|
*/
|
|
3222
|
-
|
|
3223
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3224
|
-
'X-Accept'?: string;
|
|
3225
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3047
|
+
generateWatchmenAuthToken(generateWatchmenAuthTokenDto: UmaGenerateWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenGenerationResponseSerializer, HandleError>>;
|
|
3226
3048
|
/**
|
|
3227
|
-
* @description
|
|
3228
|
-
* @tags
|
|
3229
|
-
* @name
|
|
3230
|
-
* @summary
|
|
3231
|
-
* @request PUT:/v1/
|
|
3049
|
+
* @description Verify Watchmen Auth Token
|
|
3050
|
+
* @tags watchmen_auth
|
|
3051
|
+
* @name VerifyWatchmenAuthToken
|
|
3052
|
+
* @summary Verify Watchmen Auth Token
|
|
3053
|
+
* @request PUT:/v1/auth/watchmen/authentication-tokens/verify
|
|
3232
3054
|
* @secure
|
|
3233
3055
|
*/
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3056
|
+
verifyWatchmenAuthToken(verifyWatchmenAuthToken: UmaVerifyWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenDetailsResponseSerializer, HandleError>>;
|
|
3057
|
+
}
|
|
3058
|
+
export class ApiKeys<HandleError extends boolean = boolean> {
|
|
3059
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3060
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3238
3061
|
/**
|
|
3239
|
-
* @description
|
|
3240
|
-
* @tags
|
|
3241
|
-
* @name
|
|
3242
|
-
* @summary
|
|
3243
|
-
* @request
|
|
3062
|
+
* @description Delete API Key by id (would throw 404 error if API key not found or belongs to different user)
|
|
3063
|
+
* @tags api_keys
|
|
3064
|
+
* @name DeleteMany
|
|
3065
|
+
* @summary Delete API Key by id
|
|
3066
|
+
* @request DELETE:/v1/b2b/api-keys
|
|
3244
3067
|
* @secure
|
|
3245
3068
|
*/
|
|
3246
|
-
|
|
3247
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3248
|
-
'X-Accept'?: string;
|
|
3249
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3069
|
+
deleteMany(deleteAPIKeys: UmaDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3250
3070
|
/**
|
|
3251
|
-
* @description
|
|
3252
|
-
* @tags
|
|
3253
|
-
* @name
|
|
3254
|
-
* @summary
|
|
3255
|
-
* @request
|
|
3071
|
+
* @description Get APIKey by id
|
|
3072
|
+
* @tags api_keys
|
|
3073
|
+
* @name GetById
|
|
3074
|
+
* @summary Get APIKey by id
|
|
3075
|
+
* @request GET:/v1/b2b/api-keys/{id}
|
|
3256
3076
|
* @secure
|
|
3257
3077
|
*/
|
|
3258
|
-
|
|
3078
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3259
3079
|
/**
|
|
3260
|
-
* @description
|
|
3261
|
-
* @tags
|
|
3262
|
-
* @name
|
|
3263
|
-
* @summary
|
|
3264
|
-
* @request
|
|
3080
|
+
* @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
|
|
3081
|
+
* @tags api_keys
|
|
3082
|
+
* @name Create
|
|
3083
|
+
* @summary Create API Key & API Secret Pair
|
|
3084
|
+
* @request POST:/v2/b2b/api-keys
|
|
3265
3085
|
* @secure
|
|
3266
3086
|
*/
|
|
3267
|
-
|
|
3087
|
+
create(createApiKeys: UmaCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3268
3088
|
/**
|
|
3269
|
-
* @description Get
|
|
3270
|
-
* @tags
|
|
3089
|
+
* @description Get API Keys info(would return API Keys without secrets)
|
|
3090
|
+
* @tags api_keys
|
|
3271
3091
|
* @name Get
|
|
3272
|
-
* @summary Get
|
|
3273
|
-
* @request POST:/v2/
|
|
3092
|
+
* @summary Get API Keys info(would return API Keys without secrets)
|
|
3093
|
+
* @request POST:/v2/b2b/api-keys/list
|
|
3274
3094
|
* @secure
|
|
3275
3095
|
*/
|
|
3276
|
-
get(
|
|
3277
|
-
}
|
|
3278
|
-
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
3279
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3280
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3096
|
+
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError>>;
|
|
3281
3097
|
/**
|
|
3282
|
-
* @description
|
|
3283
|
-
* @tags
|
|
3284
|
-
* @name
|
|
3285
|
-
* @summary
|
|
3286
|
-
* @request PUT:/
|
|
3098
|
+
* @description Update API Key Record
|
|
3099
|
+
* @tags api_keys
|
|
3100
|
+
* @name Update
|
|
3101
|
+
* @summary Update API Key Record
|
|
3102
|
+
* @request PUT:/v2/b2b/api-keys/{id}
|
|
3287
3103
|
* @secure
|
|
3288
3104
|
*/
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3105
|
+
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3106
|
+
}
|
|
3107
|
+
export class Endpoints<HandleError extends boolean = boolean> {
|
|
3108
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3109
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3293
3110
|
/**
|
|
3294
|
-
* @description
|
|
3295
|
-
* @tags
|
|
3296
|
-
* @name
|
|
3297
|
-
* @summary
|
|
3298
|
-
* @request POST:/v1/
|
|
3111
|
+
* @description Create Endpoint
|
|
3112
|
+
* @tags endpoints
|
|
3113
|
+
* @name Create
|
|
3114
|
+
* @summary Create Endpoint
|
|
3115
|
+
* @request POST:/v1/b2b/endpoints
|
|
3299
3116
|
* @secure
|
|
3300
3117
|
*/
|
|
3301
|
-
|
|
3302
|
-
/** Branch id/slug/code, with which user should work */
|
|
3303
|
-
BRANCH?: string;
|
|
3304
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3118
|
+
create(endpointDto: UmaCreateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3305
3119
|
/**
|
|
3306
|
-
* @description
|
|
3307
|
-
* @tags
|
|
3308
|
-
* @name
|
|
3309
|
-
* @summary
|
|
3310
|
-
* @request
|
|
3120
|
+
* @description Delete endpoint by id
|
|
3121
|
+
* @tags endpoints
|
|
3122
|
+
* @name DeleteMany
|
|
3123
|
+
* @summary Delete endpoint by id
|
|
3124
|
+
* @request DELETE:/v1/b2b/endpoints
|
|
3311
3125
|
* @secure
|
|
3312
3126
|
*/
|
|
3313
|
-
|
|
3314
|
-
/** Branch id/slug/code, with which user should work */
|
|
3315
|
-
BRANCH?: string;
|
|
3316
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
3127
|
+
deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3317
3128
|
/**
|
|
3318
|
-
* @description
|
|
3319
|
-
* @tags
|
|
3320
|
-
* @name
|
|
3321
|
-
* @summary
|
|
3322
|
-
* @request
|
|
3129
|
+
* @description Get Endpoint by id
|
|
3130
|
+
* @tags endpoints
|
|
3131
|
+
* @name GetById
|
|
3132
|
+
* @summary Get Endpoint by id
|
|
3133
|
+
* @request GET:/v1/b2b/endpoints/{id}
|
|
3323
3134
|
* @secure
|
|
3324
3135
|
*/
|
|
3325
|
-
|
|
3326
|
-
/**
|
|
3327
|
-
* @description Finish Apple OAuth2 Profile Linking
|
|
3328
|
-
* @tags b2c_user_settings
|
|
3329
|
-
* @name FinishAppleProfileLinking
|
|
3330
|
-
* @summary Finish Apple OAuth2 Profile Linking
|
|
3331
|
-
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
3332
|
-
*/
|
|
3333
|
-
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3136
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3334
3137
|
/**
|
|
3335
|
-
* @description
|
|
3336
|
-
* @tags
|
|
3337
|
-
* @name
|
|
3338
|
-
* @summary
|
|
3339
|
-
* @request
|
|
3138
|
+
* @description Update endpoint record
|
|
3139
|
+
* @tags endpoints
|
|
3140
|
+
* @name Update
|
|
3141
|
+
* @summary Update endpoint record
|
|
3142
|
+
* @request PUT:/v1/b2b/endpoints/{id}
|
|
3340
3143
|
* @secure
|
|
3341
3144
|
*/
|
|
3342
|
-
|
|
3343
|
-
/**
|
|
3344
|
-
* @description Finish Google OAuth2 Profile Linking
|
|
3345
|
-
* @tags b2c_user_settings
|
|
3346
|
-
* @name FinishGoogleProfileLinking
|
|
3347
|
-
* @summary Finish Google OAuth2 Profile Linking
|
|
3348
|
-
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
3349
|
-
*/
|
|
3350
|
-
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3145
|
+
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3351
3146
|
/**
|
|
3352
|
-
* @description
|
|
3353
|
-
* @tags
|
|
3354
|
-
* @name
|
|
3355
|
-
* @summary
|
|
3356
|
-
* @request
|
|
3147
|
+
* @description Update endpoint record (partial updates supported).
|
|
3148
|
+
* @tags endpoints
|
|
3149
|
+
* @name PartialUpdate
|
|
3150
|
+
* @summary Update endpoint record (partial updates supported)
|
|
3151
|
+
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3357
3152
|
* @secure
|
|
3358
3153
|
*/
|
|
3359
|
-
|
|
3154
|
+
partialUpdate(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3360
3155
|
/**
|
|
3361
|
-
* @description Get
|
|
3362
|
-
* @tags
|
|
3363
|
-
* @name
|
|
3364
|
-
* @summary Get
|
|
3365
|
-
* @request POST:/
|
|
3156
|
+
* @description Get endpoints with pagination
|
|
3157
|
+
* @tags endpoints
|
|
3158
|
+
* @name Get
|
|
3159
|
+
* @summary Get endpoints with pagination
|
|
3160
|
+
* @request POST:/v2/b2b/endpoints/list
|
|
3366
3161
|
* @secure
|
|
3367
3162
|
*/
|
|
3368
|
-
|
|
3163
|
+
get(endpointDto: UmaGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEndpointsListSerializer, HandleError>>;
|
|
3369
3164
|
}
|
|
3370
|
-
export class
|
|
3165
|
+
export class IdentityProviders<HandleError extends boolean = boolean> {
|
|
3371
3166
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3372
3167
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3373
3168
|
/**
|
|
3374
|
-
* @description Create
|
|
3375
|
-
* @tags
|
|
3169
|
+
* @description Create Identity Provider
|
|
3170
|
+
* @tags identity_providers
|
|
3376
3171
|
* @name Create
|
|
3377
|
-
* @summary Create
|
|
3378
|
-
* @request POST:/v1/
|
|
3172
|
+
* @summary Create Identity Provider
|
|
3173
|
+
* @request POST:/v1/b2b/identity-providers
|
|
3379
3174
|
* @secure
|
|
3380
3175
|
*/
|
|
3381
|
-
create(
|
|
3176
|
+
create(createIdentityProviderDto: UmaCreateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError>>;
|
|
3382
3177
|
/**
|
|
3383
|
-
* @description Delete
|
|
3384
|
-
* @tags
|
|
3178
|
+
* @description Delete Identity providers by id
|
|
3179
|
+
* @tags identity_providers
|
|
3385
3180
|
* @name DeleteMany
|
|
3386
|
-
* @summary Delete
|
|
3387
|
-
* @request DELETE:/v1/
|
|
3181
|
+
* @summary Delete Identity providers by ids
|
|
3182
|
+
* @request DELETE:/v1/b2b/identity-providers
|
|
3388
3183
|
* @secure
|
|
3389
3184
|
*/
|
|
3390
|
-
deleteMany(
|
|
3185
|
+
deleteMany(deleteIdentityProvidersDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3391
3186
|
/**
|
|
3392
|
-
* @description Get
|
|
3393
|
-
* @tags
|
|
3187
|
+
* @description Get Identity Provider by id
|
|
3188
|
+
* @tags identity_providers
|
|
3394
3189
|
* @name GetById
|
|
3395
|
-
* @summary Get
|
|
3396
|
-
* @request GET:/v1/
|
|
3190
|
+
* @summary Get Identity Provider by id
|
|
3191
|
+
* @request GET:/v1/b2b/identity-providers/{id}
|
|
3397
3192
|
* @secure
|
|
3398
3193
|
*/
|
|
3399
|
-
getById(id:
|
|
3194
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError>>;
|
|
3400
3195
|
/**
|
|
3401
|
-
* @description Update
|
|
3402
|
-
* @tags
|
|
3196
|
+
* @description Update identity provider record
|
|
3197
|
+
* @tags identity_providers
|
|
3403
3198
|
* @name Update
|
|
3404
|
-
* @summary Update
|
|
3405
|
-
* @request PUT:/v1/
|
|
3406
|
-
* @secure
|
|
3407
|
-
*/
|
|
3408
|
-
update(id: number, updateBranch: UmaUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3409
|
-
/**
|
|
3410
|
-
* @description Partial Update Branch
|
|
3411
|
-
* @tags branches
|
|
3412
|
-
* @name UpdateById
|
|
3413
|
-
* @summary Partial Update Branch
|
|
3414
|
-
* @request PATCH:/v1/branches/{id}
|
|
3415
|
-
* @originalName update
|
|
3416
|
-
* @duplicate
|
|
3199
|
+
* @summary Update identity provider record
|
|
3200
|
+
* @request PUT:/v1/b2b/identity-providers/{id}
|
|
3417
3201
|
* @secure
|
|
3418
3202
|
*/
|
|
3419
|
-
|
|
3203
|
+
update(id: number, identityProvidersDto: UmaUpdateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError>>;
|
|
3420
3204
|
/**
|
|
3421
|
-
* @description Get
|
|
3422
|
-
* @tags
|
|
3205
|
+
* @description Get Identity Providers with pagination
|
|
3206
|
+
* @tags identity_providers
|
|
3423
3207
|
* @name Get
|
|
3424
|
-
* @summary Get
|
|
3425
|
-
* @request POST:/v2/
|
|
3208
|
+
* @summary Get Identity Providers with pagination
|
|
3209
|
+
* @request POST:/v2/b2b/identity-providers/list
|
|
3426
3210
|
* @secure
|
|
3427
3211
|
*/
|
|
3428
|
-
get(
|
|
3429
|
-
}
|
|
3430
|
-
export class Countries<HandleError extends boolean = boolean> {
|
|
3431
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3432
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3433
|
-
/**
|
|
3434
|
-
* @description Get Countries info
|
|
3435
|
-
* @tags countries
|
|
3436
|
-
* @name Get
|
|
3437
|
-
* @summary Get Countries info
|
|
3438
|
-
* @request GET:/v1/countries/
|
|
3439
|
-
*/
|
|
3440
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3212
|
+
get(identityProvidersDto: UmaGetIdentityProvidersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetIdentityProvidersListSerializer, HandleError>>;
|
|
3441
3213
|
}
|
|
3442
|
-
export class
|
|
3214
|
+
export class Microservices<HandleError extends boolean = boolean> {
|
|
3443
3215
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3444
3216
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3445
3217
|
/**
|
|
3446
|
-
* @description Create
|
|
3447
|
-
* @tags
|
|
3218
|
+
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3219
|
+
* @tags microservices
|
|
3448
3220
|
* @name Create
|
|
3449
|
-
* @summary Create
|
|
3450
|
-
* @request POST:/v1/
|
|
3221
|
+
* @summary Create Microservice
|
|
3222
|
+
* @request POST:/v1/b2b/microservices
|
|
3451
3223
|
* @secure
|
|
3452
3224
|
*/
|
|
3453
|
-
create(
|
|
3225
|
+
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3454
3226
|
/**
|
|
3455
|
-
* @description Delete
|
|
3456
|
-
* @tags
|
|
3227
|
+
* @description Delete microservice by id
|
|
3228
|
+
* @tags microservices
|
|
3457
3229
|
* @name DeleteMany
|
|
3458
|
-
* @summary Delete
|
|
3459
|
-
* @request DELETE:/v1/
|
|
3230
|
+
* @summary Delete microservice by id
|
|
3231
|
+
* @request DELETE:/v1/b2b/microservices
|
|
3460
3232
|
* @secure
|
|
3461
3233
|
*/
|
|
3462
|
-
deleteMany(
|
|
3234
|
+
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3463
3235
|
/**
|
|
3464
|
-
* @description Get
|
|
3465
|
-
* @tags
|
|
3466
|
-
* @name
|
|
3467
|
-
* @summary Get
|
|
3468
|
-
* @request
|
|
3236
|
+
* @description Get Microservice by id
|
|
3237
|
+
* @tags microservices
|
|
3238
|
+
* @name GetById
|
|
3239
|
+
* @summary Get Microservice by id
|
|
3240
|
+
* @request GET:/v1/b2b/microservices/{id}
|
|
3469
3241
|
* @secure
|
|
3470
3242
|
*/
|
|
3471
|
-
|
|
3243
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3472
3244
|
/**
|
|
3473
|
-
* @description
|
|
3474
|
-
* @tags
|
|
3475
|
-
* @name
|
|
3476
|
-
* @summary
|
|
3477
|
-
* @request
|
|
3245
|
+
* @description Update microservice record
|
|
3246
|
+
* @tags microservices
|
|
3247
|
+
* @name Update
|
|
3248
|
+
* @summary Update microservice record
|
|
3249
|
+
* @request PUT:/v1/b2b/microservices/{id}
|
|
3478
3250
|
* @secure
|
|
3479
3251
|
*/
|
|
3480
|
-
|
|
3252
|
+
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3481
3253
|
/**
|
|
3482
|
-
* @description Update
|
|
3483
|
-
* @tags
|
|
3254
|
+
* @description Update microservice record (partial updates supported)
|
|
3255
|
+
* @tags microservices
|
|
3484
3256
|
* @name PartialUpdate
|
|
3485
|
-
* @summary Update
|
|
3486
|
-
* @request PATCH:/v1/
|
|
3257
|
+
* @summary Update microservice record (partial updates supported)
|
|
3258
|
+
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3487
3259
|
* @secure
|
|
3488
3260
|
*/
|
|
3489
|
-
partialUpdate(id: number,
|
|
3261
|
+
partialUpdate(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3262
|
+
/**
|
|
3263
|
+
* @description Get microservices with pagination
|
|
3264
|
+
* @tags microservices
|
|
3265
|
+
* @name Get
|
|
3266
|
+
* @summary Get microservices with pagination
|
|
3267
|
+
* @request POST:/v2/b2b/microservices/list
|
|
3268
|
+
* @secure
|
|
3269
|
+
*/
|
|
3270
|
+
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError>>;
|
|
3490
3271
|
}
|
|
3491
|
-
export class
|
|
3272
|
+
export class RoleTypes<HandleError extends boolean = boolean> {
|
|
3492
3273
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3493
3274
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3494
3275
|
/**
|
|
3495
|
-
* @description Create
|
|
3496
|
-
* @tags
|
|
3276
|
+
* @description Create Role Type
|
|
3277
|
+
* @tags role_types
|
|
3497
3278
|
* @name Create
|
|
3498
|
-
* @summary Create
|
|
3499
|
-
* @request POST:/v1/b2b/
|
|
3279
|
+
* @summary Create Role Type
|
|
3280
|
+
* @request POST:/v1/b2b/role-types
|
|
3500
3281
|
* @secure
|
|
3501
3282
|
*/
|
|
3502
|
-
create(
|
|
3283
|
+
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3503
3284
|
/**
|
|
3504
|
-
* @description Delete
|
|
3505
|
-
* @tags
|
|
3285
|
+
* @description Delete Role Types by ids
|
|
3286
|
+
* @tags role_types
|
|
3506
3287
|
* @name DeleteMany
|
|
3507
|
-
* @summary Delete
|
|
3508
|
-
* @request DELETE:/v1/b2b/
|
|
3288
|
+
* @summary Delete Role Types by ids
|
|
3289
|
+
* @request DELETE:/v1/b2b/role-types
|
|
3509
3290
|
* @secure
|
|
3510
3291
|
*/
|
|
3511
|
-
deleteMany(
|
|
3292
|
+
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3512
3293
|
/**
|
|
3513
|
-
* @description Get
|
|
3514
|
-
* @tags
|
|
3294
|
+
* @description Get Role Type by id
|
|
3295
|
+
* @tags role_types
|
|
3515
3296
|
* @name GetById
|
|
3516
|
-
* @summary Get
|
|
3517
|
-
* @request GET:/v1/b2b/
|
|
3297
|
+
* @summary Get Role Type by id
|
|
3298
|
+
* @request GET:/v1/b2b/role-types/{id}
|
|
3518
3299
|
* @secure
|
|
3519
3300
|
*/
|
|
3520
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<
|
|
3301
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3521
3302
|
/**
|
|
3522
|
-
* @description Update
|
|
3523
|
-
* @tags
|
|
3303
|
+
* @description Update Role Type
|
|
3304
|
+
* @tags role_types
|
|
3524
3305
|
* @name Update
|
|
3525
|
-
* @summary Update
|
|
3526
|
-
* @request PUT:/v1/b2b/
|
|
3527
|
-
* @secure
|
|
3528
|
-
*/
|
|
3529
|
-
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3530
|
-
/**
|
|
3531
|
-
* @description Update endpoint record (partial updates supported).
|
|
3532
|
-
* @tags endpoints
|
|
3533
|
-
* @name PartialUpdate
|
|
3534
|
-
* @summary Update endpoint record (partial updates supported)
|
|
3535
|
-
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3306
|
+
* @summary Update Role Type
|
|
3307
|
+
* @request PUT:/v1/b2b/role-types/{id}
|
|
3536
3308
|
* @secure
|
|
3537
3309
|
*/
|
|
3538
|
-
|
|
3310
|
+
update(id: number, updateRoleType: UmaUpdateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3539
3311
|
/**
|
|
3540
|
-
* @description Get
|
|
3541
|
-
* @tags
|
|
3312
|
+
* @description Get Role Types with pagination
|
|
3313
|
+
* @tags role_types
|
|
3542
3314
|
* @name Get
|
|
3543
|
-
* @summary Get
|
|
3544
|
-
* @request POST:/v2/b2b/
|
|
3315
|
+
* @summary Get Role Types with pagination
|
|
3316
|
+
* @request POST:/v2/b2b/role-types/list
|
|
3545
3317
|
* @secure
|
|
3546
3318
|
*/
|
|
3547
|
-
get(
|
|
3319
|
+
get(getRoleTypes: UmaGetRoleTypesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRoleTypesListSerializer, HandleError>>;
|
|
3548
3320
|
}
|
|
3549
|
-
export class
|
|
3321
|
+
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
3550
3322
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3551
3323
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3552
3324
|
/**
|
|
3553
|
-
* @description
|
|
3554
|
-
* @tags
|
|
3555
|
-
* @name
|
|
3556
|
-
* @summary
|
|
3557
|
-
* @request
|
|
3558
|
-
* @secure
|
|
3559
|
-
*/
|
|
3560
|
-
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3561
|
-
/**
|
|
3562
|
-
* @description Deletes Firm by ids
|
|
3563
|
-
* @tags firms
|
|
3564
|
-
* @name DeleteMany
|
|
3565
|
-
* @summary Deletes Firm by ids
|
|
3566
|
-
* @request DELETE:/v1/firms
|
|
3325
|
+
* @description Set B2B User Settings
|
|
3326
|
+
* @tags b2b_user_settings
|
|
3327
|
+
* @name SetUserSettings
|
|
3328
|
+
* @summary Set B2B User Settings
|
|
3329
|
+
* @request PUT:/v1/b2b/settings
|
|
3567
3330
|
* @secure
|
|
3568
3331
|
*/
|
|
3569
|
-
|
|
3332
|
+
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
3333
|
+
/** Run endpoint in debug mode */
|
|
3334
|
+
'Debug-Token'?: string;
|
|
3335
|
+
/** Branch id, with which user should work */
|
|
3336
|
+
BRANCH?: string;
|
|
3337
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
3570
3338
|
/**
|
|
3571
|
-
* @description
|
|
3572
|
-
* @tags
|
|
3573
|
-
* @name
|
|
3574
|
-
* @summary
|
|
3575
|
-
* @request
|
|
3339
|
+
* @description Upload avatar for B2B user
|
|
3340
|
+
* @tags b2b_user_settings
|
|
3341
|
+
* @name UploadAvatar
|
|
3342
|
+
* @summary Upload avatar for B2B user
|
|
3343
|
+
* @request PUT:/v1/b2b/settings/avatar
|
|
3576
3344
|
* @secure
|
|
3577
3345
|
*/
|
|
3578
|
-
|
|
3346
|
+
uploadAvatar(data: {
|
|
3347
|
+
/**
|
|
3348
|
+
* Avatar to upload
|
|
3349
|
+
* @format binary
|
|
3350
|
+
*/
|
|
3351
|
+
avatar?: File;
|
|
3352
|
+
/** Should delete old avatar instead of uploading new one */
|
|
3353
|
+
delete_avatar?: boolean;
|
|
3354
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
3579
3355
|
/**
|
|
3580
|
-
* @description
|
|
3581
|
-
* @tags
|
|
3582
|
-
* @name
|
|
3583
|
-
* @summary
|
|
3584
|
-
* @request
|
|
3356
|
+
* @description Send B2B user contact change code
|
|
3357
|
+
* @tags b2b_user_settings
|
|
3358
|
+
* @name SendContactChangeCode
|
|
3359
|
+
* @summary Send B2B user contact change code
|
|
3360
|
+
* @request POST:/v1/b2b/settings/codes
|
|
3585
3361
|
* @secure
|
|
3586
3362
|
*/
|
|
3587
|
-
|
|
3363
|
+
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3364
|
+
/** Branch id, with which user should work */
|
|
3365
|
+
BRANCH?: string;
|
|
3366
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3367
|
+
}
|
|
3368
|
+
export class TablePresets<HandleError extends boolean = boolean> {
|
|
3369
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3370
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3588
3371
|
/**
|
|
3589
|
-
* @description
|
|
3590
|
-
* @tags
|
|
3591
|
-
* @name
|
|
3592
|
-
* @summary
|
|
3593
|
-
* @request
|
|
3372
|
+
* @description Get user Table Presets
|
|
3373
|
+
* @tags table_presets
|
|
3374
|
+
* @name GetUserPresets
|
|
3375
|
+
* @summary Get user Table Presets
|
|
3376
|
+
* @request GET:/v1/b2b/table-presets
|
|
3594
3377
|
* @secure
|
|
3595
3378
|
*/
|
|
3596
|
-
|
|
3379
|
+
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError>>;
|
|
3597
3380
|
/**
|
|
3598
|
-
* @description
|
|
3599
|
-
* @tags
|
|
3600
|
-
* @name
|
|
3601
|
-
* @summary
|
|
3602
|
-
* @request
|
|
3381
|
+
* @description Upsert Table Preset
|
|
3382
|
+
* @tags table_presets
|
|
3383
|
+
* @name Upsert
|
|
3384
|
+
* @summary Upsert Table Preset
|
|
3385
|
+
* @request PUT:/v1/b2b/table-presets
|
|
3603
3386
|
* @secure
|
|
3604
3387
|
*/
|
|
3605
|
-
|
|
3388
|
+
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError>>;
|
|
3606
3389
|
}
|
|
3607
|
-
export class
|
|
3390
|
+
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
3608
3391
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3609
3392
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3610
3393
|
/**
|
|
3611
|
-
* @description
|
|
3612
|
-
* @tags
|
|
3613
|
-
* @name
|
|
3614
|
-
* @summary
|
|
3615
|
-
* @request
|
|
3394
|
+
* @description Set B2C User Settings (test)
|
|
3395
|
+
* @tags b2c_user_settings
|
|
3396
|
+
* @name SetUserSettings
|
|
3397
|
+
* @summary Set B2C User Settings
|
|
3398
|
+
* @request PUT:/v1/b2c/settings
|
|
3616
3399
|
* @secure
|
|
3617
3400
|
*/
|
|
3618
|
-
|
|
3401
|
+
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
3402
|
+
/** Branch id/slug/code, with which user should work */
|
|
3403
|
+
BRANCH?: string;
|
|
3404
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3619
3405
|
/**
|
|
3620
|
-
* @description
|
|
3621
|
-
* @tags
|
|
3622
|
-
* @name
|
|
3623
|
-
* @summary
|
|
3624
|
-
* @request
|
|
3406
|
+
* @description Send B2C user contact change code
|
|
3407
|
+
* @tags b2c_user_settings
|
|
3408
|
+
* @name SendContactChangeCode
|
|
3409
|
+
* @summary Send B2C user contact change code
|
|
3410
|
+
* @request POST:/v1/b2c/settings/codes
|
|
3411
|
+
* @secure
|
|
3412
|
+
*/
|
|
3413
|
+
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
3414
|
+
/** Branch id/slug/code, with which user should work */
|
|
3415
|
+
BRANCH?: string;
|
|
3416
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3417
|
+
/**
|
|
3418
|
+
* @description Get Available B2C Branch Mfa Options
|
|
3419
|
+
* @tags b2c_user_settings
|
|
3420
|
+
* @name AvailableMfaOptions
|
|
3421
|
+
* @summary Get Available B2C Branch Mfa Options
|
|
3422
|
+
* @request GET:/v1/b2c/settings/mfa-options
|
|
3625
3423
|
* @secure
|
|
3626
3424
|
*/
|
|
3627
|
-
|
|
3425
|
+
availableMfaOptions(headers?: {
|
|
3426
|
+
/** Branch id/slug/code, with which user should work */
|
|
3427
|
+
BRANCH?: string;
|
|
3428
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
3429
|
+
/**
|
|
3430
|
+
* @description Delete B2C OAuth2 Bindings
|
|
3431
|
+
* @tags b2c_user_settings
|
|
3432
|
+
* @name DeleteManyOAuthBindings
|
|
3433
|
+
* @summary Delete B2C OAuth2 Bindings
|
|
3434
|
+
* @request DELETE:/v1/b2c/settings/oauth-links
|
|
3435
|
+
* @secure
|
|
3436
|
+
*/
|
|
3437
|
+
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3438
|
+
/**
|
|
3439
|
+
* @description Finish Apple OAuth2 Profile Linking
|
|
3440
|
+
* @tags b2c_user_settings
|
|
3441
|
+
* @name FinishAppleProfileLinking
|
|
3442
|
+
* @summary Finish Apple OAuth2 Profile Linking
|
|
3443
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
3444
|
+
*/
|
|
3445
|
+
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3628
3446
|
/**
|
|
3629
|
-
* @description
|
|
3630
|
-
* @tags
|
|
3631
|
-
* @name
|
|
3632
|
-
* @summary
|
|
3633
|
-
* @request
|
|
3447
|
+
* @description Initialize Apple OAuth2 Profile Linking
|
|
3448
|
+
* @tags b2c_user_settings
|
|
3449
|
+
* @name InitAppleProfileLinking
|
|
3450
|
+
* @summary Initialize Apple OAuth2 Profile Linking
|
|
3451
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/start
|
|
3634
3452
|
* @secure
|
|
3635
3453
|
*/
|
|
3636
|
-
|
|
3454
|
+
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3637
3455
|
/**
|
|
3638
|
-
* @description
|
|
3639
|
-
* @tags
|
|
3640
|
-
* @name
|
|
3641
|
-
* @summary
|
|
3642
|
-
* @request
|
|
3643
|
-
* @secure
|
|
3456
|
+
* @description Finish Google OAuth2 Profile Linking
|
|
3457
|
+
* @tags b2c_user_settings
|
|
3458
|
+
* @name FinishGoogleProfileLinking
|
|
3459
|
+
* @summary Finish Google OAuth2 Profile Linking
|
|
3460
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
3644
3461
|
*/
|
|
3645
|
-
|
|
3462
|
+
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3646
3463
|
/**
|
|
3647
|
-
* @description
|
|
3648
|
-
* @tags
|
|
3649
|
-
* @name
|
|
3650
|
-
* @summary
|
|
3651
|
-
* @request POST:/
|
|
3464
|
+
* @description Initialize Google OAuth2 Profile Linking
|
|
3465
|
+
* @tags b2c_user_settings
|
|
3466
|
+
* @name InitGoogleProfileLinking
|
|
3467
|
+
* @summary Initialize Google OAuth2 Profile Linking
|
|
3468
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/start
|
|
3652
3469
|
* @secure
|
|
3653
3470
|
*/
|
|
3654
|
-
|
|
3655
|
-
}
|
|
3656
|
-
export class Locales<HandleError extends boolean = boolean> {
|
|
3657
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3658
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3471
|
+
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3659
3472
|
/**
|
|
3660
|
-
* @description
|
|
3661
|
-
* @tags
|
|
3662
|
-
* @name
|
|
3663
|
-
* @summary
|
|
3664
|
-
* @request
|
|
3473
|
+
* @description Get B2C OAuth2 Bindings with pagination. Available sort fields are `id, name, app_type, b2b_user_id, b2c_user_id, provider_user_id, created_at, updated_at`. Search is performed by `name, app_type, provider_user_id` fields
|
|
3474
|
+
* @tags b2c_user_settings
|
|
3475
|
+
* @name GetOAuthBindings
|
|
3476
|
+
* @summary Get B2C OAuth2 Bindings with pagination
|
|
3477
|
+
* @request POST:/v1/b2c/settings/oauth-links/list
|
|
3478
|
+
* @secure
|
|
3665
3479
|
*/
|
|
3666
|
-
|
|
3480
|
+
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError>>;
|
|
3667
3481
|
}
|
|
3668
|
-
export class
|
|
3482
|
+
export class Branches<HandleError extends boolean = boolean> {
|
|
3669
3483
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3670
3484
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3671
3485
|
/**
|
|
3672
|
-
* @description Create
|
|
3673
|
-
* @tags
|
|
3486
|
+
* @description Create Branch
|
|
3487
|
+
* @tags branches
|
|
3674
3488
|
* @name Create
|
|
3675
|
-
* @summary Create
|
|
3676
|
-
* @request POST:/v1/
|
|
3489
|
+
* @summary Create Branch
|
|
3490
|
+
* @request POST:/v1/branches
|
|
3677
3491
|
* @secure
|
|
3678
3492
|
*/
|
|
3679
|
-
create(
|
|
3493
|
+
create(createBranch: UmaCreateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3680
3494
|
/**
|
|
3681
|
-
* @description Delete
|
|
3682
|
-
* @tags
|
|
3495
|
+
* @description Delete Branch by id
|
|
3496
|
+
* @tags branches
|
|
3683
3497
|
* @name DeleteMany
|
|
3684
|
-
* @summary Delete
|
|
3685
|
-
* @request DELETE:/v1/
|
|
3498
|
+
* @summary Delete Branch by id
|
|
3499
|
+
* @request DELETE:/v1/branches
|
|
3686
3500
|
* @secure
|
|
3687
3501
|
*/
|
|
3688
|
-
deleteMany(
|
|
3502
|
+
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3689
3503
|
/**
|
|
3690
|
-
* @description Get
|
|
3691
|
-
* @tags
|
|
3504
|
+
* @description Get Branch by id
|
|
3505
|
+
* @tags branches
|
|
3692
3506
|
* @name GetById
|
|
3693
|
-
* @summary Get
|
|
3694
|
-
* @request GET:/v1/
|
|
3507
|
+
* @summary Get Branch by id
|
|
3508
|
+
* @request GET:/v1/branches/{id}
|
|
3695
3509
|
* @secure
|
|
3696
3510
|
*/
|
|
3697
|
-
getById(id:
|
|
3511
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3698
3512
|
/**
|
|
3699
|
-
* @description Update
|
|
3700
|
-
* @tags
|
|
3513
|
+
* @description Update Branch
|
|
3514
|
+
* @tags branches
|
|
3701
3515
|
* @name Update
|
|
3702
|
-
* @summary Update
|
|
3703
|
-
* @request PUT:/v1/
|
|
3516
|
+
* @summary Update Branch
|
|
3517
|
+
* @request PUT:/v1/branches/{id}
|
|
3704
3518
|
* @secure
|
|
3705
3519
|
*/
|
|
3706
|
-
update(id: number,
|
|
3520
|
+
update(id: number, updateBranch: UmaUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3707
3521
|
/**
|
|
3708
|
-
* @description Update
|
|
3709
|
-
* @tags
|
|
3522
|
+
* @description Partial Update Branch
|
|
3523
|
+
* @tags branches
|
|
3710
3524
|
* @name PartialUpdate
|
|
3711
|
-
* @summary Update
|
|
3712
|
-
* @request PATCH:/v1/
|
|
3525
|
+
* @summary Partial Update Branch
|
|
3526
|
+
* @request PATCH:/v1/branches/{id}
|
|
3713
3527
|
* @secure
|
|
3714
3528
|
*/
|
|
3715
|
-
partialUpdate(id: number,
|
|
3529
|
+
partialUpdate(id: number, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3716
3530
|
/**
|
|
3717
|
-
* @description Get
|
|
3718
|
-
* @tags
|
|
3531
|
+
* @description Get Branches with pagination
|
|
3532
|
+
* @tags branches
|
|
3719
3533
|
* @name Get
|
|
3720
|
-
* @summary Get
|
|
3721
|
-
* @request POST:/v2/
|
|
3534
|
+
* @summary Get Branches with pagination
|
|
3535
|
+
* @request POST:/v2/branches/list
|
|
3722
3536
|
* @secure
|
|
3723
3537
|
*/
|
|
3724
|
-
get(
|
|
3538
|
+
get(getBranches: UmaGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBranchesListSerializer, HandleError>>;
|
|
3725
3539
|
}
|
|
3726
|
-
export class
|
|
3540
|
+
export class Countries<HandleError extends boolean = boolean> {
|
|
3727
3541
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3728
3542
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3729
3543
|
/**
|
|
3730
|
-
* @description
|
|
3731
|
-
* @tags
|
|
3732
|
-
* @name
|
|
3733
|
-
* @summary
|
|
3734
|
-
* @request
|
|
3735
|
-
* @secure
|
|
3544
|
+
* @description Get Countries info
|
|
3545
|
+
* @tags countries
|
|
3546
|
+
* @name Get
|
|
3547
|
+
* @summary Get Countries info
|
|
3548
|
+
* @request GET:/v1/countries/
|
|
3736
3549
|
*/
|
|
3737
|
-
|
|
3550
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3551
|
+
}
|
|
3552
|
+
export class EmailDomains<HandleError extends boolean = boolean> {
|
|
3553
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3554
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3738
3555
|
/**
|
|
3739
|
-
* @description
|
|
3740
|
-
* @tags
|
|
3741
|
-
* @name
|
|
3742
|
-
* @summary
|
|
3743
|
-
* @request
|
|
3556
|
+
* @description Create Email Domain
|
|
3557
|
+
* @tags email_domains
|
|
3558
|
+
* @name Create
|
|
3559
|
+
* @summary Create Email Domain
|
|
3560
|
+
* @request POST:/v1/email-domains
|
|
3744
3561
|
* @secure
|
|
3745
3562
|
*/
|
|
3746
|
-
|
|
3563
|
+
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3747
3564
|
/**
|
|
3748
|
-
* @description
|
|
3749
|
-
* @tags
|
|
3750
|
-
* @name
|
|
3751
|
-
* @summary
|
|
3752
|
-
* @request
|
|
3565
|
+
* @description Delete Email Domains
|
|
3566
|
+
* @tags email_domains
|
|
3567
|
+
* @name DeleteMany
|
|
3568
|
+
* @summary Delete email domains
|
|
3569
|
+
* @request DELETE:/v1/email-domains
|
|
3753
3570
|
* @secure
|
|
3754
3571
|
*/
|
|
3755
|
-
|
|
3572
|
+
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3756
3573
|
/**
|
|
3757
|
-
* @description
|
|
3758
|
-
* @tags
|
|
3759
|
-
* @name
|
|
3760
|
-
* @summary
|
|
3761
|
-
* @request
|
|
3574
|
+
* @description Get emailDomains with pagination
|
|
3575
|
+
* @tags email_domains
|
|
3576
|
+
* @name Get
|
|
3577
|
+
* @summary Get emailDomains with pagination
|
|
3578
|
+
* @request POST:/v1/email-domains/list
|
|
3762
3579
|
* @secure
|
|
3763
3580
|
*/
|
|
3764
|
-
|
|
3581
|
+
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError>>;
|
|
3765
3582
|
/**
|
|
3766
|
-
* @description
|
|
3767
|
-
* @tags
|
|
3768
|
-
* @name
|
|
3769
|
-
* @summary
|
|
3770
|
-
* @request
|
|
3771
|
-
* @originalName update
|
|
3772
|
-
* @duplicate
|
|
3583
|
+
* @description Get Email Domain by id
|
|
3584
|
+
* @tags email_domains
|
|
3585
|
+
* @name GetById
|
|
3586
|
+
* @summary Get Email Domain by id
|
|
3587
|
+
* @request GET:/v1/email-domains/{id}
|
|
3773
3588
|
* @secure
|
|
3774
3589
|
*/
|
|
3775
|
-
|
|
3590
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3776
3591
|
/**
|
|
3777
|
-
* @description
|
|
3778
|
-
* @tags
|
|
3779
|
-
* @name
|
|
3780
|
-
* @summary
|
|
3781
|
-
* @request
|
|
3592
|
+
* @description Update Email Domain record (partial updates supported).
|
|
3593
|
+
* @tags email_domains
|
|
3594
|
+
* @name PartialUpdate
|
|
3595
|
+
* @summary Update Email Domain record (partial updates supported)
|
|
3596
|
+
* @request PATCH:/v1/email-domains/{id}
|
|
3782
3597
|
* @secure
|
|
3783
3598
|
*/
|
|
3784
|
-
|
|
3599
|
+
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3785
3600
|
}
|
|
3786
3601
|
export class PublicSettings<HandleError extends boolean = boolean> {
|
|
3787
3602
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3824,92 +3639,43 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3824
3639
|
* @request GET:/v1/roles/{id}
|
|
3825
3640
|
* @secure
|
|
3826
3641
|
*/
|
|
3827
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
3828
|
-
/**
|
|
3829
|
-
* @description Update Role
|
|
3830
|
-
* @tags roles
|
|
3831
|
-
* @name Update
|
|
3832
|
-
* @summary Update Role
|
|
3833
|
-
* @request PUT:/v1/roles/{id}
|
|
3834
|
-
* @secure
|
|
3835
|
-
*/
|
|
3836
|
-
update(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
3837
|
-
/**
|
|
3838
|
-
* @description Partial Update Role. Only the fields provided in the body will be updated.
|
|
3839
|
-
* @tags roles
|
|
3840
|
-
* @name PartialUpdate
|
|
3841
|
-
* @summary Partial Update Role
|
|
3842
|
-
* @request PATCH:/v1/roles/{id}
|
|
3843
|
-
* @secure
|
|
3844
|
-
*/
|
|
3845
|
-
partialUpdate(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
3846
|
-
/**
|
|
3847
|
-
* @description Generate Role PDF
|
|
3848
|
-
* @tags roles
|
|
3849
|
-
* @name GenerateAsPdf
|
|
3850
|
-
* @summary Generate Role PDF
|
|
3851
|
-
* @request POST:/v1/roles/{id}/generate-as-pdf
|
|
3852
|
-
* @secure
|
|
3853
|
-
*/
|
|
3854
|
-
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
3855
|
-
/**
|
|
3856
|
-
* @description Get Roles with pagination
|
|
3857
|
-
* @tags roles
|
|
3858
|
-
* @name Get
|
|
3859
|
-
* @summary Get Roles with pagination
|
|
3860
|
-
* @request POST:/v2/roles/list
|
|
3861
|
-
* @secure
|
|
3862
|
-
*/
|
|
3863
|
-
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError>>;
|
|
3864
|
-
}
|
|
3865
|
-
export class RoleTypes<HandleError extends boolean = boolean> {
|
|
3866
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3867
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3868
|
-
/**
|
|
3869
|
-
* @description Create Role Type
|
|
3870
|
-
* @tags role_types
|
|
3871
|
-
* @name Create
|
|
3872
|
-
* @summary Create Role Type
|
|
3873
|
-
* @request POST:/v1/b2b/role-types
|
|
3874
|
-
* @secure
|
|
3875
|
-
*/
|
|
3876
|
-
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3877
|
-
/**
|
|
3878
|
-
* @description Delete Role Types by ids
|
|
3879
|
-
* @tags role_types
|
|
3880
|
-
* @name DeleteMany
|
|
3881
|
-
* @summary Delete Role Types by ids
|
|
3882
|
-
* @request DELETE:/v1/b2b/role-types
|
|
3642
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
3643
|
+
/**
|
|
3644
|
+
* @description Update Role
|
|
3645
|
+
* @tags roles
|
|
3646
|
+
* @name Update
|
|
3647
|
+
* @summary Update Role
|
|
3648
|
+
* @request PUT:/v1/roles/{id}
|
|
3883
3649
|
* @secure
|
|
3884
3650
|
*/
|
|
3885
|
-
|
|
3651
|
+
update(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
3886
3652
|
/**
|
|
3887
|
-
* @description
|
|
3888
|
-
* @tags
|
|
3889
|
-
* @name
|
|
3890
|
-
* @summary
|
|
3891
|
-
* @request
|
|
3653
|
+
* @description Partial Update Role. Only the fields provided in the body will be updated.
|
|
3654
|
+
* @tags roles
|
|
3655
|
+
* @name PartialUpdate
|
|
3656
|
+
* @summary Partial Update Role
|
|
3657
|
+
* @request PATCH:/v1/roles/{id}
|
|
3892
3658
|
* @secure
|
|
3893
3659
|
*/
|
|
3894
|
-
|
|
3660
|
+
partialUpdate(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
3895
3661
|
/**
|
|
3896
|
-
* @description
|
|
3897
|
-
* @tags
|
|
3898
|
-
* @name
|
|
3899
|
-
* @summary
|
|
3900
|
-
* @request
|
|
3662
|
+
* @description Generate Role PDF
|
|
3663
|
+
* @tags roles
|
|
3664
|
+
* @name GenerateAsPdf
|
|
3665
|
+
* @summary Generate Role PDF
|
|
3666
|
+
* @request POST:/v1/roles/{id}/generate-as-pdf
|
|
3901
3667
|
* @secure
|
|
3902
3668
|
*/
|
|
3903
|
-
|
|
3669
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
3904
3670
|
/**
|
|
3905
|
-
* @description Get
|
|
3906
|
-
* @tags
|
|
3671
|
+
* @description Get Roles with pagination
|
|
3672
|
+
* @tags roles
|
|
3907
3673
|
* @name Get
|
|
3908
|
-
* @summary Get
|
|
3909
|
-
* @request POST:/v2/
|
|
3674
|
+
* @summary Get Roles with pagination
|
|
3675
|
+
* @request POST:/v2/roles/list
|
|
3910
3676
|
* @secure
|
|
3911
3677
|
*/
|
|
3912
|
-
get(
|
|
3678
|
+
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError>>;
|
|
3913
3679
|
}
|
|
3914
3680
|
export class SecretNotes<HandleError extends boolean = boolean> {
|
|
3915
3681
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3940,196 +3706,218 @@ export class SecretNotes<HandleError extends boolean = boolean> {
|
|
|
3940
3706
|
*/
|
|
3941
3707
|
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3942
3708
|
}
|
|
3943
|
-
export class
|
|
3709
|
+
export class Tags<HandleError extends boolean = boolean> {
|
|
3944
3710
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3945
3711
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3946
3712
|
/**
|
|
3947
|
-
* @description
|
|
3948
|
-
* @tags
|
|
3949
|
-
* @name
|
|
3950
|
-
* @summary
|
|
3951
|
-
* @request
|
|
3713
|
+
* @description Create Tag
|
|
3714
|
+
* @tags tags
|
|
3715
|
+
* @name Create
|
|
3716
|
+
* @summary Create Tag
|
|
3717
|
+
* @request POST:/v1/tags
|
|
3952
3718
|
* @secure
|
|
3953
3719
|
*/
|
|
3954
|
-
|
|
3720
|
+
create(createTagDto: UmaCreateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
3955
3721
|
/**
|
|
3956
|
-
* @description Delete
|
|
3957
|
-
* @tags
|
|
3958
|
-
* @name
|
|
3959
|
-
* @summary Delete
|
|
3960
|
-
* @request DELETE:/v1/
|
|
3722
|
+
* @description Delete Tags
|
|
3723
|
+
* @tags tags
|
|
3724
|
+
* @name DeleteMany
|
|
3725
|
+
* @summary Delete Tags
|
|
3726
|
+
* @request DELETE:/v1/tags
|
|
3961
3727
|
* @secure
|
|
3962
3728
|
*/
|
|
3963
|
-
|
|
3964
|
-
}
|
|
3965
|
-
export class SystemUsers<HandleError extends boolean = boolean> {
|
|
3966
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3967
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3729
|
+
deleteMany(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3968
3730
|
/**
|
|
3969
|
-
* @description
|
|
3970
|
-
* @tags
|
|
3971
|
-
* @name
|
|
3972
|
-
* @summary
|
|
3973
|
-
* @request POST:/v1/
|
|
3731
|
+
* @description Get Tags List. Available fields for sorting are `id, name, created_at, updated_at`. Search is performed by `name`
|
|
3732
|
+
* @tags tags
|
|
3733
|
+
* @name Get
|
|
3734
|
+
* @summary Get Tags List
|
|
3735
|
+
* @request POST:/v1/tags/list
|
|
3974
3736
|
* @secure
|
|
3975
3737
|
*/
|
|
3976
|
-
|
|
3738
|
+
get(getTagsDto: UmaGetTagsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTagsListSerializer, HandleError>>;
|
|
3977
3739
|
/**
|
|
3978
|
-
* @description
|
|
3979
|
-
* @tags
|
|
3980
|
-
* @name
|
|
3981
|
-
* @summary
|
|
3982
|
-
* @request
|
|
3740
|
+
* @description Get Tags By ID
|
|
3741
|
+
* @tags tags
|
|
3742
|
+
* @name GetById
|
|
3743
|
+
* @summary Get Tag By ID
|
|
3744
|
+
* @request GET:/v1/tags/{id}
|
|
3983
3745
|
* @secure
|
|
3984
3746
|
*/
|
|
3985
|
-
|
|
3747
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
3986
3748
|
/**
|
|
3987
|
-
* @description
|
|
3988
|
-
* @tags
|
|
3989
|
-
* @name
|
|
3990
|
-
* @summary
|
|
3991
|
-
* @request
|
|
3749
|
+
* @description Update Tag
|
|
3750
|
+
* @tags tags
|
|
3751
|
+
* @name Update
|
|
3752
|
+
* @summary Update Tag
|
|
3753
|
+
* @request PUT:/v1/tags/{id}
|
|
3992
3754
|
* @secure
|
|
3993
3755
|
*/
|
|
3994
|
-
|
|
3756
|
+
update(id: number, updateTagDto: UmaUpdateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
3757
|
+
}
|
|
3758
|
+
export class B2BUsers<HandleError extends boolean = boolean> {
|
|
3759
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3760
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3995
3761
|
/**
|
|
3996
|
-
* @description
|
|
3997
|
-
* @tags
|
|
3998
|
-
* @name
|
|
3999
|
-
* @summary
|
|
4000
|
-
* @request
|
|
3762
|
+
* @description Soft Delete B2B users
|
|
3763
|
+
* @tags b2b_users
|
|
3764
|
+
* @name DeleteMany
|
|
3765
|
+
* @summary Soft Delete B2B users
|
|
3766
|
+
* @request DELETE:/v1/users/b2b
|
|
4001
3767
|
* @secure
|
|
4002
3768
|
*/
|
|
4003
|
-
|
|
3769
|
+
deleteMany(deleteB2BUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4004
3770
|
/**
|
|
4005
|
-
* @description
|
|
4006
|
-
* @tags
|
|
4007
|
-
* @name
|
|
4008
|
-
* @summary
|
|
4009
|
-
* @request
|
|
3771
|
+
* @description Get B2B User by id
|
|
3772
|
+
* @tags b2b_users
|
|
3773
|
+
* @name GetById
|
|
3774
|
+
* @summary Get B2B User by id
|
|
3775
|
+
* @request GET:/v1/users/b2b/{id}
|
|
4010
3776
|
* @secure
|
|
4011
3777
|
*/
|
|
4012
|
-
|
|
3778
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4013
3779
|
/**
|
|
4014
|
-
* @description
|
|
4015
|
-
* @tags
|
|
3780
|
+
* @description Update B2B User (partial updates supported)
|
|
3781
|
+
* @tags b2b_users
|
|
4016
3782
|
* @name PartialUpdate
|
|
4017
|
-
* @summary
|
|
4018
|
-
* @request PATCH:/v1/users/
|
|
3783
|
+
* @summary Update B2B User (partial updates supported)
|
|
3784
|
+
* @request PATCH:/v1/users/b2b/{id}
|
|
4019
3785
|
* @secure
|
|
4020
3786
|
*/
|
|
4021
|
-
partialUpdate(id: number,
|
|
3787
|
+
partialUpdate(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4022
3788
|
/**
|
|
4023
|
-
* @description Generate
|
|
4024
|
-
* @tags
|
|
3789
|
+
* @description Generate B2B User PDF
|
|
3790
|
+
* @tags b2b_users
|
|
4025
3791
|
* @name GenerateAsPdf
|
|
4026
|
-
* @summary Generate
|
|
4027
|
-
* @request POST:/v1/users/
|
|
3792
|
+
* @summary Generate B2B User PDF
|
|
3793
|
+
* @request POST:/v1/users/b2b/{id}/generate-as-pdf
|
|
4028
3794
|
* @secure
|
|
4029
3795
|
*/
|
|
4030
3796
|
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4031
3797
|
/**
|
|
4032
|
-
* @description Change
|
|
4033
|
-
* @tags
|
|
3798
|
+
* @description Change B2B User status
|
|
3799
|
+
* @tags b2b_users
|
|
4034
3800
|
* @name ChangeStatus
|
|
4035
|
-
* @summary Change
|
|
4036
|
-
* @request PATCH:/v1/users/
|
|
3801
|
+
* @summary Change B2B User status
|
|
3802
|
+
* @request PATCH:/v1/users/b2b/{id}/status
|
|
4037
3803
|
* @secure
|
|
4038
3804
|
*/
|
|
4039
3805
|
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4040
|
-
}
|
|
4041
|
-
export class TablePresets<HandleError extends boolean = boolean> {
|
|
4042
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4043
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4044
3806
|
/**
|
|
4045
|
-
* @description
|
|
4046
|
-
* @tags
|
|
4047
|
-
* @name
|
|
4048
|
-
* @summary
|
|
4049
|
-
* @request
|
|
3807
|
+
* @description Create B2B User
|
|
3808
|
+
* @tags b2b_users
|
|
3809
|
+
* @name Create
|
|
3810
|
+
* @summary Create B2B User
|
|
3811
|
+
* @request POST:/v2/users/b2b
|
|
4050
3812
|
* @secure
|
|
4051
3813
|
*/
|
|
4052
|
-
|
|
3814
|
+
create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4053
3815
|
/**
|
|
4054
|
-
* @description
|
|
4055
|
-
* @tags
|
|
4056
|
-
* @name
|
|
4057
|
-
* @summary
|
|
4058
|
-
* @request
|
|
3816
|
+
* @description Get B2B users with pagination
|
|
3817
|
+
* @tags b2b_users
|
|
3818
|
+
* @name Get
|
|
3819
|
+
* @summary Get B2B users with pagination
|
|
3820
|
+
* @request POST:/v2/users/b2b/list
|
|
4059
3821
|
* @secure
|
|
4060
3822
|
*/
|
|
4061
|
-
|
|
3823
|
+
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
3824
|
+
/**
|
|
3825
|
+
* @description Update B2B User
|
|
3826
|
+
* @tags b2b_users
|
|
3827
|
+
* @name Update
|
|
3828
|
+
* @summary Update B2B User
|
|
3829
|
+
* @request PUT:/v2/users/b2b/{id}
|
|
3830
|
+
* @secure
|
|
3831
|
+
*/
|
|
3832
|
+
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4062
3833
|
}
|
|
4063
|
-
export class
|
|
3834
|
+
export class B2CUsers<HandleError extends boolean = boolean> {
|
|
4064
3835
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
4065
3836
|
constructor(apiClient: JwtClient<HandleError>);
|
|
4066
3837
|
/**
|
|
4067
|
-
* @description Create
|
|
4068
|
-
* @tags
|
|
3838
|
+
* @description Create B2C User
|
|
3839
|
+
* @tags b2c_users
|
|
4069
3840
|
* @name Create
|
|
4070
|
-
* @summary Create
|
|
4071
|
-
* @request POST:/v1/
|
|
3841
|
+
* @summary Create B2C User
|
|
3842
|
+
* @request POST:/v1/users/b2c
|
|
4072
3843
|
* @secure
|
|
4073
3844
|
*/
|
|
4074
|
-
create(
|
|
3845
|
+
create(createB2CUser: UmaCreateB2CUserDto, headers?: {
|
|
3846
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3847
|
+
'X-Accept'?: string;
|
|
3848
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4075
3849
|
/**
|
|
4076
|
-
* @description Delete
|
|
4077
|
-
* @tags
|
|
3850
|
+
* @description Soft Delete B2C users
|
|
3851
|
+
* @tags b2c_users
|
|
4078
3852
|
* @name DeleteMany
|
|
4079
|
-
* @summary Delete
|
|
4080
|
-
* @request DELETE:/v1/
|
|
3853
|
+
* @summary Soft Delete B2C users
|
|
3854
|
+
* @request DELETE:/v1/users/b2c
|
|
4081
3855
|
* @secure
|
|
4082
3856
|
*/
|
|
4083
|
-
deleteMany(
|
|
3857
|
+
deleteMany(deleteB2CUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4084
3858
|
/**
|
|
4085
|
-
* @description Get
|
|
4086
|
-
* @tags
|
|
4087
|
-
* @name
|
|
4088
|
-
* @summary Get
|
|
4089
|
-
* @request
|
|
3859
|
+
* @description Get B2C User by id
|
|
3860
|
+
* @tags b2c_users
|
|
3861
|
+
* @name GetById
|
|
3862
|
+
* @summary Get B2C User by id
|
|
3863
|
+
* @request GET:/v1/users/b2c/{id}
|
|
4090
3864
|
* @secure
|
|
4091
3865
|
*/
|
|
4092
|
-
|
|
3866
|
+
getById(id: number, headers?: {
|
|
3867
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3868
|
+
'X-Accept'?: string;
|
|
3869
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4093
3870
|
/**
|
|
4094
|
-
* @description
|
|
4095
|
-
* @tags
|
|
4096
|
-
* @name
|
|
4097
|
-
* @summary
|
|
4098
|
-
* @request
|
|
3871
|
+
* @description Update B2C User
|
|
3872
|
+
* @tags b2c_users
|
|
3873
|
+
* @name Update
|
|
3874
|
+
* @summary Update B2C User
|
|
3875
|
+
* @request PUT:/v1/users/b2c/{id}
|
|
3876
|
+
* @secure
|
|
3877
|
+
*/
|
|
3878
|
+
update(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
|
|
3879
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3880
|
+
'X-Accept'?: string;
|
|
3881
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3882
|
+
/**
|
|
3883
|
+
* @description Partial Update B2C User
|
|
3884
|
+
* @tags b2c_users
|
|
3885
|
+
* @name PartialUpdate
|
|
3886
|
+
* @summary Partial Update B2C User
|
|
3887
|
+
* @request PATCH:/v1/users/b2c/{id}
|
|
4099
3888
|
* @secure
|
|
4100
3889
|
*/
|
|
4101
|
-
|
|
3890
|
+
partialUpdate(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
|
|
3891
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3892
|
+
'X-Accept'?: string;
|
|
3893
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4102
3894
|
/**
|
|
4103
|
-
* @description
|
|
4104
|
-
* @tags
|
|
4105
|
-
* @name
|
|
4106
|
-
* @summary
|
|
4107
|
-
* @request
|
|
3895
|
+
* @description Generate B2C User PDF
|
|
3896
|
+
* @tags b2c_users
|
|
3897
|
+
* @name GenerateAsPdf
|
|
3898
|
+
* @summary Generate B2C User PDF
|
|
3899
|
+
* @request POST:/v1/users/b2c/{id}/generate-as-pdf
|
|
4108
3900
|
* @secure
|
|
4109
3901
|
*/
|
|
4110
|
-
|
|
4111
|
-
}
|
|
4112
|
-
export class TrustedDevices<HandleError extends boolean = boolean> {
|
|
4113
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4114
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3902
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4115
3903
|
/**
|
|
4116
|
-
* @description
|
|
4117
|
-
* @tags
|
|
4118
|
-
* @name
|
|
4119
|
-
* @summary
|
|
4120
|
-
* @request
|
|
3904
|
+
* @description Change B2C User status
|
|
3905
|
+
* @tags b2c_users
|
|
3906
|
+
* @name ChangeStatus
|
|
3907
|
+
* @summary Change B2C User status
|
|
3908
|
+
* @request PATCH:/v1/users/b2c/{id}/status
|
|
4121
3909
|
* @secure
|
|
4122
3910
|
*/
|
|
4123
|
-
|
|
3911
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4124
3912
|
/**
|
|
4125
|
-
* @description Get
|
|
4126
|
-
* @tags
|
|
3913
|
+
* @description Get B2C users with pagination
|
|
3914
|
+
* @tags b2c_users
|
|
4127
3915
|
* @name Get
|
|
4128
|
-
* @summary Get
|
|
4129
|
-
* @request POST:/
|
|
3916
|
+
* @summary Get B2C users with pagination
|
|
3917
|
+
* @request POST:/v2/users/b2c/list
|
|
4130
3918
|
* @secure
|
|
4131
3919
|
*/
|
|
4132
|
-
get(
|
|
3920
|
+
get(getB2CUsers: UmaGetB2CUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2CUserSerializer, HandleError>>;
|
|
4133
3921
|
}
|
|
4134
3922
|
export class UserDetails<HandleError extends boolean = boolean> {
|
|
4135
3923
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -4184,27 +3972,81 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4184
3972
|
*/
|
|
4185
3973
|
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4186
3974
|
}
|
|
4187
|
-
export class
|
|
3975
|
+
export class SystemUsers<HandleError extends boolean = boolean> {
|
|
4188
3976
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
4189
3977
|
constructor(apiClient: JwtClient<HandleError>);
|
|
4190
3978
|
/**
|
|
4191
|
-
* @description
|
|
4192
|
-
* @tags
|
|
4193
|
-
* @name
|
|
4194
|
-
* @summary
|
|
4195
|
-
* @request POST:/v1/
|
|
3979
|
+
* @description Create System User
|
|
3980
|
+
* @tags system_users
|
|
3981
|
+
* @name Create
|
|
3982
|
+
* @summary Create System User
|
|
3983
|
+
* @request POST:/v1/users/system
|
|
4196
3984
|
* @secure
|
|
4197
3985
|
*/
|
|
4198
|
-
|
|
3986
|
+
create(createSystemUser: UmaCreateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4199
3987
|
/**
|
|
4200
|
-
* @description
|
|
4201
|
-
* @tags
|
|
4202
|
-
* @name
|
|
4203
|
-
* @summary
|
|
4204
|
-
* @request
|
|
3988
|
+
* @description Delete System user by id
|
|
3989
|
+
* @tags system_users
|
|
3990
|
+
* @name DeleteMany
|
|
3991
|
+
* @summary Delete System user by id
|
|
3992
|
+
* @request DELETE:/v1/users/system
|
|
4205
3993
|
* @secure
|
|
4206
3994
|
*/
|
|
4207
|
-
|
|
3995
|
+
deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3996
|
+
/**
|
|
3997
|
+
* @description Get System users with pagination
|
|
3998
|
+
* @tags System_users
|
|
3999
|
+
* @name Get
|
|
4000
|
+
* @summary Get System users with pagination
|
|
4001
|
+
* @request POST:/v1/users/system/list
|
|
4002
|
+
* @secure
|
|
4003
|
+
*/
|
|
4004
|
+
get(getSystemUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError>>;
|
|
4005
|
+
/**
|
|
4006
|
+
* @description Get System User by id
|
|
4007
|
+
* @tags system_users
|
|
4008
|
+
* @name GetById
|
|
4009
|
+
* @summary Get System User by id
|
|
4010
|
+
* @request GET:/v1/users/system/{id}
|
|
4011
|
+
* @secure
|
|
4012
|
+
*/
|
|
4013
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4014
|
+
/**
|
|
4015
|
+
* @description Update System User
|
|
4016
|
+
* @tags system_users
|
|
4017
|
+
* @name Update
|
|
4018
|
+
* @summary Update System User
|
|
4019
|
+
* @request PUT:/v1/users/system/{id}
|
|
4020
|
+
* @secure
|
|
4021
|
+
*/
|
|
4022
|
+
update(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4023
|
+
/**
|
|
4024
|
+
* @description Partial Update System User
|
|
4025
|
+
* @tags system_users
|
|
4026
|
+
* @name PartialUpdate
|
|
4027
|
+
* @summary Partial Update System User
|
|
4028
|
+
* @request PATCH:/v1/users/system/{id}
|
|
4029
|
+
* @secure
|
|
4030
|
+
*/
|
|
4031
|
+
partialUpdate(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4032
|
+
/**
|
|
4033
|
+
* @description Generate System User PDF
|
|
4034
|
+
* @tags system_users
|
|
4035
|
+
* @name GenerateAsPdf
|
|
4036
|
+
* @summary Generate System User PDF
|
|
4037
|
+
* @request POST:/v1/users/system/{id}/generate-as-pdf
|
|
4038
|
+
* @secure
|
|
4039
|
+
*/
|
|
4040
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4041
|
+
/**
|
|
4042
|
+
* @description Change System User status
|
|
4043
|
+
* @tags system_users
|
|
4044
|
+
* @name ChangeStatus
|
|
4045
|
+
* @summary Change System User status
|
|
4046
|
+
* @request PATCH:/v1/users/system/{id}/status
|
|
4047
|
+
* @secure
|
|
4048
|
+
*/
|
|
4049
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4208
4050
|
}
|
|
4209
4051
|
export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
4210
4052
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -4255,6 +4097,134 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4255
4097
|
*/
|
|
4256
4098
|
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4257
4099
|
}
|
|
4100
|
+
export class Permissions<HandleError extends boolean = boolean> {
|
|
4101
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
4102
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
4103
|
+
/**
|
|
4104
|
+
* @description Create Permission
|
|
4105
|
+
* @tags permissions
|
|
4106
|
+
* @name Create
|
|
4107
|
+
* @summary Create Permission
|
|
4108
|
+
* @request POST:/v1/permissions
|
|
4109
|
+
* @secure
|
|
4110
|
+
*/
|
|
4111
|
+
create(createPermission: UmaCreatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
4112
|
+
/**
|
|
4113
|
+
* @description Delete Permissions by id
|
|
4114
|
+
* @tags permissions
|
|
4115
|
+
* @name DeleteMany
|
|
4116
|
+
* @summary Delete Permissions by id
|
|
4117
|
+
* @request DELETE:/v1/permissions
|
|
4118
|
+
* @secure
|
|
4119
|
+
*/
|
|
4120
|
+
deleteMany(deletePermissions: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4121
|
+
/**
|
|
4122
|
+
* @description Get Permission by id
|
|
4123
|
+
* @tags permissions
|
|
4124
|
+
* @name GetById
|
|
4125
|
+
* @summary Get Permission by id
|
|
4126
|
+
* @request GET:/v1/permissions/{id}
|
|
4127
|
+
* @secure
|
|
4128
|
+
*/
|
|
4129
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
4130
|
+
/**
|
|
4131
|
+
* @description Update Permission
|
|
4132
|
+
* @tags permissions
|
|
4133
|
+
* @name Update
|
|
4134
|
+
* @summary Update Permission
|
|
4135
|
+
* @request PUT:/v1/permissions/{id}
|
|
4136
|
+
* @secure
|
|
4137
|
+
*/
|
|
4138
|
+
update(id: number, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
4139
|
+
/**
|
|
4140
|
+
* @description Partial Update Permission
|
|
4141
|
+
* @tags permissions
|
|
4142
|
+
* @name PartialUpdate
|
|
4143
|
+
* @summary Partial Update Permission
|
|
4144
|
+
* @request PATCH:/v1/permissions/{id}
|
|
4145
|
+
* @secure
|
|
4146
|
+
*/
|
|
4147
|
+
partialUpdate(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
4148
|
+
/**
|
|
4149
|
+
* @description Get Permissions with pagination
|
|
4150
|
+
* @tags permissions
|
|
4151
|
+
* @name Get
|
|
4152
|
+
* @summary Get Permissions with pagination
|
|
4153
|
+
* @request POST:/v2/permissions/list
|
|
4154
|
+
* @secure
|
|
4155
|
+
*/
|
|
4156
|
+
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError>>;
|
|
4157
|
+
}
|
|
4158
|
+
export class Firms<HandleError extends boolean = boolean> {
|
|
4159
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
4160
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
4161
|
+
/**
|
|
4162
|
+
* @description Create Firm
|
|
4163
|
+
* @tags firms
|
|
4164
|
+
* @name Create
|
|
4165
|
+
* @summary Create Firm
|
|
4166
|
+
* @request POST:/v1/firms
|
|
4167
|
+
* @secure
|
|
4168
|
+
*/
|
|
4169
|
+
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
4170
|
+
/**
|
|
4171
|
+
* @description Deletes Firm by ids
|
|
4172
|
+
* @tags firms
|
|
4173
|
+
* @name DeleteMany
|
|
4174
|
+
* @summary Deletes Firm by ids
|
|
4175
|
+
* @request DELETE:/v1/firms
|
|
4176
|
+
* @secure
|
|
4177
|
+
*/
|
|
4178
|
+
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4179
|
+
/**
|
|
4180
|
+
* @description Get Firm by id
|
|
4181
|
+
* @tags firms
|
|
4182
|
+
* @name GetById
|
|
4183
|
+
* @summary Get Firm by id
|
|
4184
|
+
* @request GET:/v1/firms/{id}
|
|
4185
|
+
* @secure
|
|
4186
|
+
*/
|
|
4187
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
4188
|
+
/**
|
|
4189
|
+
* @description Update Firm
|
|
4190
|
+
* @tags firms
|
|
4191
|
+
* @name Update
|
|
4192
|
+
* @summary Update Firm
|
|
4193
|
+
* @request PUT:/v1/firms/{id}
|
|
4194
|
+
* @secure
|
|
4195
|
+
*/
|
|
4196
|
+
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
4197
|
+
/**
|
|
4198
|
+
* @description Update Firm (partial updates supported).
|
|
4199
|
+
* @tags firms
|
|
4200
|
+
* @name PartialUpdate
|
|
4201
|
+
* @summary Update Firm (partial updates supported)
|
|
4202
|
+
* @request PATCH:/v1/firms/{id}
|
|
4203
|
+
* @secure
|
|
4204
|
+
*/
|
|
4205
|
+
partialUpdate(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
4206
|
+
/**
|
|
4207
|
+
* @description Get Firms with pagination
|
|
4208
|
+
* @tags firms
|
|
4209
|
+
* @name Get
|
|
4210
|
+
* @summary Get Firms with pagination
|
|
4211
|
+
* @request POST:/v2/firms/list
|
|
4212
|
+
* @secure
|
|
4213
|
+
*/
|
|
4214
|
+
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError>>;
|
|
4215
|
+
}
|
|
4216
|
+
export class Locales<HandleError extends boolean = boolean> {
|
|
4217
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
4218
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
4219
|
+
/**
|
|
4220
|
+
* @description get all language locales
|
|
4221
|
+
* @tags locales
|
|
4222
|
+
* @name Get
|
|
4223
|
+
* @summary get all locales
|
|
4224
|
+
* @request GET:/v1/locales
|
|
4225
|
+
*/
|
|
4226
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError>>;
|
|
4227
|
+
}
|
|
4258
4228
|
declare class _B2BAuth1<HandleError extends boolean = boolean> extends B2BAuth<HandleError> {
|
|
4259
4229
|
basicLogin(...params: Parameters<B2BAuth<HandleError>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError>>;
|
|
4260
4230
|
apiKeysLogin(...params: Parameters<B2BAuth<HandleError>['apiKeysLogin']>): Promise<ClientResponse<_UmaSimpleB2BLoginSerializer1, HandleError>>;
|