@orbis-systems/orbis-api-clients 0.8.10 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aesmidas/index.d.ts +833 -794
- 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 +3385 -9823
- 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 +41 -21
- 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 +1613 -1294
- 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 +273 -220
- 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 +4076 -4021
- 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 +958 -879
- 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 +157 -155
package/dist/uma/index.d.ts
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { AxiosError, AxiosInstance, AxiosRequestConfig, HttpStatusCode } from "axios";
|
|
2
|
-
import { UmaBasicB2BLoginSerializer as _UmaBasicB2BLoginSerializer1, UmaSimpleB2BLoginSerializer as _UmaSimpleB2BLoginSerializer1, UmaB2CLoginResultSerializer as _UmaB2CLoginResultSerializer1 } from "apis/uma
|
|
3
|
-
|
|
2
|
+
import { UmaBasicB2BLoginSerializer as _UmaBasicB2BLoginSerializer1, UmaSimpleB2BLoginSerializer as _UmaSimpleB2BLoginSerializer1, UmaB2CLoginResultSerializer as _UmaB2CLoginResultSerializer1 } from "apis/uma";
|
|
3
|
+
enum CaseFormat {
|
|
4
|
+
Camel = "camel",
|
|
5
|
+
Snake = "snake",
|
|
6
|
+
Original = "original"
|
|
7
|
+
}
|
|
8
|
+
type CamelCase<S extends string> = S extends `${infer T}_${infer U}` ? `${Lowercase<T>}${Capitalize<CamelCase<U>>}` : S extends Uppercase<S> ? Lowercase<S> : S;
|
|
9
|
+
type SnakeCase<S extends string> = S extends `${infer T}${infer U}` ? T extends Uppercase<T> ? T extends Lowercase<T> ? `${T}${SnakeCase<U>}` : `_${Lowercase<T>}${SnakeCase<U>}` : `${T}${SnakeCase<U>}` : S;
|
|
10
|
+
type CamelCaseKeys<T> = T extends Array<infer U> ? Array<CamelCaseKeys<U>> : T extends object ? {
|
|
11
|
+
[K in keyof T as CamelCase<K & string>]: CamelCaseKeys<T[K]>;
|
|
12
|
+
} : T;
|
|
13
|
+
type SnakeCaseKeys<T> = T extends Array<infer U> ? Array<SnakeCaseKeys<U>> : T extends object ? {
|
|
14
|
+
[K in keyof T as SnakeCase<K & string>]: SnakeCaseKeys<T[K]>;
|
|
15
|
+
} : T;
|
|
16
|
+
type TransformData<T, F extends CaseFormat | undefined> = CaseFormat.Original | undefined extends F ? T : F extends CaseFormat.Camel ? CamelCaseKeys<T> : F extends CaseFormat.Snake ? SnakeCaseKeys<T> : T;
|
|
17
|
+
interface BaseClientConfig<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4
18
|
debug?: boolean;
|
|
5
19
|
baseUrl: string;
|
|
6
20
|
handleError?: HandleError;
|
|
21
|
+
caseFormat?: Format;
|
|
7
22
|
storage?: Storage;
|
|
8
23
|
defaultSecure?: boolean;
|
|
9
24
|
authDataStorageKey?: string;
|
|
@@ -26,42 +41,62 @@ type ResponseStatus = {
|
|
|
26
41
|
status: HttpStatusCode | -1;
|
|
27
42
|
statusText: string;
|
|
28
43
|
};
|
|
29
|
-
type SuccessClientResponse<Data = unknown> = ResponseStatus & {
|
|
44
|
+
type SuccessClientResponse<Data = unknown, RawData = unknown> = ResponseStatus & {
|
|
30
45
|
success: true;
|
|
31
46
|
data: Data;
|
|
47
|
+
rawData: RawData;
|
|
32
48
|
};
|
|
33
49
|
type ErrorClientResponse = ResponseStatus & {
|
|
34
50
|
success: false;
|
|
35
51
|
data?: any;
|
|
52
|
+
rawData?: any;
|
|
36
53
|
error: unknown;
|
|
37
54
|
};
|
|
38
|
-
type ClientResponse<Data = unknown, HandleError extends boolean = boolean> = HandleError extends true ? SuccessClientResponse<Data> | ErrorClientResponse : SuccessClientResponse<Data>;
|
|
39
|
-
declare abstract class BaseClient<HandleError extends boolean = boolean, AuthData = unknown> {
|
|
40
|
-
protected readonly config: BaseClientConfig<HandleError>;
|
|
55
|
+
type ClientResponse<Data = unknown, HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> = HandleError extends true ? SuccessClientResponse<TransformData<Data, Format>, Data> | ErrorClientResponse : SuccessClientResponse<TransformData<Data, Format>, Data>;
|
|
56
|
+
declare abstract class BaseClient<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, AuthData = unknown> {
|
|
57
|
+
protected readonly config: BaseClientConfig<HandleError, Format>;
|
|
41
58
|
protected readonly axiosInstance: AxiosInstance;
|
|
42
59
|
protected readonly storage: Storage;
|
|
43
|
-
constructor(config: BaseClientConfig<HandleError>);
|
|
60
|
+
constructor(config: BaseClientConfig<HandleError, Format>);
|
|
61
|
+
protected transformData<T>(data: any): TransformData<T, Format>;
|
|
44
62
|
protected stringifyFormItem(formItem: unknown): string;
|
|
45
63
|
protected createFormData(input: Record<string, unknown>): FormData;
|
|
46
|
-
request<Data = unknown, Error = unknown, Body = unknown>(requestConfig: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
47
|
-
get<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
48
|
-
delete<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
49
|
-
head<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
50
|
-
options<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
51
|
-
post<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
52
|
-
put<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
53
|
-
patch<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
64
|
+
request<Data = unknown, Error = unknown, Body = unknown>(requestConfig: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
65
|
+
get<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
66
|
+
delete<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
67
|
+
head<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
68
|
+
options<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
69
|
+
post<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
70
|
+
put<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
71
|
+
patch<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
54
72
|
getAxios(): AxiosInstance;
|
|
55
73
|
setAuthData(data: AuthData | null): void;
|
|
56
74
|
getAuthData(): AuthData | null;
|
|
57
|
-
getConfig(): BaseClientConfig<HandleError>;
|
|
75
|
+
getConfig(): BaseClientConfig<HandleError, Format>;
|
|
58
76
|
protected abstract prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
59
77
|
}
|
|
60
|
-
declare class BaseApi<HandleError extends boolean = boolean, ApiClient extends BaseClient<HandleError> = BaseClient<HandleError>> {
|
|
78
|
+
declare abstract class BaseApi<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, ApiClient extends BaseClient<HandleError, Format, unknown> = BaseClient<HandleError, Format>> {
|
|
61
79
|
protected readonly apiClient: ApiClient;
|
|
62
80
|
constructor(apiClient: ApiClient);
|
|
63
81
|
getApiClient(): ApiClient;
|
|
64
82
|
}
|
|
83
|
+
interface JwtClientConfig<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, AuthData extends JwtAuthData = JwtAuthData> extends BaseClientConfig<HandleError, Format> {
|
|
84
|
+
authSchema?: string;
|
|
85
|
+
autoRenewToken?: boolean;
|
|
86
|
+
onRenewTokens?: () => Promise<AuthData>;
|
|
87
|
+
}
|
|
88
|
+
interface JwtAuthData {
|
|
89
|
+
accessToken: string;
|
|
90
|
+
refreshToken?: string;
|
|
91
|
+
}
|
|
92
|
+
declare class JwtClient<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, AuthData extends JwtAuthData = JwtAuthData> extends BaseClient<HandleError, Format, AuthData> {
|
|
93
|
+
protected readonly config: JwtClientConfig<HandleError, Format, AuthData>;
|
|
94
|
+
constructor(config: JwtClientConfig<HandleError, Format, AuthData>);
|
|
95
|
+
getConfig(): JwtClientConfig<HandleError, Format, AuthData>;
|
|
96
|
+
setRenewTokensCallback(renewTokensCallback: () => Promise<AuthData>): void;
|
|
97
|
+
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
98
|
+
protected renewTokens(): Promise<AuthData>;
|
|
99
|
+
}
|
|
65
100
|
export enum UmaUserDetailsGenerationType {
|
|
66
101
|
ClaimsOnlyGeneration = "claims_only",
|
|
67
102
|
FullUserDataGeneration = "full_user_data",
|
|
@@ -72,6 +107,11 @@ export enum UmaTenantSettingLabel {
|
|
|
72
107
|
ResetPasswordIfUserInactiveForDays = "reset_password_if_user_inactive_for_days",
|
|
73
108
|
PeriodicallyResetPasswordAfterDays = "periodically_reset_password_after_days"
|
|
74
109
|
}
|
|
110
|
+
export enum UmaCodeType {
|
|
111
|
+
EmailCodeType = "email",
|
|
112
|
+
SMSCodeType = "sms",
|
|
113
|
+
VoiceCodeType = "voice"
|
|
114
|
+
}
|
|
75
115
|
export enum UmaUserType {
|
|
76
116
|
B2BUserType = "b2b",
|
|
77
117
|
SystemUserType = "system",
|
|
@@ -429,7 +469,7 @@ export interface UmaAccessControlProhibitionReason {
|
|
|
429
469
|
type?: UmaAccessControlProhibitionReasonType;
|
|
430
470
|
}
|
|
431
471
|
export interface UmaClaims {
|
|
432
|
-
|
|
472
|
+
'2fa_on'?: boolean;
|
|
433
473
|
admin_of_firm_ids?: number[];
|
|
434
474
|
aud?: string;
|
|
435
475
|
branch_ids?: number[];
|
|
@@ -624,7 +664,10 @@ export interface UmaTagMutationSerializer {
|
|
|
624
664
|
tag: UmaTagSerializer;
|
|
625
665
|
}
|
|
626
666
|
export interface UmaGetTrustedDevicesListSerializer {
|
|
667
|
+
current_page: number;
|
|
668
|
+
pages_count: number;
|
|
627
669
|
status: number;
|
|
670
|
+
total_records: number;
|
|
628
671
|
trusted_devices_list: UmaTrustedDeviceSerializer[];
|
|
629
672
|
}
|
|
630
673
|
export interface UmaAPIKeys {
|
|
@@ -646,6 +689,10 @@ export interface UmaAPIKeysB2BLoginDto {
|
|
|
646
689
|
api_secret?: string;
|
|
647
690
|
token_generation_mode?: UmaTokenGenerationMode;
|
|
648
691
|
}
|
|
692
|
+
export interface UmaAccessBulkChangesInt {
|
|
693
|
+
add?: number[];
|
|
694
|
+
remove?: number[];
|
|
695
|
+
}
|
|
649
696
|
export interface UmaActionLogEntityFilterDto {
|
|
650
697
|
entity_id?: number;
|
|
651
698
|
entity_name?: string;
|
|
@@ -986,6 +1033,17 @@ export interface UmaB2BUploadAvatarSerializer {
|
|
|
986
1033
|
big_avatar_path: string;
|
|
987
1034
|
small_avatar_path: string;
|
|
988
1035
|
}
|
|
1036
|
+
export interface UmaB2BUserBulkAccessUpdateDto {
|
|
1037
|
+
branches?: UmaAccessBulkChangesInt;
|
|
1038
|
+
firms?: UmaB2BUserFirmAccessChanges[];
|
|
1039
|
+
permissions?: UmaAccessBulkChangesInt;
|
|
1040
|
+
roles?: UmaAccessBulkChangesInt;
|
|
1041
|
+
user_ids?: number[];
|
|
1042
|
+
}
|
|
1043
|
+
export interface UmaB2BUserFirmAccessChanges {
|
|
1044
|
+
add?: UmaFirmInfo[];
|
|
1045
|
+
remove?: UmaFirmInfo[];
|
|
1046
|
+
}
|
|
989
1047
|
export interface UmaB2BUserSerializer {
|
|
990
1048
|
admin_of_firm_ids: number[];
|
|
991
1049
|
allow_feedback: boolean;
|
|
@@ -1279,6 +1337,7 @@ export interface UmaCreateMicroserviceDto {
|
|
|
1279
1337
|
description?: string;
|
|
1280
1338
|
domains?: UmaMicroserviceDomainDto[];
|
|
1281
1339
|
is_active?: boolean;
|
|
1340
|
+
is_token_encoding_required?: boolean;
|
|
1282
1341
|
is_visible_on_admin_sidebar?: boolean;
|
|
1283
1342
|
logo_url?: string;
|
|
1284
1343
|
name?: string;
|
|
@@ -1718,6 +1777,10 @@ export interface UmaGetUsersListFiltersDto {
|
|
|
1718
1777
|
statuses?: UmaUserStatus[];
|
|
1719
1778
|
type?: UmaUserType;
|
|
1720
1779
|
}
|
|
1780
|
+
export interface UmaGetVerifiedContactChangeCodeDto {
|
|
1781
|
+
type?: UmaCodeType;
|
|
1782
|
+
user_id?: number;
|
|
1783
|
+
}
|
|
1721
1784
|
export interface UmaGetWatchmenInstancesDto {
|
|
1722
1785
|
pagination?: UmaPaginationDto;
|
|
1723
1786
|
search?: string;
|
|
@@ -1791,6 +1854,7 @@ export interface UmaMicroserviceAccessSerializer {
|
|
|
1791
1854
|
/** @example 1 */
|
|
1792
1855
|
id: number;
|
|
1793
1856
|
is_active: boolean;
|
|
1857
|
+
is_token_encoding_required: boolean;
|
|
1794
1858
|
is_visible_on_admin_sidebar: boolean;
|
|
1795
1859
|
logo_url: string;
|
|
1796
1860
|
name: string;
|
|
@@ -1822,6 +1886,7 @@ export interface UmaMicroserviceSerializer {
|
|
|
1822
1886
|
/** @example 1 */
|
|
1823
1887
|
id: number;
|
|
1824
1888
|
is_active: boolean;
|
|
1889
|
+
is_token_encoding_required: boolean;
|
|
1825
1890
|
is_visible_on_admin_sidebar: boolean;
|
|
1826
1891
|
logo_url: string;
|
|
1827
1892
|
name: string;
|
|
@@ -1863,6 +1928,7 @@ export interface UmaPartialUpdateB2CUserDto {
|
|
|
1863
1928
|
branches?: number[];
|
|
1864
1929
|
/** @example "test@gmail.com" */
|
|
1865
1930
|
email?: string;
|
|
1931
|
+
email_code?: string;
|
|
1866
1932
|
firm_id?: number;
|
|
1867
1933
|
first_name?: string;
|
|
1868
1934
|
last_name?: string;
|
|
@@ -1871,6 +1937,7 @@ export interface UmaPartialUpdateB2CUserDto {
|
|
|
1871
1937
|
permissions?: number[];
|
|
1872
1938
|
/** @example "+1231231234" */
|
|
1873
1939
|
phone?: string;
|
|
1940
|
+
phone_code?: string;
|
|
1874
1941
|
roles?: number[];
|
|
1875
1942
|
username?: string;
|
|
1876
1943
|
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
@@ -1902,6 +1969,7 @@ export interface UmaPartialUpdateMicroserviceDto {
|
|
|
1902
1969
|
description?: string;
|
|
1903
1970
|
domains?: UmaMicroserviceDomainDto[];
|
|
1904
1971
|
is_active?: boolean;
|
|
1972
|
+
is_token_encoding_required?: boolean;
|
|
1905
1973
|
is_visible_on_admin_sidebar?: boolean;
|
|
1906
1974
|
logo_url?: string;
|
|
1907
1975
|
name?: string;
|
|
@@ -2196,6 +2264,7 @@ export interface UmaUpdateB2CUserDto {
|
|
|
2196
2264
|
branches?: number[];
|
|
2197
2265
|
/** @example "test@gmail.com" */
|
|
2198
2266
|
email?: string;
|
|
2267
|
+
email_code?: string;
|
|
2199
2268
|
firm_id?: number;
|
|
2200
2269
|
first_name?: string;
|
|
2201
2270
|
last_name?: string;
|
|
@@ -2204,6 +2273,7 @@ export interface UmaUpdateB2CUserDto {
|
|
|
2204
2273
|
permissions?: number[];
|
|
2205
2274
|
/** @example "+1231231234" */
|
|
2206
2275
|
phone?: string;
|
|
2276
|
+
phone_code?: string;
|
|
2207
2277
|
roles?: number[];
|
|
2208
2278
|
updated_at?: string;
|
|
2209
2279
|
username?: string;
|
|
@@ -2262,6 +2332,7 @@ export interface UmaUpdateMicroserviceDto {
|
|
|
2262
2332
|
description?: string;
|
|
2263
2333
|
domains?: UmaMicroserviceDomainDto[];
|
|
2264
2334
|
is_active?: boolean;
|
|
2335
|
+
is_token_encoding_required?: boolean;
|
|
2265
2336
|
is_visible_on_admin_sidebar?: boolean;
|
|
2266
2337
|
logo_url?: string;
|
|
2267
2338
|
name?: string;
|
|
@@ -2475,13 +2546,11 @@ export interface UmaWebAuthnRegistrationSolutionDto {
|
|
|
2475
2546
|
type?: string;
|
|
2476
2547
|
}
|
|
2477
2548
|
export interface UmaWebAuthnRelyingPartyEntitySerializer {
|
|
2478
|
-
icon: string;
|
|
2479
2549
|
id: string;
|
|
2480
2550
|
name: string;
|
|
2481
2551
|
}
|
|
2482
2552
|
export interface UmaWebAuthnUserEntitySerializer {
|
|
2483
2553
|
display_name: string;
|
|
2484
|
-
icon: string;
|
|
2485
2554
|
id: any;
|
|
2486
2555
|
name: string;
|
|
2487
2556
|
}
|
|
@@ -2683,26 +2752,9 @@ export enum UmaVerifyContactDtoCodeTypeEnum {
|
|
|
2683
2752
|
Voice = "voice",
|
|
2684
2753
|
Sms = "sms"
|
|
2685
2754
|
}
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
onRenewTokens?: () => Promise<AuthData>;
|
|
2690
|
-
}
|
|
2691
|
-
interface JwtAuthData {
|
|
2692
|
-
accessToken: string;
|
|
2693
|
-
refreshToken?: string;
|
|
2694
|
-
}
|
|
2695
|
-
declare class JwtClient<HandleError extends boolean = boolean, AuthData extends JwtAuthData = JwtAuthData> extends BaseClient<HandleError, AuthData> {
|
|
2696
|
-
protected readonly config: JwtClientConfig<HandleError, AuthData>;
|
|
2697
|
-
constructor(config: JwtClientConfig<HandleError, AuthData>);
|
|
2698
|
-
getConfig(): JwtClientConfig<HandleError>;
|
|
2699
|
-
setRenewTokensCallback(renewTokensCallback: () => Promise<AuthData>): void;
|
|
2700
|
-
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
2701
|
-
protected renewTokens(): Promise<AuthData>;
|
|
2702
|
-
}
|
|
2703
|
-
export class ActionLogs<HandleError extends boolean = boolean> {
|
|
2704
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2705
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2755
|
+
export class ActionLogs<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2756
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2757
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2706
2758
|
/**
|
|
2707
2759
|
* @description Get Action logs list
|
|
2708
2760
|
* @tags action_logs
|
|
@@ -2711,11 +2763,11 @@ export class ActionLogs<HandleError extends boolean = boolean> {
|
|
|
2711
2763
|
* @request POST:/v1/action-logs/list
|
|
2712
2764
|
* @secure
|
|
2713
2765
|
*/
|
|
2714
|
-
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2766
|
+
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError, Format>>;
|
|
2715
2767
|
}
|
|
2716
|
-
export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
2717
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2718
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2768
|
+
export class AdminApiKeys<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2769
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2770
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2719
2771
|
/**
|
|
2720
2772
|
* @description Create API Key & API Secret Pair for any B2B user. API Secret won't be accessible for read after that.
|
|
2721
2773
|
* @tags admin_api_keys
|
|
@@ -2724,7 +2776,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2724
2776
|
* @request POST:/v1/admin/api-keys
|
|
2725
2777
|
* @secure
|
|
2726
2778
|
*/
|
|
2727
|
-
create(createApiKey: UmaAdminCreateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2779
|
+
create(createApiKey: UmaAdminCreateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2728
2780
|
/**
|
|
2729
2781
|
* @description Delete any API Keys by IDs. Only accessible to chiefadmin.
|
|
2730
2782
|
* @tags admin_api_keys
|
|
@@ -2733,7 +2785,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2733
2785
|
* @request DELETE:/v1/admin/api-keys
|
|
2734
2786
|
* @secure
|
|
2735
2787
|
*/
|
|
2736
|
-
delete(deleteApiKeys: UmaAdminDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2788
|
+
delete(deleteApiKeys: UmaAdminDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2737
2789
|
/**
|
|
2738
2790
|
* @description Get all API Keys info (would return API Keys without secrets). Only accessible to chiefadmin.
|
|
2739
2791
|
* @tags admin_api_keys
|
|
@@ -2742,7 +2794,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2742
2794
|
* @request POST:/v1/admin/api-keys/list
|
|
2743
2795
|
* @secure
|
|
2744
2796
|
*/
|
|
2745
|
-
get(apiKeys: UmaAdminGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAdminAPIKeysSerializer, HandleError>>;
|
|
2797
|
+
get(apiKeys: UmaAdminGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAdminAPIKeysSerializer, HandleError, Format>>;
|
|
2746
2798
|
/**
|
|
2747
2799
|
* @description Get any API Key by id. Only accessible to chiefadmin.
|
|
2748
2800
|
* @tags admin_api_keys
|
|
@@ -2751,7 +2803,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2751
2803
|
* @request GET:/v1/admin/api-keys/{id}
|
|
2752
2804
|
* @secure
|
|
2753
2805
|
*/
|
|
2754
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2806
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2755
2807
|
/**
|
|
2756
2808
|
* @description Update any API Key Record. Only accessible to chiefadmin.
|
|
2757
2809
|
* @tags admin_api_keys
|
|
@@ -2760,11 +2812,11 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2760
2812
|
* @request PUT:/v1/admin/api-keys/{id}
|
|
2761
2813
|
* @secure
|
|
2762
2814
|
*/
|
|
2763
|
-
update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2815
|
+
update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2764
2816
|
}
|
|
2765
|
-
export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
2766
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2767
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2817
|
+
export class AllowedOrigins<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2818
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2819
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2768
2820
|
/**
|
|
2769
2821
|
* @description Create Allowed Origin
|
|
2770
2822
|
* @tags allowed_origins
|
|
@@ -2773,7 +2825,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2773
2825
|
* @request POST:/v1/allowed-origins
|
|
2774
2826
|
* @secure
|
|
2775
2827
|
*/
|
|
2776
|
-
create(createAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2828
|
+
create(createAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError, Format>>;
|
|
2777
2829
|
/**
|
|
2778
2830
|
* @description Delete allowed origins by IDs
|
|
2779
2831
|
* @tags allowed_origins
|
|
@@ -2782,7 +2834,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2782
2834
|
* @request DELETE:/v1/allowed-origins
|
|
2783
2835
|
* @secure
|
|
2784
2836
|
*/
|
|
2785
|
-
delete(deleteAllowedOrigins: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2837
|
+
delete(deleteAllowedOrigins: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2786
2838
|
/**
|
|
2787
2839
|
* @description Get paginated list of allowed origins
|
|
2788
2840
|
* @tags allowed_origins
|
|
@@ -2791,7 +2843,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2791
2843
|
* @request POST:/v1/allowed-origins/list
|
|
2792
2844
|
* @secure
|
|
2793
2845
|
*/
|
|
2794
|
-
list(getAllowedOriginsList: UmaGetAllowedOriginsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAllowedOriginsListSerializer, HandleError>>;
|
|
2846
|
+
list(getAllowedOriginsList: UmaGetAllowedOriginsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAllowedOriginsListSerializer, HandleError, Format>>;
|
|
2795
2847
|
/**
|
|
2796
2848
|
* @description Get allowed origin by ID
|
|
2797
2849
|
* @tags allowed_origins
|
|
@@ -2800,7 +2852,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2800
2852
|
* @request GET:/v1/allowed-origins/{id}
|
|
2801
2853
|
* @secure
|
|
2802
2854
|
*/
|
|
2803
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2855
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError, Format>>;
|
|
2804
2856
|
/**
|
|
2805
2857
|
* @description Update allowed origin
|
|
2806
2858
|
* @tags allowed_origins
|
|
@@ -2809,11 +2861,60 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2809
2861
|
* @request PUT:/v1/allowed-origins/{id}
|
|
2810
2862
|
* @secure
|
|
2811
2863
|
*/
|
|
2812
|
-
update(id: number, updateAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2864
|
+
update(id: number, updateAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError, Format>>;
|
|
2865
|
+
}
|
|
2866
|
+
export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2867
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2868
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2869
|
+
/**
|
|
2870
|
+
* @description Delete API Key by id (would throw 404 error if API key not found or belongs to different user)
|
|
2871
|
+
* @tags api_keys
|
|
2872
|
+
* @name DeleteMany
|
|
2873
|
+
* @summary Delete API Key by id
|
|
2874
|
+
* @request DELETE:/v1/b2b/api-keys
|
|
2875
|
+
* @secure
|
|
2876
|
+
*/
|
|
2877
|
+
deleteMany(deleteAPIKeys: UmaDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2878
|
+
/**
|
|
2879
|
+
* @description Get APIKey by id
|
|
2880
|
+
* @tags api_keys
|
|
2881
|
+
* @name GetById
|
|
2882
|
+
* @summary Get APIKey by id
|
|
2883
|
+
* @request GET:/v1/b2b/api-keys/{id}
|
|
2884
|
+
* @secure
|
|
2885
|
+
*/
|
|
2886
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2887
|
+
/**
|
|
2888
|
+
* @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
|
|
2889
|
+
* @tags api_keys
|
|
2890
|
+
* @name Create
|
|
2891
|
+
* @summary Create API Key & API Secret Pair
|
|
2892
|
+
* @request POST:/v2/b2b/api-keys
|
|
2893
|
+
* @secure
|
|
2894
|
+
*/
|
|
2895
|
+
create(createApiKeys: UmaCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2896
|
+
/**
|
|
2897
|
+
* @description Get API Keys info(would return API Keys without secrets)
|
|
2898
|
+
* @tags api_keys
|
|
2899
|
+
* @name Get
|
|
2900
|
+
* @summary Get API Keys info(would return API Keys without secrets)
|
|
2901
|
+
* @request POST:/v2/b2b/api-keys/list
|
|
2902
|
+
* @secure
|
|
2903
|
+
*/
|
|
2904
|
+
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError, Format>>;
|
|
2905
|
+
/**
|
|
2906
|
+
* @description Update API Key Record
|
|
2907
|
+
* @tags api_keys
|
|
2908
|
+
* @name Update
|
|
2909
|
+
* @summary Update API Key Record
|
|
2910
|
+
* @request PUT:/v2/b2b/api-keys/{id}
|
|
2911
|
+
* @secure
|
|
2912
|
+
*/
|
|
2913
|
+
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2813
2914
|
}
|
|
2814
|
-
export class AuthApps<HandleError extends boolean = boolean> {
|
|
2815
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2816
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2915
|
+
export class AuthApps<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2916
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2917
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2817
2918
|
/**
|
|
2818
2919
|
* @description Get auth apps
|
|
2819
2920
|
* @tags auth_apps
|
|
@@ -2822,7 +2923,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2822
2923
|
* @request GET:/v1/auth-apps
|
|
2823
2924
|
* @secure
|
|
2824
2925
|
*/
|
|
2825
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthAppsListSerializer, HandleError>>;
|
|
2926
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthAppsListSerializer, HandleError, Format>>;
|
|
2826
2927
|
/**
|
|
2827
2928
|
* @description Delete auth apps
|
|
2828
2929
|
* @tags auth_apps
|
|
@@ -2831,7 +2932,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2831
2932
|
* @request DELETE:/v1/auth-apps
|
|
2832
2933
|
* @secure
|
|
2833
2934
|
*/
|
|
2834
|
-
deleteMany(deleteAuthAppsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2935
|
+
deleteMany(deleteAuthAppsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2835
2936
|
/**
|
|
2836
2937
|
* @description Get TOTP registration QR
|
|
2837
2938
|
* @tags auth_apps
|
|
@@ -2840,7 +2941,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2840
2941
|
* @request POST:/v1/auth-apps/totp/registration/qr
|
|
2841
2942
|
* @secure
|
|
2842
2943
|
*/
|
|
2843
|
-
getRegistrationQr(getTotpQRDto: UmaGetTotpQRDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<File, HandleError>>;
|
|
2944
|
+
getRegistrationQr(getTotpQRDto: UmaGetTotpQRDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<File, HandleError, Format>>;
|
|
2844
2945
|
/**
|
|
2845
2946
|
* @description Finish TOTP registration
|
|
2846
2947
|
* @tags auth_apps
|
|
@@ -2849,7 +2950,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2849
2950
|
* @request POST:/v1/auth-apps/totp/registration/response
|
|
2850
2951
|
* @secure
|
|
2851
2952
|
*/
|
|
2852
|
-
finishRegistration(finishTOTPRegistrationDto: UmaFinishTOTPRegistrationDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFinishTOTPRegistrationResponseSerializer, HandleError>>;
|
|
2953
|
+
finishRegistration(finishTOTPRegistrationDto: UmaFinishTOTPRegistrationDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFinishTOTPRegistrationResponseSerializer, HandleError, Format>>;
|
|
2853
2954
|
/**
|
|
2854
2955
|
* @description Get WebAuthn login challenge
|
|
2855
2956
|
* @tags auth_apps
|
|
@@ -2862,7 +2963,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2862
2963
|
BRANCH?: string;
|
|
2863
2964
|
/** Firm id/slug, with which user should work */
|
|
2864
2965
|
FIRM?: string;
|
|
2865
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialAssertionSerializer, HandleError>>;
|
|
2966
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialAssertionSerializer, HandleError, Format>>;
|
|
2866
2967
|
/**
|
|
2867
2968
|
* @description Get WebAuthn register challenge
|
|
2868
2969
|
* @tags auth_apps
|
|
@@ -2871,7 +2972,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2871
2972
|
* @request POST:/v1/auth-apps/webauthn/registration/request
|
|
2872
2973
|
* @secure
|
|
2873
2974
|
*/
|
|
2874
|
-
getRegisterChallenge(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialCreationSerializer, HandleError>>;
|
|
2975
|
+
getRegisterChallenge(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialCreationSerializer, HandleError, Format>>;
|
|
2875
2976
|
/**
|
|
2876
2977
|
* @description Finish WebAuthn credential registration
|
|
2877
2978
|
* @tags auth_apps
|
|
@@ -2880,7 +2981,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2880
2981
|
* @request POST:/v1/auth-apps/webauthn/registration/response
|
|
2881
2982
|
* @secure
|
|
2882
2983
|
*/
|
|
2883
|
-
finishCredentialRegistration(webAuthnRegistrationSolutionDto: UmaWebAuthnRegistrationSolutionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2984
|
+
finishCredentialRegistration(webAuthnRegistrationSolutionDto: UmaWebAuthnRegistrationSolutionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2884
2985
|
/**
|
|
2885
2986
|
* @description Register Yubico OTP Key
|
|
2886
2987
|
* @tags auth_apps
|
|
@@ -2889,7 +2990,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2889
2990
|
* @request POST:/v1/auth-apps/yubico/otp/registration
|
|
2890
2991
|
* @secure
|
|
2891
2992
|
*/
|
|
2892
|
-
register(yubicoOTPDto: UmaCreateYubicoOTPDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2993
|
+
register(yubicoOTPDto: UmaCreateYubicoOTPDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2893
2994
|
/**
|
|
2894
2995
|
* @description Update auth app
|
|
2895
2996
|
* @tags auth_apps
|
|
@@ -2898,11 +2999,11 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2898
2999
|
* @request PUT:/v1/auth-apps/{id}
|
|
2899
3000
|
* @secure
|
|
2900
3001
|
*/
|
|
2901
|
-
update(id: number, updateAuthAppDto: UmaUpdateAuthAppDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthAppResponseSerializer, HandleError>>;
|
|
3002
|
+
update(id: number, updateAuthAppDto: UmaUpdateAuthAppDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthAppResponseSerializer, HandleError, Format>>;
|
|
2902
3003
|
}
|
|
2903
|
-
export class AuthForms<HandleError extends boolean = boolean> {
|
|
2904
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2905
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3004
|
+
export class AuthForms<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3005
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3006
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2906
3007
|
/**
|
|
2907
3008
|
* @description Create Auth Form
|
|
2908
3009
|
* @tags auth_forms
|
|
@@ -2911,7 +3012,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2911
3012
|
* @request POST:/v1/auth-forms
|
|
2912
3013
|
* @secure
|
|
2913
3014
|
*/
|
|
2914
|
-
create(authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
3015
|
+
create(authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2915
3016
|
/**
|
|
2916
3017
|
* @description Delete Auth Forms by ids
|
|
2917
3018
|
* @tags auth_forms
|
|
@@ -2920,7 +3021,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2920
3021
|
* @request DELETE:/v1/auth-forms
|
|
2921
3022
|
* @secure
|
|
2922
3023
|
*/
|
|
2923
|
-
deleteMany(deleteAuthFormsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3024
|
+
deleteMany(deleteAuthFormsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2924
3025
|
/**
|
|
2925
3026
|
* @description Get Auth Forms with pagination. Available sort fields are `id, branch_id, slug, created_at, updated_at`. Search is performed by slug field
|
|
2926
3027
|
* @tags auth_forms
|
|
@@ -2929,7 +3030,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2929
3030
|
* @request POST:/v1/auth-forms/list
|
|
2930
3031
|
* @secure
|
|
2931
3032
|
*/
|
|
2932
|
-
get(getAuthFormListDto: UmaGetAuthFormsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthFormsListSerializer, HandleError>>;
|
|
3033
|
+
get(getAuthFormListDto: UmaGetAuthFormsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthFormsListSerializer, HandleError, Format>>;
|
|
2933
3034
|
/**
|
|
2934
3035
|
* @description Get Auth Forms by slug
|
|
2935
3036
|
* @tags auth_forms
|
|
@@ -2937,7 +3038,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2937
3038
|
* @summary Get Auth Forms by slug
|
|
2938
3039
|
* @request GET:/v1/auth-forms/public/{slug}
|
|
2939
3040
|
*/
|
|
2940
|
-
getBySlug(slug: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
3041
|
+
getBySlug(slug: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2941
3042
|
/**
|
|
2942
3043
|
* @description Get Auth Forms by id
|
|
2943
3044
|
* @tags auth_forms
|
|
@@ -2946,7 +3047,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2946
3047
|
* @request GET:/v1/auth-forms/{id}
|
|
2947
3048
|
* @secure
|
|
2948
3049
|
*/
|
|
2949
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
3050
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2950
3051
|
/**
|
|
2951
3052
|
* @description Update Auth Form record
|
|
2952
3053
|
* @tags auth_forms
|
|
@@ -2955,11 +3056,11 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2955
3056
|
* @request PUT:/v1/auth-forms/{id}
|
|
2956
3057
|
* @secure
|
|
2957
3058
|
*/
|
|
2958
|
-
update(id: number, authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
3059
|
+
update(id: number, authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2959
3060
|
}
|
|
2960
|
-
export class B2BAuth<HandleError extends boolean = boolean> {
|
|
2961
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2962
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3061
|
+
export class B2BAuth<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3062
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3063
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2963
3064
|
/**
|
|
2964
3065
|
* @description Get current B2B user info by access token.
|
|
2965
3066
|
* @tags b2b_auth
|
|
@@ -2968,7 +3069,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2968
3069
|
* @request GET:/v1/auth/b2b/current
|
|
2969
3070
|
* @secure
|
|
2970
3071
|
*/
|
|
2971
|
-
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2BUserSerializer, HandleError>>;
|
|
3072
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2BUserSerializer, HandleError, Format>>;
|
|
2972
3073
|
/**
|
|
2973
3074
|
* @description Login B2B user by API Keys
|
|
2974
3075
|
* @tags b2b_auth
|
|
@@ -2976,7 +3077,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2976
3077
|
* @summary Login B2B user by API Keys
|
|
2977
3078
|
* @request POST:/v1/auth/b2b/login/api-keys
|
|
2978
3079
|
*/
|
|
2979
|
-
apiKeysLogin(apiKeysLoginParams: UmaAPIKeysB2BLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError>>;
|
|
3080
|
+
apiKeysLogin(apiKeysLoginParams: UmaAPIKeysB2BLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError, Format>>;
|
|
2980
3081
|
/**
|
|
2981
3082
|
* @description Login B2B user by email/password.
|
|
2982
3083
|
* @tags b2b_auth
|
|
@@ -2986,8 +3087,8 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2986
3087
|
*/
|
|
2987
3088
|
basicLogin(basicLoginParams: UmaBasicB2BLoginDto, headers?: {
|
|
2988
3089
|
/** Run endpoint in debug mode */
|
|
2989
|
-
|
|
2990
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError>>;
|
|
3090
|
+
'Debug-Token'?: string;
|
|
3091
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError, Format>>;
|
|
2991
3092
|
/**
|
|
2992
3093
|
* @description logout from B2B user session
|
|
2993
3094
|
* @tags b2b_auth
|
|
@@ -2995,7 +3096,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2995
3096
|
* @summary logout from B2B user session
|
|
2996
3097
|
* @request DELETE:/v1/auth/b2b/logout
|
|
2997
3098
|
*/
|
|
2998
|
-
logout(B2BLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3099
|
+
logout(B2BLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2999
3100
|
/**
|
|
3000
3101
|
* @description Refresh B2B user token pair
|
|
3001
3102
|
* @tags b2b_auth
|
|
@@ -3003,7 +3104,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3003
3104
|
* @summary Refresh B2B user token pair
|
|
3004
3105
|
* @request POST:/v1/auth/b2b/refresh
|
|
3005
3106
|
*/
|
|
3006
|
-
refreshTokens(B2BRefreshParams: UmaRefreshDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError>>;
|
|
3107
|
+
refreshTokens(B2BRefreshParams: UmaRefreshDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError, Format>>;
|
|
3007
3108
|
/**
|
|
3008
3109
|
* @description B2B user self-registration.
|
|
3009
3110
|
* @tags b2b_auth
|
|
@@ -3011,7 +3112,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3011
3112
|
* @summary B2B user self-registration
|
|
3012
3113
|
* @request POST:/v1/auth/b2b/register
|
|
3013
3114
|
*/
|
|
3014
|
-
register(b2bRegisterParams: UmaB2BRegisterDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserRegistrationSerializer, HandleError>>;
|
|
3115
|
+
register(b2bRegisterParams: UmaB2BRegisterDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserRegistrationSerializer, HandleError, Format>>;
|
|
3015
3116
|
/**
|
|
3016
3117
|
* @description Reset B2B user password
|
|
3017
3118
|
* @tags b2b_auth
|
|
@@ -3021,8 +3122,8 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3021
3122
|
*/
|
|
3022
3123
|
resetPassword(B2BResetPasswordParams: UmaB2BResetPasswordDto, headers?: {
|
|
3023
3124
|
/** Run endpoint in debug mode */
|
|
3024
|
-
|
|
3025
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError>>;
|
|
3125
|
+
'Debug-Token'?: string;
|
|
3126
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError, Format>>;
|
|
3026
3127
|
/**
|
|
3027
3128
|
* @description Send MFA code for B2B user
|
|
3028
3129
|
* @tags b2b_auth
|
|
@@ -3030,7 +3131,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3030
3131
|
* @summary Send MFA code for B2B user
|
|
3031
3132
|
* @request PUT:/v1/auth/b2b/send-mfa-code
|
|
3032
3133
|
*/
|
|
3033
|
-
sendMfaCode(SendB2BMfaCodeDto: UmaSendB2BMfaCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3134
|
+
sendMfaCode(SendB2BMfaCodeDto: UmaSendB2BMfaCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3034
3135
|
/**
|
|
3035
3136
|
* @description Send reset password code for B2B user
|
|
3036
3137
|
* @tags b2b_auth
|
|
@@ -3038,33 +3139,143 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3038
3139
|
* @summary Send reset password code for B2B user
|
|
3039
3140
|
* @request PUT:/v1/auth/b2b/send-reset-password-code
|
|
3040
3141
|
*/
|
|
3041
|
-
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3142
|
+
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3042
3143
|
}
|
|
3043
|
-
export class
|
|
3044
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3045
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3144
|
+
export class B2BUsers<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3145
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3146
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3046
3147
|
/**
|
|
3047
|
-
* @description
|
|
3048
|
-
* @tags
|
|
3049
|
-
* @name
|
|
3050
|
-
* @summary
|
|
3051
|
-
* @request
|
|
3148
|
+
* @description Soft Delete B2B users
|
|
3149
|
+
* @tags b2b_users
|
|
3150
|
+
* @name DeleteMany
|
|
3151
|
+
* @summary Soft Delete B2B users
|
|
3152
|
+
* @request DELETE:/v1/users/b2b
|
|
3052
3153
|
* @secure
|
|
3053
3154
|
*/
|
|
3054
|
-
|
|
3155
|
+
deleteMany(deleteB2BUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3055
3156
|
/**
|
|
3056
|
-
* @description
|
|
3057
|
-
* @tags
|
|
3058
|
-
* @name
|
|
3059
|
-
* @summary
|
|
3060
|
-
* @request
|
|
3157
|
+
* @description B2B User access bulk assignment
|
|
3158
|
+
* @tags b2b_users
|
|
3159
|
+
* @name AccessBulkAssignmnet
|
|
3160
|
+
* @summary B2B User access bulk assignment
|
|
3161
|
+
* @request PATCH:/v1/users/b2b/access/bulk-assignment
|
|
3162
|
+
* @secure
|
|
3163
|
+
*/
|
|
3164
|
+
accessBulkAssignmnet(bulkAccessUpdateDto: UmaB2BUserBulkAccessUpdateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3165
|
+
/**
|
|
3166
|
+
* @description Get B2B User by id
|
|
3167
|
+
* @tags b2b_users
|
|
3168
|
+
* @name GetById
|
|
3169
|
+
* @summary Get B2B User by id
|
|
3170
|
+
* @request GET:/v1/users/b2b/{id}
|
|
3171
|
+
* @secure
|
|
3172
|
+
*/
|
|
3173
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3174
|
+
/**
|
|
3175
|
+
* @description Update B2B User (partial updates supported)
|
|
3176
|
+
* @tags b2b_users
|
|
3177
|
+
* @name PartialUpdate
|
|
3178
|
+
* @summary Update B2B User (partial updates supported)
|
|
3179
|
+
* @request PATCH:/v1/users/b2b/{id}
|
|
3180
|
+
* @secure
|
|
3181
|
+
*/
|
|
3182
|
+
partialUpdate(id: number, createB2BUserNew: UmaPartialUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3183
|
+
/**
|
|
3184
|
+
* @description Generate B2B User PDF
|
|
3185
|
+
* @tags b2b_users
|
|
3186
|
+
* @name GenerateAsPdf
|
|
3187
|
+
* @summary Generate B2B User PDF
|
|
3188
|
+
* @request POST:/v1/users/b2b/{id}/generate-as-pdf
|
|
3189
|
+
* @secure
|
|
3190
|
+
*/
|
|
3191
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
3192
|
+
/**
|
|
3193
|
+
* @description Change B2B User status
|
|
3194
|
+
* @tags b2b_users
|
|
3195
|
+
* @name ChangeStatus
|
|
3196
|
+
* @summary Change B2B User status
|
|
3197
|
+
* @request PATCH:/v1/users/b2b/{id}/status
|
|
3198
|
+
* @secure
|
|
3199
|
+
*/
|
|
3200
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3201
|
+
/**
|
|
3202
|
+
* @description Create B2B User
|
|
3203
|
+
* @tags b2b_users
|
|
3204
|
+
* @name Create
|
|
3205
|
+
* @summary Create B2B User
|
|
3206
|
+
* @request POST:/v2/users/b2b
|
|
3207
|
+
* @secure
|
|
3208
|
+
*/
|
|
3209
|
+
create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3210
|
+
/**
|
|
3211
|
+
* @description Get B2B users with pagination
|
|
3212
|
+
* @tags b2b_users
|
|
3213
|
+
* @name Get
|
|
3214
|
+
* @summary Get B2B users with pagination
|
|
3215
|
+
* @request POST:/v2/users/b2b/list
|
|
3216
|
+
* @secure
|
|
3217
|
+
*/
|
|
3218
|
+
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError, Format>>;
|
|
3219
|
+
/**
|
|
3220
|
+
* @description Update B2B User
|
|
3221
|
+
* @tags b2b_users
|
|
3222
|
+
* @name Update
|
|
3223
|
+
* @summary Update B2B User
|
|
3224
|
+
* @request PUT:/v2/users/b2b/{id}
|
|
3225
|
+
* @secure
|
|
3226
|
+
*/
|
|
3227
|
+
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3228
|
+
}
|
|
3229
|
+
export class B2BUserSettings<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3230
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3231
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3232
|
+
/**
|
|
3233
|
+
* @description Set B2B User Settings
|
|
3234
|
+
* @tags b2b_user_settings
|
|
3235
|
+
* @name SetUserSettings
|
|
3236
|
+
* @summary Set B2B User Settings
|
|
3237
|
+
* @request PUT:/v1/b2b/settings
|
|
3238
|
+
* @secure
|
|
3239
|
+
*/
|
|
3240
|
+
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
3241
|
+
/** Run endpoint in debug mode */
|
|
3242
|
+
'Debug-Token'?: string;
|
|
3243
|
+
/** Branch id, with which user should work */
|
|
3244
|
+
BRANCH?: string;
|
|
3245
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError, Format>>;
|
|
3246
|
+
/**
|
|
3247
|
+
* @description Upload avatar for B2B user
|
|
3248
|
+
* @tags b2b_user_settings
|
|
3249
|
+
* @name UploadAvatar
|
|
3250
|
+
* @summary Upload avatar for B2B user
|
|
3251
|
+
* @request PUT:/v1/b2b/settings/avatar
|
|
3252
|
+
* @secure
|
|
3253
|
+
*/
|
|
3254
|
+
uploadAvatar(data: {
|
|
3255
|
+
/**
|
|
3256
|
+
* Avatar to upload
|
|
3257
|
+
* @format binary
|
|
3258
|
+
*/
|
|
3259
|
+
avatar?: File;
|
|
3260
|
+
/** Should delete old avatar instead of uploading new one */
|
|
3261
|
+
delete_avatar?: boolean;
|
|
3262
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError, Format>>;
|
|
3263
|
+
/**
|
|
3264
|
+
* @description Send B2B user contact change code
|
|
3265
|
+
* @tags b2b_user_settings
|
|
3266
|
+
* @name SendContactChangeCode
|
|
3267
|
+
* @summary Send B2B user contact change code
|
|
3268
|
+
* @request POST:/v1/b2b/settings/codes
|
|
3061
3269
|
* @secure
|
|
3062
3270
|
*/
|
|
3063
|
-
|
|
3271
|
+
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3272
|
+
/** Branch id, with which user should work */
|
|
3273
|
+
BRANCH?: string;
|
|
3274
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3064
3275
|
}
|
|
3065
|
-
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
3066
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3067
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3276
|
+
export class B2CAuth<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3277
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3278
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3068
3279
|
/**
|
|
3069
3280
|
* @description Get current B2C user info by access token.
|
|
3070
3281
|
* @tags b2c_auth
|
|
@@ -3073,7 +3284,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3073
3284
|
* @request GET:/v1/auth/b2c/current
|
|
3074
3285
|
* @secure
|
|
3075
3286
|
*/
|
|
3076
|
-
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError>>;
|
|
3287
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError, Format>>;
|
|
3077
3288
|
/**
|
|
3078
3289
|
* @description Initialize Apple OAuth2 Login
|
|
3079
3290
|
* @tags b2c_auth
|
|
@@ -3086,7 +3297,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3086
3297
|
BRANCH?: string;
|
|
3087
3298
|
/** Firm id/slug, with which user should work */
|
|
3088
3299
|
FIRM?: string;
|
|
3089
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3300
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3090
3301
|
/**
|
|
3091
3302
|
* @description Finish Apple OAuth2 Login
|
|
3092
3303
|
* @tags b2c_auth
|
|
@@ -3094,7 +3305,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3094
3305
|
* @summary Finish Apple OAuth2 Login
|
|
3095
3306
|
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
3096
3307
|
*/
|
|
3097
|
-
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3308
|
+
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
|
|
3098
3309
|
/**
|
|
3099
3310
|
* @description Login B2C user by email/password.
|
|
3100
3311
|
* @tags b2c_auth
|
|
@@ -3107,7 +3318,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3107
3318
|
BRANCH?: string;
|
|
3108
3319
|
/** Firm id/slug, with which user should work */
|
|
3109
3320
|
FIRM?: string;
|
|
3110
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3321
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
|
|
3111
3322
|
/**
|
|
3112
3323
|
* @description Initialize Google OAuth2 Login
|
|
3113
3324
|
* @tags b2c_auth
|
|
@@ -3120,7 +3331,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3120
3331
|
BRANCH?: string;
|
|
3121
3332
|
/** Firm id/slug, with which user should work */
|
|
3122
3333
|
FIRM?: string;
|
|
3123
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3334
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3124
3335
|
/**
|
|
3125
3336
|
* @description Finish Google OAuth2 Login
|
|
3126
3337
|
* @tags b2c_auth
|
|
@@ -3128,7 +3339,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3128
3339
|
* @summary Finish Google OAuth2 Login
|
|
3129
3340
|
* @request POST:/v1/auth/b2c/login/google/callback
|
|
3130
3341
|
*/
|
|
3131
|
-
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3342
|
+
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
|
|
3132
3343
|
/**
|
|
3133
3344
|
* @description Impersonate B2C user
|
|
3134
3345
|
* @tags b2c_auth
|
|
@@ -3137,7 +3348,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3137
3348
|
* @request POST:/v1/auth/b2c/login/impersonate
|
|
3138
3349
|
* @secure
|
|
3139
3350
|
*/
|
|
3140
|
-
impersonateLogin(b2cImpersonate: UmaB2CImpersonateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError>>;
|
|
3351
|
+
impersonateLogin(b2cImpersonate: UmaB2CImpersonateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError, Format>>;
|
|
3141
3352
|
/**
|
|
3142
3353
|
* @description logout from B2C user session
|
|
3143
3354
|
* @tags b2c_auth
|
|
@@ -3145,7 +3356,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3145
3356
|
* @summary logout from B2C user session
|
|
3146
3357
|
* @request DELETE:/v1/auth/b2c/logout
|
|
3147
3358
|
*/
|
|
3148
|
-
logout(B2CLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3359
|
+
logout(B2CLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3149
3360
|
/**
|
|
3150
3361
|
* @description Refresh B2C user token pair
|
|
3151
3362
|
* @tags b2c_auth
|
|
@@ -3161,7 +3372,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3161
3372
|
* @default "refresh_token=xxx"
|
|
3162
3373
|
*/
|
|
3163
3374
|
Cookie?: string;
|
|
3164
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRefreshResultSerializer, HandleError>>;
|
|
3375
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRefreshResultSerializer, HandleError, Format>>;
|
|
3165
3376
|
/**
|
|
3166
3377
|
* @description Register new B2C user. This endpoint should be used for Web GUI only
|
|
3167
3378
|
* @tags b2c_auth
|
|
@@ -3174,7 +3385,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3174
3385
|
BRANCH?: string;
|
|
3175
3386
|
/** Firm id/slug, with which user should work */
|
|
3176
3387
|
FIRM?: string;
|
|
3177
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRegisterSerializer, HandleError>>;
|
|
3388
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRegisterSerializer, HandleError, Format>>;
|
|
3178
3389
|
/**
|
|
3179
3390
|
* @description Reset B2C user password
|
|
3180
3391
|
* @tags b2c_auth
|
|
@@ -3184,12 +3395,12 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3184
3395
|
*/
|
|
3185
3396
|
resetPassword(B2CResetPasswordParams: UmaB2CResetPasswordDto, headers?: {
|
|
3186
3397
|
/** Run endpoint in debug mode */
|
|
3187
|
-
|
|
3398
|
+
'Debug-Token'?: string;
|
|
3188
3399
|
/** Branch id/slug/code, with which user should work */
|
|
3189
3400
|
BRANCH?: string;
|
|
3190
3401
|
/** Firm id/slug, with which user should work */
|
|
3191
3402
|
FIRM?: string;
|
|
3192
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3403
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3193
3404
|
/**
|
|
3194
3405
|
* @description Send MFA code for B2C user
|
|
3195
3406
|
* @tags b2c_auth
|
|
@@ -3202,7 +3413,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3202
3413
|
BRANCH?: string;
|
|
3203
3414
|
/** Firm id/slug, with which user should work */
|
|
3204
3415
|
FIRM?: string;
|
|
3205
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3416
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3206
3417
|
/**
|
|
3207
3418
|
* @description Send reset password code for B2C user
|
|
3208
3419
|
* @tags b2c_auth
|
|
@@ -3215,7 +3426,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3215
3426
|
BRANCH?: string;
|
|
3216
3427
|
/** Firm id/slug, with which user should work */
|
|
3217
3428
|
FIRM?: string;
|
|
3218
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3429
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3219
3430
|
/**
|
|
3220
3431
|
* @description Send verification code for B2C user
|
|
3221
3432
|
* @tags b2c_auth
|
|
@@ -3228,7 +3439,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3228
3439
|
BRANCH?: string;
|
|
3229
3440
|
/** Firm id/slug, with which user should work */
|
|
3230
3441
|
FIRM?: string;
|
|
3231
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3442
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3232
3443
|
/**
|
|
3233
3444
|
* @description Verify contact for B2C user
|
|
3234
3445
|
* @tags b2c_auth
|
|
@@ -3241,387 +3452,117 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3241
3452
|
BRANCH?: string;
|
|
3242
3453
|
/** Firm id/slug, with which user should work */
|
|
3243
3454
|
FIRM?: string;
|
|
3244
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3455
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3245
3456
|
}
|
|
3246
|
-
export class
|
|
3247
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3248
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3249
|
-
/**
|
|
3250
|
-
* @description Delete trusted devices
|
|
3251
|
-
* @tags trusted_devices
|
|
3252
|
-
* @name DeleteMany
|
|
3253
|
-
* @summary Delete trusted devices
|
|
3254
|
-
* @request DELETE:/v1/auth/trusted-devices
|
|
3255
|
-
* @secure
|
|
3256
|
-
*/
|
|
3257
|
-
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3457
|
+
export class B2CUsers<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3458
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3459
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3258
3460
|
/**
|
|
3259
|
-
* @description
|
|
3260
|
-
* @tags
|
|
3261
|
-
* @name
|
|
3262
|
-
* @summary
|
|
3263
|
-
* @request POST:/v1/
|
|
3461
|
+
* @description Create B2C User
|
|
3462
|
+
* @tags b2c_users
|
|
3463
|
+
* @name Create
|
|
3464
|
+
* @summary Create B2C User
|
|
3465
|
+
* @request POST:/v1/users/b2c
|
|
3264
3466
|
* @secure
|
|
3265
3467
|
*/
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3468
|
+
create(createB2CUser: UmaCreateB2CUserDto, headers?: {
|
|
3469
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3470
|
+
'X-Accept'?: string;
|
|
3471
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
|
|
3271
3472
|
/**
|
|
3272
|
-
* @description
|
|
3273
|
-
* @tags
|
|
3274
|
-
* @name
|
|
3275
|
-
* @summary
|
|
3276
|
-
* @request
|
|
3473
|
+
* @description Soft Delete B2C users
|
|
3474
|
+
* @tags b2c_users
|
|
3475
|
+
* @name DeleteMany
|
|
3476
|
+
* @summary Soft Delete B2C users
|
|
3477
|
+
* @request DELETE:/v1/users/b2c
|
|
3277
3478
|
* @secure
|
|
3278
3479
|
*/
|
|
3279
|
-
|
|
3480
|
+
deleteMany(deleteB2CUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3280
3481
|
/**
|
|
3281
|
-
* @description
|
|
3282
|
-
* @tags
|
|
3283
|
-
* @name
|
|
3284
|
-
* @summary
|
|
3285
|
-
* @request
|
|
3482
|
+
* @description B2C user access bulk assignment
|
|
3483
|
+
* @tags b2c_users
|
|
3484
|
+
* @name AccessBulkAssignment
|
|
3485
|
+
* @summary B2C User Access Bulk Assignment
|
|
3486
|
+
* @request PATCH:/v1/users/b2c/access/bulk-assignment
|
|
3286
3487
|
* @secure
|
|
3287
3488
|
*/
|
|
3288
|
-
|
|
3289
|
-
}
|
|
3290
|
-
export class ApiKeys<HandleError extends boolean = boolean> {
|
|
3291
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3292
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3489
|
+
accessBulkAssignment(bulkAccessUpdateDto: UmaB2BUserBulkAccessUpdateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3293
3490
|
/**
|
|
3294
|
-
* @description
|
|
3295
|
-
* @tags
|
|
3296
|
-
* @name
|
|
3297
|
-
* @summary
|
|
3298
|
-
* @request
|
|
3491
|
+
* @description Get B2C Verified Contact Change Code
|
|
3492
|
+
* @tags b2c_users
|
|
3493
|
+
* @name GetVerifiedContactChangeCode
|
|
3494
|
+
* @summary Get B2C Verified Contact Change Code
|
|
3495
|
+
* @request PUT:/v1/users/b2c/contact-changes/codes
|
|
3299
3496
|
* @secure
|
|
3300
3497
|
*/
|
|
3301
|
-
|
|
3498
|
+
getVerifiedContactChangeCode(getVerifiedContactChangeCodeDto: UmaGetVerifiedContactChangeCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3302
3499
|
/**
|
|
3303
|
-
* @description Get
|
|
3304
|
-
* @tags
|
|
3500
|
+
* @description Get B2C User by id
|
|
3501
|
+
* @tags b2c_users
|
|
3305
3502
|
* @name GetById
|
|
3306
|
-
* @summary Get
|
|
3307
|
-
* @request GET:/v1/
|
|
3503
|
+
* @summary Get B2C User by id
|
|
3504
|
+
* @request GET:/v1/users/b2c/{id}
|
|
3308
3505
|
* @secure
|
|
3309
3506
|
*/
|
|
3310
|
-
getById(id: number,
|
|
3507
|
+
getById(id: number, headers?: {
|
|
3508
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3509
|
+
'X-Accept'?: string;
|
|
3510
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
|
|
3311
3511
|
/**
|
|
3312
|
-
* @description
|
|
3313
|
-
* @tags
|
|
3314
|
-
* @name
|
|
3315
|
-
* @summary
|
|
3316
|
-
* @request
|
|
3512
|
+
* @description Update B2C User
|
|
3513
|
+
* @tags b2c_users
|
|
3514
|
+
* @name Update
|
|
3515
|
+
* @summary Update B2C User
|
|
3516
|
+
* @request PUT:/v1/users/b2c/{id}
|
|
3317
3517
|
* @secure
|
|
3318
3518
|
*/
|
|
3319
|
-
|
|
3519
|
+
update(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
|
|
3520
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3521
|
+
'X-Accept'?: string;
|
|
3522
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
|
|
3320
3523
|
/**
|
|
3321
|
-
* @description
|
|
3322
|
-
* @tags
|
|
3323
|
-
* @name Get
|
|
3324
|
-
* @summary Get API Keys info(would return API Keys without secrets)
|
|
3325
|
-
* @request POST:/v2/b2b/api-keys/list
|
|
3326
|
-
* @secure
|
|
3327
|
-
*/
|
|
3328
|
-
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError>>;
|
|
3329
|
-
/**
|
|
3330
|
-
* @description Update API Key Record
|
|
3331
|
-
* @tags api_keys
|
|
3332
|
-
* @name Update
|
|
3333
|
-
* @summary Update API Key Record
|
|
3334
|
-
* @request PUT:/v2/b2b/api-keys/{id}
|
|
3335
|
-
* @secure
|
|
3336
|
-
*/
|
|
3337
|
-
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3338
|
-
}
|
|
3339
|
-
export class Endpoints<HandleError extends boolean = boolean> {
|
|
3340
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3341
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3342
|
-
/**
|
|
3343
|
-
* @description Create Endpoint
|
|
3344
|
-
* @tags endpoints
|
|
3345
|
-
* @name Create
|
|
3346
|
-
* @summary Create Endpoint
|
|
3347
|
-
* @request POST:/v1/b2b/endpoints
|
|
3348
|
-
* @secure
|
|
3349
|
-
*/
|
|
3350
|
-
create(endpointDto: UmaCreateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3351
|
-
/**
|
|
3352
|
-
* @description Delete endpoint by id
|
|
3353
|
-
* @tags endpoints
|
|
3354
|
-
* @name DeleteMany
|
|
3355
|
-
* @summary Delete endpoint by id
|
|
3356
|
-
* @request DELETE:/v1/b2b/endpoints
|
|
3357
|
-
* @secure
|
|
3358
|
-
*/
|
|
3359
|
-
deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3360
|
-
/**
|
|
3361
|
-
* @description Get Endpoint by id
|
|
3362
|
-
* @tags endpoints
|
|
3363
|
-
* @name GetById
|
|
3364
|
-
* @summary Get Endpoint by id
|
|
3365
|
-
* @request GET:/v1/b2b/endpoints/{id}
|
|
3366
|
-
* @secure
|
|
3367
|
-
*/
|
|
3368
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3369
|
-
/**
|
|
3370
|
-
* @description Update endpoint record
|
|
3371
|
-
* @tags endpoints
|
|
3372
|
-
* @name Update
|
|
3373
|
-
* @summary Update endpoint record
|
|
3374
|
-
* @request PUT:/v1/b2b/endpoints/{id}
|
|
3375
|
-
* @secure
|
|
3376
|
-
*/
|
|
3377
|
-
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3378
|
-
/**
|
|
3379
|
-
* @description Update endpoint record (partial updates supported).
|
|
3380
|
-
* @tags endpoints
|
|
3381
|
-
* @name PartialUpdate
|
|
3382
|
-
* @summary Update endpoint record (partial updates supported)
|
|
3383
|
-
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3384
|
-
* @secure
|
|
3385
|
-
*/
|
|
3386
|
-
partialUpdate(id: number, endpointDto: UmaPartialUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3387
|
-
/**
|
|
3388
|
-
* @description Get endpoints with pagination
|
|
3389
|
-
* @tags endpoints
|
|
3390
|
-
* @name Get
|
|
3391
|
-
* @summary Get endpoints with pagination
|
|
3392
|
-
* @request POST:/v2/b2b/endpoints/list
|
|
3393
|
-
* @secure
|
|
3394
|
-
*/
|
|
3395
|
-
get(endpointDto: UmaGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEndpointsListSerializer, HandleError>>;
|
|
3396
|
-
}
|
|
3397
|
-
export class IdentityProviders<HandleError extends boolean = boolean> {
|
|
3398
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3399
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3400
|
-
/**
|
|
3401
|
-
* @description Create Identity Provider
|
|
3402
|
-
* @tags identity_providers
|
|
3403
|
-
* @name Create
|
|
3404
|
-
* @summary Create Identity Provider
|
|
3405
|
-
* @request POST:/v1/b2b/identity-providers
|
|
3406
|
-
* @secure
|
|
3407
|
-
*/
|
|
3408
|
-
create(createIdentityProviderDto: UmaCreateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError>>;
|
|
3409
|
-
/**
|
|
3410
|
-
* @description Delete Identity providers by id
|
|
3411
|
-
* @tags identity_providers
|
|
3412
|
-
* @name DeleteMany
|
|
3413
|
-
* @summary Delete Identity providers by ids
|
|
3414
|
-
* @request DELETE:/v1/b2b/identity-providers
|
|
3415
|
-
* @secure
|
|
3416
|
-
*/
|
|
3417
|
-
deleteMany(deleteIdentityProvidersDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3418
|
-
/**
|
|
3419
|
-
* @description Get Identity Provider by id
|
|
3420
|
-
* @tags identity_providers
|
|
3421
|
-
* @name GetById
|
|
3422
|
-
* @summary Get Identity Provider by id
|
|
3423
|
-
* @request GET:/v1/b2b/identity-providers/{id}
|
|
3424
|
-
* @secure
|
|
3425
|
-
*/
|
|
3426
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError>>;
|
|
3427
|
-
/**
|
|
3428
|
-
* @description Update identity provider record
|
|
3429
|
-
* @tags identity_providers
|
|
3430
|
-
* @name Update
|
|
3431
|
-
* @summary Update identity provider record
|
|
3432
|
-
* @request PUT:/v1/b2b/identity-providers/{id}
|
|
3433
|
-
* @secure
|
|
3434
|
-
*/
|
|
3435
|
-
update(id: number, identityProvidersDto: UmaUpdateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError>>;
|
|
3436
|
-
/**
|
|
3437
|
-
* @description Get Identity Providers with pagination
|
|
3438
|
-
* @tags identity_providers
|
|
3439
|
-
* @name Get
|
|
3440
|
-
* @summary Get Identity Providers with pagination
|
|
3441
|
-
* @request POST:/v2/b2b/identity-providers/list
|
|
3442
|
-
* @secure
|
|
3443
|
-
*/
|
|
3444
|
-
get(identityProvidersDto: UmaGetIdentityProvidersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetIdentityProvidersListSerializer, HandleError>>;
|
|
3445
|
-
}
|
|
3446
|
-
export class Microservices<HandleError extends boolean = boolean> {
|
|
3447
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3448
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3449
|
-
/**
|
|
3450
|
-
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3451
|
-
* @tags microservices
|
|
3452
|
-
* @name Create
|
|
3453
|
-
* @summary Create Microservice
|
|
3454
|
-
* @request POST:/v1/b2b/microservices
|
|
3455
|
-
* @secure
|
|
3456
|
-
*/
|
|
3457
|
-
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3458
|
-
/**
|
|
3459
|
-
* @description Delete microservice by id
|
|
3460
|
-
* @tags microservices
|
|
3461
|
-
* @name DeleteMany
|
|
3462
|
-
* @summary Delete microservice by id
|
|
3463
|
-
* @request DELETE:/v1/b2b/microservices
|
|
3464
|
-
* @secure
|
|
3465
|
-
*/
|
|
3466
|
-
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3467
|
-
/**
|
|
3468
|
-
* @description Get Microservice by id
|
|
3469
|
-
* @tags microservices
|
|
3470
|
-
* @name GetById
|
|
3471
|
-
* @summary Get Microservice by id
|
|
3472
|
-
* @request GET:/v1/b2b/microservices/{id}
|
|
3473
|
-
* @secure
|
|
3474
|
-
*/
|
|
3475
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3476
|
-
/**
|
|
3477
|
-
* @description Update microservice record
|
|
3478
|
-
* @tags microservices
|
|
3479
|
-
* @name Update
|
|
3480
|
-
* @summary Update microservice record
|
|
3481
|
-
* @request PUT:/v1/b2b/microservices/{id}
|
|
3482
|
-
* @secure
|
|
3483
|
-
*/
|
|
3484
|
-
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3485
|
-
/**
|
|
3486
|
-
* @description Update microservice record (partial updates supported)
|
|
3487
|
-
* @tags microservices
|
|
3524
|
+
* @description Partial Update B2C User
|
|
3525
|
+
* @tags b2c_users
|
|
3488
3526
|
* @name PartialUpdate
|
|
3489
|
-
* @summary Update
|
|
3490
|
-
* @request PATCH:/v1/
|
|
3491
|
-
* @secure
|
|
3492
|
-
*/
|
|
3493
|
-
partialUpdate(id: number, microserviceDto: UmaPartialUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3494
|
-
/**
|
|
3495
|
-
* @description Get microservices with pagination
|
|
3496
|
-
* @tags microservices
|
|
3497
|
-
* @name Get
|
|
3498
|
-
* @summary Get microservices with pagination
|
|
3499
|
-
* @request POST:/v2/b2b/microservices/list
|
|
3500
|
-
* @secure
|
|
3501
|
-
*/
|
|
3502
|
-
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError>>;
|
|
3503
|
-
}
|
|
3504
|
-
export class TablePresets<HandleError extends boolean = boolean> {
|
|
3505
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3506
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3507
|
-
/**
|
|
3508
|
-
* @description Get user Table Presets
|
|
3509
|
-
* @tags table_presets
|
|
3510
|
-
* @name GetUserPresets
|
|
3511
|
-
* @summary Get user Table Presets
|
|
3512
|
-
* @request GET:/v1/b2b/table-presets
|
|
3513
|
-
* @secure
|
|
3514
|
-
*/
|
|
3515
|
-
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError>>;
|
|
3516
|
-
/**
|
|
3517
|
-
* @description Upsert Table Preset
|
|
3518
|
-
* @tags table_presets
|
|
3519
|
-
* @name Upsert
|
|
3520
|
-
* @summary Upsert Table Preset
|
|
3521
|
-
* @request PUT:/v1/b2b/table-presets
|
|
3522
|
-
* @secure
|
|
3523
|
-
*/
|
|
3524
|
-
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError>>;
|
|
3525
|
-
}
|
|
3526
|
-
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
3527
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3528
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3529
|
-
/**
|
|
3530
|
-
* @description Set B2B User Settings
|
|
3531
|
-
* @tags b2b_user_settings
|
|
3532
|
-
* @name SetUserSettings
|
|
3533
|
-
* @summary Set B2B User Settings
|
|
3534
|
-
* @request PUT:/v1/b2b/settings
|
|
3535
|
-
* @secure
|
|
3536
|
-
*/
|
|
3537
|
-
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
3538
|
-
/** Run endpoint in debug mode */
|
|
3539
|
-
"Debug-Token"?: string;
|
|
3540
|
-
/** Branch id, with which user should work */
|
|
3541
|
-
BRANCH?: string;
|
|
3542
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
3543
|
-
/**
|
|
3544
|
-
* @description Upload avatar for B2B user
|
|
3545
|
-
* @tags b2b_user_settings
|
|
3546
|
-
* @name UploadAvatar
|
|
3547
|
-
* @summary Upload avatar for B2B user
|
|
3548
|
-
* @request PUT:/v1/b2b/settings/avatar
|
|
3549
|
-
* @secure
|
|
3550
|
-
*/
|
|
3551
|
-
uploadAvatar(data: {
|
|
3552
|
-
/**
|
|
3553
|
-
* Avatar to upload
|
|
3554
|
-
* @format binary
|
|
3555
|
-
*/
|
|
3556
|
-
avatar?: File;
|
|
3557
|
-
/** Should delete old avatar instead of uploading new one */
|
|
3558
|
-
delete_avatar?: boolean;
|
|
3559
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
3560
|
-
/**
|
|
3561
|
-
* @description Send B2B user contact change code
|
|
3562
|
-
* @tags b2b_user_settings
|
|
3563
|
-
* @name SendContactChangeCode
|
|
3564
|
-
* @summary Send B2B user contact change code
|
|
3565
|
-
* @request POST:/v1/b2b/settings/codes
|
|
3566
|
-
* @secure
|
|
3567
|
-
*/
|
|
3568
|
-
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3569
|
-
/** Branch id, with which user should work */
|
|
3570
|
-
BRANCH?: string;
|
|
3571
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3572
|
-
}
|
|
3573
|
-
export class RoleTypes<HandleError extends boolean = boolean> {
|
|
3574
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3575
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3576
|
-
/**
|
|
3577
|
-
* @description Create Role Type
|
|
3578
|
-
* @tags role_types
|
|
3579
|
-
* @name Create
|
|
3580
|
-
* @summary Create Role Type
|
|
3581
|
-
* @request POST:/v1/b2b/role-types
|
|
3582
|
-
* @secure
|
|
3583
|
-
*/
|
|
3584
|
-
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3585
|
-
/**
|
|
3586
|
-
* @description Delete Role Types by ids
|
|
3587
|
-
* @tags role_types
|
|
3588
|
-
* @name DeleteMany
|
|
3589
|
-
* @summary Delete Role Types by ids
|
|
3590
|
-
* @request DELETE:/v1/b2b/role-types
|
|
3527
|
+
* @summary Partial Update B2C User
|
|
3528
|
+
* @request PATCH:/v1/users/b2c/{id}
|
|
3591
3529
|
* @secure
|
|
3592
3530
|
*/
|
|
3593
|
-
|
|
3531
|
+
partialUpdate(id: number, createB2BUser: UmaPartialUpdateB2CUserDto, headers?: {
|
|
3532
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3533
|
+
'X-Accept'?: string;
|
|
3534
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
|
|
3594
3535
|
/**
|
|
3595
|
-
* @description
|
|
3596
|
-
* @tags
|
|
3597
|
-
* @name
|
|
3598
|
-
* @summary
|
|
3599
|
-
* @request
|
|
3536
|
+
* @description Generate B2C User PDF
|
|
3537
|
+
* @tags b2c_users
|
|
3538
|
+
* @name GenerateAsPdf
|
|
3539
|
+
* @summary Generate B2C User PDF
|
|
3540
|
+
* @request POST:/v1/users/b2c/{id}/generate-as-pdf
|
|
3600
3541
|
* @secure
|
|
3601
3542
|
*/
|
|
3602
|
-
|
|
3543
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
3603
3544
|
/**
|
|
3604
|
-
* @description
|
|
3605
|
-
* @tags
|
|
3606
|
-
* @name
|
|
3607
|
-
* @summary
|
|
3608
|
-
* @request
|
|
3545
|
+
* @description Change B2C User status
|
|
3546
|
+
* @tags b2c_users
|
|
3547
|
+
* @name ChangeStatus
|
|
3548
|
+
* @summary Change B2C User status
|
|
3549
|
+
* @request PATCH:/v1/users/b2c/{id}/status
|
|
3609
3550
|
* @secure
|
|
3610
3551
|
*/
|
|
3611
|
-
|
|
3552
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3612
3553
|
/**
|
|
3613
|
-
* @description Get
|
|
3614
|
-
* @tags
|
|
3554
|
+
* @description Get B2C users with pagination
|
|
3555
|
+
* @tags b2c_users
|
|
3615
3556
|
* @name Get
|
|
3616
|
-
* @summary Get
|
|
3617
|
-
* @request POST:/v2/
|
|
3557
|
+
* @summary Get B2C users with pagination
|
|
3558
|
+
* @request POST:/v2/users/b2c/list
|
|
3618
3559
|
* @secure
|
|
3619
3560
|
*/
|
|
3620
|
-
get(
|
|
3561
|
+
get(getB2CUsers: UmaGetB2CUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2CUserSerializer, HandleError, Format>>;
|
|
3621
3562
|
}
|
|
3622
|
-
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
3623
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3624
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3563
|
+
export class B2CUserSettings<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3564
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3565
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3625
3566
|
/**
|
|
3626
3567
|
* @description Set B2C User Settings (test)
|
|
3627
3568
|
* @tags b2c_user_settings
|
|
@@ -3633,7 +3574,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3633
3574
|
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
3634
3575
|
/** Branch id/slug/code, with which user should work */
|
|
3635
3576
|
BRANCH?: string;
|
|
3636
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3577
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError, Format>>;
|
|
3637
3578
|
/**
|
|
3638
3579
|
* @description Send B2C user contact change code
|
|
3639
3580
|
* @tags b2c_user_settings
|
|
@@ -3645,7 +3586,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3645
3586
|
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
3646
3587
|
/** Branch id/slug/code, with which user should work */
|
|
3647
3588
|
BRANCH?: string;
|
|
3648
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3589
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3649
3590
|
/**
|
|
3650
3591
|
* @description Get Available B2C Branch Mfa Options
|
|
3651
3592
|
* @tags b2c_user_settings
|
|
@@ -3657,7 +3598,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3657
3598
|
availableMfaOptions(headers?: {
|
|
3658
3599
|
/** Branch id/slug/code, with which user should work */
|
|
3659
3600
|
BRANCH?: string;
|
|
3660
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
3601
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError, Format>>;
|
|
3661
3602
|
/**
|
|
3662
3603
|
* @description Delete B2C OAuth2 Bindings
|
|
3663
3604
|
* @tags b2c_user_settings
|
|
@@ -3666,7 +3607,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3666
3607
|
* @request DELETE:/v1/b2c/settings/oauth-links
|
|
3667
3608
|
* @secure
|
|
3668
3609
|
*/
|
|
3669
|
-
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3610
|
+
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3670
3611
|
/**
|
|
3671
3612
|
* @description Finish Apple OAuth2 Profile Linking
|
|
3672
3613
|
* @tags b2c_user_settings
|
|
@@ -3674,7 +3615,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3674
3615
|
* @summary Finish Apple OAuth2 Profile Linking
|
|
3675
3616
|
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
3676
3617
|
*/
|
|
3677
|
-
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3618
|
+
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3678
3619
|
/**
|
|
3679
3620
|
* @description Initialize Apple OAuth2 Profile Linking
|
|
3680
3621
|
* @tags b2c_user_settings
|
|
@@ -3683,7 +3624,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3683
3624
|
* @request POST:/v1/b2c/settings/oauth-links/apple/start
|
|
3684
3625
|
* @secure
|
|
3685
3626
|
*/
|
|
3686
|
-
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3627
|
+
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3687
3628
|
/**
|
|
3688
3629
|
* @description Finish Google OAuth2 Profile Linking
|
|
3689
3630
|
* @tags b2c_user_settings
|
|
@@ -3691,7 +3632,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3691
3632
|
* @summary Finish Google OAuth2 Profile Linking
|
|
3692
3633
|
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
3693
3634
|
*/
|
|
3694
|
-
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3635
|
+
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3695
3636
|
/**
|
|
3696
3637
|
* @description Initialize Google OAuth2 Profile Linking
|
|
3697
3638
|
* @tags b2c_user_settings
|
|
@@ -3700,7 +3641,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3700
3641
|
* @request POST:/v1/b2c/settings/oauth-links/google/start
|
|
3701
3642
|
* @secure
|
|
3702
3643
|
*/
|
|
3703
|
-
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3644
|
+
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3704
3645
|
/**
|
|
3705
3646
|
* @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
|
|
3706
3647
|
* @tags b2c_user_settings
|
|
@@ -3709,11 +3650,11 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3709
3650
|
* @request POST:/v1/b2c/settings/oauth-links/list
|
|
3710
3651
|
* @secure
|
|
3711
3652
|
*/
|
|
3712
|
-
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError>>;
|
|
3653
|
+
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError, Format>>;
|
|
3713
3654
|
}
|
|
3714
|
-
export class Branches<HandleError extends boolean = boolean> {
|
|
3715
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3716
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3655
|
+
export class Branches<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3656
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3657
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3717
3658
|
/**
|
|
3718
3659
|
* @description Create Branch
|
|
3719
3660
|
* @tags branches
|
|
@@ -3722,7 +3663,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3722
3663
|
* @request POST:/v1/branches
|
|
3723
3664
|
* @secure
|
|
3724
3665
|
*/
|
|
3725
|
-
create(createBranch: UmaCreateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3666
|
+
create(createBranch: UmaCreateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3726
3667
|
/**
|
|
3727
3668
|
* @description Delete Branch by id
|
|
3728
3669
|
* @tags branches
|
|
@@ -3731,7 +3672,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3731
3672
|
* @request DELETE:/v1/branches
|
|
3732
3673
|
* @secure
|
|
3733
3674
|
*/
|
|
3734
|
-
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3675
|
+
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3735
3676
|
/**
|
|
3736
3677
|
* @description Get Branch by id
|
|
3737
3678
|
* @tags branches
|
|
@@ -3740,7 +3681,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3740
3681
|
* @request GET:/v1/branches/{id}
|
|
3741
3682
|
* @secure
|
|
3742
3683
|
*/
|
|
3743
|
-
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3684
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3744
3685
|
/**
|
|
3745
3686
|
* @description Update Branch
|
|
3746
3687
|
* @tags branches
|
|
@@ -3749,7 +3690,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3749
3690
|
* @request PUT:/v1/branches/{id}
|
|
3750
3691
|
* @secure
|
|
3751
3692
|
*/
|
|
3752
|
-
update(id: number, updateBranch: UmaUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3693
|
+
update(id: number, updateBranch: UmaUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3753
3694
|
/**
|
|
3754
3695
|
* @description Partial Update Branch
|
|
3755
3696
|
* @tags branches
|
|
@@ -3758,7 +3699,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3758
3699
|
* @request PATCH:/v1/branches/{id}
|
|
3759
3700
|
* @secure
|
|
3760
3701
|
*/
|
|
3761
|
-
partialUpdate(id: number, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3702
|
+
partialUpdate(id: number, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3762
3703
|
/**
|
|
3763
3704
|
* @description Get Branches with pagination
|
|
3764
3705
|
* @tags branches
|
|
@@ -3767,11 +3708,11 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3767
3708
|
* @request POST:/v2/branches/list
|
|
3768
3709
|
* @secure
|
|
3769
3710
|
*/
|
|
3770
|
-
get(getBranches: UmaGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBranchesListSerializer, HandleError>>;
|
|
3711
|
+
get(getBranches: UmaGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBranchesListSerializer, HandleError, Format>>;
|
|
3771
3712
|
}
|
|
3772
|
-
export class Countries<HandleError extends boolean = boolean> {
|
|
3773
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3774
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3713
|
+
export class Countries<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3714
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3715
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3775
3716
|
/**
|
|
3776
3717
|
* @description Get Countries info
|
|
3777
3718
|
* @tags countries
|
|
@@ -3779,11 +3720,11 @@ export class Countries<HandleError extends boolean = boolean> {
|
|
|
3779
3720
|
* @summary Get Countries info
|
|
3780
3721
|
* @request GET:/v1/countries/
|
|
3781
3722
|
*/
|
|
3782
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3723
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError, Format>>;
|
|
3783
3724
|
}
|
|
3784
|
-
export class EmailDomains<HandleError extends boolean = boolean> {
|
|
3785
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3786
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3725
|
+
export class EmailDomains<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3726
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3727
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3787
3728
|
/**
|
|
3788
3729
|
* @description Create Email Domain
|
|
3789
3730
|
* @tags email_domains
|
|
@@ -3792,7 +3733,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3792
3733
|
* @request POST:/v1/email-domains
|
|
3793
3734
|
* @secure
|
|
3794
3735
|
*/
|
|
3795
|
-
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3736
|
+
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError, Format>>;
|
|
3796
3737
|
/**
|
|
3797
3738
|
* @description Delete Email Domains
|
|
3798
3739
|
* @tags email_domains
|
|
@@ -3801,7 +3742,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3801
3742
|
* @request DELETE:/v1/email-domains
|
|
3802
3743
|
* @secure
|
|
3803
3744
|
*/
|
|
3804
|
-
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3745
|
+
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3805
3746
|
/**
|
|
3806
3747
|
* @description Get emailDomains with pagination
|
|
3807
3748
|
* @tags email_domains
|
|
@@ -3810,29 +3751,87 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3810
3751
|
* @request POST:/v1/email-domains/list
|
|
3811
3752
|
* @secure
|
|
3812
3753
|
*/
|
|
3813
|
-
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError>>;
|
|
3754
|
+
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError, Format>>;
|
|
3755
|
+
/**
|
|
3756
|
+
* @description Get Email Domain by id
|
|
3757
|
+
* @tags email_domains
|
|
3758
|
+
* @name GetById
|
|
3759
|
+
* @summary Get Email Domain by id
|
|
3760
|
+
* @request GET:/v1/email-domains/{id}
|
|
3761
|
+
* @secure
|
|
3762
|
+
*/
|
|
3763
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError, Format>>;
|
|
3764
|
+
/**
|
|
3765
|
+
* @description Update Email Domain record (partial updates supported).
|
|
3766
|
+
* @tags email_domains
|
|
3767
|
+
* @name PartialUpdate
|
|
3768
|
+
* @summary Update Email Domain record (partial updates supported)
|
|
3769
|
+
* @request PATCH:/v1/email-domains/{id}
|
|
3770
|
+
* @secure
|
|
3771
|
+
*/
|
|
3772
|
+
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError, Format>>;
|
|
3773
|
+
}
|
|
3774
|
+
export class Endpoints<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3775
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3776
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3777
|
+
/**
|
|
3778
|
+
* @description Create Endpoint
|
|
3779
|
+
* @tags endpoints
|
|
3780
|
+
* @name Create
|
|
3781
|
+
* @summary Create Endpoint
|
|
3782
|
+
* @request POST:/v1/b2b/endpoints
|
|
3783
|
+
* @secure
|
|
3784
|
+
*/
|
|
3785
|
+
create(endpointDto: UmaCreateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3786
|
+
/**
|
|
3787
|
+
* @description Delete endpoint by id
|
|
3788
|
+
* @tags endpoints
|
|
3789
|
+
* @name DeleteMany
|
|
3790
|
+
* @summary Delete endpoint by id
|
|
3791
|
+
* @request DELETE:/v1/b2b/endpoints
|
|
3792
|
+
* @secure
|
|
3793
|
+
*/
|
|
3794
|
+
deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3795
|
+
/**
|
|
3796
|
+
* @description Get Endpoint by id
|
|
3797
|
+
* @tags endpoints
|
|
3798
|
+
* @name GetById
|
|
3799
|
+
* @summary Get Endpoint by id
|
|
3800
|
+
* @request GET:/v1/b2b/endpoints/{id}
|
|
3801
|
+
* @secure
|
|
3802
|
+
*/
|
|
3803
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3804
|
+
/**
|
|
3805
|
+
* @description Update endpoint record
|
|
3806
|
+
* @tags endpoints
|
|
3807
|
+
* @name Update
|
|
3808
|
+
* @summary Update endpoint record
|
|
3809
|
+
* @request PUT:/v1/b2b/endpoints/{id}
|
|
3810
|
+
* @secure
|
|
3811
|
+
*/
|
|
3812
|
+
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3814
3813
|
/**
|
|
3815
|
-
* @description
|
|
3816
|
-
* @tags
|
|
3817
|
-
* @name
|
|
3818
|
-
* @summary
|
|
3819
|
-
* @request
|
|
3814
|
+
* @description Update endpoint record (partial updates supported).
|
|
3815
|
+
* @tags endpoints
|
|
3816
|
+
* @name PartialUpdate
|
|
3817
|
+
* @summary Update endpoint record (partial updates supported)
|
|
3818
|
+
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3820
3819
|
* @secure
|
|
3821
3820
|
*/
|
|
3822
|
-
|
|
3821
|
+
partialUpdate(id: number, endpointDto: UmaPartialUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3823
3822
|
/**
|
|
3824
|
-
* @description
|
|
3825
|
-
* @tags
|
|
3826
|
-
* @name
|
|
3827
|
-
* @summary
|
|
3828
|
-
* @request
|
|
3823
|
+
* @description Get endpoints with pagination
|
|
3824
|
+
* @tags endpoints
|
|
3825
|
+
* @name Get
|
|
3826
|
+
* @summary Get endpoints with pagination
|
|
3827
|
+
* @request POST:/v2/b2b/endpoints/list
|
|
3829
3828
|
* @secure
|
|
3830
3829
|
*/
|
|
3831
|
-
|
|
3830
|
+
get(endpointDto: UmaGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEndpointsListSerializer, HandleError, Format>>;
|
|
3832
3831
|
}
|
|
3833
|
-
export class Firms<HandleError extends boolean = boolean> {
|
|
3834
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3835
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3832
|
+
export class Firms<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3833
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3834
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3836
3835
|
/**
|
|
3837
3836
|
* @description Create Firm
|
|
3838
3837
|
* @tags firms
|
|
@@ -3841,7 +3840,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3841
3840
|
* @request POST:/v1/firms
|
|
3842
3841
|
* @secure
|
|
3843
3842
|
*/
|
|
3844
|
-
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3843
|
+
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3845
3844
|
/**
|
|
3846
3845
|
* @description Deletes Firm by ids
|
|
3847
3846
|
* @tags firms
|
|
@@ -3850,7 +3849,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3850
3849
|
* @request DELETE:/v1/firms
|
|
3851
3850
|
* @secure
|
|
3852
3851
|
*/
|
|
3853
|
-
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3852
|
+
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3854
3853
|
/**
|
|
3855
3854
|
* @description Get Firm by id
|
|
3856
3855
|
* @tags firms
|
|
@@ -3859,7 +3858,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3859
3858
|
* @request GET:/v1/firms/{id}
|
|
3860
3859
|
* @secure
|
|
3861
3860
|
*/
|
|
3862
|
-
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3861
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3863
3862
|
/**
|
|
3864
3863
|
* @description Update Firm
|
|
3865
3864
|
* @tags firms
|
|
@@ -3868,7 +3867,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3868
3867
|
* @request PUT:/v1/firms/{id}
|
|
3869
3868
|
* @secure
|
|
3870
3869
|
*/
|
|
3871
|
-
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3870
|
+
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3872
3871
|
/**
|
|
3873
3872
|
* @description Update Firm (partial updates supported).
|
|
3874
3873
|
* @tags firms
|
|
@@ -3877,7 +3876,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3877
3876
|
* @request PATCH:/v1/firms/{id}
|
|
3878
3877
|
* @secure
|
|
3879
3878
|
*/
|
|
3880
|
-
partialUpdate(id: number, updateFirm: UmaPartialUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3879
|
+
partialUpdate(id: number, updateFirm: UmaPartialUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3881
3880
|
/**
|
|
3882
3881
|
* @description Get Firms with pagination
|
|
3883
3882
|
* @tags firms
|
|
@@ -3886,11 +3885,60 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3886
3885
|
* @request POST:/v2/firms/list
|
|
3887
3886
|
* @secure
|
|
3888
3887
|
*/
|
|
3889
|
-
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError>>;
|
|
3888
|
+
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError, Format>>;
|
|
3889
|
+
}
|
|
3890
|
+
export class IdentityProviders<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3891
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3892
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3893
|
+
/**
|
|
3894
|
+
* @description Create Identity Provider
|
|
3895
|
+
* @tags identity_providers
|
|
3896
|
+
* @name Create
|
|
3897
|
+
* @summary Create Identity Provider
|
|
3898
|
+
* @request POST:/v1/b2b/identity-providers
|
|
3899
|
+
* @secure
|
|
3900
|
+
*/
|
|
3901
|
+
create(createIdentityProviderDto: UmaCreateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError, Format>>;
|
|
3902
|
+
/**
|
|
3903
|
+
* @description Delete Identity providers by id
|
|
3904
|
+
* @tags identity_providers
|
|
3905
|
+
* @name DeleteMany
|
|
3906
|
+
* @summary Delete Identity providers by ids
|
|
3907
|
+
* @request DELETE:/v1/b2b/identity-providers
|
|
3908
|
+
* @secure
|
|
3909
|
+
*/
|
|
3910
|
+
deleteMany(deleteIdentityProvidersDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3911
|
+
/**
|
|
3912
|
+
* @description Get Identity Provider by id
|
|
3913
|
+
* @tags identity_providers
|
|
3914
|
+
* @name GetById
|
|
3915
|
+
* @summary Get Identity Provider by id
|
|
3916
|
+
* @request GET:/v1/b2b/identity-providers/{id}
|
|
3917
|
+
* @secure
|
|
3918
|
+
*/
|
|
3919
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError, Format>>;
|
|
3920
|
+
/**
|
|
3921
|
+
* @description Update identity provider record
|
|
3922
|
+
* @tags identity_providers
|
|
3923
|
+
* @name Update
|
|
3924
|
+
* @summary Update identity provider record
|
|
3925
|
+
* @request PUT:/v1/b2b/identity-providers/{id}
|
|
3926
|
+
* @secure
|
|
3927
|
+
*/
|
|
3928
|
+
update(id: number, identityProvidersDto: UmaUpdateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError, Format>>;
|
|
3929
|
+
/**
|
|
3930
|
+
* @description Get Identity Providers with pagination
|
|
3931
|
+
* @tags identity_providers
|
|
3932
|
+
* @name Get
|
|
3933
|
+
* @summary Get Identity Providers with pagination
|
|
3934
|
+
* @request POST:/v2/b2b/identity-providers/list
|
|
3935
|
+
* @secure
|
|
3936
|
+
*/
|
|
3937
|
+
get(identityProvidersDto: UmaGetIdentityProvidersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetIdentityProvidersListSerializer, HandleError, Format>>;
|
|
3890
3938
|
}
|
|
3891
|
-
export class Locales<HandleError extends boolean = boolean> {
|
|
3892
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3893
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3939
|
+
export class Locales<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3940
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3941
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3894
3942
|
/**
|
|
3895
3943
|
* @description get all language locales
|
|
3896
3944
|
* @tags locales
|
|
@@ -3898,11 +3946,69 @@ export class Locales<HandleError extends boolean = boolean> {
|
|
|
3898
3946
|
* @summary get all locales
|
|
3899
3947
|
* @request GET:/v1/locales
|
|
3900
3948
|
*/
|
|
3901
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError>>;
|
|
3949
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError, Format>>;
|
|
3950
|
+
}
|
|
3951
|
+
export class Microservices<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3952
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3953
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3954
|
+
/**
|
|
3955
|
+
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3956
|
+
* @tags microservices
|
|
3957
|
+
* @name Create
|
|
3958
|
+
* @summary Create Microservice
|
|
3959
|
+
* @request POST:/v1/b2b/microservices
|
|
3960
|
+
* @secure
|
|
3961
|
+
*/
|
|
3962
|
+
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
|
|
3963
|
+
/**
|
|
3964
|
+
* @description Delete microservice by id
|
|
3965
|
+
* @tags microservices
|
|
3966
|
+
* @name DeleteMany
|
|
3967
|
+
* @summary Delete microservice by id
|
|
3968
|
+
* @request DELETE:/v1/b2b/microservices
|
|
3969
|
+
* @secure
|
|
3970
|
+
*/
|
|
3971
|
+
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3972
|
+
/**
|
|
3973
|
+
* @description Get Microservice by id
|
|
3974
|
+
* @tags microservices
|
|
3975
|
+
* @name GetById
|
|
3976
|
+
* @summary Get Microservice by id
|
|
3977
|
+
* @request GET:/v1/b2b/microservices/{id}
|
|
3978
|
+
* @secure
|
|
3979
|
+
*/
|
|
3980
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
|
|
3981
|
+
/**
|
|
3982
|
+
* @description Update microservice record
|
|
3983
|
+
* @tags microservices
|
|
3984
|
+
* @name Update
|
|
3985
|
+
* @summary Update microservice record
|
|
3986
|
+
* @request PUT:/v1/b2b/microservices/{id}
|
|
3987
|
+
* @secure
|
|
3988
|
+
*/
|
|
3989
|
+
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
|
|
3990
|
+
/**
|
|
3991
|
+
* @description Update microservice record (partial updates supported)
|
|
3992
|
+
* @tags microservices
|
|
3993
|
+
* @name PartialUpdate
|
|
3994
|
+
* @summary Update microservice record (partial updates supported)
|
|
3995
|
+
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3996
|
+
* @secure
|
|
3997
|
+
*/
|
|
3998
|
+
partialUpdate(id: number, microserviceDto: UmaPartialUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
|
|
3999
|
+
/**
|
|
4000
|
+
* @description Get microservices with pagination
|
|
4001
|
+
* @tags microservices
|
|
4002
|
+
* @name Get
|
|
4003
|
+
* @summary Get microservices with pagination
|
|
4004
|
+
* @request POST:/v2/b2b/microservices/list
|
|
4005
|
+
* @secure
|
|
4006
|
+
*/
|
|
4007
|
+
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError, Format>>;
|
|
3902
4008
|
}
|
|
3903
|
-
export class Permissions<HandleError extends boolean = boolean> {
|
|
3904
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3905
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4009
|
+
export class Permissions<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4010
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4011
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3906
4012
|
/**
|
|
3907
4013
|
* @description Create Permission
|
|
3908
4014
|
* @tags permissions
|
|
@@ -3911,7 +4017,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3911
4017
|
* @request POST:/v1/permissions
|
|
3912
4018
|
* @secure
|
|
3913
4019
|
*/
|
|
3914
|
-
create(createPermission: UmaCreatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
4020
|
+
create(createPermission: UmaCreatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3915
4021
|
/**
|
|
3916
4022
|
* @description Delete Permissions by id
|
|
3917
4023
|
* @tags permissions
|
|
@@ -3920,7 +4026,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3920
4026
|
* @request DELETE:/v1/permissions
|
|
3921
4027
|
* @secure
|
|
3922
4028
|
*/
|
|
3923
|
-
deleteMany(deletePermissions: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4029
|
+
deleteMany(deletePermissions: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3924
4030
|
/**
|
|
3925
4031
|
* @description Get Permission by id
|
|
3926
4032
|
* @tags permissions
|
|
@@ -3929,7 +4035,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3929
4035
|
* @request GET:/v1/permissions/{id}
|
|
3930
4036
|
* @secure
|
|
3931
4037
|
*/
|
|
3932
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
4038
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3933
4039
|
/**
|
|
3934
4040
|
* @description Update Permission
|
|
3935
4041
|
* @tags permissions
|
|
@@ -3938,7 +4044,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3938
4044
|
* @request PUT:/v1/permissions/{id}
|
|
3939
4045
|
* @secure
|
|
3940
4046
|
*/
|
|
3941
|
-
update(id: number, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
4047
|
+
update(id: number, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3942
4048
|
/**
|
|
3943
4049
|
* @description Partial Update Permission
|
|
3944
4050
|
* @tags permissions
|
|
@@ -3947,7 +4053,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3947
4053
|
* @request PATCH:/v1/permissions/{id}
|
|
3948
4054
|
* @secure
|
|
3949
4055
|
*/
|
|
3950
|
-
partialUpdate(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
4056
|
+
partialUpdate(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3951
4057
|
/**
|
|
3952
4058
|
* @description Get Permissions with pagination
|
|
3953
4059
|
* @tags permissions
|
|
@@ -3956,11 +4062,11 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3956
4062
|
* @request POST:/v2/permissions/list
|
|
3957
4063
|
* @secure
|
|
3958
4064
|
*/
|
|
3959
|
-
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError>>;
|
|
4065
|
+
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError, Format>>;
|
|
3960
4066
|
}
|
|
3961
|
-
export class PublicSettings<HandleError extends boolean = boolean> {
|
|
3962
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3963
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4067
|
+
export class PublicSettings<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4068
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4069
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3964
4070
|
/**
|
|
3965
4071
|
* @description Get public settings
|
|
3966
4072
|
* @tags public_settings
|
|
@@ -3968,11 +4074,11 @@ export class PublicSettings<HandleError extends boolean = boolean> {
|
|
|
3968
4074
|
* @summary Get public settings
|
|
3969
4075
|
* @request GET:/v1/public-settings
|
|
3970
4076
|
*/
|
|
3971
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError>>;
|
|
4077
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError, Format>>;
|
|
3972
4078
|
}
|
|
3973
|
-
export class Roles<HandleError extends boolean = boolean> {
|
|
3974
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3975
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4079
|
+
export class Roles<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4080
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4081
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3976
4082
|
/**
|
|
3977
4083
|
* @description Create Role
|
|
3978
4084
|
* @tags roles
|
|
@@ -3981,7 +4087,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3981
4087
|
* @request POST:/v1/roles
|
|
3982
4088
|
* @secure
|
|
3983
4089
|
*/
|
|
3984
|
-
create(createRole: UmaCreateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
4090
|
+
create(createRole: UmaCreateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
3985
4091
|
/**
|
|
3986
4092
|
* @description Delete Roles by ids
|
|
3987
4093
|
* @tags roles
|
|
@@ -3990,7 +4096,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3990
4096
|
* @request DELETE:/v1/roles
|
|
3991
4097
|
* @secure
|
|
3992
4098
|
*/
|
|
3993
|
-
deleteMany(deleteRoles: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4099
|
+
deleteMany(deleteRoles: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3994
4100
|
/**
|
|
3995
4101
|
* @description Get Role by id
|
|
3996
4102
|
* @tags roles
|
|
@@ -3999,7 +4105,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3999
4105
|
* @request GET:/v1/roles/{id}
|
|
4000
4106
|
* @secure
|
|
4001
4107
|
*/
|
|
4002
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
4108
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4003
4109
|
/**
|
|
4004
4110
|
* @description Update Role
|
|
4005
4111
|
* @tags roles
|
|
@@ -4008,67 +4114,236 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
4008
4114
|
* @request PUT:/v1/roles/{id}
|
|
4009
4115
|
* @secure
|
|
4010
4116
|
*/
|
|
4011
|
-
update(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
4117
|
+
update(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4012
4118
|
/**
|
|
4013
4119
|
* @description Partial Update Role. Only the fields provided in the body will be updated.
|
|
4014
4120
|
* @tags roles
|
|
4015
4121
|
* @name PartialUpdate
|
|
4016
|
-
* @summary Partial Update Role
|
|
4017
|
-
* @request PATCH:/v1/roles/{id}
|
|
4122
|
+
* @summary Partial Update Role
|
|
4123
|
+
* @request PATCH:/v1/roles/{id}
|
|
4124
|
+
* @secure
|
|
4125
|
+
*/
|
|
4126
|
+
partialUpdate(id: number, updateRole: UmaPartialUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4127
|
+
/**
|
|
4128
|
+
* @description Generate Role PDF
|
|
4129
|
+
* @tags roles
|
|
4130
|
+
* @name GenerateAsPdf
|
|
4131
|
+
* @summary Generate Role PDF
|
|
4132
|
+
* @request POST:/v1/roles/{id}/generate-as-pdf
|
|
4133
|
+
* @secure
|
|
4134
|
+
*/
|
|
4135
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
4136
|
+
/**
|
|
4137
|
+
* @description Get Roles with pagination
|
|
4138
|
+
* @tags roles
|
|
4139
|
+
* @name Get
|
|
4140
|
+
* @summary Get Roles with pagination
|
|
4141
|
+
* @request POST:/v2/roles/list
|
|
4142
|
+
* @secure
|
|
4143
|
+
*/
|
|
4144
|
+
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError, Format>>;
|
|
4145
|
+
}
|
|
4146
|
+
export class RoleTypes<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4147
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4148
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4149
|
+
/**
|
|
4150
|
+
* @description Create Role Type
|
|
4151
|
+
* @tags role_types
|
|
4152
|
+
* @name Create
|
|
4153
|
+
* @summary Create Role Type
|
|
4154
|
+
* @request POST:/v1/b2b/role-types
|
|
4155
|
+
* @secure
|
|
4156
|
+
*/
|
|
4157
|
+
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError, Format>>;
|
|
4158
|
+
/**
|
|
4159
|
+
* @description Delete Role Types by ids
|
|
4160
|
+
* @tags role_types
|
|
4161
|
+
* @name DeleteMany
|
|
4162
|
+
* @summary Delete Role Types by ids
|
|
4163
|
+
* @request DELETE:/v1/b2b/role-types
|
|
4164
|
+
* @secure
|
|
4165
|
+
*/
|
|
4166
|
+
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4167
|
+
/**
|
|
4168
|
+
* @description Get Role Type by id
|
|
4169
|
+
* @tags role_types
|
|
4170
|
+
* @name GetById
|
|
4171
|
+
* @summary Get Role Type by id
|
|
4172
|
+
* @request GET:/v1/b2b/role-types/{id}
|
|
4173
|
+
* @secure
|
|
4174
|
+
*/
|
|
4175
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError, Format>>;
|
|
4176
|
+
/**
|
|
4177
|
+
* @description Update Role Type
|
|
4178
|
+
* @tags role_types
|
|
4179
|
+
* @name Update
|
|
4180
|
+
* @summary Update Role Type
|
|
4181
|
+
* @request PUT:/v1/b2b/role-types/{id}
|
|
4182
|
+
* @secure
|
|
4183
|
+
*/
|
|
4184
|
+
update(id: number, updateRoleType: UmaUpdateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError, Format>>;
|
|
4185
|
+
/**
|
|
4186
|
+
* @description Get Role Types with pagination
|
|
4187
|
+
* @tags role_types
|
|
4188
|
+
* @name Get
|
|
4189
|
+
* @summary Get Role Types with pagination
|
|
4190
|
+
* @request POST:/v2/b2b/role-types/list
|
|
4191
|
+
* @secure
|
|
4192
|
+
*/
|
|
4193
|
+
get(getRoleTypes: UmaGetRoleTypesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRoleTypesListSerializer, HandleError, Format>>;
|
|
4194
|
+
}
|
|
4195
|
+
export class SecretNotes<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4196
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4197
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4198
|
+
/**
|
|
4199
|
+
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
4200
|
+
* @tags secret_notes
|
|
4201
|
+
* @name Create
|
|
4202
|
+
* @summary Create Secret note
|
|
4203
|
+
* @request POST:/v1/secret-notes
|
|
4204
|
+
* @secure
|
|
4205
|
+
*/
|
|
4206
|
+
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError, Format>>;
|
|
4207
|
+
/**
|
|
4208
|
+
* @description Get Secret note
|
|
4209
|
+
* @tags secret_notes
|
|
4210
|
+
* @name GetOne
|
|
4211
|
+
* @summary Get Secret note
|
|
4212
|
+
* @request POST:/v1/secret-notes/fetch
|
|
4213
|
+
*/
|
|
4214
|
+
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError, Format>>;
|
|
4215
|
+
/**
|
|
4216
|
+
* @description Send Secret note verification code
|
|
4217
|
+
* @tags secret_notes
|
|
4218
|
+
* @name SendVerificationCode
|
|
4219
|
+
* @summary Send Secret note verification code
|
|
4220
|
+
* @request PUT:/v1/secret-notes/verification
|
|
4221
|
+
*/
|
|
4222
|
+
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4223
|
+
}
|
|
4224
|
+
export class Sessions<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4225
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4226
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4227
|
+
/**
|
|
4228
|
+
* @description et current user sessions info
|
|
4229
|
+
* @tags sessions
|
|
4230
|
+
* @name GetCurrentUserSessions
|
|
4231
|
+
* @summary Get current user sessions info
|
|
4232
|
+
* @request GET:/v1/auth/sessions
|
|
4233
|
+
* @secure
|
|
4234
|
+
*/
|
|
4235
|
+
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSessionsListSerializer, HandleError, Format>>;
|
|
4236
|
+
/**
|
|
4237
|
+
* @description Delete current user sessions by pair id's
|
|
4238
|
+
* @tags sessions
|
|
4239
|
+
* @name DeleteCurrentUserSessions
|
|
4240
|
+
* @summary Delete current user sessions by pair id's
|
|
4241
|
+
* @request DELETE:/v1/auth/sessions
|
|
4242
|
+
* @secure
|
|
4243
|
+
*/
|
|
4244
|
+
deleteCurrentUserSessions(deleteSessions: UmaDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4245
|
+
}
|
|
4246
|
+
export class SystemUsers<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4247
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4248
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4249
|
+
/**
|
|
4250
|
+
* @description Create System User
|
|
4251
|
+
* @tags system_users
|
|
4252
|
+
* @name Create
|
|
4253
|
+
* @summary Create System User
|
|
4254
|
+
* @request POST:/v1/users/system
|
|
4255
|
+
* @secure
|
|
4256
|
+
*/
|
|
4257
|
+
create(createSystemUser: UmaCreateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4258
|
+
/**
|
|
4259
|
+
* @description Delete System user by id
|
|
4260
|
+
* @tags system_users
|
|
4261
|
+
* @name DeleteMany
|
|
4262
|
+
* @summary Delete System user by id
|
|
4263
|
+
* @request DELETE:/v1/users/system
|
|
4264
|
+
* @secure
|
|
4265
|
+
*/
|
|
4266
|
+
deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4267
|
+
/**
|
|
4268
|
+
* @description Get System users with pagination
|
|
4269
|
+
* @tags System_users
|
|
4270
|
+
* @name Get
|
|
4271
|
+
* @summary Get System users with pagination
|
|
4272
|
+
* @request POST:/v1/users/system/list
|
|
4273
|
+
* @secure
|
|
4274
|
+
*/
|
|
4275
|
+
get(getSystemUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError, Format>>;
|
|
4276
|
+
/**
|
|
4277
|
+
* @description Get System User by id
|
|
4278
|
+
* @tags system_users
|
|
4279
|
+
* @name GetById
|
|
4280
|
+
* @summary Get System User by id
|
|
4281
|
+
* @request GET:/v1/users/system/{id}
|
|
4282
|
+
* @secure
|
|
4283
|
+
*/
|
|
4284
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4285
|
+
/**
|
|
4286
|
+
* @description Update System User
|
|
4287
|
+
* @tags system_users
|
|
4288
|
+
* @name Update
|
|
4289
|
+
* @summary Update System User
|
|
4290
|
+
* @request PUT:/v1/users/system/{id}
|
|
4291
|
+
* @secure
|
|
4292
|
+
*/
|
|
4293
|
+
update(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4294
|
+
/**
|
|
4295
|
+
* @description Partial Update System User
|
|
4296
|
+
* @tags system_users
|
|
4297
|
+
* @name PartialUpdate
|
|
4298
|
+
* @summary Partial Update System User
|
|
4299
|
+
* @request PATCH:/v1/users/system/{id}
|
|
4018
4300
|
* @secure
|
|
4019
4301
|
*/
|
|
4020
|
-
partialUpdate(id: number,
|
|
4302
|
+
partialUpdate(id: number, updateSystemUser: UmaPartialUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4021
4303
|
/**
|
|
4022
|
-
* @description Generate
|
|
4023
|
-
* @tags
|
|
4304
|
+
* @description Generate System User PDF
|
|
4305
|
+
* @tags system_users
|
|
4024
4306
|
* @name GenerateAsPdf
|
|
4025
|
-
* @summary Generate
|
|
4026
|
-
* @request POST:/v1/
|
|
4307
|
+
* @summary Generate System User PDF
|
|
4308
|
+
* @request POST:/v1/users/system/{id}/generate-as-pdf
|
|
4027
4309
|
* @secure
|
|
4028
4310
|
*/
|
|
4029
|
-
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4311
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
4030
4312
|
/**
|
|
4031
|
-
* @description
|
|
4032
|
-
* @tags
|
|
4033
|
-
* @name
|
|
4034
|
-
* @summary
|
|
4035
|
-
* @request
|
|
4313
|
+
* @description Change System User status
|
|
4314
|
+
* @tags system_users
|
|
4315
|
+
* @name ChangeStatus
|
|
4316
|
+
* @summary Change System User status
|
|
4317
|
+
* @request PATCH:/v1/users/system/{id}/status
|
|
4036
4318
|
* @secure
|
|
4037
4319
|
*/
|
|
4038
|
-
|
|
4320
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4039
4321
|
}
|
|
4040
|
-
export class
|
|
4041
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4042
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4322
|
+
export class TablePresets<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4323
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4324
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4043
4325
|
/**
|
|
4044
|
-
* @description
|
|
4045
|
-
* @tags
|
|
4046
|
-
* @name
|
|
4047
|
-
* @summary
|
|
4048
|
-
* @request
|
|
4326
|
+
* @description Get user Table Presets
|
|
4327
|
+
* @tags table_presets
|
|
4328
|
+
* @name GetUserPresets
|
|
4329
|
+
* @summary Get user Table Presets
|
|
4330
|
+
* @request GET:/v1/b2b/table-presets
|
|
4049
4331
|
* @secure
|
|
4050
4332
|
*/
|
|
4051
|
-
|
|
4052
|
-
/**
|
|
4053
|
-
* @description Get Secret note
|
|
4054
|
-
* @tags secret_notes
|
|
4055
|
-
* @name GetOne
|
|
4056
|
-
* @summary Get Secret note
|
|
4057
|
-
* @request POST:/v1/secret-notes/fetch
|
|
4058
|
-
*/
|
|
4059
|
-
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
4333
|
+
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError, Format>>;
|
|
4060
4334
|
/**
|
|
4061
|
-
* @description
|
|
4062
|
-
* @tags
|
|
4063
|
-
* @name
|
|
4064
|
-
* @summary
|
|
4065
|
-
* @request PUT:/v1/
|
|
4335
|
+
* @description Upsert Table Preset
|
|
4336
|
+
* @tags table_presets
|
|
4337
|
+
* @name Upsert
|
|
4338
|
+
* @summary Upsert Table Preset
|
|
4339
|
+
* @request PUT:/v1/b2b/table-presets
|
|
4340
|
+
* @secure
|
|
4066
4341
|
*/
|
|
4067
|
-
|
|
4342
|
+
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError, Format>>;
|
|
4068
4343
|
}
|
|
4069
|
-
export class Tags<HandleError extends boolean = boolean> {
|
|
4070
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4071
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4344
|
+
export class Tags<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4345
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4346
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4072
4347
|
/**
|
|
4073
4348
|
* @description Create Tag
|
|
4074
4349
|
* @tags tags
|
|
@@ -4077,7 +4352,7 @@ export class Tags<HandleError extends boolean = boolean> {
|
|
|
4077
4352
|
* @request POST:/v1/tags
|
|
4078
4353
|
* @secure
|
|
4079
4354
|
*/
|
|
4080
|
-
create(createTagDto: UmaCreateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
4355
|
+
create(createTagDto: UmaCreateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError, Format>>;
|
|
4081
4356
|
/**
|
|
4082
4357
|
* @description Delete Tags
|
|
4083
4358
|
* @tags tags
|
|
@@ -4086,7 +4361,7 @@ export class Tags<HandleError extends boolean = boolean> {
|
|
|
4086
4361
|
* @request DELETE:/v1/tags
|
|
4087
4362
|
* @secure
|
|
4088
4363
|
*/
|
|
4089
|
-
deleteMany(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4364
|
+
deleteMany(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4090
4365
|
/**
|
|
4091
4366
|
* @description Get Tags List. Available fields for sorting are `id, name, created_at, updated_at`. Search is performed by `name`
|
|
4092
4367
|
* @tags tags
|
|
@@ -4095,7 +4370,7 @@ export class Tags<HandleError extends boolean = boolean> {
|
|
|
4095
4370
|
* @request POST:/v1/tags/list
|
|
4096
4371
|
* @secure
|
|
4097
4372
|
*/
|
|
4098
|
-
get(getTagsDto: UmaGetTagsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTagsListSerializer, HandleError>>;
|
|
4373
|
+
get(getTagsDto: UmaGetTagsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTagsListSerializer, HandleError, Format>>;
|
|
4099
4374
|
/**
|
|
4100
4375
|
* @description Get Tags By ID
|
|
4101
4376
|
* @tags tags
|
|
@@ -4104,7 +4379,7 @@ export class Tags<HandleError extends boolean = boolean> {
|
|
|
4104
4379
|
* @request GET:/v1/tags/{id}
|
|
4105
4380
|
* @secure
|
|
4106
4381
|
*/
|
|
4107
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
4382
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError, Format>>;
|
|
4108
4383
|
/**
|
|
4109
4384
|
* @description Update Tag
|
|
4110
4385
|
* @tags tags
|
|
@@ -4113,175 +4388,33 @@ export class Tags<HandleError extends boolean = boolean> {
|
|
|
4113
4388
|
* @request PUT:/v1/tags/{id}
|
|
4114
4389
|
* @secure
|
|
4115
4390
|
*/
|
|
4116
|
-
update(id: number, updateTagDto: UmaUpdateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
4117
|
-
}
|
|
4118
|
-
export class B2CUsers<HandleError extends boolean = boolean> {
|
|
4119
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4120
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4121
|
-
/**
|
|
4122
|
-
* @description Create B2C User
|
|
4123
|
-
* @tags b2c_users
|
|
4124
|
-
* @name Create
|
|
4125
|
-
* @summary Create B2C User
|
|
4126
|
-
* @request POST:/v1/users/b2c
|
|
4127
|
-
* @secure
|
|
4128
|
-
*/
|
|
4129
|
-
create(createB2CUser: UmaCreateB2CUserDto, headers?: {
|
|
4130
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
4131
|
-
"X-Accept"?: string;
|
|
4132
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4133
|
-
/**
|
|
4134
|
-
* @description Soft Delete B2C users
|
|
4135
|
-
* @tags b2c_users
|
|
4136
|
-
* @name DeleteMany
|
|
4137
|
-
* @summary Soft Delete B2C users
|
|
4138
|
-
* @request DELETE:/v1/users/b2c
|
|
4139
|
-
* @secure
|
|
4140
|
-
*/
|
|
4141
|
-
deleteMany(deleteB2CUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4142
|
-
/**
|
|
4143
|
-
* @description Get B2C User by id
|
|
4144
|
-
* @tags b2c_users
|
|
4145
|
-
* @name GetById
|
|
4146
|
-
* @summary Get B2C User by id
|
|
4147
|
-
* @request GET:/v1/users/b2c/{id}
|
|
4148
|
-
* @secure
|
|
4149
|
-
*/
|
|
4150
|
-
getById(id: number, headers?: {
|
|
4151
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
4152
|
-
"X-Accept"?: string;
|
|
4153
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4154
|
-
/**
|
|
4155
|
-
* @description Update B2C User
|
|
4156
|
-
* @tags b2c_users
|
|
4157
|
-
* @name Update
|
|
4158
|
-
* @summary Update B2C User
|
|
4159
|
-
* @request PUT:/v1/users/b2c/{id}
|
|
4160
|
-
* @secure
|
|
4161
|
-
*/
|
|
4162
|
-
update(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
|
|
4163
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
4164
|
-
"X-Accept"?: string;
|
|
4165
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4166
|
-
/**
|
|
4167
|
-
* @description Partial Update B2C User
|
|
4168
|
-
* @tags b2c_users
|
|
4169
|
-
* @name PartialUpdate
|
|
4170
|
-
* @summary Partial Update B2C User
|
|
4171
|
-
* @request PATCH:/v1/users/b2c/{id}
|
|
4172
|
-
* @secure
|
|
4173
|
-
*/
|
|
4174
|
-
partialUpdate(id: number, createB2BUser: UmaPartialUpdateB2CUserDto, headers?: {
|
|
4175
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
4176
|
-
"X-Accept"?: string;
|
|
4177
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4178
|
-
/**
|
|
4179
|
-
* @description Generate B2C User PDF
|
|
4180
|
-
* @tags b2c_users
|
|
4181
|
-
* @name GenerateAsPdf
|
|
4182
|
-
* @summary Generate B2C User PDF
|
|
4183
|
-
* @request POST:/v1/users/b2c/{id}/generate-as-pdf
|
|
4184
|
-
* @secure
|
|
4185
|
-
*/
|
|
4186
|
-
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4187
|
-
/**
|
|
4188
|
-
* @description Change B2C User status
|
|
4189
|
-
* @tags b2c_users
|
|
4190
|
-
* @name ChangeStatus
|
|
4191
|
-
* @summary Change B2C User status
|
|
4192
|
-
* @request PATCH:/v1/users/b2c/{id}/status
|
|
4193
|
-
* @secure
|
|
4194
|
-
*/
|
|
4195
|
-
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4196
|
-
/**
|
|
4197
|
-
* @description Get B2C users with pagination
|
|
4198
|
-
* @tags b2c_users
|
|
4199
|
-
* @name Get
|
|
4200
|
-
* @summary Get B2C users with pagination
|
|
4201
|
-
* @request POST:/v2/users/b2c/list
|
|
4202
|
-
* @secure
|
|
4203
|
-
*/
|
|
4204
|
-
get(getB2CUsers: UmaGetB2CUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2CUserSerializer, HandleError>>;
|
|
4391
|
+
update(id: number, updateTagDto: UmaUpdateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError, Format>>;
|
|
4205
4392
|
}
|
|
4206
|
-
export class
|
|
4207
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4208
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4393
|
+
export class TrustedDevices<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4394
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4395
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4209
4396
|
/**
|
|
4210
|
-
* @description
|
|
4211
|
-
* @tags
|
|
4397
|
+
* @description Delete trusted devices
|
|
4398
|
+
* @tags trusted_devices
|
|
4212
4399
|
* @name DeleteMany
|
|
4213
|
-
* @summary
|
|
4214
|
-
* @request DELETE:/v1/
|
|
4215
|
-
* @secure
|
|
4216
|
-
*/
|
|
4217
|
-
deleteMany(deleteB2BUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4218
|
-
/**
|
|
4219
|
-
* @description Get B2B User by id
|
|
4220
|
-
* @tags b2b_users
|
|
4221
|
-
* @name GetById
|
|
4222
|
-
* @summary Get B2B User by id
|
|
4223
|
-
* @request GET:/v1/users/b2b/{id}
|
|
4224
|
-
* @secure
|
|
4225
|
-
*/
|
|
4226
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4227
|
-
/**
|
|
4228
|
-
* @description Update B2B User (partial updates supported)
|
|
4229
|
-
* @tags b2b_users
|
|
4230
|
-
* @name PartialUpdate
|
|
4231
|
-
* @summary Update B2B User (partial updates supported)
|
|
4232
|
-
* @request PATCH:/v1/users/b2b/{id}
|
|
4233
|
-
* @secure
|
|
4234
|
-
*/
|
|
4235
|
-
partialUpdate(id: number, createB2BUserNew: UmaPartialUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4236
|
-
/**
|
|
4237
|
-
* @description Generate B2B User PDF
|
|
4238
|
-
* @tags b2b_users
|
|
4239
|
-
* @name GenerateAsPdf
|
|
4240
|
-
* @summary Generate B2B User PDF
|
|
4241
|
-
* @request POST:/v1/users/b2b/{id}/generate-as-pdf
|
|
4242
|
-
* @secure
|
|
4243
|
-
*/
|
|
4244
|
-
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4245
|
-
/**
|
|
4246
|
-
* @description Change B2B User status
|
|
4247
|
-
* @tags b2b_users
|
|
4248
|
-
* @name ChangeStatus
|
|
4249
|
-
* @summary Change B2B User status
|
|
4250
|
-
* @request PATCH:/v1/users/b2b/{id}/status
|
|
4251
|
-
* @secure
|
|
4252
|
-
*/
|
|
4253
|
-
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4254
|
-
/**
|
|
4255
|
-
* @description Create B2B User
|
|
4256
|
-
* @tags b2b_users
|
|
4257
|
-
* @name Create
|
|
4258
|
-
* @summary Create B2B User
|
|
4259
|
-
* @request POST:/v2/users/b2b
|
|
4400
|
+
* @summary Delete trusted devices
|
|
4401
|
+
* @request DELETE:/v1/auth/trusted-devices
|
|
4260
4402
|
* @secure
|
|
4261
4403
|
*/
|
|
4262
|
-
|
|
4404
|
+
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4263
4405
|
/**
|
|
4264
|
-
* @description Get
|
|
4265
|
-
* @tags
|
|
4406
|
+
* @description Get trusted devices
|
|
4407
|
+
* @tags trusted_devices
|
|
4266
4408
|
* @name Get
|
|
4267
|
-
* @summary Get
|
|
4268
|
-
* @request POST:/
|
|
4269
|
-
* @secure
|
|
4270
|
-
*/
|
|
4271
|
-
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
4272
|
-
/**
|
|
4273
|
-
* @description Update B2B User
|
|
4274
|
-
* @tags b2b_users
|
|
4275
|
-
* @name Update
|
|
4276
|
-
* @summary Update B2B User
|
|
4277
|
-
* @request PUT:/v2/users/b2b/{id}
|
|
4409
|
+
* @summary Get trusted devices
|
|
4410
|
+
* @request POST:/v1/auth/trusted-devices/list
|
|
4278
4411
|
* @secure
|
|
4279
4412
|
*/
|
|
4280
|
-
|
|
4413
|
+
get(getTrustedDevicesListDto: UmaGetTrustedDevicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTrustedDevicesListSerializer, HandleError, Format>>;
|
|
4281
4414
|
}
|
|
4282
|
-
export class UserDetails<HandleError extends boolean = boolean> {
|
|
4283
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4284
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4415
|
+
export class UserDetails<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4416
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4417
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4285
4418
|
/**
|
|
4286
4419
|
* @description Get User Details by JWT-token
|
|
4287
4420
|
* @tags user_details
|
|
@@ -4290,7 +4423,7 @@ export class UserDetails<HandleError extends boolean = boolean> {
|
|
|
4290
4423
|
* @request POST:/v1/users/details/show
|
|
4291
4424
|
* @secure
|
|
4292
4425
|
*/
|
|
4293
|
-
getUserDetails(getUserDetailsDto: UmaGetUserDetailsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserDetailsSerializer, HandleError>>;
|
|
4426
|
+
getUserDetails(getUserDetailsDto: UmaGetUserDetailsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserDetailsSerializer, HandleError, Format>>;
|
|
4294
4427
|
/**
|
|
4295
4428
|
* @description Revoke user sessions by JWT-token
|
|
4296
4429
|
* @tags user_details
|
|
@@ -4299,11 +4432,11 @@ export class UserDetails<HandleError extends boolean = boolean> {
|
|
|
4299
4432
|
* @request POST:/v1/users/revoke-sessions
|
|
4300
4433
|
* @secure
|
|
4301
4434
|
*/
|
|
4302
|
-
revokeSessions(revokeUserSessionsDto: UmaRevokeUserSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4435
|
+
revokeSessions(revokeUserSessionsDto: UmaRevokeUserSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4303
4436
|
}
|
|
4304
|
-
export class UsersCommon<HandleError extends boolean = boolean> {
|
|
4305
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4306
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4437
|
+
export class UsersCommon<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4438
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4439
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4307
4440
|
/**
|
|
4308
4441
|
* @description Reset B2B/B2C user rate limits
|
|
4309
4442
|
* @tags users_common
|
|
@@ -4312,7 +4445,7 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4312
4445
|
* @request PATCH:/v1/users/rate-limits/reset
|
|
4313
4446
|
* @secure
|
|
4314
4447
|
*/
|
|
4315
|
-
resetRateLimits(resetRateLimitsDto: UmaResetRateLimitsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4448
|
+
resetRateLimits(resetRateLimitsDto: UmaResetRateLimitsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4316
4449
|
/**
|
|
4317
4450
|
* @description Get user status change reasons list
|
|
4318
4451
|
* @tags users_common
|
|
@@ -4321,7 +4454,7 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4321
4454
|
* @request POST:/v1/users/status-change-reasons/list
|
|
4322
4455
|
* @secure
|
|
4323
4456
|
*/
|
|
4324
|
-
getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto: UmaGetUserStatusChangeReasonsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserStatusChangeReasonsListSerializer, HandleError>>;
|
|
4457
|
+
getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto: UmaGetUserStatusChangeReasonsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserStatusChangeReasonsListSerializer, HandleError, Format>>;
|
|
4325
4458
|
/**
|
|
4326
4459
|
* @description Link Watchmen user to UMA
|
|
4327
4460
|
* @tags users_common
|
|
@@ -4330,87 +4463,33 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4330
4463
|
* @request POST:/v1/users/watchmen/link
|
|
4331
4464
|
* @secure
|
|
4332
4465
|
*/
|
|
4333
|
-
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4466
|
+
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4334
4467
|
}
|
|
4335
|
-
export class
|
|
4336
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4337
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4338
|
-
/**
|
|
4339
|
-
* @description Create System User
|
|
4340
|
-
* @tags system_users
|
|
4341
|
-
* @name Create
|
|
4342
|
-
* @summary Create System User
|
|
4343
|
-
* @request POST:/v1/users/system
|
|
4344
|
-
* @secure
|
|
4345
|
-
*/
|
|
4346
|
-
create(createSystemUser: UmaCreateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4347
|
-
/**
|
|
4348
|
-
* @description Delete System user by id
|
|
4349
|
-
* @tags system_users
|
|
4350
|
-
* @name DeleteMany
|
|
4351
|
-
* @summary Delete System user by id
|
|
4352
|
-
* @request DELETE:/v1/users/system
|
|
4353
|
-
* @secure
|
|
4354
|
-
*/
|
|
4355
|
-
deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4356
|
-
/**
|
|
4357
|
-
* @description Get System users with pagination
|
|
4358
|
-
* @tags System_users
|
|
4359
|
-
* @name Get
|
|
4360
|
-
* @summary Get System users with pagination
|
|
4361
|
-
* @request POST:/v1/users/system/list
|
|
4362
|
-
* @secure
|
|
4363
|
-
*/
|
|
4364
|
-
get(getSystemUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError>>;
|
|
4365
|
-
/**
|
|
4366
|
-
* @description Get System User by id
|
|
4367
|
-
* @tags system_users
|
|
4368
|
-
* @name GetById
|
|
4369
|
-
* @summary Get System User by id
|
|
4370
|
-
* @request GET:/v1/users/system/{id}
|
|
4371
|
-
* @secure
|
|
4372
|
-
*/
|
|
4373
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4374
|
-
/**
|
|
4375
|
-
* @description Update System User
|
|
4376
|
-
* @tags system_users
|
|
4377
|
-
* @name Update
|
|
4378
|
-
* @summary Update System User
|
|
4379
|
-
* @request PUT:/v1/users/system/{id}
|
|
4380
|
-
* @secure
|
|
4381
|
-
*/
|
|
4382
|
-
update(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4383
|
-
/**
|
|
4384
|
-
* @description Partial Update System User
|
|
4385
|
-
* @tags system_users
|
|
4386
|
-
* @name PartialUpdate
|
|
4387
|
-
* @summary Partial Update System User
|
|
4388
|
-
* @request PATCH:/v1/users/system/{id}
|
|
4389
|
-
* @secure
|
|
4390
|
-
*/
|
|
4391
|
-
partialUpdate(id: number, updateSystemUser: UmaPartialUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4468
|
+
export class WatchmenAuth<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4469
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4470
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4392
4471
|
/**
|
|
4393
|
-
* @description Generate
|
|
4394
|
-
* @tags
|
|
4395
|
-
* @name
|
|
4396
|
-
* @summary Generate
|
|
4397
|
-
* @request POST:/v1/
|
|
4472
|
+
* @description Generate Watchmen Auth Token
|
|
4473
|
+
* @tags watchmen_auth
|
|
4474
|
+
* @name GenerateWatchmenAuthToken
|
|
4475
|
+
* @summary Generate Watchmen Auth Token
|
|
4476
|
+
* @request POST:/v1/auth/watchmen/authentication-tokens
|
|
4398
4477
|
* @secure
|
|
4399
4478
|
*/
|
|
4400
|
-
|
|
4479
|
+
generateWatchmenAuthToken(generateWatchmenAuthTokenDto: UmaGenerateWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenGenerationResponseSerializer, HandleError, Format>>;
|
|
4401
4480
|
/**
|
|
4402
|
-
* @description
|
|
4403
|
-
* @tags
|
|
4404
|
-
* @name
|
|
4405
|
-
* @summary
|
|
4406
|
-
* @request
|
|
4481
|
+
* @description Verify Watchmen Auth Token
|
|
4482
|
+
* @tags watchmen_auth
|
|
4483
|
+
* @name VerifyWatchmenAuthToken
|
|
4484
|
+
* @summary Verify Watchmen Auth Token
|
|
4485
|
+
* @request PUT:/v1/auth/watchmen/authentication-tokens/verify
|
|
4407
4486
|
* @secure
|
|
4408
4487
|
*/
|
|
4409
|
-
|
|
4488
|
+
verifyWatchmenAuthToken(verifyWatchmenAuthToken: UmaVerifyWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenDetailsResponseSerializer, HandleError, Format>>;
|
|
4410
4489
|
}
|
|
4411
|
-
export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
4412
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4413
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4490
|
+
export class WatchmenInstances<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4491
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4492
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4414
4493
|
/**
|
|
4415
4494
|
* @description Create Watchmen Instance
|
|
4416
4495
|
* @tags watchmen_instances
|
|
@@ -4419,7 +4498,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4419
4498
|
* @request POST:/v1/watchmen-instances
|
|
4420
4499
|
* @secure
|
|
4421
4500
|
*/
|
|
4422
|
-
create(createWatchmenInstance: UmaCreateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4501
|
+
create(createWatchmenInstance: UmaCreateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
|
|
4423
4502
|
/**
|
|
4424
4503
|
* @description Delete Watchmen Instances
|
|
4425
4504
|
* @tags watchmen_instances
|
|
@@ -4428,7 +4507,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4428
4507
|
* @request DELETE:/v1/watchmen-instances
|
|
4429
4508
|
* @secure
|
|
4430
4509
|
*/
|
|
4431
|
-
deleteMany(deleteWatchmenInstances: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4510
|
+
deleteMany(deleteWatchmenInstances: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4432
4511
|
/**
|
|
4433
4512
|
* @description Get Watchmen Instances with pagination. Available sort fields are `id, name, slug, url, created_at, updated_at`. Search is performed by `name, url, slug` fields.
|
|
4434
4513
|
* @tags watchmen_instances
|
|
@@ -4437,7 +4516,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4437
4516
|
* @request POST:/v1/watchmen-instances/list
|
|
4438
4517
|
* @secure
|
|
4439
4518
|
*/
|
|
4440
|
-
getMany(getWatchmenInstances: UmaGetWatchmenInstancesDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetWatchmenInstancesListSerializer, HandleError>>;
|
|
4519
|
+
getMany(getWatchmenInstances: UmaGetWatchmenInstancesDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetWatchmenInstancesListSerializer, HandleError, Format>>;
|
|
4441
4520
|
/**
|
|
4442
4521
|
* @description Get Watchmen Instance by id
|
|
4443
4522
|
* @tags watchmen_instances
|
|
@@ -4446,7 +4525,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4446
4525
|
* @request GET:/v1/watchmen-instances/{id}
|
|
4447
4526
|
* @secure
|
|
4448
4527
|
*/
|
|
4449
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4528
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
|
|
4450
4529
|
/**
|
|
4451
4530
|
* @description Update Watchmen Instance
|
|
4452
4531
|
* @tags watchmen_instances
|
|
@@ -4455,61 +4534,61 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4455
4534
|
* @request PUT:/v1/watchmen-instances/{id}
|
|
4456
4535
|
* @secure
|
|
4457
4536
|
*/
|
|
4458
|
-
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4537
|
+
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
|
|
4459
4538
|
}
|
|
4460
|
-
declare class _B2BAuth1<HandleError extends boolean = boolean> extends B2BAuth<HandleError> {
|
|
4461
|
-
basicLogin(...params: Parameters<B2BAuth<HandleError>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError>>;
|
|
4462
|
-
apiKeysLogin(...params: Parameters<B2BAuth<HandleError>['apiKeysLogin']>): Promise<ClientResponse<_UmaSimpleB2BLoginSerializer1, HandleError>>;
|
|
4539
|
+
declare class _B2BAuth1<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends B2BAuth<HandleError, Format> {
|
|
4540
|
+
basicLogin(...params: Parameters<B2BAuth<HandleError, Format>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError, Format>>;
|
|
4541
|
+
apiKeysLogin(...params: Parameters<B2BAuth<HandleError, Format>['apiKeysLogin']>): Promise<ClientResponse<_UmaSimpleB2BLoginSerializer1, HandleError, Format>>;
|
|
4463
4542
|
}
|
|
4464
|
-
declare class _B2CAuth1<HandleError extends boolean = boolean> extends B2CAuth<HandleError> {
|
|
4465
|
-
basicLogin(...params: Parameters<B2CAuth<HandleError>['basicLogin']>): Promise<ClientResponse<_UmaB2CLoginResultSerializer1, HandleError>>;
|
|
4543
|
+
declare class _B2CAuth1<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends B2CAuth<HandleError, Format> {
|
|
4544
|
+
basicLogin(...params: Parameters<B2CAuth<HandleError, Format>['basicLogin']>): Promise<ClientResponse<_UmaB2CLoginResultSerializer1, HandleError, Format>>;
|
|
4466
4545
|
}
|
|
4467
|
-
interface UmaClientConfig<HandleError extends boolean = boolean> extends JwtClientConfig<HandleError> {
|
|
4546
|
+
interface UmaClientConfig<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends JwtClientConfig<HandleError, Format> {
|
|
4468
4547
|
firmId: string;
|
|
4469
4548
|
branchId?: string;
|
|
4470
4549
|
authFormSlug: string;
|
|
4471
4550
|
}
|
|
4472
|
-
declare class UmaClient<HandleError extends boolean = boolean> extends JwtClient<HandleError> {
|
|
4473
|
-
protected readonly config: UmaClientConfig<HandleError>;
|
|
4474
|
-
request<Data = unknown, Body = unknown>(config: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
4475
|
-
}
|
|
4476
|
-
export class UmaApi<HandleError extends boolean = false> extends BaseApi<HandleError, UmaClient<HandleError>> {
|
|
4477
|
-
readonly config: UmaClientConfig<HandleError>;
|
|
4478
|
-
actionLog: ActionLogs<HandleError>;
|
|
4479
|
-
adminApiKeys: AdminApiKeys<HandleError>;
|
|
4480
|
-
allowedOrigins: AllowedOrigins<HandleError>;
|
|
4481
|
-
apiKeys: ApiKeys<HandleError>;
|
|
4482
|
-
authApps: AuthApps<HandleError>;
|
|
4483
|
-
authForms: AuthForms<HandleError>;
|
|
4484
|
-
b2bAuth: _B2BAuth1<HandleError>;
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
b2cAuth: _B2CAuth1<HandleError>;
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
branches: Branches<HandleError>;
|
|
4491
|
-
countries: Countries<HandleError>;
|
|
4492
|
-
emailDomains: EmailDomains<HandleError>;
|
|
4493
|
-
endpoints: Endpoints<HandleError>;
|
|
4494
|
-
|
|
4495
|
-
identityProviders: IdentityProviders<HandleError>;
|
|
4496
|
-
locales: Locales<HandleError>;
|
|
4497
|
-
microservices: Microservices<HandleError>;
|
|
4498
|
-
permissions: Permissions<HandleError>;
|
|
4499
|
-
publicSettings: PublicSettings<HandleError>;
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
secretNotes: SecretNotes<HandleError>;
|
|
4503
|
-
sessions: Sessions<HandleError>;
|
|
4504
|
-
systemUsers: SystemUsers<HandleError>;
|
|
4505
|
-
tablePresets: TablePresets<HandleError>;
|
|
4506
|
-
tags: Tags<HandleError>;
|
|
4507
|
-
trustedDevices: TrustedDevices<HandleError>;
|
|
4508
|
-
userDetails: UserDetails<HandleError>;
|
|
4509
|
-
usersCommon: UsersCommon<HandleError>;
|
|
4510
|
-
watchmenAuth: WatchmenAuth<HandleError>;
|
|
4511
|
-
watchmenInstances: WatchmenInstances<HandleError>;
|
|
4512
|
-
constructor(config: UmaClientConfig<HandleError>);
|
|
4551
|
+
declare class UmaClient<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends JwtClient<HandleError, Format> {
|
|
4552
|
+
protected readonly config: UmaClientConfig<HandleError, Format>;
|
|
4553
|
+
request<Data = unknown, Body = unknown>(config: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
4554
|
+
}
|
|
4555
|
+
export class UmaApi<HandleError extends boolean = false, Format extends CaseFormat = CaseFormat.Original> extends BaseApi<HandleError, Format, UmaClient<HandleError, Format>> {
|
|
4556
|
+
readonly config: UmaClientConfig<HandleError, Format>;
|
|
4557
|
+
actionLog: ActionLogs<HandleError, Format>;
|
|
4558
|
+
adminApiKeys: AdminApiKeys<HandleError, Format>;
|
|
4559
|
+
allowedOrigins: AllowedOrigins<HandleError, Format>;
|
|
4560
|
+
apiKeys: ApiKeys<HandleError, Format>;
|
|
4561
|
+
authApps: AuthApps<HandleError, Format>;
|
|
4562
|
+
authForms: AuthForms<HandleError, Format>;
|
|
4563
|
+
b2bAuth: _B2BAuth1<HandleError, Format>;
|
|
4564
|
+
b2bUserSettings: B2BUserSettings<HandleError, Format>;
|
|
4565
|
+
b2bUsers: B2BUsers<HandleError, Format>;
|
|
4566
|
+
b2cAuth: _B2CAuth1<HandleError, Format>;
|
|
4567
|
+
b2cUserSettings: B2CUserSettings<HandleError, Format>;
|
|
4568
|
+
b2cUsers: B2CUsers<HandleError, Format>;
|
|
4569
|
+
branches: Branches<HandleError, Format>;
|
|
4570
|
+
countries: Countries<HandleError, Format>;
|
|
4571
|
+
emailDomains: EmailDomains<HandleError, Format>;
|
|
4572
|
+
endpoints: Endpoints<HandleError, Format>;
|
|
4573
|
+
firms: Firms<HandleError, Format>;
|
|
4574
|
+
identityProviders: IdentityProviders<HandleError, Format>;
|
|
4575
|
+
locales: Locales<HandleError, Format>;
|
|
4576
|
+
microservices: Microservices<HandleError, Format>;
|
|
4577
|
+
permissions: Permissions<HandleError, Format>;
|
|
4578
|
+
publicSettings: PublicSettings<HandleError, Format>;
|
|
4579
|
+
roleTypes: RoleTypes<HandleError, Format>;
|
|
4580
|
+
roles: Roles<HandleError, Format>;
|
|
4581
|
+
secretNotes: SecretNotes<HandleError, Format>;
|
|
4582
|
+
sessions: Sessions<HandleError, Format>;
|
|
4583
|
+
systemUsers: SystemUsers<HandleError, Format>;
|
|
4584
|
+
tablePresets: TablePresets<HandleError, Format>;
|
|
4585
|
+
tags: Tags<HandleError, Format>;
|
|
4586
|
+
trustedDevices: TrustedDevices<HandleError, Format>;
|
|
4587
|
+
userDetails: UserDetails<HandleError, Format>;
|
|
4588
|
+
usersCommon: UsersCommon<HandleError, Format>;
|
|
4589
|
+
watchmenAuth: WatchmenAuth<HandleError, Format>;
|
|
4590
|
+
watchmenInstances: WatchmenInstances<HandleError, Format>;
|
|
4591
|
+
constructor(config: UmaClientConfig<HandleError, Format>);
|
|
4513
4592
|
renewTokens(): Promise<{
|
|
4514
4593
|
accessToken: string;
|
|
4515
4594
|
refreshToken: string;
|