@orbis-systems/orbis-api-clients 0.7.21 → 0.8.1
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 +441 -304
- 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 +1193 -1163
- package/dist/bridgewise/index.d.ts.map +1 -1
- package/dist/bridgewise/index.esm.js +1 -1
- package/dist/bridgewise/index.esm.js.map +1 -1
- package/dist/bridgewise/index.js +1 -1
- package/dist/bridgewise/index.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/insight/index.d.ts +520 -506
- 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 +26 -4
- 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 +3 -2
- 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 +426 -436
- 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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AxiosError, AxiosInstance, AxiosRequestConfig, HttpStatusCode } from "axios";
|
|
2
|
+
import { UmaBasicB2BLoginSerializer as _UmaBasicB2BLoginSerializer1, UmaSimpleB2BLoginSerializer as _UmaSimpleB2BLoginSerializer1, UmaB2CLoginResultSerializer as _UmaB2CLoginResultSerializer1 } from "apis/uma/__generated__";
|
|
2
3
|
interface BaseClientConfig<HandleError extends boolean = boolean> {
|
|
3
4
|
debug?: boolean;
|
|
4
5
|
baseUrl: string;
|
|
@@ -61,22 +62,6 @@ declare class BaseApi<HandleError extends boolean = boolean, ApiClient extends B
|
|
|
61
62
|
constructor(apiClient: ApiClient);
|
|
62
63
|
getApiClient(): ApiClient;
|
|
63
64
|
}
|
|
64
|
-
interface JwtClientConfig<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClientConfig<HandleError> {
|
|
65
|
-
authSchema?: string;
|
|
66
|
-
autoRenewToken?: boolean;
|
|
67
|
-
onRenewToken?: () => Promise<AuthData>;
|
|
68
|
-
}
|
|
69
|
-
interface JwtAuthData {
|
|
70
|
-
accessToken: string;
|
|
71
|
-
refreshToken?: string;
|
|
72
|
-
}
|
|
73
|
-
declare class JwtClient<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClient<HandleError, AuthData> {
|
|
74
|
-
protected readonly config: JwtClientConfig<HandleError, AuthData>;
|
|
75
|
-
constructor(config: JwtClientConfig<HandleError, AuthData>);
|
|
76
|
-
getConfig(): JwtClientConfig<HandleError>;
|
|
77
|
-
setRenewTokenCallback(renewTokenCallback: () => Promise<AuthData>): void;
|
|
78
|
-
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
79
|
-
}
|
|
80
65
|
export interface UmaGetActionLogsSerializer {
|
|
81
66
|
action_logs: UmaActionLogSerializer[];
|
|
82
67
|
current_page: number;
|
|
@@ -253,7 +238,9 @@ export enum UmaAccessControlProhibitionReasonType {
|
|
|
253
238
|
TargetLacksBranchesForNonAdminFirmsProhibition = "target_lacks_branches_for_non_admin_firms",
|
|
254
239
|
UserLacksAccessToTargetBranchesProhibition = "user_lacks_access_to_target_branches",
|
|
255
240
|
TargetHasAdminFirmBranchesProhibition = "target_has_admin_firm_branches",
|
|
256
|
-
TargetUserIsDeletedProhibition = "target_user_is_deleted"
|
|
241
|
+
TargetUserIsDeletedProhibition = "target_user_is_deleted",
|
|
242
|
+
UserLacksUpdatePermissionProhibition = "user_lacks_update_permission",
|
|
243
|
+
UserLacksDeletePermissionProhibition = "user_lacks_delete_permission"
|
|
257
244
|
}
|
|
258
245
|
export enum UmaAuthAppType {
|
|
259
246
|
EmailCodeAuthAppType = "email_code",
|
|
@@ -330,9 +317,11 @@ export interface UmaEmailDomainMutationSerializer {
|
|
|
330
317
|
status: number;
|
|
331
318
|
}
|
|
332
319
|
export interface UmaGetEmailDomainsListSerializer {
|
|
320
|
+
current_page: number;
|
|
333
321
|
email_domains: UmaEmailDomainSerializer[];
|
|
334
|
-
|
|
322
|
+
pages_count: number;
|
|
335
323
|
status: number;
|
|
324
|
+
total_records: number;
|
|
336
325
|
}
|
|
337
326
|
export interface UmaEndpointMutationSerializer {
|
|
338
327
|
endpoint: UmaEndpointSerializer;
|
|
@@ -958,6 +947,7 @@ export interface UmaB2BUserSerializer {
|
|
|
958
947
|
should_reset_password: boolean;
|
|
959
948
|
small_avatar_url: string;
|
|
960
949
|
theme: string;
|
|
950
|
+
title: string;
|
|
961
951
|
/** @example "2022-02-02T00:00:00Z" */
|
|
962
952
|
updated_at: string;
|
|
963
953
|
username: string;
|
|
@@ -1804,11 +1794,6 @@ export interface UmaOptionalPaginationDto {
|
|
|
1804
1794
|
page?: number;
|
|
1805
1795
|
size?: number;
|
|
1806
1796
|
}
|
|
1807
|
-
export interface UmaPaginationSerializer {
|
|
1808
|
-
current_page: number;
|
|
1809
|
-
pages_count: number;
|
|
1810
|
-
total_records: number;
|
|
1811
|
-
}
|
|
1812
1797
|
export interface UmaPartialUpdatePermissionDto {
|
|
1813
1798
|
metadata?: UmaPermissionMetadataDto;
|
|
1814
1799
|
microservice_id?: number;
|
|
@@ -2551,6 +2536,36 @@ export enum UmaVerifyContactDtoCodeTypeEnum {
|
|
|
2551
2536
|
Voice = "voice",
|
|
2552
2537
|
Sms = "sms"
|
|
2553
2538
|
}
|
|
2539
|
+
interface JwtClientConfig<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClientConfig<HandleError> {
|
|
2540
|
+
authSchema?: string;
|
|
2541
|
+
autoRenewToken?: boolean;
|
|
2542
|
+
onRenewTokens?: () => Promise<AuthData>;
|
|
2543
|
+
}
|
|
2544
|
+
interface JwtAuthData {
|
|
2545
|
+
accessToken: string;
|
|
2546
|
+
refreshToken?: string;
|
|
2547
|
+
}
|
|
2548
|
+
declare class JwtClient<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClient<HandleError, AuthData> {
|
|
2549
|
+
protected readonly config: JwtClientConfig<HandleError, AuthData>;
|
|
2550
|
+
constructor(config: JwtClientConfig<HandleError, AuthData>);
|
|
2551
|
+
getConfig(): JwtClientConfig<HandleError>;
|
|
2552
|
+
setRenewTokensCallback(renewTokensCallback: () => Promise<AuthData>): void;
|
|
2553
|
+
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
2554
|
+
protected renewTokens(): Promise<AuthData>;
|
|
2555
|
+
}
|
|
2556
|
+
export class ActionLogs<HandleError extends boolean = boolean> {
|
|
2557
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2558
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2559
|
+
/**
|
|
2560
|
+
* @description Get Action logs list
|
|
2561
|
+
* @tags action_logs
|
|
2562
|
+
* @name GetActionLogs
|
|
2563
|
+
* @summary Get Action logs list
|
|
2564
|
+
* @request POST:/v1/action-logs/list
|
|
2565
|
+
* @secure
|
|
2566
|
+
*/
|
|
2567
|
+
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2568
|
+
}
|
|
2554
2569
|
export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
2555
2570
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2556
2571
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -2684,19 +2699,6 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2684
2699
|
*/
|
|
2685
2700
|
update(id: number, updateAuthAppDto: UmaUpdateAuthAppDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthAppResponseSerializer, HandleError>>;
|
|
2686
2701
|
}
|
|
2687
|
-
export class ActionLogs<HandleError extends boolean = boolean> {
|
|
2688
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2689
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2690
|
-
/**
|
|
2691
|
-
* @description Get Action logs list
|
|
2692
|
-
* @tags action_logs
|
|
2693
|
-
* @name GetActionLogs
|
|
2694
|
-
* @summary Get Action logs list
|
|
2695
|
-
* @request POST:/v1/action-logs/list
|
|
2696
|
-
* @secure
|
|
2697
|
-
*/
|
|
2698
|
-
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2699
|
-
}
|
|
2700
2702
|
export class AuthForms<HandleError extends boolean = boolean> {
|
|
2701
2703
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2702
2704
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -2985,7 +2987,12 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
2985
2987
|
* @summary Send reset password code for B2C user
|
|
2986
2988
|
* @request PUT:/v1/auth/b2c/send-reset-password-code
|
|
2987
2989
|
*/
|
|
2988
|
-
sendResetPasswordCode(B2CSendResetPasswordCodeParams: UmaSendB2CResetPasswordCodeDto,
|
|
2990
|
+
sendResetPasswordCode(B2CSendResetPasswordCodeParams: UmaSendB2CResetPasswordCodeDto, headers?: {
|
|
2991
|
+
/** Branch id/slug/code, with which user should work */
|
|
2992
|
+
BRANCH?: string;
|
|
2993
|
+
/** Firm id/slug, with which user should work */
|
|
2994
|
+
FIRM?: string;
|
|
2995
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2989
2996
|
/**
|
|
2990
2997
|
* @description Send verification code for B2C user
|
|
2991
2998
|
* @tags b2c_auth
|
|
@@ -3128,113 +3135,6 @@ export class ApiKeys<HandleError extends boolean = boolean> {
|
|
|
3128
3135
|
*/
|
|
3129
3136
|
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3130
3137
|
}
|
|
3131
|
-
export class Microservices<HandleError extends boolean = boolean> {
|
|
3132
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3133
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3134
|
-
/**
|
|
3135
|
-
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3136
|
-
* @tags microservices
|
|
3137
|
-
* @name Create
|
|
3138
|
-
* @summary Create Microservice
|
|
3139
|
-
* @request POST:/v1/b2b/microservices
|
|
3140
|
-
* @secure
|
|
3141
|
-
*/
|
|
3142
|
-
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3143
|
-
/**
|
|
3144
|
-
* @description Delete microservice by id
|
|
3145
|
-
* @tags microservices
|
|
3146
|
-
* @name DeleteMany
|
|
3147
|
-
* @summary Delete microservice by id
|
|
3148
|
-
* @request DELETE:/v1/b2b/microservices
|
|
3149
|
-
* @secure
|
|
3150
|
-
*/
|
|
3151
|
-
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3152
|
-
/**
|
|
3153
|
-
* @description Get Microservice by id
|
|
3154
|
-
* @tags microservices
|
|
3155
|
-
* @name GetById
|
|
3156
|
-
* @summary Get Microservice by id
|
|
3157
|
-
* @request GET:/v1/b2b/microservices/{id}
|
|
3158
|
-
* @secure
|
|
3159
|
-
*/
|
|
3160
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3161
|
-
/**
|
|
3162
|
-
* @description Update microservice record
|
|
3163
|
-
* @tags microservices
|
|
3164
|
-
* @name Update
|
|
3165
|
-
* @summary Update microservice record
|
|
3166
|
-
* @request PUT:/v1/b2b/microservices/{id}
|
|
3167
|
-
* @secure
|
|
3168
|
-
*/
|
|
3169
|
-
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3170
|
-
/**
|
|
3171
|
-
* @description Update microservice record (partial updates supported)
|
|
3172
|
-
* @tags microservices
|
|
3173
|
-
* @name PartialUpdate
|
|
3174
|
-
* @summary Update microservice record (partial updates supported)
|
|
3175
|
-
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3176
|
-
* @secure
|
|
3177
|
-
*/
|
|
3178
|
-
partialUpdate(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3179
|
-
/**
|
|
3180
|
-
* @description Get microservices with pagination
|
|
3181
|
-
* @tags microservices
|
|
3182
|
-
* @name Get
|
|
3183
|
-
* @summary Get microservices with pagination
|
|
3184
|
-
* @request POST:/v2/b2b/microservices/list
|
|
3185
|
-
* @secure
|
|
3186
|
-
*/
|
|
3187
|
-
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError>>;
|
|
3188
|
-
}
|
|
3189
|
-
export class RoleTypes<HandleError extends boolean = boolean> {
|
|
3190
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3191
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3192
|
-
/**
|
|
3193
|
-
* @description Create Role Type
|
|
3194
|
-
* @tags role_types
|
|
3195
|
-
* @name Create
|
|
3196
|
-
* @summary Create Role Type
|
|
3197
|
-
* @request POST:/v1/b2b/role-types
|
|
3198
|
-
* @secure
|
|
3199
|
-
*/
|
|
3200
|
-
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3201
|
-
/**
|
|
3202
|
-
* @description Delete Role Types by ids
|
|
3203
|
-
* @tags role_types
|
|
3204
|
-
* @name DeleteMany
|
|
3205
|
-
* @summary Delete Role Types by ids
|
|
3206
|
-
* @request DELETE:/v1/b2b/role-types
|
|
3207
|
-
* @secure
|
|
3208
|
-
*/
|
|
3209
|
-
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3210
|
-
/**
|
|
3211
|
-
* @description Get Role Type by id
|
|
3212
|
-
* @tags role_types
|
|
3213
|
-
* @name GetById
|
|
3214
|
-
* @summary Get Role Type by id
|
|
3215
|
-
* @request GET:/v1/b2b/role-types/{id}
|
|
3216
|
-
* @secure
|
|
3217
|
-
*/
|
|
3218
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3219
|
-
/**
|
|
3220
|
-
* @description Update Role Type
|
|
3221
|
-
* @tags role_types
|
|
3222
|
-
* @name Update
|
|
3223
|
-
* @summary Update Role Type
|
|
3224
|
-
* @request PUT:/v1/b2b/role-types/{id}
|
|
3225
|
-
* @secure
|
|
3226
|
-
*/
|
|
3227
|
-
update(id: number, updateRoleType: UmaUpdateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3228
|
-
/**
|
|
3229
|
-
* @description Get Role Types with pagination
|
|
3230
|
-
* @tags role_types
|
|
3231
|
-
* @name Get
|
|
3232
|
-
* @summary Get Role Types with pagination
|
|
3233
|
-
* @request POST:/v2/b2b/role-types/list
|
|
3234
|
-
* @secure
|
|
3235
|
-
*/
|
|
3236
|
-
get(getRoleTypes: UmaGetRoleTypesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRoleTypesListSerializer, HandleError>>;
|
|
3237
|
-
}
|
|
3238
3138
|
export class Endpoints<HandleError extends boolean = boolean> {
|
|
3239
3139
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3240
3140
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3342,123 +3242,181 @@ export class IdentityProviders<HandleError extends boolean = boolean> {
|
|
|
3342
3242
|
*/
|
|
3343
3243
|
get(identityProvidersDto: UmaGetIdentityProvidersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetIdentityProvidersListSerializer, HandleError>>;
|
|
3344
3244
|
}
|
|
3345
|
-
export class
|
|
3245
|
+
export class Microservices<HandleError extends boolean = boolean> {
|
|
3346
3246
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3347
3247
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3348
3248
|
/**
|
|
3349
|
-
* @description
|
|
3350
|
-
* @tags
|
|
3351
|
-
* @name
|
|
3352
|
-
* @summary
|
|
3353
|
-
* @request
|
|
3249
|
+
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3250
|
+
* @tags microservices
|
|
3251
|
+
* @name Create
|
|
3252
|
+
* @summary Create Microservice
|
|
3253
|
+
* @request POST:/v1/b2b/microservices
|
|
3354
3254
|
* @secure
|
|
3355
3255
|
*/
|
|
3356
|
-
|
|
3357
|
-
/** Run endpoint in debug mode */
|
|
3358
|
-
'Debug-Token'?: string;
|
|
3359
|
-
/** Branch id, with which user should work */
|
|
3360
|
-
BRANCH?: string;
|
|
3361
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
3256
|
+
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3362
3257
|
/**
|
|
3363
|
-
* @description
|
|
3364
|
-
* @tags
|
|
3365
|
-
* @name
|
|
3366
|
-
* @summary
|
|
3367
|
-
* @request
|
|
3258
|
+
* @description Delete microservice by id
|
|
3259
|
+
* @tags microservices
|
|
3260
|
+
* @name DeleteMany
|
|
3261
|
+
* @summary Delete microservice by id
|
|
3262
|
+
* @request DELETE:/v1/b2b/microservices
|
|
3368
3263
|
* @secure
|
|
3369
3264
|
*/
|
|
3370
|
-
|
|
3371
|
-
/**
|
|
3372
|
-
* Avatar to upload
|
|
3373
|
-
* @format binary
|
|
3374
|
-
*/
|
|
3375
|
-
avatar?: File;
|
|
3376
|
-
/** Should delete old avatar instead of uploading new one */
|
|
3377
|
-
delete_avatar?: boolean;
|
|
3378
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
3265
|
+
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3379
3266
|
/**
|
|
3380
|
-
* @description
|
|
3381
|
-
* @tags
|
|
3382
|
-
* @name
|
|
3383
|
-
* @summary
|
|
3384
|
-
* @request
|
|
3267
|
+
* @description Get Microservice by id
|
|
3268
|
+
* @tags microservices
|
|
3269
|
+
* @name GetById
|
|
3270
|
+
* @summary Get Microservice by id
|
|
3271
|
+
* @request GET:/v1/b2b/microservices/{id}
|
|
3385
3272
|
* @secure
|
|
3386
3273
|
*/
|
|
3387
|
-
|
|
3388
|
-
/** Branch id, with which user should work */
|
|
3389
|
-
BRANCH?: string;
|
|
3390
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3391
|
-
}
|
|
3392
|
-
export class TablePresets<HandleError extends boolean = boolean> {
|
|
3393
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3394
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3274
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3395
3275
|
/**
|
|
3396
|
-
* @description
|
|
3397
|
-
* @tags
|
|
3398
|
-
* @name
|
|
3399
|
-
* @summary
|
|
3400
|
-
* @request
|
|
3276
|
+
* @description Update microservice record
|
|
3277
|
+
* @tags microservices
|
|
3278
|
+
* @name Update
|
|
3279
|
+
* @summary Update microservice record
|
|
3280
|
+
* @request PUT:/v1/b2b/microservices/{id}
|
|
3401
3281
|
* @secure
|
|
3402
3282
|
*/
|
|
3403
|
-
|
|
3283
|
+
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3404
3284
|
/**
|
|
3405
|
-
* @description
|
|
3406
|
-
* @tags
|
|
3407
|
-
* @name
|
|
3408
|
-
* @summary
|
|
3409
|
-
* @request
|
|
3285
|
+
* @description Update microservice record (partial updates supported)
|
|
3286
|
+
* @tags microservices
|
|
3287
|
+
* @name PartialUpdate
|
|
3288
|
+
* @summary Update microservice record (partial updates supported)
|
|
3289
|
+
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3410
3290
|
* @secure
|
|
3411
3291
|
*/
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3292
|
+
partialUpdate(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3293
|
+
/**
|
|
3294
|
+
* @description Get microservices with pagination
|
|
3295
|
+
* @tags microservices
|
|
3296
|
+
* @name Get
|
|
3297
|
+
* @summary Get microservices with pagination
|
|
3298
|
+
* @request POST:/v2/b2b/microservices/list
|
|
3299
|
+
* @secure
|
|
3300
|
+
*/
|
|
3301
|
+
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError>>;
|
|
3302
|
+
}
|
|
3303
|
+
export class RoleTypes<HandleError extends boolean = boolean> {
|
|
3415
3304
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3416
3305
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3417
3306
|
/**
|
|
3418
|
-
* @description Create
|
|
3419
|
-
* @tags
|
|
3307
|
+
* @description Create Role Type
|
|
3308
|
+
* @tags role_types
|
|
3420
3309
|
* @name Create
|
|
3421
|
-
* @summary Create
|
|
3422
|
-
* @request POST:/v1/
|
|
3310
|
+
* @summary Create Role Type
|
|
3311
|
+
* @request POST:/v1/b2b/role-types
|
|
3423
3312
|
* @secure
|
|
3424
3313
|
*/
|
|
3425
|
-
create(
|
|
3314
|
+
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3426
3315
|
/**
|
|
3427
|
-
* @description Delete
|
|
3428
|
-
* @tags
|
|
3316
|
+
* @description Delete Role Types by ids
|
|
3317
|
+
* @tags role_types
|
|
3429
3318
|
* @name DeleteMany
|
|
3430
|
-
* @summary Delete
|
|
3431
|
-
* @request DELETE:/v1/
|
|
3319
|
+
* @summary Delete Role Types by ids
|
|
3320
|
+
* @request DELETE:/v1/b2b/role-types
|
|
3432
3321
|
* @secure
|
|
3433
3322
|
*/
|
|
3434
|
-
deleteMany(
|
|
3323
|
+
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3435
3324
|
/**
|
|
3436
|
-
* @description Get
|
|
3437
|
-
* @tags
|
|
3325
|
+
* @description Get Role Type by id
|
|
3326
|
+
* @tags role_types
|
|
3327
|
+
* @name GetById
|
|
3328
|
+
* @summary Get Role Type by id
|
|
3329
|
+
* @request GET:/v1/b2b/role-types/{id}
|
|
3330
|
+
* @secure
|
|
3331
|
+
*/
|
|
3332
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3333
|
+
/**
|
|
3334
|
+
* @description Update Role Type
|
|
3335
|
+
* @tags role_types
|
|
3336
|
+
* @name Update
|
|
3337
|
+
* @summary Update Role Type
|
|
3338
|
+
* @request PUT:/v1/b2b/role-types/{id}
|
|
3339
|
+
* @secure
|
|
3340
|
+
*/
|
|
3341
|
+
update(id: number, updateRoleType: UmaUpdateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3342
|
+
/**
|
|
3343
|
+
* @description Get Role Types with pagination
|
|
3344
|
+
* @tags role_types
|
|
3438
3345
|
* @name Get
|
|
3439
|
-
* @summary Get
|
|
3440
|
-
* @request POST:/
|
|
3346
|
+
* @summary Get Role Types with pagination
|
|
3347
|
+
* @request POST:/v2/b2b/role-types/list
|
|
3441
3348
|
* @secure
|
|
3442
3349
|
*/
|
|
3443
|
-
get(
|
|
3350
|
+
get(getRoleTypes: UmaGetRoleTypesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRoleTypesListSerializer, HandleError>>;
|
|
3351
|
+
}
|
|
3352
|
+
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
3353
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3354
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3444
3355
|
/**
|
|
3445
|
-
* @description
|
|
3446
|
-
* @tags
|
|
3447
|
-
* @name
|
|
3448
|
-
* @summary
|
|
3449
|
-
* @request
|
|
3356
|
+
* @description Set B2B User Settings
|
|
3357
|
+
* @tags b2b_user_settings
|
|
3358
|
+
* @name SetUserSettings
|
|
3359
|
+
* @summary Set B2B User Settings
|
|
3360
|
+
* @request PUT:/v1/b2b/settings
|
|
3450
3361
|
* @secure
|
|
3451
3362
|
*/
|
|
3452
|
-
|
|
3363
|
+
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
3364
|
+
/** Run endpoint in debug mode */
|
|
3365
|
+
'Debug-Token'?: string;
|
|
3366
|
+
/** Branch id, with which user should work */
|
|
3367
|
+
BRANCH?: string;
|
|
3368
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
3453
3369
|
/**
|
|
3454
|
-
* @description
|
|
3455
|
-
* @tags
|
|
3456
|
-
* @name
|
|
3457
|
-
* @summary
|
|
3458
|
-
* @request
|
|
3370
|
+
* @description Upload avatar for B2B user
|
|
3371
|
+
* @tags b2b_user_settings
|
|
3372
|
+
* @name UploadAvatar
|
|
3373
|
+
* @summary Upload avatar for B2B user
|
|
3374
|
+
* @request PUT:/v1/b2b/settings/avatar
|
|
3459
3375
|
* @secure
|
|
3460
3376
|
*/
|
|
3461
|
-
|
|
3377
|
+
uploadAvatar(data: {
|
|
3378
|
+
/**
|
|
3379
|
+
* Avatar to upload
|
|
3380
|
+
* @format binary
|
|
3381
|
+
*/
|
|
3382
|
+
avatar?: File;
|
|
3383
|
+
/** Should delete old avatar instead of uploading new one */
|
|
3384
|
+
delete_avatar?: boolean;
|
|
3385
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
3386
|
+
/**
|
|
3387
|
+
* @description Send B2B user contact change code
|
|
3388
|
+
* @tags b2b_user_settings
|
|
3389
|
+
* @name SendContactChangeCode
|
|
3390
|
+
* @summary Send B2B user contact change code
|
|
3391
|
+
* @request POST:/v1/b2b/settings/codes
|
|
3392
|
+
* @secure
|
|
3393
|
+
*/
|
|
3394
|
+
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3395
|
+
/** Branch id, with which user should work */
|
|
3396
|
+
BRANCH?: string;
|
|
3397
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3398
|
+
}
|
|
3399
|
+
export class TablePresets<HandleError extends boolean = boolean> {
|
|
3400
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3401
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3402
|
+
/**
|
|
3403
|
+
* @description Get user Table Presets
|
|
3404
|
+
* @tags table_presets
|
|
3405
|
+
* @name GetUserPresets
|
|
3406
|
+
* @summary Get user Table Presets
|
|
3407
|
+
* @request GET:/v1/b2b/table-presets
|
|
3408
|
+
* @secure
|
|
3409
|
+
*/
|
|
3410
|
+
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError>>;
|
|
3411
|
+
/**
|
|
3412
|
+
* @description Upsert Table Preset
|
|
3413
|
+
* @tags table_presets
|
|
3414
|
+
* @name Upsert
|
|
3415
|
+
* @summary Upsert Table Preset
|
|
3416
|
+
* @request PUT:/v1/b2b/table-presets
|
|
3417
|
+
* @secure
|
|
3418
|
+
*/
|
|
3419
|
+
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError>>;
|
|
3462
3420
|
}
|
|
3463
3421
|
export class Firms<HandleError extends boolean = boolean> {
|
|
3464
3422
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3518,6 +3476,168 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3518
3476
|
*/
|
|
3519
3477
|
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError>>;
|
|
3520
3478
|
}
|
|
3479
|
+
export class Branches<HandleError extends boolean = boolean> {
|
|
3480
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3481
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3482
|
+
/**
|
|
3483
|
+
* @description Create Branch
|
|
3484
|
+
* @tags branches
|
|
3485
|
+
* @name Create
|
|
3486
|
+
* @summary Create Branch
|
|
3487
|
+
* @request POST:/v1/branches
|
|
3488
|
+
* @secure
|
|
3489
|
+
*/
|
|
3490
|
+
create(createBranch: UmaCreateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3491
|
+
/**
|
|
3492
|
+
* @description Delete Branch by id
|
|
3493
|
+
* @tags branches
|
|
3494
|
+
* @name DeleteMany
|
|
3495
|
+
* @summary Delete Branch by id
|
|
3496
|
+
* @request DELETE:/v1/branches
|
|
3497
|
+
* @secure
|
|
3498
|
+
*/
|
|
3499
|
+
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3500
|
+
/**
|
|
3501
|
+
* @description Get Branch by id
|
|
3502
|
+
* @tags branches
|
|
3503
|
+
* @name GetById
|
|
3504
|
+
* @summary Get Branch by id
|
|
3505
|
+
* @request GET:/v1/branches/{id}
|
|
3506
|
+
* @secure
|
|
3507
|
+
*/
|
|
3508
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3509
|
+
/**
|
|
3510
|
+
* @description Update Branch
|
|
3511
|
+
* @tags branches
|
|
3512
|
+
* @name Update
|
|
3513
|
+
* @summary Update Branch
|
|
3514
|
+
* @request PUT:/v1/branches/{id}
|
|
3515
|
+
* @secure
|
|
3516
|
+
*/
|
|
3517
|
+
update(id: number, updateBranch: UmaUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3518
|
+
/**
|
|
3519
|
+
* @description Partial Update Branch
|
|
3520
|
+
* @tags branches
|
|
3521
|
+
* @name PartialUpdate
|
|
3522
|
+
* @summary Partial Update Branch
|
|
3523
|
+
* @request PATCH:/v1/branches/{id}
|
|
3524
|
+
* @secure
|
|
3525
|
+
*/
|
|
3526
|
+
partialUpdate(id: number, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3527
|
+
/**
|
|
3528
|
+
* @description Get Branches with pagination
|
|
3529
|
+
* @tags branches
|
|
3530
|
+
* @name Get
|
|
3531
|
+
* @summary Get Branches with pagination
|
|
3532
|
+
* @request POST:/v2/branches/list
|
|
3533
|
+
* @secure
|
|
3534
|
+
*/
|
|
3535
|
+
get(getBranches: UmaGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBranchesListSerializer, HandleError>>;
|
|
3536
|
+
}
|
|
3537
|
+
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
3538
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3539
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3540
|
+
/**
|
|
3541
|
+
* @description Set B2C User Settings (test)
|
|
3542
|
+
* @tags b2c_user_settings
|
|
3543
|
+
* @name SetUserSettings
|
|
3544
|
+
* @summary Set B2C User Settings
|
|
3545
|
+
* @request PUT:/v1/b2c/settings
|
|
3546
|
+
* @secure
|
|
3547
|
+
*/
|
|
3548
|
+
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
3549
|
+
/** Branch id/slug/code, with which user should work */
|
|
3550
|
+
BRANCH?: string;
|
|
3551
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3552
|
+
/**
|
|
3553
|
+
* @description Send B2C user contact change code
|
|
3554
|
+
* @tags b2c_user_settings
|
|
3555
|
+
* @name SendContactChangeCode
|
|
3556
|
+
* @summary Send B2C user contact change code
|
|
3557
|
+
* @request POST:/v1/b2c/settings/codes
|
|
3558
|
+
* @secure
|
|
3559
|
+
*/
|
|
3560
|
+
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
3561
|
+
/** Branch id/slug/code, with which user should work */
|
|
3562
|
+
BRANCH?: string;
|
|
3563
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3564
|
+
/**
|
|
3565
|
+
* @description Get Available B2C Branch Mfa Options
|
|
3566
|
+
* @tags b2c_user_settings
|
|
3567
|
+
* @name AvailableMfaOptions
|
|
3568
|
+
* @summary Get Available B2C Branch Mfa Options
|
|
3569
|
+
* @request GET:/v1/b2c/settings/mfa-options
|
|
3570
|
+
* @secure
|
|
3571
|
+
*/
|
|
3572
|
+
availableMfaOptions(headers?: {
|
|
3573
|
+
/** Branch id/slug/code, with which user should work */
|
|
3574
|
+
BRANCH?: string;
|
|
3575
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
3576
|
+
/**
|
|
3577
|
+
* @description Delete B2C OAuth2 Bindings
|
|
3578
|
+
* @tags b2c_user_settings
|
|
3579
|
+
* @name DeleteManyOAuthBindings
|
|
3580
|
+
* @summary Delete B2C OAuth2 Bindings
|
|
3581
|
+
* @request DELETE:/v1/b2c/settings/oauth-links
|
|
3582
|
+
* @secure
|
|
3583
|
+
*/
|
|
3584
|
+
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3585
|
+
/**
|
|
3586
|
+
* @description Finish Apple OAuth2 Profile Linking
|
|
3587
|
+
* @tags b2c_user_settings
|
|
3588
|
+
* @name FinishAppleProfileLinking
|
|
3589
|
+
* @summary Finish Apple OAuth2 Profile Linking
|
|
3590
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
3591
|
+
*/
|
|
3592
|
+
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3593
|
+
/**
|
|
3594
|
+
* @description Initialize Apple OAuth2 Profile Linking
|
|
3595
|
+
* @tags b2c_user_settings
|
|
3596
|
+
* @name InitAppleProfileLinking
|
|
3597
|
+
* @summary Initialize Apple OAuth2 Profile Linking
|
|
3598
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/start
|
|
3599
|
+
* @secure
|
|
3600
|
+
*/
|
|
3601
|
+
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3602
|
+
/**
|
|
3603
|
+
* @description Finish Google OAuth2 Profile Linking
|
|
3604
|
+
* @tags b2c_user_settings
|
|
3605
|
+
* @name FinishGoogleProfileLinking
|
|
3606
|
+
* @summary Finish Google OAuth2 Profile Linking
|
|
3607
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
3608
|
+
*/
|
|
3609
|
+
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3610
|
+
/**
|
|
3611
|
+
* @description Initialize Google OAuth2 Profile Linking
|
|
3612
|
+
* @tags b2c_user_settings
|
|
3613
|
+
* @name InitGoogleProfileLinking
|
|
3614
|
+
* @summary Initialize Google OAuth2 Profile Linking
|
|
3615
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/start
|
|
3616
|
+
* @secure
|
|
3617
|
+
*/
|
|
3618
|
+
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3619
|
+
/**
|
|
3620
|
+
* @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
|
|
3621
|
+
* @tags b2c_user_settings
|
|
3622
|
+
* @name GetOAuthBindings
|
|
3623
|
+
* @summary Get B2C OAuth2 Bindings with pagination
|
|
3624
|
+
* @request POST:/v1/b2c/settings/oauth-links/list
|
|
3625
|
+
* @secure
|
|
3626
|
+
*/
|
|
3627
|
+
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError>>;
|
|
3628
|
+
}
|
|
3629
|
+
export class Locales<HandleError extends boolean = boolean> {
|
|
3630
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3631
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3632
|
+
/**
|
|
3633
|
+
* @description get all language locales
|
|
3634
|
+
* @tags locales
|
|
3635
|
+
* @name Get
|
|
3636
|
+
* @summary get all locales
|
|
3637
|
+
* @request GET:/v1/locales
|
|
3638
|
+
*/
|
|
3639
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError>>;
|
|
3640
|
+
}
|
|
3521
3641
|
export class Permissions<HandleError extends boolean = boolean> {
|
|
3522
3642
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3523
3643
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3560,35 +3680,21 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3560
3680
|
/**
|
|
3561
3681
|
* @description Partial Update Permission
|
|
3562
3682
|
* @tags permissions
|
|
3563
|
-
* @name
|
|
3683
|
+
* @name PartialUpdate
|
|
3564
3684
|
* @summary Partial Update Permission
|
|
3565
3685
|
* @request PATCH:/v1/permissions/{id}
|
|
3566
|
-
* @originalName update
|
|
3567
|
-
* @duplicate
|
|
3568
3686
|
* @secure
|
|
3569
3687
|
*/
|
|
3570
|
-
|
|
3688
|
+
partialUpdate(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
3571
3689
|
/**
|
|
3572
3690
|
* @description Get Permissions with pagination
|
|
3573
3691
|
* @tags permissions
|
|
3574
3692
|
* @name Get
|
|
3575
|
-
* @summary Get Permissions with pagination
|
|
3576
|
-
* @request POST:/v2/permissions/list
|
|
3577
|
-
* @secure
|
|
3578
|
-
*/
|
|
3579
|
-
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError>>;
|
|
3580
|
-
}
|
|
3581
|
-
export class Locales<HandleError extends boolean = boolean> {
|
|
3582
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3583
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3584
|
-
/**
|
|
3585
|
-
* @description get all language locales
|
|
3586
|
-
* @tags locales
|
|
3587
|
-
* @name Get
|
|
3588
|
-
* @summary get all locales
|
|
3589
|
-
* @request GET:/v1/locales
|
|
3693
|
+
* @summary Get Permissions with pagination
|
|
3694
|
+
* @request POST:/v2/permissions/list
|
|
3695
|
+
* @secure
|
|
3590
3696
|
*/
|
|
3591
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<
|
|
3697
|
+
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError>>;
|
|
3592
3698
|
}
|
|
3593
3699
|
export class PublicSettings<HandleError extends boolean = boolean> {
|
|
3594
3700
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3602,35 +3708,6 @@ export class PublicSettings<HandleError extends boolean = boolean> {
|
|
|
3602
3708
|
*/
|
|
3603
3709
|
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError>>;
|
|
3604
3710
|
}
|
|
3605
|
-
export class SecretNotes<HandleError extends boolean = boolean> {
|
|
3606
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3607
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3608
|
-
/**
|
|
3609
|
-
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
3610
|
-
* @tags secret_notes
|
|
3611
|
-
* @name Create
|
|
3612
|
-
* @summary Create Secret note
|
|
3613
|
-
* @request POST:/v1/secret-notes
|
|
3614
|
-
* @secure
|
|
3615
|
-
*/
|
|
3616
|
-
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError>>;
|
|
3617
|
-
/**
|
|
3618
|
-
* @description Get Secret note
|
|
3619
|
-
* @tags secret_notes
|
|
3620
|
-
* @name GetOne
|
|
3621
|
-
* @summary Get Secret note
|
|
3622
|
-
* @request POST:/v1/secret-notes/fetch
|
|
3623
|
-
*/
|
|
3624
|
-
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
3625
|
-
/**
|
|
3626
|
-
* @description Send Secret note verification code
|
|
3627
|
-
* @tags secret_notes
|
|
3628
|
-
* @name SendVerificationCode
|
|
3629
|
-
* @summary Send Secret note verification code
|
|
3630
|
-
* @request PUT:/v1/secret-notes/verification
|
|
3631
|
-
*/
|
|
3632
|
-
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3633
|
-
}
|
|
3634
3711
|
export class Roles<HandleError extends boolean = boolean> {
|
|
3635
3712
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3636
3713
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3698,6 +3775,35 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3698
3775
|
*/
|
|
3699
3776
|
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError>>;
|
|
3700
3777
|
}
|
|
3778
|
+
export class SecretNotes<HandleError extends boolean = boolean> {
|
|
3779
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3780
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3781
|
+
/**
|
|
3782
|
+
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
3783
|
+
* @tags secret_notes
|
|
3784
|
+
* @name Create
|
|
3785
|
+
* @summary Create Secret note
|
|
3786
|
+
* @request POST:/v1/secret-notes
|
|
3787
|
+
* @secure
|
|
3788
|
+
*/
|
|
3789
|
+
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError>>;
|
|
3790
|
+
/**
|
|
3791
|
+
* @description Get Secret note
|
|
3792
|
+
* @tags secret_notes
|
|
3793
|
+
* @name GetOne
|
|
3794
|
+
* @summary Get Secret note
|
|
3795
|
+
* @request POST:/v1/secret-notes/fetch
|
|
3796
|
+
*/
|
|
3797
|
+
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
3798
|
+
/**
|
|
3799
|
+
* @description Send Secret note verification code
|
|
3800
|
+
* @tags secret_notes
|
|
3801
|
+
* @name SendVerificationCode
|
|
3802
|
+
* @summary Send Secret note verification code
|
|
3803
|
+
* @request PUT:/v1/secret-notes/verification
|
|
3804
|
+
*/
|
|
3805
|
+
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3806
|
+
}
|
|
3701
3807
|
export class Tags<HandleError extends boolean = boolean> {
|
|
3702
3808
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3703
3809
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3747,18 +3853,6 @@ export class Tags<HandleError extends boolean = boolean> {
|
|
|
3747
3853
|
*/
|
|
3748
3854
|
update(id: number, updateTagDto: UmaUpdateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
3749
3855
|
}
|
|
3750
|
-
export class Countries<HandleError extends boolean = boolean> {
|
|
3751
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3752
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3753
|
-
/**
|
|
3754
|
-
* @description Get Countries info
|
|
3755
|
-
* @tags countries
|
|
3756
|
-
* @name Get
|
|
3757
|
-
* @summary Get Countries info
|
|
3758
|
-
* @request GET:/v1/countries/
|
|
3759
|
-
*/
|
|
3760
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3761
|
-
}
|
|
3762
3856
|
export class B2BUsers<HandleError extends boolean = boolean> {
|
|
3763
3857
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3764
3858
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -4101,188 +4195,84 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4101
4195
|
*/
|
|
4102
4196
|
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4103
4197
|
}
|
|
4104
|
-
export class
|
|
4198
|
+
export class EmailDomains<HandleError extends boolean = boolean> {
|
|
4105
4199
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
4106
4200
|
constructor(apiClient: JwtClient<HandleError>);
|
|
4107
4201
|
/**
|
|
4108
|
-
* @description Create
|
|
4109
|
-
* @tags
|
|
4202
|
+
* @description Create Email Domain
|
|
4203
|
+
* @tags email_domains
|
|
4110
4204
|
* @name Create
|
|
4111
|
-
* @summary Create
|
|
4112
|
-
* @request POST:/v1/
|
|
4205
|
+
* @summary Create Email Domain
|
|
4206
|
+
* @request POST:/v1/email-domains
|
|
4113
4207
|
* @secure
|
|
4114
4208
|
*/
|
|
4115
|
-
create(
|
|
4209
|
+
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
4116
4210
|
/**
|
|
4117
|
-
* @description Delete
|
|
4118
|
-
* @tags
|
|
4211
|
+
* @description Delete Email Domains
|
|
4212
|
+
* @tags email_domains
|
|
4119
4213
|
* @name DeleteMany
|
|
4120
|
-
* @summary Delete
|
|
4121
|
-
* @request DELETE:/v1/
|
|
4122
|
-
* @secure
|
|
4123
|
-
*/
|
|
4124
|
-
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4125
|
-
/**
|
|
4126
|
-
* @description Get Branch by id
|
|
4127
|
-
* @tags branches
|
|
4128
|
-
* @name GetById
|
|
4129
|
-
* @summary Get Branch by id
|
|
4130
|
-
* @request GET:/v1/branches/{id}
|
|
4214
|
+
* @summary Delete email domains
|
|
4215
|
+
* @request DELETE:/v1/email-domains
|
|
4131
4216
|
* @secure
|
|
4132
4217
|
*/
|
|
4133
|
-
|
|
4218
|
+
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4134
4219
|
/**
|
|
4135
|
-
* @description
|
|
4136
|
-
* @tags
|
|
4137
|
-
* @name
|
|
4138
|
-
* @summary
|
|
4139
|
-
* @request
|
|
4220
|
+
* @description Get emailDomains with pagination
|
|
4221
|
+
* @tags email_domains
|
|
4222
|
+
* @name Get
|
|
4223
|
+
* @summary Get emailDomains with pagination
|
|
4224
|
+
* @request POST:/v1/email-domains/list
|
|
4140
4225
|
* @secure
|
|
4141
4226
|
*/
|
|
4142
|
-
|
|
4227
|
+
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError>>;
|
|
4143
4228
|
/**
|
|
4144
|
-
* @description
|
|
4145
|
-
* @tags
|
|
4146
|
-
* @name
|
|
4147
|
-
* @summary
|
|
4148
|
-
* @request
|
|
4149
|
-
* @originalName update
|
|
4150
|
-
* @duplicate
|
|
4229
|
+
* @description Get Email Domain by id
|
|
4230
|
+
* @tags email_domains
|
|
4231
|
+
* @name GetById
|
|
4232
|
+
* @summary Get Email Domain by id
|
|
4233
|
+
* @request GET:/v1/email-domains/{id}
|
|
4151
4234
|
* @secure
|
|
4152
4235
|
*/
|
|
4153
|
-
|
|
4236
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
4154
4237
|
/**
|
|
4155
|
-
* @description
|
|
4156
|
-
* @tags
|
|
4157
|
-
* @name
|
|
4158
|
-
* @summary
|
|
4159
|
-
* @request
|
|
4238
|
+
* @description Update Email Domain record (partial updates supported).
|
|
4239
|
+
* @tags email_domains
|
|
4240
|
+
* @name PartialUpdate
|
|
4241
|
+
* @summary Update Email Domain record (partial updates supported)
|
|
4242
|
+
* @request PATCH:/v1/email-domains/{id}
|
|
4160
4243
|
* @secure
|
|
4161
4244
|
*/
|
|
4162
|
-
|
|
4245
|
+
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
4163
4246
|
}
|
|
4164
|
-
export class
|
|
4247
|
+
export class Countries<HandleError extends boolean = boolean> {
|
|
4165
4248
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
4166
4249
|
constructor(apiClient: JwtClient<HandleError>);
|
|
4167
4250
|
/**
|
|
4168
|
-
* @description
|
|
4169
|
-
* @tags
|
|
4170
|
-
* @name
|
|
4171
|
-
* @summary
|
|
4172
|
-
* @request
|
|
4173
|
-
* @secure
|
|
4174
|
-
*/
|
|
4175
|
-
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
4176
|
-
/** Branch id/slug/code, with which user should work */
|
|
4177
|
-
BRANCH?: string;
|
|
4178
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
4179
|
-
/**
|
|
4180
|
-
* @description Send B2C user contact change code
|
|
4181
|
-
* @tags b2c_user_settings
|
|
4182
|
-
* @name SendContactChangeCode
|
|
4183
|
-
* @summary Send B2C user contact change code
|
|
4184
|
-
* @request POST:/v1/b2c/settings/codes
|
|
4185
|
-
* @secure
|
|
4186
|
-
*/
|
|
4187
|
-
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
4188
|
-
/** Branch id/slug/code, with which user should work */
|
|
4189
|
-
BRANCH?: string;
|
|
4190
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4191
|
-
/**
|
|
4192
|
-
* @description Get Available B2C Branch Mfa Options
|
|
4193
|
-
* @tags b2c_user_settings
|
|
4194
|
-
* @name AvailableMfaOptions
|
|
4195
|
-
* @summary Get Available B2C Branch Mfa Options
|
|
4196
|
-
* @request GET:/v1/b2c/settings/mfa-options
|
|
4197
|
-
* @secure
|
|
4198
|
-
*/
|
|
4199
|
-
availableMfaOptions(headers?: {
|
|
4200
|
-
/** Branch id/slug/code, with which user should work */
|
|
4201
|
-
BRANCH?: string;
|
|
4202
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
4203
|
-
/**
|
|
4204
|
-
* @description Delete B2C OAuth2 Bindings
|
|
4205
|
-
* @tags b2c_user_settings
|
|
4206
|
-
* @name DeleteManyOAuthBindings
|
|
4207
|
-
* @summary Delete B2C OAuth2 Bindings
|
|
4208
|
-
* @request DELETE:/v1/b2c/settings/oauth-links
|
|
4209
|
-
* @secure
|
|
4210
|
-
*/
|
|
4211
|
-
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4212
|
-
/**
|
|
4213
|
-
* @description Finish Apple OAuth2 Profile Linking
|
|
4214
|
-
* @tags b2c_user_settings
|
|
4215
|
-
* @name FinishAppleProfileLinking
|
|
4216
|
-
* @summary Finish Apple OAuth2 Profile Linking
|
|
4217
|
-
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
4218
|
-
*/
|
|
4219
|
-
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4220
|
-
/**
|
|
4221
|
-
* @description Initialize Apple OAuth2 Profile Linking
|
|
4222
|
-
* @tags b2c_user_settings
|
|
4223
|
-
* @name InitAppleProfileLinking
|
|
4224
|
-
* @summary Initialize Apple OAuth2 Profile Linking
|
|
4225
|
-
* @request POST:/v1/b2c/settings/oauth-links/apple/start
|
|
4226
|
-
* @secure
|
|
4227
|
-
*/
|
|
4228
|
-
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
4229
|
-
/**
|
|
4230
|
-
* @description Finish Google OAuth2 Profile Linking
|
|
4231
|
-
* @tags b2c_user_settings
|
|
4232
|
-
* @name FinishGoogleProfileLinking
|
|
4233
|
-
* @summary Finish Google OAuth2 Profile Linking
|
|
4234
|
-
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
4235
|
-
*/
|
|
4236
|
-
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4237
|
-
/**
|
|
4238
|
-
* @description Initialize Google OAuth2 Profile Linking
|
|
4239
|
-
* @tags b2c_user_settings
|
|
4240
|
-
* @name InitGoogleProfileLinking
|
|
4241
|
-
* @summary Initialize Google OAuth2 Profile Linking
|
|
4242
|
-
* @request POST:/v1/b2c/settings/oauth-links/google/start
|
|
4243
|
-
* @secure
|
|
4244
|
-
*/
|
|
4245
|
-
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
4246
|
-
/**
|
|
4247
|
-
* @description Get B2C OAuth2 Bindings with pagination. Available sort fields are `id, name, app_type, b2b_user_id, b2c_user_id, provider_user_id, created_at, updated_at`. Search is performed by `name, app_type, provider_user_id` fields
|
|
4248
|
-
* @tags b2c_user_settings
|
|
4249
|
-
* @name GetOAuthBindings
|
|
4250
|
-
* @summary Get B2C OAuth2 Bindings with pagination
|
|
4251
|
-
* @request POST:/v1/b2c/settings/oauth-links/list
|
|
4252
|
-
* @secure
|
|
4251
|
+
* @description Get Countries info
|
|
4252
|
+
* @tags countries
|
|
4253
|
+
* @name Get
|
|
4254
|
+
* @summary Get Countries info
|
|
4255
|
+
* @request GET:/v1/countries/
|
|
4253
4256
|
*/
|
|
4254
|
-
|
|
4257
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
4255
4258
|
}
|
|
4256
4259
|
declare class _B2BAuth1<HandleError extends boolean = boolean> extends B2BAuth<HandleError> {
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
* @tags b2b_auth
|
|
4260
|
-
* @name BasicLogin
|
|
4261
|
-
* @summary Login B2B user by email/password
|
|
4262
|
-
* @request POST:/v1/auth/b2b/login/basic
|
|
4263
|
-
*/
|
|
4264
|
-
basicLogin(basicLoginParams: UmaBasicB2BLoginDto, headers?: {
|
|
4265
|
-
'Debug-Token'?: string;
|
|
4266
|
-
}, config?: RequestConfig<HandleError> | undefined): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError>>;
|
|
4260
|
+
basicLogin(...params: Parameters<B2BAuth<HandleError>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError>>;
|
|
4261
|
+
apiKeysLogin(...params: Parameters<B2BAuth<HandleError>['apiKeysLogin']>): Promise<ClientResponse<_UmaSimpleB2BLoginSerializer1, HandleError>>;
|
|
4267
4262
|
}
|
|
4268
4263
|
declare class _B2CAuth1<HandleError extends boolean = boolean> extends B2CAuth<HandleError> {
|
|
4269
|
-
|
|
4270
|
-
* @description Login B2C user by email/password.
|
|
4271
|
-
* @tags b2c_auth
|
|
4272
|
-
* @name BasicLogin
|
|
4273
|
-
* @summary Login B2C user by email/password
|
|
4274
|
-
* @request POST:/v1/auth/b2c/login/basic
|
|
4275
|
-
*/
|
|
4276
|
-
basicLogin(basicLoginParams: UmaBasicB2CLoginDto, headers?: {
|
|
4277
|
-
BRANCH?: string;
|
|
4278
|
-
FIRM?: string;
|
|
4279
|
-
}, config?: RequestConfig<HandleError> | undefined): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
4264
|
+
basicLogin(...params: Parameters<B2CAuth<HandleError>['basicLogin']>): Promise<ClientResponse<_UmaB2CLoginResultSerializer1, HandleError>>;
|
|
4280
4265
|
}
|
|
4281
|
-
|
|
4266
|
+
interface UmaClientConfig<HandleError extends boolean = boolean> extends JwtClientConfig<HandleError> {
|
|
4282
4267
|
firmId: string;
|
|
4268
|
+
branchId?: string;
|
|
4283
4269
|
authFormSlug: string;
|
|
4284
4270
|
}
|
|
4285
|
-
|
|
4271
|
+
declare class UmaClient<HandleError extends boolean = boolean> extends JwtClient<HandleError> {
|
|
4272
|
+
protected readonly config: UmaClientConfig<HandleError>;
|
|
4273
|
+
request<Data = unknown, Body = unknown>(config: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
4274
|
+
}
|
|
4275
|
+
export class UmaApi<HandleError extends boolean = false> extends BaseApi<HandleError, UmaClient<HandleError>> {
|
|
4286
4276
|
readonly config: UmaClientConfig<HandleError>;
|
|
4287
4277
|
actionLog: ActionLogs<HandleError>;
|
|
4288
4278
|
allowedOrigins: AllowedOrigins<HandleError>;
|
|
@@ -4318,7 +4308,7 @@ export class UmaApi<HandleError extends boolean = false> extends BaseApi<HandleE
|
|
|
4318
4308
|
watchmenAuth: WatchmenAuth<HandleError>;
|
|
4319
4309
|
watchmenInstances: WatchmenInstances<HandleError>;
|
|
4320
4310
|
constructor(config: UmaClientConfig<HandleError>);
|
|
4321
|
-
|
|
4311
|
+
renewTokens(): Promise<{
|
|
4322
4312
|
accessToken: string;
|
|
4323
4313
|
refreshToken: string;
|
|
4324
4314
|
}>;
|