@orbis-systems/orbis-api-clients 0.8.10 → 1.0.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 +6313 -6056
- 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 +1601 -1290
- 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 +250 -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 +4118 -4085
- 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 +863 -839
- 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 +146 -146
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",
|
|
@@ -429,7 +464,7 @@ export interface UmaAccessControlProhibitionReason {
|
|
|
429
464
|
type?: UmaAccessControlProhibitionReasonType;
|
|
430
465
|
}
|
|
431
466
|
export interface UmaClaims {
|
|
432
|
-
|
|
467
|
+
'2fa_on'?: boolean;
|
|
433
468
|
admin_of_firm_ids?: number[];
|
|
434
469
|
aud?: string;
|
|
435
470
|
branch_ids?: number[];
|
|
@@ -624,7 +659,10 @@ export interface UmaTagMutationSerializer {
|
|
|
624
659
|
tag: UmaTagSerializer;
|
|
625
660
|
}
|
|
626
661
|
export interface UmaGetTrustedDevicesListSerializer {
|
|
662
|
+
current_page: number;
|
|
663
|
+
pages_count: number;
|
|
627
664
|
status: number;
|
|
665
|
+
total_records: number;
|
|
628
666
|
trusted_devices_list: UmaTrustedDeviceSerializer[];
|
|
629
667
|
}
|
|
630
668
|
export interface UmaAPIKeys {
|
|
@@ -1279,6 +1317,7 @@ export interface UmaCreateMicroserviceDto {
|
|
|
1279
1317
|
description?: string;
|
|
1280
1318
|
domains?: UmaMicroserviceDomainDto[];
|
|
1281
1319
|
is_active?: boolean;
|
|
1320
|
+
is_token_encoding_required?: boolean;
|
|
1282
1321
|
is_visible_on_admin_sidebar?: boolean;
|
|
1283
1322
|
logo_url?: string;
|
|
1284
1323
|
name?: string;
|
|
@@ -1791,6 +1830,7 @@ export interface UmaMicroserviceAccessSerializer {
|
|
|
1791
1830
|
/** @example 1 */
|
|
1792
1831
|
id: number;
|
|
1793
1832
|
is_active: boolean;
|
|
1833
|
+
is_token_encoding_required: boolean;
|
|
1794
1834
|
is_visible_on_admin_sidebar: boolean;
|
|
1795
1835
|
logo_url: string;
|
|
1796
1836
|
name: string;
|
|
@@ -1822,6 +1862,7 @@ export interface UmaMicroserviceSerializer {
|
|
|
1822
1862
|
/** @example 1 */
|
|
1823
1863
|
id: number;
|
|
1824
1864
|
is_active: boolean;
|
|
1865
|
+
is_token_encoding_required: boolean;
|
|
1825
1866
|
is_visible_on_admin_sidebar: boolean;
|
|
1826
1867
|
logo_url: string;
|
|
1827
1868
|
name: string;
|
|
@@ -1902,6 +1943,7 @@ export interface UmaPartialUpdateMicroserviceDto {
|
|
|
1902
1943
|
description?: string;
|
|
1903
1944
|
domains?: UmaMicroserviceDomainDto[];
|
|
1904
1945
|
is_active?: boolean;
|
|
1946
|
+
is_token_encoding_required?: boolean;
|
|
1905
1947
|
is_visible_on_admin_sidebar?: boolean;
|
|
1906
1948
|
logo_url?: string;
|
|
1907
1949
|
name?: string;
|
|
@@ -2262,6 +2304,7 @@ export interface UmaUpdateMicroserviceDto {
|
|
|
2262
2304
|
description?: string;
|
|
2263
2305
|
domains?: UmaMicroserviceDomainDto[];
|
|
2264
2306
|
is_active?: boolean;
|
|
2307
|
+
is_token_encoding_required?: boolean;
|
|
2265
2308
|
is_visible_on_admin_sidebar?: boolean;
|
|
2266
2309
|
logo_url?: string;
|
|
2267
2310
|
name?: string;
|
|
@@ -2475,13 +2518,11 @@ export interface UmaWebAuthnRegistrationSolutionDto {
|
|
|
2475
2518
|
type?: string;
|
|
2476
2519
|
}
|
|
2477
2520
|
export interface UmaWebAuthnRelyingPartyEntitySerializer {
|
|
2478
|
-
icon: string;
|
|
2479
2521
|
id: string;
|
|
2480
2522
|
name: string;
|
|
2481
2523
|
}
|
|
2482
2524
|
export interface UmaWebAuthnUserEntitySerializer {
|
|
2483
2525
|
display_name: string;
|
|
2484
|
-
icon: string;
|
|
2485
2526
|
id: any;
|
|
2486
2527
|
name: string;
|
|
2487
2528
|
}
|
|
@@ -2683,26 +2724,9 @@ export enum UmaVerifyContactDtoCodeTypeEnum {
|
|
|
2683
2724
|
Voice = "voice",
|
|
2684
2725
|
Sms = "sms"
|
|
2685
2726
|
}
|
|
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>);
|
|
2727
|
+
export class ActionLogs<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2728
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2729
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2706
2730
|
/**
|
|
2707
2731
|
* @description Get Action logs list
|
|
2708
2732
|
* @tags action_logs
|
|
@@ -2711,11 +2735,11 @@ export class ActionLogs<HandleError extends boolean = boolean> {
|
|
|
2711
2735
|
* @request POST:/v1/action-logs/list
|
|
2712
2736
|
* @secure
|
|
2713
2737
|
*/
|
|
2714
|
-
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2738
|
+
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError, Format>>;
|
|
2715
2739
|
}
|
|
2716
|
-
export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
2717
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2718
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2740
|
+
export class AdminApiKeys<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2741
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2742
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2719
2743
|
/**
|
|
2720
2744
|
* @description Create API Key & API Secret Pair for any B2B user. API Secret won't be accessible for read after that.
|
|
2721
2745
|
* @tags admin_api_keys
|
|
@@ -2724,7 +2748,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2724
2748
|
* @request POST:/v1/admin/api-keys
|
|
2725
2749
|
* @secure
|
|
2726
2750
|
*/
|
|
2727
|
-
create(createApiKey: UmaAdminCreateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2751
|
+
create(createApiKey: UmaAdminCreateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2728
2752
|
/**
|
|
2729
2753
|
* @description Delete any API Keys by IDs. Only accessible to chiefadmin.
|
|
2730
2754
|
* @tags admin_api_keys
|
|
@@ -2733,7 +2757,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2733
2757
|
* @request DELETE:/v1/admin/api-keys
|
|
2734
2758
|
* @secure
|
|
2735
2759
|
*/
|
|
2736
|
-
delete(deleteApiKeys: UmaAdminDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2760
|
+
delete(deleteApiKeys: UmaAdminDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2737
2761
|
/**
|
|
2738
2762
|
* @description Get all API Keys info (would return API Keys without secrets). Only accessible to chiefadmin.
|
|
2739
2763
|
* @tags admin_api_keys
|
|
@@ -2742,7 +2766,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2742
2766
|
* @request POST:/v1/admin/api-keys/list
|
|
2743
2767
|
* @secure
|
|
2744
2768
|
*/
|
|
2745
|
-
get(apiKeys: UmaAdminGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAdminAPIKeysSerializer, HandleError>>;
|
|
2769
|
+
get(apiKeys: UmaAdminGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAdminAPIKeysSerializer, HandleError, Format>>;
|
|
2746
2770
|
/**
|
|
2747
2771
|
* @description Get any API Key by id. Only accessible to chiefadmin.
|
|
2748
2772
|
* @tags admin_api_keys
|
|
@@ -2751,7 +2775,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2751
2775
|
* @request GET:/v1/admin/api-keys/{id}
|
|
2752
2776
|
* @secure
|
|
2753
2777
|
*/
|
|
2754
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2778
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2755
2779
|
/**
|
|
2756
2780
|
* @description Update any API Key Record. Only accessible to chiefadmin.
|
|
2757
2781
|
* @tags admin_api_keys
|
|
@@ -2760,11 +2784,11 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2760
2784
|
* @request PUT:/v1/admin/api-keys/{id}
|
|
2761
2785
|
* @secure
|
|
2762
2786
|
*/
|
|
2763
|
-
update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2787
|
+
update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2764
2788
|
}
|
|
2765
|
-
export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
2766
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2767
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2789
|
+
export class AllowedOrigins<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2790
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2791
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2768
2792
|
/**
|
|
2769
2793
|
* @description Create Allowed Origin
|
|
2770
2794
|
* @tags allowed_origins
|
|
@@ -2773,7 +2797,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2773
2797
|
* @request POST:/v1/allowed-origins
|
|
2774
2798
|
* @secure
|
|
2775
2799
|
*/
|
|
2776
|
-
create(createAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2800
|
+
create(createAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError, Format>>;
|
|
2777
2801
|
/**
|
|
2778
2802
|
* @description Delete allowed origins by IDs
|
|
2779
2803
|
* @tags allowed_origins
|
|
@@ -2782,7 +2806,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2782
2806
|
* @request DELETE:/v1/allowed-origins
|
|
2783
2807
|
* @secure
|
|
2784
2808
|
*/
|
|
2785
|
-
delete(deleteAllowedOrigins: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2809
|
+
delete(deleteAllowedOrigins: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2786
2810
|
/**
|
|
2787
2811
|
* @description Get paginated list of allowed origins
|
|
2788
2812
|
* @tags allowed_origins
|
|
@@ -2791,7 +2815,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2791
2815
|
* @request POST:/v1/allowed-origins/list
|
|
2792
2816
|
* @secure
|
|
2793
2817
|
*/
|
|
2794
|
-
list(getAllowedOriginsList: UmaGetAllowedOriginsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAllowedOriginsListSerializer, HandleError>>;
|
|
2818
|
+
list(getAllowedOriginsList: UmaGetAllowedOriginsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAllowedOriginsListSerializer, HandleError, Format>>;
|
|
2795
2819
|
/**
|
|
2796
2820
|
* @description Get allowed origin by ID
|
|
2797
2821
|
* @tags allowed_origins
|
|
@@ -2800,7 +2824,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2800
2824
|
* @request GET:/v1/allowed-origins/{id}
|
|
2801
2825
|
* @secure
|
|
2802
2826
|
*/
|
|
2803
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2827
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError, Format>>;
|
|
2804
2828
|
/**
|
|
2805
2829
|
* @description Update allowed origin
|
|
2806
2830
|
* @tags allowed_origins
|
|
@@ -2809,11 +2833,60 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2809
2833
|
* @request PUT:/v1/allowed-origins/{id}
|
|
2810
2834
|
* @secure
|
|
2811
2835
|
*/
|
|
2812
|
-
update(id: number, updateAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2836
|
+
update(id: number, updateAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError, Format>>;
|
|
2837
|
+
}
|
|
2838
|
+
export class ApiKeys<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2839
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2840
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2841
|
+
/**
|
|
2842
|
+
* @description Delete API Key by id (would throw 404 error if API key not found or belongs to different user)
|
|
2843
|
+
* @tags api_keys
|
|
2844
|
+
* @name DeleteMany
|
|
2845
|
+
* @summary Delete API Key by id
|
|
2846
|
+
* @request DELETE:/v1/b2b/api-keys
|
|
2847
|
+
* @secure
|
|
2848
|
+
*/
|
|
2849
|
+
deleteMany(deleteAPIKeys: UmaDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2850
|
+
/**
|
|
2851
|
+
* @description Get APIKey by id
|
|
2852
|
+
* @tags api_keys
|
|
2853
|
+
* @name GetById
|
|
2854
|
+
* @summary Get APIKey by id
|
|
2855
|
+
* @request GET:/v1/b2b/api-keys/{id}
|
|
2856
|
+
* @secure
|
|
2857
|
+
*/
|
|
2858
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2859
|
+
/**
|
|
2860
|
+
* @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
|
|
2861
|
+
* @tags api_keys
|
|
2862
|
+
* @name Create
|
|
2863
|
+
* @summary Create API Key & API Secret Pair
|
|
2864
|
+
* @request POST:/v2/b2b/api-keys
|
|
2865
|
+
* @secure
|
|
2866
|
+
*/
|
|
2867
|
+
create(createApiKeys: UmaCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2868
|
+
/**
|
|
2869
|
+
* @description Get API Keys info(would return API Keys without secrets)
|
|
2870
|
+
* @tags api_keys
|
|
2871
|
+
* @name Get
|
|
2872
|
+
* @summary Get API Keys info(would return API Keys without secrets)
|
|
2873
|
+
* @request POST:/v2/b2b/api-keys/list
|
|
2874
|
+
* @secure
|
|
2875
|
+
*/
|
|
2876
|
+
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError, Format>>;
|
|
2877
|
+
/**
|
|
2878
|
+
* @description Update API Key Record
|
|
2879
|
+
* @tags api_keys
|
|
2880
|
+
* @name Update
|
|
2881
|
+
* @summary Update API Key Record
|
|
2882
|
+
* @request PUT:/v2/b2b/api-keys/{id}
|
|
2883
|
+
* @secure
|
|
2884
|
+
*/
|
|
2885
|
+
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2813
2886
|
}
|
|
2814
|
-
export class AuthApps<HandleError extends boolean = boolean> {
|
|
2815
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2816
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2887
|
+
export class AuthApps<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2888
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2889
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2817
2890
|
/**
|
|
2818
2891
|
* @description Get auth apps
|
|
2819
2892
|
* @tags auth_apps
|
|
@@ -2822,7 +2895,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2822
2895
|
* @request GET:/v1/auth-apps
|
|
2823
2896
|
* @secure
|
|
2824
2897
|
*/
|
|
2825
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthAppsListSerializer, HandleError>>;
|
|
2898
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthAppsListSerializer, HandleError, Format>>;
|
|
2826
2899
|
/**
|
|
2827
2900
|
* @description Delete auth apps
|
|
2828
2901
|
* @tags auth_apps
|
|
@@ -2831,7 +2904,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2831
2904
|
* @request DELETE:/v1/auth-apps
|
|
2832
2905
|
* @secure
|
|
2833
2906
|
*/
|
|
2834
|
-
deleteMany(deleteAuthAppsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2907
|
+
deleteMany(deleteAuthAppsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2835
2908
|
/**
|
|
2836
2909
|
* @description Get TOTP registration QR
|
|
2837
2910
|
* @tags auth_apps
|
|
@@ -2840,7 +2913,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2840
2913
|
* @request POST:/v1/auth-apps/totp/registration/qr
|
|
2841
2914
|
* @secure
|
|
2842
2915
|
*/
|
|
2843
|
-
getRegistrationQr(getTotpQRDto: UmaGetTotpQRDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<File, HandleError>>;
|
|
2916
|
+
getRegistrationQr(getTotpQRDto: UmaGetTotpQRDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<File, HandleError, Format>>;
|
|
2844
2917
|
/**
|
|
2845
2918
|
* @description Finish TOTP registration
|
|
2846
2919
|
* @tags auth_apps
|
|
@@ -2849,7 +2922,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2849
2922
|
* @request POST:/v1/auth-apps/totp/registration/response
|
|
2850
2923
|
* @secure
|
|
2851
2924
|
*/
|
|
2852
|
-
finishRegistration(finishTOTPRegistrationDto: UmaFinishTOTPRegistrationDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFinishTOTPRegistrationResponseSerializer, HandleError>>;
|
|
2925
|
+
finishRegistration(finishTOTPRegistrationDto: UmaFinishTOTPRegistrationDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFinishTOTPRegistrationResponseSerializer, HandleError, Format>>;
|
|
2853
2926
|
/**
|
|
2854
2927
|
* @description Get WebAuthn login challenge
|
|
2855
2928
|
* @tags auth_apps
|
|
@@ -2862,7 +2935,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2862
2935
|
BRANCH?: string;
|
|
2863
2936
|
/** Firm id/slug, with which user should work */
|
|
2864
2937
|
FIRM?: string;
|
|
2865
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialAssertionSerializer, HandleError>>;
|
|
2938
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialAssertionSerializer, HandleError, Format>>;
|
|
2866
2939
|
/**
|
|
2867
2940
|
* @description Get WebAuthn register challenge
|
|
2868
2941
|
* @tags auth_apps
|
|
@@ -2871,7 +2944,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2871
2944
|
* @request POST:/v1/auth-apps/webauthn/registration/request
|
|
2872
2945
|
* @secure
|
|
2873
2946
|
*/
|
|
2874
|
-
getRegisterChallenge(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialCreationSerializer, HandleError>>;
|
|
2947
|
+
getRegisterChallenge(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialCreationSerializer, HandleError, Format>>;
|
|
2875
2948
|
/**
|
|
2876
2949
|
* @description Finish WebAuthn credential registration
|
|
2877
2950
|
* @tags auth_apps
|
|
@@ -2880,7 +2953,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2880
2953
|
* @request POST:/v1/auth-apps/webauthn/registration/response
|
|
2881
2954
|
* @secure
|
|
2882
2955
|
*/
|
|
2883
|
-
finishCredentialRegistration(webAuthnRegistrationSolutionDto: UmaWebAuthnRegistrationSolutionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2956
|
+
finishCredentialRegistration(webAuthnRegistrationSolutionDto: UmaWebAuthnRegistrationSolutionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2884
2957
|
/**
|
|
2885
2958
|
* @description Register Yubico OTP Key
|
|
2886
2959
|
* @tags auth_apps
|
|
@@ -2889,7 +2962,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2889
2962
|
* @request POST:/v1/auth-apps/yubico/otp/registration
|
|
2890
2963
|
* @secure
|
|
2891
2964
|
*/
|
|
2892
|
-
register(yubicoOTPDto: UmaCreateYubicoOTPDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2965
|
+
register(yubicoOTPDto: UmaCreateYubicoOTPDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2893
2966
|
/**
|
|
2894
2967
|
* @description Update auth app
|
|
2895
2968
|
* @tags auth_apps
|
|
@@ -2898,11 +2971,11 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2898
2971
|
* @request PUT:/v1/auth-apps/{id}
|
|
2899
2972
|
* @secure
|
|
2900
2973
|
*/
|
|
2901
|
-
update(id: number, updateAuthAppDto: UmaUpdateAuthAppDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthAppResponseSerializer, HandleError>>;
|
|
2974
|
+
update(id: number, updateAuthAppDto: UmaUpdateAuthAppDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthAppResponseSerializer, HandleError, Format>>;
|
|
2902
2975
|
}
|
|
2903
|
-
export class AuthForms<HandleError extends boolean = boolean> {
|
|
2904
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2905
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2976
|
+
export class AuthForms<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
2977
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
2978
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2906
2979
|
/**
|
|
2907
2980
|
* @description Create Auth Form
|
|
2908
2981
|
* @tags auth_forms
|
|
@@ -2911,7 +2984,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2911
2984
|
* @request POST:/v1/auth-forms
|
|
2912
2985
|
* @secure
|
|
2913
2986
|
*/
|
|
2914
|
-
create(authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
2987
|
+
create(authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2915
2988
|
/**
|
|
2916
2989
|
* @description Delete Auth Forms by ids
|
|
2917
2990
|
* @tags auth_forms
|
|
@@ -2920,7 +2993,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2920
2993
|
* @request DELETE:/v1/auth-forms
|
|
2921
2994
|
* @secure
|
|
2922
2995
|
*/
|
|
2923
|
-
deleteMany(deleteAuthFormsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2996
|
+
deleteMany(deleteAuthFormsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2924
2997
|
/**
|
|
2925
2998
|
* @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
2999
|
* @tags auth_forms
|
|
@@ -2929,7 +3002,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2929
3002
|
* @request POST:/v1/auth-forms/list
|
|
2930
3003
|
* @secure
|
|
2931
3004
|
*/
|
|
2932
|
-
get(getAuthFormListDto: UmaGetAuthFormsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthFormsListSerializer, HandleError>>;
|
|
3005
|
+
get(getAuthFormListDto: UmaGetAuthFormsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthFormsListSerializer, HandleError, Format>>;
|
|
2933
3006
|
/**
|
|
2934
3007
|
* @description Get Auth Forms by slug
|
|
2935
3008
|
* @tags auth_forms
|
|
@@ -2937,7 +3010,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2937
3010
|
* @summary Get Auth Forms by slug
|
|
2938
3011
|
* @request GET:/v1/auth-forms/public/{slug}
|
|
2939
3012
|
*/
|
|
2940
|
-
getBySlug(slug: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
3013
|
+
getBySlug(slug: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2941
3014
|
/**
|
|
2942
3015
|
* @description Get Auth Forms by id
|
|
2943
3016
|
* @tags auth_forms
|
|
@@ -2946,7 +3019,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2946
3019
|
* @request GET:/v1/auth-forms/{id}
|
|
2947
3020
|
* @secure
|
|
2948
3021
|
*/
|
|
2949
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
3022
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2950
3023
|
/**
|
|
2951
3024
|
* @description Update Auth Form record
|
|
2952
3025
|
* @tags auth_forms
|
|
@@ -2955,11 +3028,11 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2955
3028
|
* @request PUT:/v1/auth-forms/{id}
|
|
2956
3029
|
* @secure
|
|
2957
3030
|
*/
|
|
2958
|
-
update(id: number, authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
3031
|
+
update(id: number, authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2959
3032
|
}
|
|
2960
|
-
export class B2BAuth<HandleError extends boolean = boolean> {
|
|
2961
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2962
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3033
|
+
export class B2BAuth<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3034
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3035
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
2963
3036
|
/**
|
|
2964
3037
|
* @description Get current B2B user info by access token.
|
|
2965
3038
|
* @tags b2b_auth
|
|
@@ -2968,7 +3041,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2968
3041
|
* @request GET:/v1/auth/b2b/current
|
|
2969
3042
|
* @secure
|
|
2970
3043
|
*/
|
|
2971
|
-
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2BUserSerializer, HandleError>>;
|
|
3044
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2BUserSerializer, HandleError, Format>>;
|
|
2972
3045
|
/**
|
|
2973
3046
|
* @description Login B2B user by API Keys
|
|
2974
3047
|
* @tags b2b_auth
|
|
@@ -2976,7 +3049,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2976
3049
|
* @summary Login B2B user by API Keys
|
|
2977
3050
|
* @request POST:/v1/auth/b2b/login/api-keys
|
|
2978
3051
|
*/
|
|
2979
|
-
apiKeysLogin(apiKeysLoginParams: UmaAPIKeysB2BLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError>>;
|
|
3052
|
+
apiKeysLogin(apiKeysLoginParams: UmaAPIKeysB2BLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError, Format>>;
|
|
2980
3053
|
/**
|
|
2981
3054
|
* @description Login B2B user by email/password.
|
|
2982
3055
|
* @tags b2b_auth
|
|
@@ -2986,8 +3059,8 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2986
3059
|
*/
|
|
2987
3060
|
basicLogin(basicLoginParams: UmaBasicB2BLoginDto, headers?: {
|
|
2988
3061
|
/** Run endpoint in debug mode */
|
|
2989
|
-
|
|
2990
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError>>;
|
|
3062
|
+
'Debug-Token'?: string;
|
|
3063
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError, Format>>;
|
|
2991
3064
|
/**
|
|
2992
3065
|
* @description logout from B2B user session
|
|
2993
3066
|
* @tags b2b_auth
|
|
@@ -2995,7 +3068,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2995
3068
|
* @summary logout from B2B user session
|
|
2996
3069
|
* @request DELETE:/v1/auth/b2b/logout
|
|
2997
3070
|
*/
|
|
2998
|
-
logout(B2BLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3071
|
+
logout(B2BLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2999
3072
|
/**
|
|
3000
3073
|
* @description Refresh B2B user token pair
|
|
3001
3074
|
* @tags b2b_auth
|
|
@@ -3003,7 +3076,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3003
3076
|
* @summary Refresh B2B user token pair
|
|
3004
3077
|
* @request POST:/v1/auth/b2b/refresh
|
|
3005
3078
|
*/
|
|
3006
|
-
refreshTokens(B2BRefreshParams: UmaRefreshDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError>>;
|
|
3079
|
+
refreshTokens(B2BRefreshParams: UmaRefreshDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError, Format>>;
|
|
3007
3080
|
/**
|
|
3008
3081
|
* @description B2B user self-registration.
|
|
3009
3082
|
* @tags b2b_auth
|
|
@@ -3011,7 +3084,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3011
3084
|
* @summary B2B user self-registration
|
|
3012
3085
|
* @request POST:/v1/auth/b2b/register
|
|
3013
3086
|
*/
|
|
3014
|
-
register(b2bRegisterParams: UmaB2BRegisterDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserRegistrationSerializer, HandleError>>;
|
|
3087
|
+
register(b2bRegisterParams: UmaB2BRegisterDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserRegistrationSerializer, HandleError, Format>>;
|
|
3015
3088
|
/**
|
|
3016
3089
|
* @description Reset B2B user password
|
|
3017
3090
|
* @tags b2b_auth
|
|
@@ -3021,8 +3094,8 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3021
3094
|
*/
|
|
3022
3095
|
resetPassword(B2BResetPasswordParams: UmaB2BResetPasswordDto, headers?: {
|
|
3023
3096
|
/** Run endpoint in debug mode */
|
|
3024
|
-
|
|
3025
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError>>;
|
|
3097
|
+
'Debug-Token'?: string;
|
|
3098
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError, Format>>;
|
|
3026
3099
|
/**
|
|
3027
3100
|
* @description Send MFA code for B2B user
|
|
3028
3101
|
* @tags b2b_auth
|
|
@@ -3030,7 +3103,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3030
3103
|
* @summary Send MFA code for B2B user
|
|
3031
3104
|
* @request PUT:/v1/auth/b2b/send-mfa-code
|
|
3032
3105
|
*/
|
|
3033
|
-
sendMfaCode(SendB2BMfaCodeDto: UmaSendB2BMfaCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3106
|
+
sendMfaCode(SendB2BMfaCodeDto: UmaSendB2BMfaCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3034
3107
|
/**
|
|
3035
3108
|
* @description Send reset password code for B2B user
|
|
3036
3109
|
* @tags b2b_auth
|
|
@@ -3038,33 +3111,134 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
3038
3111
|
* @summary Send reset password code for B2B user
|
|
3039
3112
|
* @request PUT:/v1/auth/b2b/send-reset-password-code
|
|
3040
3113
|
*/
|
|
3041
|
-
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3114
|
+
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3042
3115
|
}
|
|
3043
|
-
export class
|
|
3044
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3045
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3116
|
+
export class B2BUsers<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3117
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3118
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3046
3119
|
/**
|
|
3047
|
-
* @description
|
|
3048
|
-
* @tags
|
|
3049
|
-
* @name
|
|
3050
|
-
* @summary
|
|
3051
|
-
* @request
|
|
3120
|
+
* @description Soft Delete B2B users
|
|
3121
|
+
* @tags b2b_users
|
|
3122
|
+
* @name DeleteMany
|
|
3123
|
+
* @summary Soft Delete B2B users
|
|
3124
|
+
* @request DELETE:/v1/users/b2b
|
|
3052
3125
|
* @secure
|
|
3053
3126
|
*/
|
|
3054
|
-
|
|
3127
|
+
deleteMany(deleteB2BUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3055
3128
|
/**
|
|
3056
|
-
* @description
|
|
3057
|
-
* @tags
|
|
3058
|
-
* @name
|
|
3059
|
-
* @summary
|
|
3060
|
-
* @request
|
|
3129
|
+
* @description Get B2B User by id
|
|
3130
|
+
* @tags b2b_users
|
|
3131
|
+
* @name GetById
|
|
3132
|
+
* @summary Get B2B User by id
|
|
3133
|
+
* @request GET:/v1/users/b2b/{id}
|
|
3134
|
+
* @secure
|
|
3135
|
+
*/
|
|
3136
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3137
|
+
/**
|
|
3138
|
+
* @description Update B2B User (partial updates supported)
|
|
3139
|
+
* @tags b2b_users
|
|
3140
|
+
* @name PartialUpdate
|
|
3141
|
+
* @summary Update B2B User (partial updates supported)
|
|
3142
|
+
* @request PATCH:/v1/users/b2b/{id}
|
|
3143
|
+
* @secure
|
|
3144
|
+
*/
|
|
3145
|
+
partialUpdate(id: number, createB2BUserNew: UmaPartialUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3146
|
+
/**
|
|
3147
|
+
* @description Generate B2B User PDF
|
|
3148
|
+
* @tags b2b_users
|
|
3149
|
+
* @name GenerateAsPdf
|
|
3150
|
+
* @summary Generate B2B User PDF
|
|
3151
|
+
* @request POST:/v1/users/b2b/{id}/generate-as-pdf
|
|
3152
|
+
* @secure
|
|
3153
|
+
*/
|
|
3154
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
3155
|
+
/**
|
|
3156
|
+
* @description Change B2B User status
|
|
3157
|
+
* @tags b2b_users
|
|
3158
|
+
* @name ChangeStatus
|
|
3159
|
+
* @summary Change B2B User status
|
|
3160
|
+
* @request PATCH:/v1/users/b2b/{id}/status
|
|
3161
|
+
* @secure
|
|
3162
|
+
*/
|
|
3163
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3164
|
+
/**
|
|
3165
|
+
* @description Create B2B User
|
|
3166
|
+
* @tags b2b_users
|
|
3167
|
+
* @name Create
|
|
3168
|
+
* @summary Create B2B User
|
|
3169
|
+
* @request POST:/v2/users/b2b
|
|
3170
|
+
* @secure
|
|
3171
|
+
*/
|
|
3172
|
+
create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3173
|
+
/**
|
|
3174
|
+
* @description Get B2B users with pagination
|
|
3175
|
+
* @tags b2b_users
|
|
3176
|
+
* @name Get
|
|
3177
|
+
* @summary Get B2B users with pagination
|
|
3178
|
+
* @request POST:/v2/users/b2b/list
|
|
3061
3179
|
* @secure
|
|
3062
3180
|
*/
|
|
3063
|
-
|
|
3181
|
+
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError, Format>>;
|
|
3182
|
+
/**
|
|
3183
|
+
* @description Update B2B User
|
|
3184
|
+
* @tags b2b_users
|
|
3185
|
+
* @name Update
|
|
3186
|
+
* @summary Update B2B User
|
|
3187
|
+
* @request PUT:/v2/users/b2b/{id}
|
|
3188
|
+
* @secure
|
|
3189
|
+
*/
|
|
3190
|
+
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3191
|
+
}
|
|
3192
|
+
export class B2BUserSettings<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3193
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3194
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3195
|
+
/**
|
|
3196
|
+
* @description Set B2B User Settings
|
|
3197
|
+
* @tags b2b_user_settings
|
|
3198
|
+
* @name SetUserSettings
|
|
3199
|
+
* @summary Set B2B User Settings
|
|
3200
|
+
* @request PUT:/v1/b2b/settings
|
|
3201
|
+
* @secure
|
|
3202
|
+
*/
|
|
3203
|
+
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
3204
|
+
/** Run endpoint in debug mode */
|
|
3205
|
+
'Debug-Token'?: string;
|
|
3206
|
+
/** Branch id, with which user should work */
|
|
3207
|
+
BRANCH?: string;
|
|
3208
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError, Format>>;
|
|
3209
|
+
/**
|
|
3210
|
+
* @description Upload avatar for B2B user
|
|
3211
|
+
* @tags b2b_user_settings
|
|
3212
|
+
* @name UploadAvatar
|
|
3213
|
+
* @summary Upload avatar for B2B user
|
|
3214
|
+
* @request PUT:/v1/b2b/settings/avatar
|
|
3215
|
+
* @secure
|
|
3216
|
+
*/
|
|
3217
|
+
uploadAvatar(data: {
|
|
3218
|
+
/**
|
|
3219
|
+
* Avatar to upload
|
|
3220
|
+
* @format binary
|
|
3221
|
+
*/
|
|
3222
|
+
avatar?: File;
|
|
3223
|
+
/** Should delete old avatar instead of uploading new one */
|
|
3224
|
+
delete_avatar?: boolean;
|
|
3225
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError, Format>>;
|
|
3226
|
+
/**
|
|
3227
|
+
* @description Send B2B user contact change code
|
|
3228
|
+
* @tags b2b_user_settings
|
|
3229
|
+
* @name SendContactChangeCode
|
|
3230
|
+
* @summary Send B2B user contact change code
|
|
3231
|
+
* @request POST:/v1/b2b/settings/codes
|
|
3232
|
+
* @secure
|
|
3233
|
+
*/
|
|
3234
|
+
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3235
|
+
/** Branch id, with which user should work */
|
|
3236
|
+
BRANCH?: string;
|
|
3237
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3064
3238
|
}
|
|
3065
|
-
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
3066
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3067
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3239
|
+
export class B2CAuth<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3240
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3241
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3068
3242
|
/**
|
|
3069
3243
|
* @description Get current B2C user info by access token.
|
|
3070
3244
|
* @tags b2c_auth
|
|
@@ -3073,7 +3247,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3073
3247
|
* @request GET:/v1/auth/b2c/current
|
|
3074
3248
|
* @secure
|
|
3075
3249
|
*/
|
|
3076
|
-
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError>>;
|
|
3250
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError, Format>>;
|
|
3077
3251
|
/**
|
|
3078
3252
|
* @description Initialize Apple OAuth2 Login
|
|
3079
3253
|
* @tags b2c_auth
|
|
@@ -3086,7 +3260,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3086
3260
|
BRANCH?: string;
|
|
3087
3261
|
/** Firm id/slug, with which user should work */
|
|
3088
3262
|
FIRM?: string;
|
|
3089
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3263
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3090
3264
|
/**
|
|
3091
3265
|
* @description Finish Apple OAuth2 Login
|
|
3092
3266
|
* @tags b2c_auth
|
|
@@ -3094,7 +3268,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3094
3268
|
* @summary Finish Apple OAuth2 Login
|
|
3095
3269
|
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
3096
3270
|
*/
|
|
3097
|
-
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3271
|
+
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
|
|
3098
3272
|
/**
|
|
3099
3273
|
* @description Login B2C user by email/password.
|
|
3100
3274
|
* @tags b2c_auth
|
|
@@ -3107,7 +3281,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3107
3281
|
BRANCH?: string;
|
|
3108
3282
|
/** Firm id/slug, with which user should work */
|
|
3109
3283
|
FIRM?: string;
|
|
3110
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3284
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
|
|
3111
3285
|
/**
|
|
3112
3286
|
* @description Initialize Google OAuth2 Login
|
|
3113
3287
|
* @tags b2c_auth
|
|
@@ -3120,7 +3294,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3120
3294
|
BRANCH?: string;
|
|
3121
3295
|
/** Firm id/slug, with which user should work */
|
|
3122
3296
|
FIRM?: string;
|
|
3123
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3297
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3124
3298
|
/**
|
|
3125
3299
|
* @description Finish Google OAuth2 Login
|
|
3126
3300
|
* @tags b2c_auth
|
|
@@ -3128,7 +3302,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3128
3302
|
* @summary Finish Google OAuth2 Login
|
|
3129
3303
|
* @request POST:/v1/auth/b2c/login/google/callback
|
|
3130
3304
|
*/
|
|
3131
|
-
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3305
|
+
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
|
|
3132
3306
|
/**
|
|
3133
3307
|
* @description Impersonate B2C user
|
|
3134
3308
|
* @tags b2c_auth
|
|
@@ -3137,7 +3311,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3137
3311
|
* @request POST:/v1/auth/b2c/login/impersonate
|
|
3138
3312
|
* @secure
|
|
3139
3313
|
*/
|
|
3140
|
-
impersonateLogin(b2cImpersonate: UmaB2CImpersonateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError>>;
|
|
3314
|
+
impersonateLogin(b2cImpersonate: UmaB2CImpersonateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError, Format>>;
|
|
3141
3315
|
/**
|
|
3142
3316
|
* @description logout from B2C user session
|
|
3143
3317
|
* @tags b2c_auth
|
|
@@ -3145,7 +3319,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3145
3319
|
* @summary logout from B2C user session
|
|
3146
3320
|
* @request DELETE:/v1/auth/b2c/logout
|
|
3147
3321
|
*/
|
|
3148
|
-
logout(B2CLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3322
|
+
logout(B2CLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3149
3323
|
/**
|
|
3150
3324
|
* @description Refresh B2C user token pair
|
|
3151
3325
|
* @tags b2c_auth
|
|
@@ -3161,7 +3335,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3161
3335
|
* @default "refresh_token=xxx"
|
|
3162
3336
|
*/
|
|
3163
3337
|
Cookie?: string;
|
|
3164
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRefreshResultSerializer, HandleError>>;
|
|
3338
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRefreshResultSerializer, HandleError, Format>>;
|
|
3165
3339
|
/**
|
|
3166
3340
|
* @description Register new B2C user. This endpoint should be used for Web GUI only
|
|
3167
3341
|
* @tags b2c_auth
|
|
@@ -3174,7 +3348,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3174
3348
|
BRANCH?: string;
|
|
3175
3349
|
/** Firm id/slug, with which user should work */
|
|
3176
3350
|
FIRM?: string;
|
|
3177
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRegisterSerializer, HandleError>>;
|
|
3351
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRegisterSerializer, HandleError, Format>>;
|
|
3178
3352
|
/**
|
|
3179
3353
|
* @description Reset B2C user password
|
|
3180
3354
|
* @tags b2c_auth
|
|
@@ -3184,12 +3358,12 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3184
3358
|
*/
|
|
3185
3359
|
resetPassword(B2CResetPasswordParams: UmaB2CResetPasswordDto, headers?: {
|
|
3186
3360
|
/** Run endpoint in debug mode */
|
|
3187
|
-
|
|
3361
|
+
'Debug-Token'?: string;
|
|
3188
3362
|
/** Branch id/slug/code, with which user should work */
|
|
3189
3363
|
BRANCH?: string;
|
|
3190
3364
|
/** Firm id/slug, with which user should work */
|
|
3191
3365
|
FIRM?: string;
|
|
3192
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3366
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3193
3367
|
/**
|
|
3194
3368
|
* @description Send MFA code for B2C user
|
|
3195
3369
|
* @tags b2c_auth
|
|
@@ -3202,7 +3376,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3202
3376
|
BRANCH?: string;
|
|
3203
3377
|
/** Firm id/slug, with which user should work */
|
|
3204
3378
|
FIRM?: string;
|
|
3205
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3379
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3206
3380
|
/**
|
|
3207
3381
|
* @description Send reset password code for B2C user
|
|
3208
3382
|
* @tags b2c_auth
|
|
@@ -3215,7 +3389,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3215
3389
|
BRANCH?: string;
|
|
3216
3390
|
/** Firm id/slug, with which user should work */
|
|
3217
3391
|
FIRM?: string;
|
|
3218
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3392
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3219
3393
|
/**
|
|
3220
3394
|
* @description Send verification code for B2C user
|
|
3221
3395
|
* @tags b2c_auth
|
|
@@ -3228,7 +3402,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3228
3402
|
BRANCH?: string;
|
|
3229
3403
|
/** Firm id/slug, with which user should work */
|
|
3230
3404
|
FIRM?: string;
|
|
3231
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3405
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3232
3406
|
/**
|
|
3233
3407
|
* @description Verify contact for B2C user
|
|
3234
3408
|
* @tags b2c_auth
|
|
@@ -3241,387 +3415,99 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3241
3415
|
BRANCH?: string;
|
|
3242
3416
|
/** Firm id/slug, with which user should work */
|
|
3243
3417
|
FIRM?: string;
|
|
3244
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3418
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3245
3419
|
}
|
|
3246
|
-
export class
|
|
3247
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3248
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3420
|
+
export class B2CUsers<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3421
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3422
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3249
3423
|
/**
|
|
3250
|
-
* @description
|
|
3251
|
-
* @tags
|
|
3252
|
-
* @name
|
|
3253
|
-
* @summary
|
|
3254
|
-
* @request
|
|
3424
|
+
* @description Create B2C User
|
|
3425
|
+
* @tags b2c_users
|
|
3426
|
+
* @name Create
|
|
3427
|
+
* @summary Create B2C User
|
|
3428
|
+
* @request POST:/v1/users/b2c
|
|
3255
3429
|
* @secure
|
|
3256
3430
|
*/
|
|
3257
|
-
|
|
3431
|
+
create(createB2CUser: UmaCreateB2CUserDto, headers?: {
|
|
3432
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3433
|
+
'X-Accept'?: string;
|
|
3434
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
|
|
3258
3435
|
/**
|
|
3259
|
-
* @description
|
|
3260
|
-
* @tags
|
|
3261
|
-
* @name
|
|
3262
|
-
* @summary
|
|
3263
|
-
* @request
|
|
3436
|
+
* @description Soft Delete B2C users
|
|
3437
|
+
* @tags b2c_users
|
|
3438
|
+
* @name DeleteMany
|
|
3439
|
+
* @summary Soft Delete B2C users
|
|
3440
|
+
* @request DELETE:/v1/users/b2c
|
|
3264
3441
|
* @secure
|
|
3265
3442
|
*/
|
|
3266
|
-
|
|
3267
|
-
}
|
|
3268
|
-
export class WatchmenAuth<HandleError extends boolean = boolean> {
|
|
3269
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3270
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3443
|
+
deleteMany(deleteB2CUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3271
3444
|
/**
|
|
3272
|
-
* @description
|
|
3273
|
-
* @tags
|
|
3274
|
-
* @name
|
|
3275
|
-
* @summary
|
|
3276
|
-
* @request
|
|
3445
|
+
* @description Get B2C User by id
|
|
3446
|
+
* @tags b2c_users
|
|
3447
|
+
* @name GetById
|
|
3448
|
+
* @summary Get B2C User by id
|
|
3449
|
+
* @request GET:/v1/users/b2c/{id}
|
|
3277
3450
|
* @secure
|
|
3278
3451
|
*/
|
|
3279
|
-
|
|
3452
|
+
getById(id: number, headers?: {
|
|
3453
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3454
|
+
'X-Accept'?: string;
|
|
3455
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
|
|
3280
3456
|
/**
|
|
3281
|
-
* @description
|
|
3282
|
-
* @tags
|
|
3283
|
-
* @name
|
|
3284
|
-
* @summary
|
|
3285
|
-
* @request PUT:/v1/
|
|
3457
|
+
* @description Update B2C User
|
|
3458
|
+
* @tags b2c_users
|
|
3459
|
+
* @name Update
|
|
3460
|
+
* @summary Update B2C User
|
|
3461
|
+
* @request PUT:/v1/users/b2c/{id}
|
|
3286
3462
|
* @secure
|
|
3287
3463
|
*/
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3464
|
+
update(id: number, createB2BUser: UmaUpdateB2CUserDto, headers?: {
|
|
3465
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3466
|
+
'X-Accept'?: string;
|
|
3467
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
|
|
3293
3468
|
/**
|
|
3294
|
-
* @description
|
|
3295
|
-
* @tags
|
|
3296
|
-
* @name
|
|
3297
|
-
* @summary
|
|
3298
|
-
* @request
|
|
3469
|
+
* @description Partial Update B2C User
|
|
3470
|
+
* @tags b2c_users
|
|
3471
|
+
* @name PartialUpdate
|
|
3472
|
+
* @summary Partial Update B2C User
|
|
3473
|
+
* @request PATCH:/v1/users/b2c/{id}
|
|
3299
3474
|
* @secure
|
|
3300
3475
|
*/
|
|
3301
|
-
|
|
3476
|
+
partialUpdate(id: number, createB2BUser: UmaPartialUpdateB2CUserDto, headers?: {
|
|
3477
|
+
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3478
|
+
'X-Accept'?: string;
|
|
3479
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError, Format>>;
|
|
3302
3480
|
/**
|
|
3303
|
-
* @description
|
|
3304
|
-
* @tags
|
|
3305
|
-
* @name
|
|
3306
|
-
* @summary
|
|
3307
|
-
* @request
|
|
3481
|
+
* @description Generate B2C User PDF
|
|
3482
|
+
* @tags b2c_users
|
|
3483
|
+
* @name GenerateAsPdf
|
|
3484
|
+
* @summary Generate B2C User PDF
|
|
3485
|
+
* @request POST:/v1/users/b2c/{id}/generate-as-pdf
|
|
3308
3486
|
* @secure
|
|
3309
3487
|
*/
|
|
3310
|
-
|
|
3488
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
3311
3489
|
/**
|
|
3312
|
-
* @description
|
|
3313
|
-
* @tags
|
|
3314
|
-
* @name
|
|
3315
|
-
* @summary
|
|
3316
|
-
* @request
|
|
3490
|
+
* @description Change B2C User status
|
|
3491
|
+
* @tags b2c_users
|
|
3492
|
+
* @name ChangeStatus
|
|
3493
|
+
* @summary Change B2C User status
|
|
3494
|
+
* @request PATCH:/v1/users/b2c/{id}/status
|
|
3317
3495
|
* @secure
|
|
3318
3496
|
*/
|
|
3319
|
-
|
|
3497
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3320
3498
|
/**
|
|
3321
|
-
* @description Get
|
|
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
|
|
3488
|
-
* @name PartialUpdate
|
|
3489
|
-
* @summary Update microservice record (partial updates supported)
|
|
3490
|
-
* @request PATCH:/v1/b2b/microservices/{id}
|
|
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
|
|
3591
|
-
* @secure
|
|
3592
|
-
*/
|
|
3593
|
-
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3594
|
-
/**
|
|
3595
|
-
* @description Get Role Type by id
|
|
3596
|
-
* @tags role_types
|
|
3597
|
-
* @name GetById
|
|
3598
|
-
* @summary Get Role Type by id
|
|
3599
|
-
* @request GET:/v1/b2b/role-types/{id}
|
|
3600
|
-
* @secure
|
|
3601
|
-
*/
|
|
3602
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3603
|
-
/**
|
|
3604
|
-
* @description Update Role Type
|
|
3605
|
-
* @tags role_types
|
|
3606
|
-
* @name Update
|
|
3607
|
-
* @summary Update Role Type
|
|
3608
|
-
* @request PUT:/v1/b2b/role-types/{id}
|
|
3609
|
-
* @secure
|
|
3610
|
-
*/
|
|
3611
|
-
update(id: number, updateRoleType: UmaUpdateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3612
|
-
/**
|
|
3613
|
-
* @description Get Role Types with pagination
|
|
3614
|
-
* @tags role_types
|
|
3499
|
+
* @description Get B2C users with pagination
|
|
3500
|
+
* @tags b2c_users
|
|
3615
3501
|
* @name Get
|
|
3616
|
-
* @summary Get
|
|
3617
|
-
* @request POST:/v2/
|
|
3502
|
+
* @summary Get B2C users with pagination
|
|
3503
|
+
* @request POST:/v2/users/b2c/list
|
|
3618
3504
|
* @secure
|
|
3619
3505
|
*/
|
|
3620
|
-
get(
|
|
3506
|
+
get(getB2CUsers: UmaGetB2CUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2CUserSerializer, HandleError, Format>>;
|
|
3621
3507
|
}
|
|
3622
|
-
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
3623
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3624
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3508
|
+
export class B2CUserSettings<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3509
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3510
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3625
3511
|
/**
|
|
3626
3512
|
* @description Set B2C User Settings (test)
|
|
3627
3513
|
* @tags b2c_user_settings
|
|
@@ -3633,7 +3519,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3633
3519
|
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
3634
3520
|
/** Branch id/slug/code, with which user should work */
|
|
3635
3521
|
BRANCH?: string;
|
|
3636
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3522
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError, Format>>;
|
|
3637
3523
|
/**
|
|
3638
3524
|
* @description Send B2C user contact change code
|
|
3639
3525
|
* @tags b2c_user_settings
|
|
@@ -3645,7 +3531,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3645
3531
|
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
3646
3532
|
/** Branch id/slug/code, with which user should work */
|
|
3647
3533
|
BRANCH?: string;
|
|
3648
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3534
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3649
3535
|
/**
|
|
3650
3536
|
* @description Get Available B2C Branch Mfa Options
|
|
3651
3537
|
* @tags b2c_user_settings
|
|
@@ -3657,7 +3543,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3657
3543
|
availableMfaOptions(headers?: {
|
|
3658
3544
|
/** Branch id/slug/code, with which user should work */
|
|
3659
3545
|
BRANCH?: string;
|
|
3660
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
3546
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError, Format>>;
|
|
3661
3547
|
/**
|
|
3662
3548
|
* @description Delete B2C OAuth2 Bindings
|
|
3663
3549
|
* @tags b2c_user_settings
|
|
@@ -3666,7 +3552,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3666
3552
|
* @request DELETE:/v1/b2c/settings/oauth-links
|
|
3667
3553
|
* @secure
|
|
3668
3554
|
*/
|
|
3669
|
-
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3555
|
+
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3670
3556
|
/**
|
|
3671
3557
|
* @description Finish Apple OAuth2 Profile Linking
|
|
3672
3558
|
* @tags b2c_user_settings
|
|
@@ -3674,7 +3560,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3674
3560
|
* @summary Finish Apple OAuth2 Profile Linking
|
|
3675
3561
|
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
3676
3562
|
*/
|
|
3677
|
-
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3563
|
+
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3678
3564
|
/**
|
|
3679
3565
|
* @description Initialize Apple OAuth2 Profile Linking
|
|
3680
3566
|
* @tags b2c_user_settings
|
|
@@ -3683,7 +3569,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3683
3569
|
* @request POST:/v1/b2c/settings/oauth-links/apple/start
|
|
3684
3570
|
* @secure
|
|
3685
3571
|
*/
|
|
3686
|
-
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3572
|
+
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3687
3573
|
/**
|
|
3688
3574
|
* @description Finish Google OAuth2 Profile Linking
|
|
3689
3575
|
* @tags b2c_user_settings
|
|
@@ -3691,7 +3577,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3691
3577
|
* @summary Finish Google OAuth2 Profile Linking
|
|
3692
3578
|
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
3693
3579
|
*/
|
|
3694
|
-
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3580
|
+
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3695
3581
|
/**
|
|
3696
3582
|
* @description Initialize Google OAuth2 Profile Linking
|
|
3697
3583
|
* @tags b2c_user_settings
|
|
@@ -3700,7 +3586,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3700
3586
|
* @request POST:/v1/b2c/settings/oauth-links/google/start
|
|
3701
3587
|
* @secure
|
|
3702
3588
|
*/
|
|
3703
|
-
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3589
|
+
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3704
3590
|
/**
|
|
3705
3591
|
* @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
3592
|
* @tags b2c_user_settings
|
|
@@ -3709,11 +3595,11 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3709
3595
|
* @request POST:/v1/b2c/settings/oauth-links/list
|
|
3710
3596
|
* @secure
|
|
3711
3597
|
*/
|
|
3712
|
-
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError>>;
|
|
3598
|
+
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError, Format>>;
|
|
3713
3599
|
}
|
|
3714
|
-
export class Branches<HandleError extends boolean = boolean> {
|
|
3715
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3716
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3600
|
+
export class Branches<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3601
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3602
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3717
3603
|
/**
|
|
3718
3604
|
* @description Create Branch
|
|
3719
3605
|
* @tags branches
|
|
@@ -3722,7 +3608,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3722
3608
|
* @request POST:/v1/branches
|
|
3723
3609
|
* @secure
|
|
3724
3610
|
*/
|
|
3725
|
-
create(createBranch: UmaCreateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3611
|
+
create(createBranch: UmaCreateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3726
3612
|
/**
|
|
3727
3613
|
* @description Delete Branch by id
|
|
3728
3614
|
* @tags branches
|
|
@@ -3731,7 +3617,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3731
3617
|
* @request DELETE:/v1/branches
|
|
3732
3618
|
* @secure
|
|
3733
3619
|
*/
|
|
3734
|
-
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3620
|
+
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3735
3621
|
/**
|
|
3736
3622
|
* @description Get Branch by id
|
|
3737
3623
|
* @tags branches
|
|
@@ -3740,7 +3626,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3740
3626
|
* @request GET:/v1/branches/{id}
|
|
3741
3627
|
* @secure
|
|
3742
3628
|
*/
|
|
3743
|
-
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3629
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3744
3630
|
/**
|
|
3745
3631
|
* @description Update Branch
|
|
3746
3632
|
* @tags branches
|
|
@@ -3749,7 +3635,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3749
3635
|
* @request PUT:/v1/branches/{id}
|
|
3750
3636
|
* @secure
|
|
3751
3637
|
*/
|
|
3752
|
-
update(id: number, updateBranch: UmaUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3638
|
+
update(id: number, updateBranch: UmaUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3753
3639
|
/**
|
|
3754
3640
|
* @description Partial Update Branch
|
|
3755
3641
|
* @tags branches
|
|
@@ -3758,7 +3644,7 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3758
3644
|
* @request PATCH:/v1/branches/{id}
|
|
3759
3645
|
* @secure
|
|
3760
3646
|
*/
|
|
3761
|
-
partialUpdate(id: number, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3647
|
+
partialUpdate(id: number, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3762
3648
|
/**
|
|
3763
3649
|
* @description Get Branches with pagination
|
|
3764
3650
|
* @tags branches
|
|
@@ -3767,11 +3653,11 @@ export class Branches<HandleError extends boolean = boolean> {
|
|
|
3767
3653
|
* @request POST:/v2/branches/list
|
|
3768
3654
|
* @secure
|
|
3769
3655
|
*/
|
|
3770
|
-
get(getBranches: UmaGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBranchesListSerializer, HandleError>>;
|
|
3656
|
+
get(getBranches: UmaGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBranchesListSerializer, HandleError, Format>>;
|
|
3771
3657
|
}
|
|
3772
|
-
export class Countries<HandleError extends boolean = boolean> {
|
|
3773
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3774
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3658
|
+
export class Countries<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3659
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3660
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3775
3661
|
/**
|
|
3776
3662
|
* @description Get Countries info
|
|
3777
3663
|
* @tags countries
|
|
@@ -3779,11 +3665,11 @@ export class Countries<HandleError extends boolean = boolean> {
|
|
|
3779
3665
|
* @summary Get Countries info
|
|
3780
3666
|
* @request GET:/v1/countries/
|
|
3781
3667
|
*/
|
|
3782
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3668
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError, Format>>;
|
|
3783
3669
|
}
|
|
3784
|
-
export class EmailDomains<HandleError extends boolean = boolean> {
|
|
3785
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3786
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3670
|
+
export class EmailDomains<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3671
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3672
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3787
3673
|
/**
|
|
3788
3674
|
* @description Create Email Domain
|
|
3789
3675
|
* @tags email_domains
|
|
@@ -3792,7 +3678,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3792
3678
|
* @request POST:/v1/email-domains
|
|
3793
3679
|
* @secure
|
|
3794
3680
|
*/
|
|
3795
|
-
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3681
|
+
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError, Format>>;
|
|
3796
3682
|
/**
|
|
3797
3683
|
* @description Delete Email Domains
|
|
3798
3684
|
* @tags email_domains
|
|
@@ -3801,7 +3687,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3801
3687
|
* @request DELETE:/v1/email-domains
|
|
3802
3688
|
* @secure
|
|
3803
3689
|
*/
|
|
3804
|
-
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3690
|
+
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3805
3691
|
/**
|
|
3806
3692
|
* @description Get emailDomains with pagination
|
|
3807
3693
|
* @tags email_domains
|
|
@@ -3810,7 +3696,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3810
3696
|
* @request POST:/v1/email-domains/list
|
|
3811
3697
|
* @secure
|
|
3812
3698
|
*/
|
|
3813
|
-
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError>>;
|
|
3699
|
+
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError, Format>>;
|
|
3814
3700
|
/**
|
|
3815
3701
|
* @description Get Email Domain by id
|
|
3816
3702
|
* @tags email_domains
|
|
@@ -3819,7 +3705,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3819
3705
|
* @request GET:/v1/email-domains/{id}
|
|
3820
3706
|
* @secure
|
|
3821
3707
|
*/
|
|
3822
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3708
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError, Format>>;
|
|
3823
3709
|
/**
|
|
3824
3710
|
* @description Update Email Domain record (partial updates supported).
|
|
3825
3711
|
* @tags email_domains
|
|
@@ -3828,20 +3714,78 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3828
3714
|
* @request PATCH:/v1/email-domains/{id}
|
|
3829
3715
|
* @secure
|
|
3830
3716
|
*/
|
|
3831
|
-
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3717
|
+
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError, Format>>;
|
|
3832
3718
|
}
|
|
3833
|
-
export class
|
|
3834
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3835
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3719
|
+
export class Endpoints<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3720
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3721
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3836
3722
|
/**
|
|
3837
|
-
* @description Create
|
|
3838
|
-
* @tags
|
|
3839
|
-
* @name Create
|
|
3723
|
+
* @description Create Endpoint
|
|
3724
|
+
* @tags endpoints
|
|
3725
|
+
* @name Create
|
|
3726
|
+
* @summary Create Endpoint
|
|
3727
|
+
* @request POST:/v1/b2b/endpoints
|
|
3728
|
+
* @secure
|
|
3729
|
+
*/
|
|
3730
|
+
create(endpointDto: UmaCreateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3731
|
+
/**
|
|
3732
|
+
* @description Delete endpoint by id
|
|
3733
|
+
* @tags endpoints
|
|
3734
|
+
* @name DeleteMany
|
|
3735
|
+
* @summary Delete endpoint by id
|
|
3736
|
+
* @request DELETE:/v1/b2b/endpoints
|
|
3737
|
+
* @secure
|
|
3738
|
+
*/
|
|
3739
|
+
deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3740
|
+
/**
|
|
3741
|
+
* @description Get Endpoint by id
|
|
3742
|
+
* @tags endpoints
|
|
3743
|
+
* @name GetById
|
|
3744
|
+
* @summary Get Endpoint by id
|
|
3745
|
+
* @request GET:/v1/b2b/endpoints/{id}
|
|
3746
|
+
* @secure
|
|
3747
|
+
*/
|
|
3748
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3749
|
+
/**
|
|
3750
|
+
* @description Update endpoint record
|
|
3751
|
+
* @tags endpoints
|
|
3752
|
+
* @name Update
|
|
3753
|
+
* @summary Update endpoint record
|
|
3754
|
+
* @request PUT:/v1/b2b/endpoints/{id}
|
|
3755
|
+
* @secure
|
|
3756
|
+
*/
|
|
3757
|
+
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3758
|
+
/**
|
|
3759
|
+
* @description Update endpoint record (partial updates supported).
|
|
3760
|
+
* @tags endpoints
|
|
3761
|
+
* @name PartialUpdate
|
|
3762
|
+
* @summary Update endpoint record (partial updates supported)
|
|
3763
|
+
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3764
|
+
* @secure
|
|
3765
|
+
*/
|
|
3766
|
+
partialUpdate(id: number, endpointDto: UmaPartialUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3767
|
+
/**
|
|
3768
|
+
* @description Get endpoints with pagination
|
|
3769
|
+
* @tags endpoints
|
|
3770
|
+
* @name Get
|
|
3771
|
+
* @summary Get endpoints with pagination
|
|
3772
|
+
* @request POST:/v2/b2b/endpoints/list
|
|
3773
|
+
* @secure
|
|
3774
|
+
*/
|
|
3775
|
+
get(endpointDto: UmaGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEndpointsListSerializer, HandleError, Format>>;
|
|
3776
|
+
}
|
|
3777
|
+
export class Firms<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3778
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3779
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3780
|
+
/**
|
|
3781
|
+
* @description Create Firm
|
|
3782
|
+
* @tags firms
|
|
3783
|
+
* @name Create
|
|
3840
3784
|
* @summary Create Firm
|
|
3841
3785
|
* @request POST:/v1/firms
|
|
3842
3786
|
* @secure
|
|
3843
3787
|
*/
|
|
3844
|
-
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3788
|
+
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3845
3789
|
/**
|
|
3846
3790
|
* @description Deletes Firm by ids
|
|
3847
3791
|
* @tags firms
|
|
@@ -3850,7 +3794,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3850
3794
|
* @request DELETE:/v1/firms
|
|
3851
3795
|
* @secure
|
|
3852
3796
|
*/
|
|
3853
|
-
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3797
|
+
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3854
3798
|
/**
|
|
3855
3799
|
* @description Get Firm by id
|
|
3856
3800
|
* @tags firms
|
|
@@ -3859,7 +3803,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3859
3803
|
* @request GET:/v1/firms/{id}
|
|
3860
3804
|
* @secure
|
|
3861
3805
|
*/
|
|
3862
|
-
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3806
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3863
3807
|
/**
|
|
3864
3808
|
* @description Update Firm
|
|
3865
3809
|
* @tags firms
|
|
@@ -3868,7 +3812,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3868
3812
|
* @request PUT:/v1/firms/{id}
|
|
3869
3813
|
* @secure
|
|
3870
3814
|
*/
|
|
3871
|
-
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3815
|
+
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3872
3816
|
/**
|
|
3873
3817
|
* @description Update Firm (partial updates supported).
|
|
3874
3818
|
* @tags firms
|
|
@@ -3877,7 +3821,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3877
3821
|
* @request PATCH:/v1/firms/{id}
|
|
3878
3822
|
* @secure
|
|
3879
3823
|
*/
|
|
3880
|
-
partialUpdate(id: number, updateFirm: UmaPartialUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3824
|
+
partialUpdate(id: number, updateFirm: UmaPartialUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3881
3825
|
/**
|
|
3882
3826
|
* @description Get Firms with pagination
|
|
3883
3827
|
* @tags firms
|
|
@@ -3886,11 +3830,60 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3886
3830
|
* @request POST:/v2/firms/list
|
|
3887
3831
|
* @secure
|
|
3888
3832
|
*/
|
|
3889
|
-
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError>>;
|
|
3833
|
+
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError, Format>>;
|
|
3834
|
+
}
|
|
3835
|
+
export class IdentityProviders<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3836
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3837
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3838
|
+
/**
|
|
3839
|
+
* @description Create Identity Provider
|
|
3840
|
+
* @tags identity_providers
|
|
3841
|
+
* @name Create
|
|
3842
|
+
* @summary Create Identity Provider
|
|
3843
|
+
* @request POST:/v1/b2b/identity-providers
|
|
3844
|
+
* @secure
|
|
3845
|
+
*/
|
|
3846
|
+
create(createIdentityProviderDto: UmaCreateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError, Format>>;
|
|
3847
|
+
/**
|
|
3848
|
+
* @description Delete Identity providers by id
|
|
3849
|
+
* @tags identity_providers
|
|
3850
|
+
* @name DeleteMany
|
|
3851
|
+
* @summary Delete Identity providers by ids
|
|
3852
|
+
* @request DELETE:/v1/b2b/identity-providers
|
|
3853
|
+
* @secure
|
|
3854
|
+
*/
|
|
3855
|
+
deleteMany(deleteIdentityProvidersDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3856
|
+
/**
|
|
3857
|
+
* @description Get Identity Provider by id
|
|
3858
|
+
* @tags identity_providers
|
|
3859
|
+
* @name GetById
|
|
3860
|
+
* @summary Get Identity Provider by id
|
|
3861
|
+
* @request GET:/v1/b2b/identity-providers/{id}
|
|
3862
|
+
* @secure
|
|
3863
|
+
*/
|
|
3864
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError, Format>>;
|
|
3865
|
+
/**
|
|
3866
|
+
* @description Update identity provider record
|
|
3867
|
+
* @tags identity_providers
|
|
3868
|
+
* @name Update
|
|
3869
|
+
* @summary Update identity provider record
|
|
3870
|
+
* @request PUT:/v1/b2b/identity-providers/{id}
|
|
3871
|
+
* @secure
|
|
3872
|
+
*/
|
|
3873
|
+
update(id: number, identityProvidersDto: UmaUpdateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError, Format>>;
|
|
3874
|
+
/**
|
|
3875
|
+
* @description Get Identity Providers with pagination
|
|
3876
|
+
* @tags identity_providers
|
|
3877
|
+
* @name Get
|
|
3878
|
+
* @summary Get Identity Providers with pagination
|
|
3879
|
+
* @request POST:/v2/b2b/identity-providers/list
|
|
3880
|
+
* @secure
|
|
3881
|
+
*/
|
|
3882
|
+
get(identityProvidersDto: UmaGetIdentityProvidersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetIdentityProvidersListSerializer, HandleError, Format>>;
|
|
3890
3883
|
}
|
|
3891
|
-
export class Locales<HandleError extends boolean = boolean> {
|
|
3892
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3893
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3884
|
+
export class Locales<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3885
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3886
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3894
3887
|
/**
|
|
3895
3888
|
* @description get all language locales
|
|
3896
3889
|
* @tags locales
|
|
@@ -3898,11 +3891,69 @@ export class Locales<HandleError extends boolean = boolean> {
|
|
|
3898
3891
|
* @summary get all locales
|
|
3899
3892
|
* @request GET:/v1/locales
|
|
3900
3893
|
*/
|
|
3901
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError>>;
|
|
3894
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError, Format>>;
|
|
3902
3895
|
}
|
|
3903
|
-
export class
|
|
3904
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3905
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3896
|
+
export class Microservices<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3897
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3898
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3899
|
+
/**
|
|
3900
|
+
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3901
|
+
* @tags microservices
|
|
3902
|
+
* @name Create
|
|
3903
|
+
* @summary Create Microservice
|
|
3904
|
+
* @request POST:/v1/b2b/microservices
|
|
3905
|
+
* @secure
|
|
3906
|
+
*/
|
|
3907
|
+
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
|
|
3908
|
+
/**
|
|
3909
|
+
* @description Delete microservice by id
|
|
3910
|
+
* @tags microservices
|
|
3911
|
+
* @name DeleteMany
|
|
3912
|
+
* @summary Delete microservice by id
|
|
3913
|
+
* @request DELETE:/v1/b2b/microservices
|
|
3914
|
+
* @secure
|
|
3915
|
+
*/
|
|
3916
|
+
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3917
|
+
/**
|
|
3918
|
+
* @description Get Microservice by id
|
|
3919
|
+
* @tags microservices
|
|
3920
|
+
* @name GetById
|
|
3921
|
+
* @summary Get Microservice by id
|
|
3922
|
+
* @request GET:/v1/b2b/microservices/{id}
|
|
3923
|
+
* @secure
|
|
3924
|
+
*/
|
|
3925
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
|
|
3926
|
+
/**
|
|
3927
|
+
* @description Update microservice record
|
|
3928
|
+
* @tags microservices
|
|
3929
|
+
* @name Update
|
|
3930
|
+
* @summary Update microservice record
|
|
3931
|
+
* @request PUT:/v1/b2b/microservices/{id}
|
|
3932
|
+
* @secure
|
|
3933
|
+
*/
|
|
3934
|
+
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
|
|
3935
|
+
/**
|
|
3936
|
+
* @description Update microservice record (partial updates supported)
|
|
3937
|
+
* @tags microservices
|
|
3938
|
+
* @name PartialUpdate
|
|
3939
|
+
* @summary Update microservice record (partial updates supported)
|
|
3940
|
+
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3941
|
+
* @secure
|
|
3942
|
+
*/
|
|
3943
|
+
partialUpdate(id: number, microserviceDto: UmaPartialUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
|
|
3944
|
+
/**
|
|
3945
|
+
* @description Get microservices with pagination
|
|
3946
|
+
* @tags microservices
|
|
3947
|
+
* @name Get
|
|
3948
|
+
* @summary Get microservices with pagination
|
|
3949
|
+
* @request POST:/v2/b2b/microservices/list
|
|
3950
|
+
* @secure
|
|
3951
|
+
*/
|
|
3952
|
+
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError, Format>>;
|
|
3953
|
+
}
|
|
3954
|
+
export class Permissions<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
3955
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
3956
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3906
3957
|
/**
|
|
3907
3958
|
* @description Create Permission
|
|
3908
3959
|
* @tags permissions
|
|
@@ -3911,7 +3962,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3911
3962
|
* @request POST:/v1/permissions
|
|
3912
3963
|
* @secure
|
|
3913
3964
|
*/
|
|
3914
|
-
create(createPermission: UmaCreatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
3965
|
+
create(createPermission: UmaCreatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3915
3966
|
/**
|
|
3916
3967
|
* @description Delete Permissions by id
|
|
3917
3968
|
* @tags permissions
|
|
@@ -3920,7 +3971,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3920
3971
|
* @request DELETE:/v1/permissions
|
|
3921
3972
|
* @secure
|
|
3922
3973
|
*/
|
|
3923
|
-
deleteMany(deletePermissions: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3974
|
+
deleteMany(deletePermissions: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3924
3975
|
/**
|
|
3925
3976
|
* @description Get Permission by id
|
|
3926
3977
|
* @tags permissions
|
|
@@ -3929,7 +3980,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3929
3980
|
* @request GET:/v1/permissions/{id}
|
|
3930
3981
|
* @secure
|
|
3931
3982
|
*/
|
|
3932
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
3983
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3933
3984
|
/**
|
|
3934
3985
|
* @description Update Permission
|
|
3935
3986
|
* @tags permissions
|
|
@@ -3938,7 +3989,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3938
3989
|
* @request PUT:/v1/permissions/{id}
|
|
3939
3990
|
* @secure
|
|
3940
3991
|
*/
|
|
3941
|
-
update(id: number, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
3992
|
+
update(id: number, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3942
3993
|
/**
|
|
3943
3994
|
* @description Partial Update Permission
|
|
3944
3995
|
* @tags permissions
|
|
@@ -3947,7 +3998,7 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3947
3998
|
* @request PATCH:/v1/permissions/{id}
|
|
3948
3999
|
* @secure
|
|
3949
4000
|
*/
|
|
3950
|
-
partialUpdate(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
4001
|
+
partialUpdate(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3951
4002
|
/**
|
|
3952
4003
|
* @description Get Permissions with pagination
|
|
3953
4004
|
* @tags permissions
|
|
@@ -3956,11 +4007,11 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3956
4007
|
* @request POST:/v2/permissions/list
|
|
3957
4008
|
* @secure
|
|
3958
4009
|
*/
|
|
3959
|
-
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError>>;
|
|
4010
|
+
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError, Format>>;
|
|
3960
4011
|
}
|
|
3961
|
-
export class PublicSettings<HandleError extends boolean = boolean> {
|
|
3962
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3963
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4012
|
+
export class PublicSettings<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4013
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4014
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3964
4015
|
/**
|
|
3965
4016
|
* @description Get public settings
|
|
3966
4017
|
* @tags public_settings
|
|
@@ -3968,11 +4019,11 @@ export class PublicSettings<HandleError extends boolean = boolean> {
|
|
|
3968
4019
|
* @summary Get public settings
|
|
3969
4020
|
* @request GET:/v1/public-settings
|
|
3970
4021
|
*/
|
|
3971
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError>>;
|
|
4022
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError, Format>>;
|
|
3972
4023
|
}
|
|
3973
|
-
export class Roles<HandleError extends boolean = boolean> {
|
|
3974
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3975
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4024
|
+
export class Roles<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4025
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4026
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
3976
4027
|
/**
|
|
3977
4028
|
* @description Create Role
|
|
3978
4029
|
* @tags roles
|
|
@@ -3981,7 +4032,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3981
4032
|
* @request POST:/v1/roles
|
|
3982
4033
|
* @secure
|
|
3983
4034
|
*/
|
|
3984
|
-
create(createRole: UmaCreateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
4035
|
+
create(createRole: UmaCreateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
3985
4036
|
/**
|
|
3986
4037
|
* @description Delete Roles by ids
|
|
3987
4038
|
* @tags roles
|
|
@@ -3990,7 +4041,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3990
4041
|
* @request DELETE:/v1/roles
|
|
3991
4042
|
* @secure
|
|
3992
4043
|
*/
|
|
3993
|
-
deleteMany(deleteRoles: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4044
|
+
deleteMany(deleteRoles: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3994
4045
|
/**
|
|
3995
4046
|
* @description Get Role by id
|
|
3996
4047
|
* @tags roles
|
|
@@ -3999,7 +4050,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3999
4050
|
* @request GET:/v1/roles/{id}
|
|
4000
4051
|
* @secure
|
|
4001
4052
|
*/
|
|
4002
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
4053
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4003
4054
|
/**
|
|
4004
4055
|
* @description Update Role
|
|
4005
4056
|
* @tags roles
|
|
@@ -4008,7 +4059,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
4008
4059
|
* @request PUT:/v1/roles/{id}
|
|
4009
4060
|
* @secure
|
|
4010
4061
|
*/
|
|
4011
|
-
update(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
4062
|
+
update(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4012
4063
|
/**
|
|
4013
4064
|
* @description Partial Update Role. Only the fields provided in the body will be updated.
|
|
4014
4065
|
* @tags roles
|
|
@@ -4017,7 +4068,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
4017
4068
|
* @request PATCH:/v1/roles/{id}
|
|
4018
4069
|
* @secure
|
|
4019
4070
|
*/
|
|
4020
|
-
partialUpdate(id: number, updateRole: UmaPartialUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
4071
|
+
partialUpdate(id: number, updateRole: UmaPartialUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4021
4072
|
/**
|
|
4022
4073
|
* @description Generate Role PDF
|
|
4023
4074
|
* @tags roles
|
|
@@ -4026,7 +4077,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
4026
4077
|
* @request POST:/v1/roles/{id}/generate-as-pdf
|
|
4027
4078
|
* @secure
|
|
4028
4079
|
*/
|
|
4029
|
-
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4080
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
4030
4081
|
/**
|
|
4031
4082
|
* @description Get Roles with pagination
|
|
4032
4083
|
* @tags roles
|
|
@@ -4035,11 +4086,60 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
4035
4086
|
* @request POST:/v2/roles/list
|
|
4036
4087
|
* @secure
|
|
4037
4088
|
*/
|
|
4038
|
-
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError>>;
|
|
4089
|
+
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError, Format>>;
|
|
4039
4090
|
}
|
|
4040
|
-
export class
|
|
4041
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4042
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4091
|
+
export class RoleTypes<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4092
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4093
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4094
|
+
/**
|
|
4095
|
+
* @description Create Role Type
|
|
4096
|
+
* @tags role_types
|
|
4097
|
+
* @name Create
|
|
4098
|
+
* @summary Create Role Type
|
|
4099
|
+
* @request POST:/v1/b2b/role-types
|
|
4100
|
+
* @secure
|
|
4101
|
+
*/
|
|
4102
|
+
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError, Format>>;
|
|
4103
|
+
/**
|
|
4104
|
+
* @description Delete Role Types by ids
|
|
4105
|
+
* @tags role_types
|
|
4106
|
+
* @name DeleteMany
|
|
4107
|
+
* @summary Delete Role Types by ids
|
|
4108
|
+
* @request DELETE:/v1/b2b/role-types
|
|
4109
|
+
* @secure
|
|
4110
|
+
*/
|
|
4111
|
+
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4112
|
+
/**
|
|
4113
|
+
* @description Get Role Type by id
|
|
4114
|
+
* @tags role_types
|
|
4115
|
+
* @name GetById
|
|
4116
|
+
* @summary Get Role Type by id
|
|
4117
|
+
* @request GET:/v1/b2b/role-types/{id}
|
|
4118
|
+
* @secure
|
|
4119
|
+
*/
|
|
4120
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError, Format>>;
|
|
4121
|
+
/**
|
|
4122
|
+
* @description Update Role Type
|
|
4123
|
+
* @tags role_types
|
|
4124
|
+
* @name Update
|
|
4125
|
+
* @summary Update Role Type
|
|
4126
|
+
* @request PUT:/v1/b2b/role-types/{id}
|
|
4127
|
+
* @secure
|
|
4128
|
+
*/
|
|
4129
|
+
update(id: number, updateRoleType: UmaUpdateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError, Format>>;
|
|
4130
|
+
/**
|
|
4131
|
+
* @description Get Role Types with pagination
|
|
4132
|
+
* @tags role_types
|
|
4133
|
+
* @name Get
|
|
4134
|
+
* @summary Get Role Types with pagination
|
|
4135
|
+
* @request POST:/v2/b2b/role-types/list
|
|
4136
|
+
* @secure
|
|
4137
|
+
*/
|
|
4138
|
+
get(getRoleTypes: UmaGetRoleTypesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRoleTypesListSerializer, HandleError, Format>>;
|
|
4139
|
+
}
|
|
4140
|
+
export class SecretNotes<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4141
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4142
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4043
4143
|
/**
|
|
4044
4144
|
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
4045
4145
|
* @tags secret_notes
|
|
@@ -4048,7 +4148,7 @@ export class SecretNotes<HandleError extends boolean = boolean> {
|
|
|
4048
4148
|
* @request POST:/v1/secret-notes
|
|
4049
4149
|
* @secure
|
|
4050
4150
|
*/
|
|
4051
|
-
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError>>;
|
|
4151
|
+
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError, Format>>;
|
|
4052
4152
|
/**
|
|
4053
4153
|
* @description Get Secret note
|
|
4054
4154
|
* @tags secret_notes
|
|
@@ -4056,7 +4156,7 @@ export class SecretNotes<HandleError extends boolean = boolean> {
|
|
|
4056
4156
|
* @summary Get Secret note
|
|
4057
4157
|
* @request POST:/v1/secret-notes/fetch
|
|
4058
4158
|
*/
|
|
4059
|
-
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
4159
|
+
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError, Format>>;
|
|
4060
4160
|
/**
|
|
4061
4161
|
* @description Send Secret note verification code
|
|
4062
4162
|
* @tags secret_notes
|
|
@@ -4064,224 +4164,202 @@ export class SecretNotes<HandleError extends boolean = boolean> {
|
|
|
4064
4164
|
* @summary Send Secret note verification code
|
|
4065
4165
|
* @request PUT:/v1/secret-notes/verification
|
|
4066
4166
|
*/
|
|
4067
|
-
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4167
|
+
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4068
4168
|
}
|
|
4069
|
-
export class
|
|
4070
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4071
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4169
|
+
export class Sessions<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4170
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4171
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4072
4172
|
/**
|
|
4073
|
-
* @description
|
|
4074
|
-
* @tags
|
|
4075
|
-
* @name
|
|
4076
|
-
* @summary
|
|
4077
|
-
* @request
|
|
4078
|
-
* @secure
|
|
4079
|
-
*/
|
|
4080
|
-
create(createTagDto: UmaCreateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
4081
|
-
/**
|
|
4082
|
-
* @description Delete Tags
|
|
4083
|
-
* @tags tags
|
|
4084
|
-
* @name DeleteMany
|
|
4085
|
-
* @summary Delete Tags
|
|
4086
|
-
* @request DELETE:/v1/tags
|
|
4087
|
-
* @secure
|
|
4088
|
-
*/
|
|
4089
|
-
deleteMany(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4090
|
-
/**
|
|
4091
|
-
* @description Get Tags List. Available fields for sorting are `id, name, created_at, updated_at`. Search is performed by `name`
|
|
4092
|
-
* @tags tags
|
|
4093
|
-
* @name Get
|
|
4094
|
-
* @summary Get Tags List
|
|
4095
|
-
* @request POST:/v1/tags/list
|
|
4096
|
-
* @secure
|
|
4097
|
-
*/
|
|
4098
|
-
get(getTagsDto: UmaGetTagsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTagsListSerializer, HandleError>>;
|
|
4099
|
-
/**
|
|
4100
|
-
* @description Get Tags By ID
|
|
4101
|
-
* @tags tags
|
|
4102
|
-
* @name GetById
|
|
4103
|
-
* @summary Get Tag By ID
|
|
4104
|
-
* @request GET:/v1/tags/{id}
|
|
4173
|
+
* @description et current user sessions info
|
|
4174
|
+
* @tags sessions
|
|
4175
|
+
* @name GetCurrentUserSessions
|
|
4176
|
+
* @summary Get current user sessions info
|
|
4177
|
+
* @request GET:/v1/auth/sessions
|
|
4105
4178
|
* @secure
|
|
4106
4179
|
*/
|
|
4107
|
-
|
|
4180
|
+
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSessionsListSerializer, HandleError, Format>>;
|
|
4108
4181
|
/**
|
|
4109
|
-
* @description
|
|
4110
|
-
* @tags
|
|
4111
|
-
* @name
|
|
4112
|
-
* @summary
|
|
4113
|
-
* @request
|
|
4182
|
+
* @description Delete current user sessions by pair id's
|
|
4183
|
+
* @tags sessions
|
|
4184
|
+
* @name DeleteCurrentUserSessions
|
|
4185
|
+
* @summary Delete current user sessions by pair id's
|
|
4186
|
+
* @request DELETE:/v1/auth/sessions
|
|
4114
4187
|
* @secure
|
|
4115
4188
|
*/
|
|
4116
|
-
|
|
4189
|
+
deleteCurrentUserSessions(deleteSessions: UmaDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4117
4190
|
}
|
|
4118
|
-
export class
|
|
4119
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4120
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4191
|
+
export class SystemUsers<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4192
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4193
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4121
4194
|
/**
|
|
4122
|
-
* @description Create
|
|
4123
|
-
* @tags
|
|
4195
|
+
* @description Create System User
|
|
4196
|
+
* @tags system_users
|
|
4124
4197
|
* @name Create
|
|
4125
|
-
* @summary Create
|
|
4126
|
-
* @request POST:/v1/users/
|
|
4198
|
+
* @summary Create System User
|
|
4199
|
+
* @request POST:/v1/users/system
|
|
4127
4200
|
* @secure
|
|
4128
4201
|
*/
|
|
4129
|
-
create(
|
|
4130
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
4131
|
-
"X-Accept"?: string;
|
|
4132
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4202
|
+
create(createSystemUser: UmaCreateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4133
4203
|
/**
|
|
4134
|
-
* @description
|
|
4135
|
-
* @tags
|
|
4204
|
+
* @description Delete System user by id
|
|
4205
|
+
* @tags system_users
|
|
4136
4206
|
* @name DeleteMany
|
|
4137
|
-
* @summary
|
|
4138
|
-
* @request DELETE:/v1/users/
|
|
4207
|
+
* @summary Delete System user by id
|
|
4208
|
+
* @request DELETE:/v1/users/system
|
|
4139
4209
|
* @secure
|
|
4140
4210
|
*/
|
|
4141
|
-
deleteMany(
|
|
4211
|
+
deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4142
4212
|
/**
|
|
4143
|
-
* @description Get
|
|
4144
|
-
* @tags
|
|
4213
|
+
* @description Get System users with pagination
|
|
4214
|
+
* @tags System_users
|
|
4215
|
+
* @name Get
|
|
4216
|
+
* @summary Get System users with pagination
|
|
4217
|
+
* @request POST:/v1/users/system/list
|
|
4218
|
+
* @secure
|
|
4219
|
+
*/
|
|
4220
|
+
get(getSystemUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError, Format>>;
|
|
4221
|
+
/**
|
|
4222
|
+
* @description Get System User by id
|
|
4223
|
+
* @tags system_users
|
|
4145
4224
|
* @name GetById
|
|
4146
|
-
* @summary Get
|
|
4147
|
-
* @request GET:/v1/users/
|
|
4225
|
+
* @summary Get System User by id
|
|
4226
|
+
* @request GET:/v1/users/system/{id}
|
|
4148
4227
|
* @secure
|
|
4149
4228
|
*/
|
|
4150
|
-
getById(id: number,
|
|
4151
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
4152
|
-
"X-Accept"?: string;
|
|
4153
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4229
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4154
4230
|
/**
|
|
4155
|
-
* @description Update
|
|
4156
|
-
* @tags
|
|
4231
|
+
* @description Update System User
|
|
4232
|
+
* @tags system_users
|
|
4157
4233
|
* @name Update
|
|
4158
|
-
* @summary Update
|
|
4159
|
-
* @request PUT:/v1/users/
|
|
4234
|
+
* @summary Update System User
|
|
4235
|
+
* @request PUT:/v1/users/system/{id}
|
|
4160
4236
|
* @secure
|
|
4161
4237
|
*/
|
|
4162
|
-
update(id: number,
|
|
4163
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
4164
|
-
"X-Accept"?: string;
|
|
4165
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4238
|
+
update(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4166
4239
|
/**
|
|
4167
|
-
* @description Partial Update
|
|
4168
|
-
* @tags
|
|
4240
|
+
* @description Partial Update System User
|
|
4241
|
+
* @tags system_users
|
|
4169
4242
|
* @name PartialUpdate
|
|
4170
|
-
* @summary Partial Update
|
|
4171
|
-
* @request PATCH:/v1/users/
|
|
4243
|
+
* @summary Partial Update System User
|
|
4244
|
+
* @request PATCH:/v1/users/system/{id}
|
|
4172
4245
|
* @secure
|
|
4173
4246
|
*/
|
|
4174
|
-
partialUpdate(id: number,
|
|
4175
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
4176
|
-
"X-Accept"?: string;
|
|
4177
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
4247
|
+
partialUpdate(id: number, updateSystemUser: UmaPartialUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4178
4248
|
/**
|
|
4179
|
-
* @description Generate
|
|
4180
|
-
* @tags
|
|
4249
|
+
* @description Generate System User PDF
|
|
4250
|
+
* @tags system_users
|
|
4181
4251
|
* @name GenerateAsPdf
|
|
4182
|
-
* @summary Generate
|
|
4183
|
-
* @request POST:/v1/users/
|
|
4252
|
+
* @summary Generate System User PDF
|
|
4253
|
+
* @request POST:/v1/users/system/{id}/generate-as-pdf
|
|
4184
4254
|
* @secure
|
|
4185
4255
|
*/
|
|
4186
|
-
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4256
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
4187
4257
|
/**
|
|
4188
|
-
* @description Change
|
|
4189
|
-
* @tags
|
|
4258
|
+
* @description Change System User status
|
|
4259
|
+
* @tags system_users
|
|
4190
4260
|
* @name ChangeStatus
|
|
4191
|
-
* @summary Change
|
|
4192
|
-
* @request PATCH:/v1/users/
|
|
4261
|
+
* @summary Change System User status
|
|
4262
|
+
* @request PATCH:/v1/users/system/{id}/status
|
|
4193
4263
|
* @secure
|
|
4194
4264
|
*/
|
|
4195
|
-
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4265
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4266
|
+
}
|
|
4267
|
+
export class TablePresets<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4268
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4269
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4196
4270
|
/**
|
|
4197
|
-
* @description Get
|
|
4198
|
-
* @tags
|
|
4199
|
-
* @name
|
|
4200
|
-
* @summary Get
|
|
4201
|
-
* @request
|
|
4271
|
+
* @description Get user Table Presets
|
|
4272
|
+
* @tags table_presets
|
|
4273
|
+
* @name GetUserPresets
|
|
4274
|
+
* @summary Get user Table Presets
|
|
4275
|
+
* @request GET:/v1/b2b/table-presets
|
|
4202
4276
|
* @secure
|
|
4203
4277
|
*/
|
|
4204
|
-
|
|
4205
|
-
}
|
|
4206
|
-
export class B2BUsers<HandleError extends boolean = boolean> {
|
|
4207
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4208
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4278
|
+
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError, Format>>;
|
|
4209
4279
|
/**
|
|
4210
|
-
* @description
|
|
4211
|
-
* @tags
|
|
4212
|
-
* @name
|
|
4213
|
-
* @summary
|
|
4214
|
-
* @request
|
|
4280
|
+
* @description Upsert Table Preset
|
|
4281
|
+
* @tags table_presets
|
|
4282
|
+
* @name Upsert
|
|
4283
|
+
* @summary Upsert Table Preset
|
|
4284
|
+
* @request PUT:/v1/b2b/table-presets
|
|
4215
4285
|
* @secure
|
|
4216
4286
|
*/
|
|
4217
|
-
|
|
4287
|
+
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError, Format>>;
|
|
4288
|
+
}
|
|
4289
|
+
export class Tags<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4290
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4291
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4218
4292
|
/**
|
|
4219
|
-
* @description
|
|
4220
|
-
* @tags
|
|
4221
|
-
* @name
|
|
4222
|
-
* @summary
|
|
4223
|
-
* @request
|
|
4293
|
+
* @description Create Tag
|
|
4294
|
+
* @tags tags
|
|
4295
|
+
* @name Create
|
|
4296
|
+
* @summary Create Tag
|
|
4297
|
+
* @request POST:/v1/tags
|
|
4224
4298
|
* @secure
|
|
4225
4299
|
*/
|
|
4226
|
-
|
|
4300
|
+
create(createTagDto: UmaCreateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError, Format>>;
|
|
4227
4301
|
/**
|
|
4228
|
-
* @description
|
|
4229
|
-
* @tags
|
|
4230
|
-
* @name
|
|
4231
|
-
* @summary
|
|
4232
|
-
* @request
|
|
4302
|
+
* @description Delete Tags
|
|
4303
|
+
* @tags tags
|
|
4304
|
+
* @name DeleteMany
|
|
4305
|
+
* @summary Delete Tags
|
|
4306
|
+
* @request DELETE:/v1/tags
|
|
4233
4307
|
* @secure
|
|
4234
4308
|
*/
|
|
4235
|
-
|
|
4309
|
+
deleteMany(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4236
4310
|
/**
|
|
4237
|
-
* @description
|
|
4238
|
-
* @tags
|
|
4239
|
-
* @name
|
|
4240
|
-
* @summary
|
|
4241
|
-
* @request POST:/v1/
|
|
4311
|
+
* @description Get Tags List. Available fields for sorting are `id, name, created_at, updated_at`. Search is performed by `name`
|
|
4312
|
+
* @tags tags
|
|
4313
|
+
* @name Get
|
|
4314
|
+
* @summary Get Tags List
|
|
4315
|
+
* @request POST:/v1/tags/list
|
|
4242
4316
|
* @secure
|
|
4243
4317
|
*/
|
|
4244
|
-
|
|
4318
|
+
get(getTagsDto: UmaGetTagsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTagsListSerializer, HandleError, Format>>;
|
|
4245
4319
|
/**
|
|
4246
|
-
* @description
|
|
4247
|
-
* @tags
|
|
4248
|
-
* @name
|
|
4249
|
-
* @summary
|
|
4250
|
-
* @request
|
|
4320
|
+
* @description Get Tags By ID
|
|
4321
|
+
* @tags tags
|
|
4322
|
+
* @name GetById
|
|
4323
|
+
* @summary Get Tag By ID
|
|
4324
|
+
* @request GET:/v1/tags/{id}
|
|
4251
4325
|
* @secure
|
|
4252
4326
|
*/
|
|
4253
|
-
|
|
4327
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError, Format>>;
|
|
4254
4328
|
/**
|
|
4255
|
-
* @description
|
|
4256
|
-
* @tags
|
|
4257
|
-
* @name
|
|
4258
|
-
* @summary
|
|
4259
|
-
* @request
|
|
4329
|
+
* @description Update Tag
|
|
4330
|
+
* @tags tags
|
|
4331
|
+
* @name Update
|
|
4332
|
+
* @summary Update Tag
|
|
4333
|
+
* @request PUT:/v1/tags/{id}
|
|
4260
4334
|
* @secure
|
|
4261
4335
|
*/
|
|
4262
|
-
|
|
4336
|
+
update(id: number, updateTagDto: UmaUpdateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError, Format>>;
|
|
4337
|
+
}
|
|
4338
|
+
export class TrustedDevices<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4339
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4340
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4263
4341
|
/**
|
|
4264
|
-
* @description
|
|
4265
|
-
* @tags
|
|
4266
|
-
* @name
|
|
4267
|
-
* @summary
|
|
4268
|
-
* @request
|
|
4342
|
+
* @description Delete trusted devices
|
|
4343
|
+
* @tags trusted_devices
|
|
4344
|
+
* @name DeleteMany
|
|
4345
|
+
* @summary Delete trusted devices
|
|
4346
|
+
* @request DELETE:/v1/auth/trusted-devices
|
|
4269
4347
|
* @secure
|
|
4270
4348
|
*/
|
|
4271
|
-
|
|
4349
|
+
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4272
4350
|
/**
|
|
4273
|
-
* @description
|
|
4274
|
-
* @tags
|
|
4275
|
-
* @name
|
|
4276
|
-
* @summary
|
|
4277
|
-
* @request
|
|
4351
|
+
* @description Get trusted devices
|
|
4352
|
+
* @tags trusted_devices
|
|
4353
|
+
* @name Get
|
|
4354
|
+
* @summary Get trusted devices
|
|
4355
|
+
* @request POST:/v1/auth/trusted-devices/list
|
|
4278
4356
|
* @secure
|
|
4279
4357
|
*/
|
|
4280
|
-
|
|
4358
|
+
get(getTrustedDevicesListDto: UmaGetTrustedDevicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTrustedDevicesListSerializer, HandleError, Format>>;
|
|
4281
4359
|
}
|
|
4282
|
-
export class UserDetails<HandleError extends boolean = boolean> {
|
|
4283
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4284
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4360
|
+
export class UserDetails<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4361
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4362
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4285
4363
|
/**
|
|
4286
4364
|
* @description Get User Details by JWT-token
|
|
4287
4365
|
* @tags user_details
|
|
@@ -4290,7 +4368,7 @@ export class UserDetails<HandleError extends boolean = boolean> {
|
|
|
4290
4368
|
* @request POST:/v1/users/details/show
|
|
4291
4369
|
* @secure
|
|
4292
4370
|
*/
|
|
4293
|
-
getUserDetails(getUserDetailsDto: UmaGetUserDetailsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserDetailsSerializer, HandleError>>;
|
|
4371
|
+
getUserDetails(getUserDetailsDto: UmaGetUserDetailsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserDetailsSerializer, HandleError, Format>>;
|
|
4294
4372
|
/**
|
|
4295
4373
|
* @description Revoke user sessions by JWT-token
|
|
4296
4374
|
* @tags user_details
|
|
@@ -4299,11 +4377,11 @@ export class UserDetails<HandleError extends boolean = boolean> {
|
|
|
4299
4377
|
* @request POST:/v1/users/revoke-sessions
|
|
4300
4378
|
* @secure
|
|
4301
4379
|
*/
|
|
4302
|
-
revokeSessions(revokeUserSessionsDto: UmaRevokeUserSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4380
|
+
revokeSessions(revokeUserSessionsDto: UmaRevokeUserSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4303
4381
|
}
|
|
4304
|
-
export class UsersCommon<HandleError extends boolean = boolean> {
|
|
4305
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4306
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4382
|
+
export class UsersCommon<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4383
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4384
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4307
4385
|
/**
|
|
4308
4386
|
* @description Reset B2B/B2C user rate limits
|
|
4309
4387
|
* @tags users_common
|
|
@@ -4312,7 +4390,7 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4312
4390
|
* @request PATCH:/v1/users/rate-limits/reset
|
|
4313
4391
|
* @secure
|
|
4314
4392
|
*/
|
|
4315
|
-
resetRateLimits(resetRateLimitsDto: UmaResetRateLimitsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4393
|
+
resetRateLimits(resetRateLimitsDto: UmaResetRateLimitsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4316
4394
|
/**
|
|
4317
4395
|
* @description Get user status change reasons list
|
|
4318
4396
|
* @tags users_common
|
|
@@ -4321,7 +4399,7 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4321
4399
|
* @request POST:/v1/users/status-change-reasons/list
|
|
4322
4400
|
* @secure
|
|
4323
4401
|
*/
|
|
4324
|
-
getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto: UmaGetUserStatusChangeReasonsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserStatusChangeReasonsListSerializer, HandleError>>;
|
|
4402
|
+
getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto: UmaGetUserStatusChangeReasonsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserStatusChangeReasonsListSerializer, HandleError, Format>>;
|
|
4325
4403
|
/**
|
|
4326
4404
|
* @description Link Watchmen user to UMA
|
|
4327
4405
|
* @tags users_common
|
|
@@ -4330,87 +4408,33 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4330
4408
|
* @request POST:/v1/users/watchmen/link
|
|
4331
4409
|
* @secure
|
|
4332
4410
|
*/
|
|
4333
|
-
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4411
|
+
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4334
4412
|
}
|
|
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>>;
|
|
4413
|
+
export class WatchmenAuth<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4414
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4415
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4347
4416
|
/**
|
|
4348
|
-
* @description
|
|
4349
|
-
* @tags
|
|
4350
|
-
* @name
|
|
4351
|
-
* @summary
|
|
4352
|
-
* @request
|
|
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>>;
|
|
4392
|
-
/**
|
|
4393
|
-
* @description Generate System User PDF
|
|
4394
|
-
* @tags system_users
|
|
4395
|
-
* @name GenerateAsPdf
|
|
4396
|
-
* @summary Generate System User PDF
|
|
4397
|
-
* @request POST:/v1/users/system/{id}/generate-as-pdf
|
|
4417
|
+
* @description Generate Watchmen Auth Token
|
|
4418
|
+
* @tags watchmen_auth
|
|
4419
|
+
* @name GenerateWatchmenAuthToken
|
|
4420
|
+
* @summary Generate Watchmen Auth Token
|
|
4421
|
+
* @request POST:/v1/auth/watchmen/authentication-tokens
|
|
4398
4422
|
* @secure
|
|
4399
4423
|
*/
|
|
4400
|
-
|
|
4424
|
+
generateWatchmenAuthToken(generateWatchmenAuthTokenDto: UmaGenerateWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenGenerationResponseSerializer, HandleError, Format>>;
|
|
4401
4425
|
/**
|
|
4402
|
-
* @description
|
|
4403
|
-
* @tags
|
|
4404
|
-
* @name
|
|
4405
|
-
* @summary
|
|
4406
|
-
* @request
|
|
4426
|
+
* @description Verify Watchmen Auth Token
|
|
4427
|
+
* @tags watchmen_auth
|
|
4428
|
+
* @name VerifyWatchmenAuthToken
|
|
4429
|
+
* @summary Verify Watchmen Auth Token
|
|
4430
|
+
* @request PUT:/v1/auth/watchmen/authentication-tokens/verify
|
|
4407
4431
|
* @secure
|
|
4408
4432
|
*/
|
|
4409
|
-
|
|
4433
|
+
verifyWatchmenAuthToken(verifyWatchmenAuthToken: UmaVerifyWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenDetailsResponseSerializer, HandleError, Format>>;
|
|
4410
4434
|
}
|
|
4411
|
-
export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
4412
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4413
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4435
|
+
export class WatchmenInstances<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4436
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4437
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4414
4438
|
/**
|
|
4415
4439
|
* @description Create Watchmen Instance
|
|
4416
4440
|
* @tags watchmen_instances
|
|
@@ -4419,7 +4443,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4419
4443
|
* @request POST:/v1/watchmen-instances
|
|
4420
4444
|
* @secure
|
|
4421
4445
|
*/
|
|
4422
|
-
create(createWatchmenInstance: UmaCreateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4446
|
+
create(createWatchmenInstance: UmaCreateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
|
|
4423
4447
|
/**
|
|
4424
4448
|
* @description Delete Watchmen Instances
|
|
4425
4449
|
* @tags watchmen_instances
|
|
@@ -4428,7 +4452,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4428
4452
|
* @request DELETE:/v1/watchmen-instances
|
|
4429
4453
|
* @secure
|
|
4430
4454
|
*/
|
|
4431
|
-
deleteMany(deleteWatchmenInstances: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4455
|
+
deleteMany(deleteWatchmenInstances: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4432
4456
|
/**
|
|
4433
4457
|
* @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
4458
|
* @tags watchmen_instances
|
|
@@ -4437,7 +4461,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4437
4461
|
* @request POST:/v1/watchmen-instances/list
|
|
4438
4462
|
* @secure
|
|
4439
4463
|
*/
|
|
4440
|
-
getMany(getWatchmenInstances: UmaGetWatchmenInstancesDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetWatchmenInstancesListSerializer, HandleError>>;
|
|
4464
|
+
getMany(getWatchmenInstances: UmaGetWatchmenInstancesDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetWatchmenInstancesListSerializer, HandleError, Format>>;
|
|
4441
4465
|
/**
|
|
4442
4466
|
* @description Get Watchmen Instance by id
|
|
4443
4467
|
* @tags watchmen_instances
|
|
@@ -4446,7 +4470,7 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4446
4470
|
* @request GET:/v1/watchmen-instances/{id}
|
|
4447
4471
|
* @secure
|
|
4448
4472
|
*/
|
|
4449
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4473
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
|
|
4450
4474
|
/**
|
|
4451
4475
|
* @description Update Watchmen Instance
|
|
4452
4476
|
* @tags watchmen_instances
|
|
@@ -4455,61 +4479,61 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4455
4479
|
* @request PUT:/v1/watchmen-instances/{id}
|
|
4456
4480
|
* @secure
|
|
4457
4481
|
*/
|
|
4458
|
-
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4482
|
+
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
|
|
4459
4483
|
}
|
|
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>>;
|
|
4484
|
+
declare class _B2BAuth1<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends B2BAuth<HandleError, Format> {
|
|
4485
|
+
basicLogin(...params: Parameters<B2BAuth<HandleError, Format>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError, Format>>;
|
|
4486
|
+
apiKeysLogin(...params: Parameters<B2BAuth<HandleError, Format>['apiKeysLogin']>): Promise<ClientResponse<_UmaSimpleB2BLoginSerializer1, HandleError, Format>>;
|
|
4463
4487
|
}
|
|
4464
|
-
declare class _B2CAuth1<HandleError extends boolean = boolean> extends B2CAuth<HandleError> {
|
|
4465
|
-
basicLogin(...params: Parameters<B2CAuth<HandleError>['basicLogin']>): Promise<ClientResponse<_UmaB2CLoginResultSerializer1, HandleError>>;
|
|
4488
|
+
declare class _B2CAuth1<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends B2CAuth<HandleError, Format> {
|
|
4489
|
+
basicLogin(...params: Parameters<B2CAuth<HandleError, Format>['basicLogin']>): Promise<ClientResponse<_UmaB2CLoginResultSerializer1, HandleError, Format>>;
|
|
4466
4490
|
}
|
|
4467
|
-
interface UmaClientConfig<HandleError extends boolean = boolean> extends JwtClientConfig<HandleError> {
|
|
4491
|
+
interface UmaClientConfig<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends JwtClientConfig<HandleError, Format> {
|
|
4468
4492
|
firmId: string;
|
|
4469
4493
|
branchId?: string;
|
|
4470
4494
|
authFormSlug: string;
|
|
4471
4495
|
}
|
|
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>);
|
|
4496
|
+
declare class UmaClient<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> extends JwtClient<HandleError, Format> {
|
|
4497
|
+
protected readonly config: UmaClientConfig<HandleError, Format>;
|
|
4498
|
+
request<Data = unknown, Body = unknown>(config: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError, Format>>;
|
|
4499
|
+
}
|
|
4500
|
+
export class UmaApi<HandleError extends boolean = false, Format extends CaseFormat = CaseFormat.Original> extends BaseApi<HandleError, Format, UmaClient<HandleError, Format>> {
|
|
4501
|
+
readonly config: UmaClientConfig<HandleError, Format>;
|
|
4502
|
+
actionLog: ActionLogs<HandleError, Format>;
|
|
4503
|
+
adminApiKeys: AdminApiKeys<HandleError, Format>;
|
|
4504
|
+
allowedOrigins: AllowedOrigins<HandleError, Format>;
|
|
4505
|
+
apiKeys: ApiKeys<HandleError, Format>;
|
|
4506
|
+
authApps: AuthApps<HandleError, Format>;
|
|
4507
|
+
authForms: AuthForms<HandleError, Format>;
|
|
4508
|
+
b2bAuth: _B2BAuth1<HandleError, Format>;
|
|
4509
|
+
b2bUserSettings: B2BUserSettings<HandleError, Format>;
|
|
4510
|
+
b2bUsers: B2BUsers<HandleError, Format>;
|
|
4511
|
+
b2cAuth: _B2CAuth1<HandleError, Format>;
|
|
4512
|
+
b2cUserSettings: B2CUserSettings<HandleError, Format>;
|
|
4513
|
+
b2cUsers: B2CUsers<HandleError, Format>;
|
|
4514
|
+
branches: Branches<HandleError, Format>;
|
|
4515
|
+
countries: Countries<HandleError, Format>;
|
|
4516
|
+
emailDomains: EmailDomains<HandleError, Format>;
|
|
4517
|
+
endpoints: Endpoints<HandleError, Format>;
|
|
4518
|
+
firms: Firms<HandleError, Format>;
|
|
4519
|
+
identityProviders: IdentityProviders<HandleError, Format>;
|
|
4520
|
+
locales: Locales<HandleError, Format>;
|
|
4521
|
+
microservices: Microservices<HandleError, Format>;
|
|
4522
|
+
permissions: Permissions<HandleError, Format>;
|
|
4523
|
+
publicSettings: PublicSettings<HandleError, Format>;
|
|
4524
|
+
roleTypes: RoleTypes<HandleError, Format>;
|
|
4525
|
+
roles: Roles<HandleError, Format>;
|
|
4526
|
+
secretNotes: SecretNotes<HandleError, Format>;
|
|
4527
|
+
sessions: Sessions<HandleError, Format>;
|
|
4528
|
+
systemUsers: SystemUsers<HandleError, Format>;
|
|
4529
|
+
tablePresets: TablePresets<HandleError, Format>;
|
|
4530
|
+
tags: Tags<HandleError, Format>;
|
|
4531
|
+
trustedDevices: TrustedDevices<HandleError, Format>;
|
|
4532
|
+
userDetails: UserDetails<HandleError, Format>;
|
|
4533
|
+
usersCommon: UsersCommon<HandleError, Format>;
|
|
4534
|
+
watchmenAuth: WatchmenAuth<HandleError, Format>;
|
|
4535
|
+
watchmenInstances: WatchmenInstances<HandleError, Format>;
|
|
4536
|
+
constructor(config: UmaClientConfig<HandleError, Format>);
|
|
4513
4537
|
renewTokens(): Promise<{
|
|
4514
4538
|
accessToken: string;
|
|
4515
4539
|
refreshToken: string;
|