@orbis-systems/orbis-api-clients 0.8.9 → 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 +351 -294
- 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 +6920 -6236
- 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 +1598 -1287
- 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 +210 -180
- 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 +4457 -4395
- 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 +1128 -982
- 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",
|
|
@@ -266,8 +301,10 @@ export interface UmaAdminAPIKeysMutationSerializer {
|
|
|
266
301
|
}
|
|
267
302
|
export interface UmaGetAdminAPIKeysSerializer {
|
|
268
303
|
api_keys: UmaAdminAPIKeySerializer[];
|
|
269
|
-
|
|
304
|
+
current_page: number;
|
|
305
|
+
pages_count: number;
|
|
270
306
|
status: number;
|
|
307
|
+
total_records: number;
|
|
271
308
|
}
|
|
272
309
|
export interface UmaAllowedOriginMutationSerializer {
|
|
273
310
|
allowed_origin: UmaAllowedOriginSerializer;
|
|
@@ -427,7 +464,7 @@ export interface UmaAccessControlProhibitionReason {
|
|
|
427
464
|
type?: UmaAccessControlProhibitionReasonType;
|
|
428
465
|
}
|
|
429
466
|
export interface UmaClaims {
|
|
430
|
-
|
|
467
|
+
'2fa_on'?: boolean;
|
|
431
468
|
admin_of_firm_ids?: number[];
|
|
432
469
|
aud?: string;
|
|
433
470
|
branch_ids?: number[];
|
|
@@ -622,7 +659,10 @@ export interface UmaTagMutationSerializer {
|
|
|
622
659
|
tag: UmaTagSerializer;
|
|
623
660
|
}
|
|
624
661
|
export interface UmaGetTrustedDevicesListSerializer {
|
|
662
|
+
current_page: number;
|
|
663
|
+
pages_count: number;
|
|
625
664
|
status: number;
|
|
665
|
+
total_records: number;
|
|
626
666
|
trusted_devices_list: UmaTrustedDeviceSerializer[];
|
|
627
667
|
}
|
|
628
668
|
export interface UmaAPIKeys {
|
|
@@ -680,6 +720,7 @@ export interface UmaAdminAPIKeySerializer {
|
|
|
680
720
|
roles: UmaRoleSerializer[];
|
|
681
721
|
updated_at: string;
|
|
682
722
|
user: UmaUserSerializer;
|
|
723
|
+
user_type: string;
|
|
683
724
|
}
|
|
684
725
|
export interface UmaAdminB2BUserSerializer {
|
|
685
726
|
access_revoking_date: string;
|
|
@@ -1276,6 +1317,7 @@ export interface UmaCreateMicroserviceDto {
|
|
|
1276
1317
|
description?: string;
|
|
1277
1318
|
domains?: UmaMicroserviceDomainDto[];
|
|
1278
1319
|
is_active?: boolean;
|
|
1320
|
+
is_token_encoding_required?: boolean;
|
|
1279
1321
|
is_visible_on_admin_sidebar?: boolean;
|
|
1280
1322
|
logo_url?: string;
|
|
1281
1323
|
name?: string;
|
|
@@ -1788,6 +1830,7 @@ export interface UmaMicroserviceAccessSerializer {
|
|
|
1788
1830
|
/** @example 1 */
|
|
1789
1831
|
id: number;
|
|
1790
1832
|
is_active: boolean;
|
|
1833
|
+
is_token_encoding_required: boolean;
|
|
1791
1834
|
is_visible_on_admin_sidebar: boolean;
|
|
1792
1835
|
logo_url: string;
|
|
1793
1836
|
name: string;
|
|
@@ -1796,9 +1839,11 @@ export interface UmaMicroserviceAccessSerializer {
|
|
|
1796
1839
|
export interface UmaMicroserviceDomainDto {
|
|
1797
1840
|
/** @example "internal.com" */
|
|
1798
1841
|
internal_domain?: string;
|
|
1842
|
+
/** @example "http" */
|
|
1799
1843
|
internal_protocol?: string;
|
|
1800
1844
|
/** @example "/insights-api" */
|
|
1801
1845
|
public_path_prefix?: string;
|
|
1846
|
+
watchmen_instance_id?: number;
|
|
1802
1847
|
}
|
|
1803
1848
|
export interface UmaMicroserviceDomainSerializer {
|
|
1804
1849
|
/** @example "internal.com" */
|
|
@@ -1807,6 +1852,8 @@ export interface UmaMicroserviceDomainSerializer {
|
|
|
1807
1852
|
internal_protocol: string;
|
|
1808
1853
|
/** @example "public.com" */
|
|
1809
1854
|
public_path_prefix: string;
|
|
1855
|
+
watchmen_instance: UmaWatchmenInstanceSerializer;
|
|
1856
|
+
watchmen_instance_id: number;
|
|
1810
1857
|
}
|
|
1811
1858
|
export interface UmaMicroserviceSerializer {
|
|
1812
1859
|
created_at: string;
|
|
@@ -1815,6 +1862,7 @@ export interface UmaMicroserviceSerializer {
|
|
|
1815
1862
|
/** @example 1 */
|
|
1816
1863
|
id: number;
|
|
1817
1864
|
is_active: boolean;
|
|
1865
|
+
is_token_encoding_required: boolean;
|
|
1818
1866
|
is_visible_on_admin_sidebar: boolean;
|
|
1819
1867
|
logo_url: string;
|
|
1820
1868
|
name: string;
|
|
@@ -1826,16 +1874,114 @@ export interface UmaOptionalPaginationDto {
|
|
|
1826
1874
|
page?: number;
|
|
1827
1875
|
size?: number;
|
|
1828
1876
|
}
|
|
1829
|
-
export interface
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1877
|
+
export interface UmaPartialUpdateB2BUserDto {
|
|
1878
|
+
access_revoking_date?: string;
|
|
1879
|
+
allow_feedback?: boolean;
|
|
1880
|
+
branches?: number[];
|
|
1881
|
+
/** @example "test@gmail.com" */
|
|
1882
|
+
email?: string;
|
|
1883
|
+
firms?: UmaFirmInfo[];
|
|
1884
|
+
first_name?: string;
|
|
1885
|
+
has_access_to_all_firm_branches?: boolean;
|
|
1886
|
+
last_name?: string;
|
|
1887
|
+
/** @example "TeStPaSS" */
|
|
1888
|
+
password?: string;
|
|
1889
|
+
permissions?: number[];
|
|
1890
|
+
/** @example "+1231231234" */
|
|
1891
|
+
phone?: string;
|
|
1892
|
+
primary_firm_id?: number;
|
|
1893
|
+
rep_code?: string;
|
|
1894
|
+
roles?: number[];
|
|
1895
|
+
should_reset_password?: boolean;
|
|
1896
|
+
title?: string;
|
|
1897
|
+
type?: UmaUserType;
|
|
1898
|
+
username?: string;
|
|
1899
|
+
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
1900
|
+
}
|
|
1901
|
+
export interface UmaPartialUpdateB2CUserDto {
|
|
1902
|
+
access_revoking_date?: string;
|
|
1903
|
+
allow_feedback?: boolean;
|
|
1904
|
+
branches?: number[];
|
|
1905
|
+
/** @example "test@gmail.com" */
|
|
1906
|
+
email?: string;
|
|
1907
|
+
firm_id?: number;
|
|
1908
|
+
first_name?: string;
|
|
1909
|
+
last_name?: string;
|
|
1910
|
+
/** @example "TeStPaSS" */
|
|
1911
|
+
password?: string;
|
|
1912
|
+
permissions?: number[];
|
|
1913
|
+
/** @example "+1231231234" */
|
|
1914
|
+
phone?: string;
|
|
1915
|
+
roles?: number[];
|
|
1916
|
+
username?: string;
|
|
1917
|
+
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
1918
|
+
}
|
|
1919
|
+
export interface UmaPartialUpdateEndpointDto {
|
|
1920
|
+
is_active?: boolean;
|
|
1921
|
+
is_public?: boolean;
|
|
1922
|
+
metadata?: UmaEndpointMetadataDto;
|
|
1923
|
+
method?: UmaPartialUpdateEndpointDtoMethodEnum;
|
|
1924
|
+
microservice_id?: number;
|
|
1925
|
+
required_permissions?: number[];
|
|
1926
|
+
route?: string;
|
|
1927
|
+
type?: UmaPartialUpdateEndpointDtoTypeEnum;
|
|
1928
|
+
}
|
|
1929
|
+
export interface UmaPartialUpdateFirmDto {
|
|
1930
|
+
allow_b2c_email_notifications?: boolean;
|
|
1931
|
+
allow_b2c_multi_branch_registration?: boolean;
|
|
1932
|
+
b2c_access_token_expires_in_minutes?: number;
|
|
1933
|
+
b2c_refresh_token_expires_in_hours?: number;
|
|
1934
|
+
email?: string;
|
|
1935
|
+
firm_tags?: number[];
|
|
1936
|
+
name?: string;
|
|
1937
|
+
notes?: string;
|
|
1938
|
+
phone?: string;
|
|
1939
|
+
slug?: string;
|
|
1940
|
+
status?: UmaPartialUpdateFirmDtoStatusEnum;
|
|
1941
|
+
}
|
|
1942
|
+
export interface UmaPartialUpdateMicroserviceDto {
|
|
1943
|
+
description?: string;
|
|
1944
|
+
domains?: UmaMicroserviceDomainDto[];
|
|
1945
|
+
is_active?: boolean;
|
|
1946
|
+
is_token_encoding_required?: boolean;
|
|
1947
|
+
is_visible_on_admin_sidebar?: boolean;
|
|
1948
|
+
logo_url?: string;
|
|
1949
|
+
name?: string;
|
|
1950
|
+
slug?: string;
|
|
1833
1951
|
}
|
|
1834
1952
|
export interface UmaPartialUpdatePermissionDto {
|
|
1835
1953
|
metadata?: UmaPermissionMetadataDto;
|
|
1836
1954
|
microservice_id?: number;
|
|
1837
1955
|
permission?: string;
|
|
1838
1956
|
}
|
|
1957
|
+
export interface UmaPartialUpdateRoleDto {
|
|
1958
|
+
name?: string;
|
|
1959
|
+
permissions?: number[];
|
|
1960
|
+
permissions_can_assign_role?: number[];
|
|
1961
|
+
type_id?: number;
|
|
1962
|
+
}
|
|
1963
|
+
export interface UmaPartialUpdateSystemUserDto {
|
|
1964
|
+
access_revoking_date?: string;
|
|
1965
|
+
allow_feedback?: boolean;
|
|
1966
|
+
branches?: number[];
|
|
1967
|
+
/** @example "test@gmail.com" */
|
|
1968
|
+
email?: string;
|
|
1969
|
+
firms?: UmaFirmInfo[];
|
|
1970
|
+
first_name?: string;
|
|
1971
|
+
has_access_to_all_firm_branches?: boolean;
|
|
1972
|
+
/** @example "TeStPaSS" */
|
|
1973
|
+
password?: string;
|
|
1974
|
+
permissions?: number[];
|
|
1975
|
+
/** @example "+1231231234" */
|
|
1976
|
+
phone?: string;
|
|
1977
|
+
primary_firm_id?: number;
|
|
1978
|
+
rep_code?: string;
|
|
1979
|
+
roles?: number[];
|
|
1980
|
+
should_reset_password?: boolean;
|
|
1981
|
+
title?: string;
|
|
1982
|
+
type?: UmaUserType;
|
|
1983
|
+
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
1984
|
+
}
|
|
1839
1985
|
export interface UmaPdfGenerationInfo {
|
|
1840
1986
|
pdf_generated_at?: string;
|
|
1841
1987
|
pdf_url?: string;
|
|
@@ -2158,6 +2304,7 @@ export interface UmaUpdateMicroserviceDto {
|
|
|
2158
2304
|
description?: string;
|
|
2159
2305
|
domains?: UmaMicroserviceDomainDto[];
|
|
2160
2306
|
is_active?: boolean;
|
|
2307
|
+
is_token_encoding_required?: boolean;
|
|
2161
2308
|
is_visible_on_admin_sidebar?: boolean;
|
|
2162
2309
|
logo_url?: string;
|
|
2163
2310
|
name?: string;
|
|
@@ -2371,13 +2518,11 @@ export interface UmaWebAuthnRegistrationSolutionDto {
|
|
|
2371
2518
|
type?: string;
|
|
2372
2519
|
}
|
|
2373
2520
|
export interface UmaWebAuthnRelyingPartyEntitySerializer {
|
|
2374
|
-
icon: string;
|
|
2375
2521
|
id: string;
|
|
2376
2522
|
name: string;
|
|
2377
2523
|
}
|
|
2378
2524
|
export interface UmaWebAuthnUserEntitySerializer {
|
|
2379
2525
|
display_name: string;
|
|
2380
|
-
icon: string;
|
|
2381
2526
|
id: any;
|
|
2382
2527
|
name: string;
|
|
2383
2528
|
}
|
|
@@ -2498,6 +2643,24 @@ export enum UmaGetWebAuthnLoginChallengeDtoUserTypeEnum {
|
|
|
2498
2643
|
export enum UmaIdentityProviderSerializerTypeEnum {
|
|
2499
2644
|
Okta = "okta"
|
|
2500
2645
|
}
|
|
2646
|
+
export enum UmaPartialUpdateEndpointDtoMethodEnum {
|
|
2647
|
+
POST = "POST",
|
|
2648
|
+
PUT = "PUT",
|
|
2649
|
+
DELETE = "DELETE",
|
|
2650
|
+
GET = "GET",
|
|
2651
|
+
PATCH = "PATCH",
|
|
2652
|
+
ALL = "ALL"
|
|
2653
|
+
}
|
|
2654
|
+
export enum UmaPartialUpdateEndpointDtoTypeEnum {
|
|
2655
|
+
Regular = "regular",
|
|
2656
|
+
DisplayOnly = "display_only"
|
|
2657
|
+
}
|
|
2658
|
+
export enum UmaPartialUpdateFirmDtoStatusEnum {
|
|
2659
|
+
InProgress = "in_progress",
|
|
2660
|
+
Active = "active",
|
|
2661
|
+
Suspended = "suspended",
|
|
2662
|
+
Deleted = "deleted"
|
|
2663
|
+
}
|
|
2501
2664
|
export enum UmaPermissionSerializerAssignmentGroupEnum {
|
|
2502
2665
|
Regular = "regular",
|
|
2503
2666
|
Chiefadmin = "chiefadmin",
|
|
@@ -2561,26 +2724,22 @@ export enum UmaVerifyContactDtoCodeTypeEnum {
|
|
|
2561
2724
|
Voice = "voice",
|
|
2562
2725
|
Sms = "sms"
|
|
2563
2726
|
}
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
getConfig(): JwtClientConfig<HandleError>;
|
|
2577
|
-
setRenewTokensCallback(renewTokensCallback: () => Promise<AuthData>): void;
|
|
2578
|
-
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
2579
|
-
protected renewTokens(): Promise<AuthData>;
|
|
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>);
|
|
2730
|
+
/**
|
|
2731
|
+
* @description Get Action logs list
|
|
2732
|
+
* @tags action_logs
|
|
2733
|
+
* @name GetActionLogs
|
|
2734
|
+
* @summary Get Action logs list
|
|
2735
|
+
* @request POST:/v1/action-logs/list
|
|
2736
|
+
* @secure
|
|
2737
|
+
*/
|
|
2738
|
+
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError, Format>>;
|
|
2580
2739
|
}
|
|
2581
|
-
export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
2582
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2583
|
-
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>);
|
|
2584
2743
|
/**
|
|
2585
2744
|
* @description Create API Key & API Secret Pair for any B2B user. API Secret won't be accessible for read after that.
|
|
2586
2745
|
* @tags admin_api_keys
|
|
@@ -2589,7 +2748,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2589
2748
|
* @request POST:/v1/admin/api-keys
|
|
2590
2749
|
* @secure
|
|
2591
2750
|
*/
|
|
2592
|
-
create(createApiKey: UmaAdminCreateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2751
|
+
create(createApiKey: UmaAdminCreateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2593
2752
|
/**
|
|
2594
2753
|
* @description Delete any API Keys by IDs. Only accessible to chiefadmin.
|
|
2595
2754
|
* @tags admin_api_keys
|
|
@@ -2598,7 +2757,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2598
2757
|
* @request DELETE:/v1/admin/api-keys
|
|
2599
2758
|
* @secure
|
|
2600
2759
|
*/
|
|
2601
|
-
delete(deleteApiKeys: UmaAdminDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2760
|
+
delete(deleteApiKeys: UmaAdminDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2602
2761
|
/**
|
|
2603
2762
|
* @description Get all API Keys info (would return API Keys without secrets). Only accessible to chiefadmin.
|
|
2604
2763
|
* @tags admin_api_keys
|
|
@@ -2607,7 +2766,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2607
2766
|
* @request POST:/v1/admin/api-keys/list
|
|
2608
2767
|
* @secure
|
|
2609
2768
|
*/
|
|
2610
|
-
get(apiKeys: UmaAdminGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAdminAPIKeysSerializer, HandleError>>;
|
|
2769
|
+
get(apiKeys: UmaAdminGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAdminAPIKeysSerializer, HandleError, Format>>;
|
|
2611
2770
|
/**
|
|
2612
2771
|
* @description Get any API Key by id. Only accessible to chiefadmin.
|
|
2613
2772
|
* @tags admin_api_keys
|
|
@@ -2616,7 +2775,7 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2616
2775
|
* @request GET:/v1/admin/api-keys/{id}
|
|
2617
2776
|
* @secure
|
|
2618
2777
|
*/
|
|
2619
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2778
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2620
2779
|
/**
|
|
2621
2780
|
* @description Update any API Key Record. Only accessible to chiefadmin.
|
|
2622
2781
|
* @tags admin_api_keys
|
|
@@ -2625,24 +2784,11 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2625
2784
|
* @request PUT:/v1/admin/api-keys/{id}
|
|
2626
2785
|
* @secure
|
|
2627
2786
|
*/
|
|
2628
|
-
update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2629
|
-
}
|
|
2630
|
-
export class ActionLogs<HandleError extends boolean = boolean> {
|
|
2631
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2632
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2633
|
-
/**
|
|
2634
|
-
* @description Get Action logs list
|
|
2635
|
-
* @tags action_logs
|
|
2636
|
-
* @name GetActionLogs
|
|
2637
|
-
* @summary Get Action logs list
|
|
2638
|
-
* @request POST:/v1/action-logs/list
|
|
2639
|
-
* @secure
|
|
2640
|
-
*/
|
|
2641
|
-
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2787
|
+
update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError, Format>>;
|
|
2642
2788
|
}
|
|
2643
|
-
export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
2644
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2645
|
-
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>);
|
|
2646
2792
|
/**
|
|
2647
2793
|
* @description Create Allowed Origin
|
|
2648
2794
|
* @tags allowed_origins
|
|
@@ -2651,7 +2797,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2651
2797
|
* @request POST:/v1/allowed-origins
|
|
2652
2798
|
* @secure
|
|
2653
2799
|
*/
|
|
2654
|
-
create(createAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2800
|
+
create(createAllowedOrigin: UmaAllowedOriginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError, Format>>;
|
|
2655
2801
|
/**
|
|
2656
2802
|
* @description Delete allowed origins by IDs
|
|
2657
2803
|
* @tags allowed_origins
|
|
@@ -2660,7 +2806,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2660
2806
|
* @request DELETE:/v1/allowed-origins
|
|
2661
2807
|
* @secure
|
|
2662
2808
|
*/
|
|
2663
|
-
delete(deleteAllowedOrigins: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2809
|
+
delete(deleteAllowedOrigins: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2664
2810
|
/**
|
|
2665
2811
|
* @description Get paginated list of allowed origins
|
|
2666
2812
|
* @tags allowed_origins
|
|
@@ -2669,7 +2815,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2669
2815
|
* @request POST:/v1/allowed-origins/list
|
|
2670
2816
|
* @secure
|
|
2671
2817
|
*/
|
|
2672
|
-
list(getAllowedOriginsList: UmaGetAllowedOriginsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAllowedOriginsListSerializer, HandleError>>;
|
|
2818
|
+
list(getAllowedOriginsList: UmaGetAllowedOriginsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAllowedOriginsListSerializer, HandleError, Format>>;
|
|
2673
2819
|
/**
|
|
2674
2820
|
* @description Get allowed origin by ID
|
|
2675
2821
|
* @tags allowed_origins
|
|
@@ -2678,7 +2824,7 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2678
2824
|
* @request GET:/v1/allowed-origins/{id}
|
|
2679
2825
|
* @secure
|
|
2680
2826
|
*/
|
|
2681
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError>>;
|
|
2827
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAllowedOriginMutationSerializer, HandleError, Format>>;
|
|
2682
2828
|
/**
|
|
2683
2829
|
* @description Update allowed origin
|
|
2684
2830
|
* @tags allowed_origins
|
|
@@ -2687,11 +2833,60 @@ export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
|
2687
2833
|
* @request PUT:/v1/allowed-origins/{id}
|
|
2688
2834
|
* @secure
|
|
2689
2835
|
*/
|
|
2690
|
-
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>>;
|
|
2691
2886
|
}
|
|
2692
|
-
export class AuthApps<HandleError extends boolean = boolean> {
|
|
2693
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2694
|
-
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>);
|
|
2695
2890
|
/**
|
|
2696
2891
|
* @description Get auth apps
|
|
2697
2892
|
* @tags auth_apps
|
|
@@ -2700,7 +2895,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2700
2895
|
* @request GET:/v1/auth-apps
|
|
2701
2896
|
* @secure
|
|
2702
2897
|
*/
|
|
2703
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthAppsListSerializer, HandleError>>;
|
|
2898
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthAppsListSerializer, HandleError, Format>>;
|
|
2704
2899
|
/**
|
|
2705
2900
|
* @description Delete auth apps
|
|
2706
2901
|
* @tags auth_apps
|
|
@@ -2709,7 +2904,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2709
2904
|
* @request DELETE:/v1/auth-apps
|
|
2710
2905
|
* @secure
|
|
2711
2906
|
*/
|
|
2712
|
-
deleteMany(deleteAuthAppsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2907
|
+
deleteMany(deleteAuthAppsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2713
2908
|
/**
|
|
2714
2909
|
* @description Get TOTP registration QR
|
|
2715
2910
|
* @tags auth_apps
|
|
@@ -2718,7 +2913,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2718
2913
|
* @request POST:/v1/auth-apps/totp/registration/qr
|
|
2719
2914
|
* @secure
|
|
2720
2915
|
*/
|
|
2721
|
-
getRegistrationQr(getTotpQRDto: UmaGetTotpQRDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<File, HandleError>>;
|
|
2916
|
+
getRegistrationQr(getTotpQRDto: UmaGetTotpQRDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<File, HandleError, Format>>;
|
|
2722
2917
|
/**
|
|
2723
2918
|
* @description Finish TOTP registration
|
|
2724
2919
|
* @tags auth_apps
|
|
@@ -2727,7 +2922,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2727
2922
|
* @request POST:/v1/auth-apps/totp/registration/response
|
|
2728
2923
|
* @secure
|
|
2729
2924
|
*/
|
|
2730
|
-
finishRegistration(finishTOTPRegistrationDto: UmaFinishTOTPRegistrationDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFinishTOTPRegistrationResponseSerializer, HandleError>>;
|
|
2925
|
+
finishRegistration(finishTOTPRegistrationDto: UmaFinishTOTPRegistrationDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFinishTOTPRegistrationResponseSerializer, HandleError, Format>>;
|
|
2731
2926
|
/**
|
|
2732
2927
|
* @description Get WebAuthn login challenge
|
|
2733
2928
|
* @tags auth_apps
|
|
@@ -2740,7 +2935,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2740
2935
|
BRANCH?: string;
|
|
2741
2936
|
/** Firm id/slug, with which user should work */
|
|
2742
2937
|
FIRM?: string;
|
|
2743
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialAssertionSerializer, HandleError>>;
|
|
2938
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialAssertionSerializer, HandleError, Format>>;
|
|
2744
2939
|
/**
|
|
2745
2940
|
* @description Get WebAuthn register challenge
|
|
2746
2941
|
* @tags auth_apps
|
|
@@ -2749,7 +2944,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2749
2944
|
* @request POST:/v1/auth-apps/webauthn/registration/request
|
|
2750
2945
|
* @secure
|
|
2751
2946
|
*/
|
|
2752
|
-
getRegisterChallenge(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialCreationSerializer, HandleError>>;
|
|
2947
|
+
getRegisterChallenge(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWebAuthnCredentialCreationSerializer, HandleError, Format>>;
|
|
2753
2948
|
/**
|
|
2754
2949
|
* @description Finish WebAuthn credential registration
|
|
2755
2950
|
* @tags auth_apps
|
|
@@ -2758,7 +2953,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2758
2953
|
* @request POST:/v1/auth-apps/webauthn/registration/response
|
|
2759
2954
|
* @secure
|
|
2760
2955
|
*/
|
|
2761
|
-
finishCredentialRegistration(webAuthnRegistrationSolutionDto: UmaWebAuthnRegistrationSolutionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2956
|
+
finishCredentialRegistration(webAuthnRegistrationSolutionDto: UmaWebAuthnRegistrationSolutionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2762
2957
|
/**
|
|
2763
2958
|
* @description Register Yubico OTP Key
|
|
2764
2959
|
* @tags auth_apps
|
|
@@ -2767,7 +2962,7 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2767
2962
|
* @request POST:/v1/auth-apps/yubico/otp/registration
|
|
2768
2963
|
* @secure
|
|
2769
2964
|
*/
|
|
2770
|
-
register(yubicoOTPDto: UmaCreateYubicoOTPDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2965
|
+
register(yubicoOTPDto: UmaCreateYubicoOTPDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2771
2966
|
/**
|
|
2772
2967
|
* @description Update auth app
|
|
2773
2968
|
* @tags auth_apps
|
|
@@ -2776,11 +2971,11 @@ export class AuthApps<HandleError extends boolean = boolean> {
|
|
|
2776
2971
|
* @request PUT:/v1/auth-apps/{id}
|
|
2777
2972
|
* @secure
|
|
2778
2973
|
*/
|
|
2779
|
-
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>>;
|
|
2780
2975
|
}
|
|
2781
|
-
export class AuthForms<HandleError extends boolean = boolean> {
|
|
2782
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2783
|
-
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>);
|
|
2784
2979
|
/**
|
|
2785
2980
|
* @description Create Auth Form
|
|
2786
2981
|
* @tags auth_forms
|
|
@@ -2789,7 +2984,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2789
2984
|
* @request POST:/v1/auth-forms
|
|
2790
2985
|
* @secure
|
|
2791
2986
|
*/
|
|
2792
|
-
create(authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
2987
|
+
create(authFormDto: UmaAuthFormDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2793
2988
|
/**
|
|
2794
2989
|
* @description Delete Auth Forms by ids
|
|
2795
2990
|
* @tags auth_forms
|
|
@@ -2798,7 +2993,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2798
2993
|
* @request DELETE:/v1/auth-forms
|
|
2799
2994
|
* @secure
|
|
2800
2995
|
*/
|
|
2801
|
-
deleteMany(deleteAuthFormsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2996
|
+
deleteMany(deleteAuthFormsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2802
2997
|
/**
|
|
2803
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
|
|
2804
2999
|
* @tags auth_forms
|
|
@@ -2807,7 +3002,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2807
3002
|
* @request POST:/v1/auth-forms/list
|
|
2808
3003
|
* @secure
|
|
2809
3004
|
*/
|
|
2810
|
-
get(getAuthFormListDto: UmaGetAuthFormsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthFormsListSerializer, HandleError>>;
|
|
3005
|
+
get(getAuthFormListDto: UmaGetAuthFormsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAuthFormsListSerializer, HandleError, Format>>;
|
|
2811
3006
|
/**
|
|
2812
3007
|
* @description Get Auth Forms by slug
|
|
2813
3008
|
* @tags auth_forms
|
|
@@ -2815,7 +3010,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2815
3010
|
* @summary Get Auth Forms by slug
|
|
2816
3011
|
* @request GET:/v1/auth-forms/public/{slug}
|
|
2817
3012
|
*/
|
|
2818
|
-
getBySlug(slug: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
3013
|
+
getBySlug(slug: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2819
3014
|
/**
|
|
2820
3015
|
* @description Get Auth Forms by id
|
|
2821
3016
|
* @tags auth_forms
|
|
@@ -2824,7 +3019,7 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2824
3019
|
* @request GET:/v1/auth-forms/{id}
|
|
2825
3020
|
* @secure
|
|
2826
3021
|
*/
|
|
2827
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError>>;
|
|
3022
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthFormMutationSerializer, HandleError, Format>>;
|
|
2828
3023
|
/**
|
|
2829
3024
|
* @description Update Auth Form record
|
|
2830
3025
|
* @tags auth_forms
|
|
@@ -2833,11 +3028,11 @@ export class AuthForms<HandleError extends boolean = boolean> {
|
|
|
2833
3028
|
* @request PUT:/v1/auth-forms/{id}
|
|
2834
3029
|
* @secure
|
|
2835
3030
|
*/
|
|
2836
|
-
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>>;
|
|
2837
3032
|
}
|
|
2838
|
-
export class B2BAuth<HandleError extends boolean = boolean> {
|
|
2839
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2840
|
-
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>);
|
|
2841
3036
|
/**
|
|
2842
3037
|
* @description Get current B2B user info by access token.
|
|
2843
3038
|
* @tags b2b_auth
|
|
@@ -2846,7 +3041,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2846
3041
|
* @request GET:/v1/auth/b2b/current
|
|
2847
3042
|
* @secure
|
|
2848
3043
|
*/
|
|
2849
|
-
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2BUserSerializer, HandleError>>;
|
|
3044
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2BUserSerializer, HandleError, Format>>;
|
|
2850
3045
|
/**
|
|
2851
3046
|
* @description Login B2B user by API Keys
|
|
2852
3047
|
* @tags b2b_auth
|
|
@@ -2854,7 +3049,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2854
3049
|
* @summary Login B2B user by API Keys
|
|
2855
3050
|
* @request POST:/v1/auth/b2b/login/api-keys
|
|
2856
3051
|
*/
|
|
2857
|
-
apiKeysLogin(apiKeysLoginParams: UmaAPIKeysB2BLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError>>;
|
|
3052
|
+
apiKeysLogin(apiKeysLoginParams: UmaAPIKeysB2BLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError, Format>>;
|
|
2858
3053
|
/**
|
|
2859
3054
|
* @description Login B2B user by email/password.
|
|
2860
3055
|
* @tags b2b_auth
|
|
@@ -2864,8 +3059,8 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2864
3059
|
*/
|
|
2865
3060
|
basicLogin(basicLoginParams: UmaBasicB2BLoginDto, headers?: {
|
|
2866
3061
|
/** Run endpoint in debug mode */
|
|
2867
|
-
|
|
2868
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError>>;
|
|
3062
|
+
'Debug-Token'?: string;
|
|
3063
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError, Format>>;
|
|
2869
3064
|
/**
|
|
2870
3065
|
* @description logout from B2B user session
|
|
2871
3066
|
* @tags b2b_auth
|
|
@@ -2873,7 +3068,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2873
3068
|
* @summary logout from B2B user session
|
|
2874
3069
|
* @request DELETE:/v1/auth/b2b/logout
|
|
2875
3070
|
*/
|
|
2876
|
-
logout(B2BLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3071
|
+
logout(B2BLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2877
3072
|
/**
|
|
2878
3073
|
* @description Refresh B2B user token pair
|
|
2879
3074
|
* @tags b2b_auth
|
|
@@ -2881,7 +3076,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2881
3076
|
* @summary Refresh B2B user token pair
|
|
2882
3077
|
* @request POST:/v1/auth/b2b/refresh
|
|
2883
3078
|
*/
|
|
2884
|
-
refreshTokens(B2BRefreshParams: UmaRefreshDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError>>;
|
|
3079
|
+
refreshTokens(B2BRefreshParams: UmaRefreshDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBasicB2BLoginSerializer, HandleError, Format>>;
|
|
2885
3080
|
/**
|
|
2886
3081
|
* @description B2B user self-registration.
|
|
2887
3082
|
* @tags b2b_auth
|
|
@@ -2889,7 +3084,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2889
3084
|
* @summary B2B user self-registration
|
|
2890
3085
|
* @request POST:/v1/auth/b2b/register
|
|
2891
3086
|
*/
|
|
2892
|
-
register(b2bRegisterParams: UmaB2BRegisterDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserRegistrationSerializer, HandleError>>;
|
|
3087
|
+
register(b2bRegisterParams: UmaB2BRegisterDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserRegistrationSerializer, HandleError, Format>>;
|
|
2893
3088
|
/**
|
|
2894
3089
|
* @description Reset B2B user password
|
|
2895
3090
|
* @tags b2b_auth
|
|
@@ -2899,8 +3094,8 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2899
3094
|
*/
|
|
2900
3095
|
resetPassword(B2BResetPasswordParams: UmaB2BResetPasswordDto, headers?: {
|
|
2901
3096
|
/** Run endpoint in debug mode */
|
|
2902
|
-
|
|
2903
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError>>;
|
|
3097
|
+
'Debug-Token'?: string;
|
|
3098
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSimpleB2BLoginSerializer, HandleError, Format>>;
|
|
2904
3099
|
/**
|
|
2905
3100
|
* @description Send MFA code for B2B user
|
|
2906
3101
|
* @tags b2b_auth
|
|
@@ -2908,7 +3103,7 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2908
3103
|
* @summary Send MFA code for B2B user
|
|
2909
3104
|
* @request PUT:/v1/auth/b2b/send-mfa-code
|
|
2910
3105
|
*/
|
|
2911
|
-
sendMfaCode(SendB2BMfaCodeDto: UmaSendB2BMfaCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3106
|
+
sendMfaCode(SendB2BMfaCodeDto: UmaSendB2BMfaCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2912
3107
|
/**
|
|
2913
3108
|
* @description Send reset password code for B2B user
|
|
2914
3109
|
* @tags b2b_auth
|
|
@@ -2916,296 +3111,134 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2916
3111
|
* @summary Send reset password code for B2B user
|
|
2917
3112
|
* @request PUT:/v1/auth/b2b/send-reset-password-code
|
|
2918
3113
|
*/
|
|
2919
|
-
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3114
|
+
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2920
3115
|
}
|
|
2921
|
-
export class
|
|
2922
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2923
|
-
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>);
|
|
2924
3119
|
/**
|
|
2925
|
-
* @description
|
|
2926
|
-
* @tags
|
|
2927
|
-
* @name
|
|
2928
|
-
* @summary
|
|
2929
|
-
* @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
|
|
2930
3125
|
* @secure
|
|
2931
3126
|
*/
|
|
2932
|
-
|
|
3127
|
+
deleteMany(deleteB2BUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2933
3128
|
/**
|
|
2934
|
-
* @description
|
|
2935
|
-
* @tags
|
|
2936
|
-
* @name
|
|
2937
|
-
* @summary
|
|
2938
|
-
* @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}
|
|
2939
3134
|
* @secure
|
|
2940
3135
|
*/
|
|
2941
|
-
|
|
2942
|
-
}
|
|
2943
|
-
export class ApiKeys<HandleError extends boolean = boolean> {
|
|
2944
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2945
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3136
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
2946
3137
|
/**
|
|
2947
|
-
* @description
|
|
2948
|
-
* @tags
|
|
2949
|
-
* @name
|
|
2950
|
-
* @summary
|
|
2951
|
-
* @request
|
|
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}
|
|
2952
3143
|
* @secure
|
|
2953
3144
|
*/
|
|
2954
|
-
|
|
3145
|
+
partialUpdate(id: number, createB2BUserNew: UmaPartialUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
2955
3146
|
/**
|
|
2956
|
-
* @description
|
|
2957
|
-
* @tags
|
|
2958
|
-
* @name
|
|
2959
|
-
* @summary
|
|
2960
|
-
* @request
|
|
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
|
|
2961
3152
|
* @secure
|
|
2962
3153
|
*/
|
|
2963
|
-
|
|
3154
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
2964
3155
|
/**
|
|
2965
|
-
* @description
|
|
2966
|
-
* @tags
|
|
2967
|
-
* @name
|
|
2968
|
-
* @summary
|
|
2969
|
-
* @request
|
|
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
|
|
2970
3161
|
* @secure
|
|
2971
3162
|
*/
|
|
2972
|
-
|
|
3163
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
2973
3164
|
/**
|
|
2974
|
-
* @description
|
|
2975
|
-
* @tags
|
|
2976
|
-
* @name Get
|
|
2977
|
-
* @summary Get API Keys info(would return API Keys without secrets)
|
|
2978
|
-
* @request POST:/v2/b2b/api-keys/list
|
|
2979
|
-
* @secure
|
|
2980
|
-
*/
|
|
2981
|
-
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError>>;
|
|
2982
|
-
/**
|
|
2983
|
-
* @description Update API Key Record
|
|
2984
|
-
* @tags api_keys
|
|
2985
|
-
* @name Update
|
|
2986
|
-
* @summary Update API Key Record
|
|
2987
|
-
* @request PUT:/v2/b2b/api-keys/{id}
|
|
2988
|
-
* @secure
|
|
2989
|
-
*/
|
|
2990
|
-
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
2991
|
-
}
|
|
2992
|
-
export class Endpoints<HandleError extends boolean = boolean> {
|
|
2993
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
2994
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
2995
|
-
/**
|
|
2996
|
-
* @description Create Endpoint
|
|
2997
|
-
* @tags endpoints
|
|
2998
|
-
* @name Create
|
|
2999
|
-
* @summary Create Endpoint
|
|
3000
|
-
* @request POST:/v1/b2b/endpoints
|
|
3001
|
-
* @secure
|
|
3002
|
-
*/
|
|
3003
|
-
create(endpointDto: UmaCreateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3004
|
-
/**
|
|
3005
|
-
* @description Delete endpoint by id
|
|
3006
|
-
* @tags endpoints
|
|
3007
|
-
* @name DeleteMany
|
|
3008
|
-
* @summary Delete endpoint by id
|
|
3009
|
-
* @request DELETE:/v1/b2b/endpoints
|
|
3010
|
-
* @secure
|
|
3011
|
-
*/
|
|
3012
|
-
deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3013
|
-
/**
|
|
3014
|
-
* @description Get Endpoint by id
|
|
3015
|
-
* @tags endpoints
|
|
3016
|
-
* @name GetById
|
|
3017
|
-
* @summary Get Endpoint by id
|
|
3018
|
-
* @request GET:/v1/b2b/endpoints/{id}
|
|
3019
|
-
* @secure
|
|
3020
|
-
*/
|
|
3021
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3022
|
-
/**
|
|
3023
|
-
* @description Update endpoint record
|
|
3024
|
-
* @tags endpoints
|
|
3025
|
-
* @name Update
|
|
3026
|
-
* @summary Update endpoint record
|
|
3027
|
-
* @request PUT:/v1/b2b/endpoints/{id}
|
|
3028
|
-
* @secure
|
|
3029
|
-
*/
|
|
3030
|
-
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3031
|
-
/**
|
|
3032
|
-
* @description Update endpoint record (partial updates supported).
|
|
3033
|
-
* @tags endpoints
|
|
3034
|
-
* @name PartialUpdate
|
|
3035
|
-
* @summary Update endpoint record (partial updates supported)
|
|
3036
|
-
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3037
|
-
* @secure
|
|
3038
|
-
*/
|
|
3039
|
-
partialUpdate(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3040
|
-
/**
|
|
3041
|
-
* @description Get endpoints with pagination
|
|
3042
|
-
* @tags endpoints
|
|
3043
|
-
* @name Get
|
|
3044
|
-
* @summary Get endpoints with pagination
|
|
3045
|
-
* @request POST:/v2/b2b/endpoints/list
|
|
3046
|
-
* @secure
|
|
3047
|
-
*/
|
|
3048
|
-
get(endpointDto: UmaGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEndpointsListSerializer, HandleError>>;
|
|
3049
|
-
}
|
|
3050
|
-
export class IdentityProviders<HandleError extends boolean = boolean> {
|
|
3051
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3052
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3053
|
-
/**
|
|
3054
|
-
* @description Create Identity Provider
|
|
3055
|
-
* @tags identity_providers
|
|
3165
|
+
* @description Create B2B User
|
|
3166
|
+
* @tags b2b_users
|
|
3056
3167
|
* @name Create
|
|
3057
|
-
* @summary Create
|
|
3058
|
-
* @request POST:/
|
|
3059
|
-
* @secure
|
|
3060
|
-
*/
|
|
3061
|
-
create(createIdentityProviderDto: UmaCreateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError>>;
|
|
3062
|
-
/**
|
|
3063
|
-
* @description Delete Identity providers by id
|
|
3064
|
-
* @tags identity_providers
|
|
3065
|
-
* @name DeleteMany
|
|
3066
|
-
* @summary Delete Identity providers by ids
|
|
3067
|
-
* @request DELETE:/v1/b2b/identity-providers
|
|
3068
|
-
* @secure
|
|
3069
|
-
*/
|
|
3070
|
-
deleteMany(deleteIdentityProvidersDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3071
|
-
/**
|
|
3072
|
-
* @description Get Identity Provider by id
|
|
3073
|
-
* @tags identity_providers
|
|
3074
|
-
* @name GetById
|
|
3075
|
-
* @summary Get Identity Provider by id
|
|
3076
|
-
* @request GET:/v1/b2b/identity-providers/{id}
|
|
3077
|
-
* @secure
|
|
3078
|
-
*/
|
|
3079
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError>>;
|
|
3080
|
-
/**
|
|
3081
|
-
* @description Update identity provider record
|
|
3082
|
-
* @tags identity_providers
|
|
3083
|
-
* @name Update
|
|
3084
|
-
* @summary Update identity provider record
|
|
3085
|
-
* @request PUT:/v1/b2b/identity-providers/{id}
|
|
3168
|
+
* @summary Create B2B User
|
|
3169
|
+
* @request POST:/v2/users/b2b
|
|
3086
3170
|
* @secure
|
|
3087
3171
|
*/
|
|
3088
|
-
|
|
3172
|
+
create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3089
3173
|
/**
|
|
3090
|
-
* @description Get
|
|
3091
|
-
* @tags
|
|
3174
|
+
* @description Get B2B users with pagination
|
|
3175
|
+
* @tags b2b_users
|
|
3092
3176
|
* @name Get
|
|
3093
|
-
* @summary Get
|
|
3094
|
-
* @request POST:/v2/b2b/
|
|
3095
|
-
* @secure
|
|
3096
|
-
*/
|
|
3097
|
-
get(identityProvidersDto: UmaGetIdentityProvidersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetIdentityProvidersListSerializer, HandleError>>;
|
|
3098
|
-
}
|
|
3099
|
-
export class Microservices<HandleError extends boolean = boolean> {
|
|
3100
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3101
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3102
|
-
/**
|
|
3103
|
-
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
3104
|
-
* @tags microservices
|
|
3105
|
-
* @name Create
|
|
3106
|
-
* @summary Create Microservice
|
|
3107
|
-
* @request POST:/v1/b2b/microservices
|
|
3108
|
-
* @secure
|
|
3109
|
-
*/
|
|
3110
|
-
create(microserviceDto: UmaCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3111
|
-
/**
|
|
3112
|
-
* @description Delete microservice by id
|
|
3113
|
-
* @tags microservices
|
|
3114
|
-
* @name DeleteMany
|
|
3115
|
-
* @summary Delete microservice by id
|
|
3116
|
-
* @request DELETE:/v1/b2b/microservices
|
|
3117
|
-
* @secure
|
|
3118
|
-
*/
|
|
3119
|
-
deleteMany(deleteMicroservices: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3120
|
-
/**
|
|
3121
|
-
* @description Get Microservice by id
|
|
3122
|
-
* @tags microservices
|
|
3123
|
-
* @name GetById
|
|
3124
|
-
* @summary Get Microservice by id
|
|
3125
|
-
* @request GET:/v1/b2b/microservices/{id}
|
|
3177
|
+
* @summary Get B2B users with pagination
|
|
3178
|
+
* @request POST:/v2/users/b2b/list
|
|
3126
3179
|
* @secure
|
|
3127
3180
|
*/
|
|
3128
|
-
|
|
3181
|
+
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError, Format>>;
|
|
3129
3182
|
/**
|
|
3130
|
-
* @description Update
|
|
3131
|
-
* @tags
|
|
3183
|
+
* @description Update B2B User
|
|
3184
|
+
* @tags b2b_users
|
|
3132
3185
|
* @name Update
|
|
3133
|
-
* @summary Update
|
|
3134
|
-
* @request PUT:/
|
|
3135
|
-
* @secure
|
|
3136
|
-
*/
|
|
3137
|
-
update(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3138
|
-
/**
|
|
3139
|
-
* @description Update microservice record (partial updates supported)
|
|
3140
|
-
* @tags microservices
|
|
3141
|
-
* @name PartialUpdate
|
|
3142
|
-
* @summary Update microservice record (partial updates supported)
|
|
3143
|
-
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3144
|
-
* @secure
|
|
3145
|
-
*/
|
|
3146
|
-
partialUpdate(id: number, microserviceDto: UmaUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3147
|
-
/**
|
|
3148
|
-
* @description Get microservices with pagination
|
|
3149
|
-
* @tags microservices
|
|
3150
|
-
* @name Get
|
|
3151
|
-
* @summary Get microservices with pagination
|
|
3152
|
-
* @request POST:/v2/b2b/microservices/list
|
|
3186
|
+
* @summary Update B2B User
|
|
3187
|
+
* @request PUT:/v2/users/b2b/{id}
|
|
3153
3188
|
* @secure
|
|
3154
3189
|
*/
|
|
3155
|
-
|
|
3190
|
+
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError, Format>>;
|
|
3156
3191
|
}
|
|
3157
|
-
export class
|
|
3158
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3159
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3160
|
-
/**
|
|
3161
|
-
* @description Create Role Type
|
|
3162
|
-
* @tags role_types
|
|
3163
|
-
* @name Create
|
|
3164
|
-
* @summary Create Role Type
|
|
3165
|
-
* @request POST:/v1/b2b/role-types
|
|
3166
|
-
* @secure
|
|
3167
|
-
*/
|
|
3168
|
-
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3169
|
-
/**
|
|
3170
|
-
* @description Delete Role Types by ids
|
|
3171
|
-
* @tags role_types
|
|
3172
|
-
* @name DeleteMany
|
|
3173
|
-
* @summary Delete Role Types by ids
|
|
3174
|
-
* @request DELETE:/v1/b2b/role-types
|
|
3175
|
-
* @secure
|
|
3176
|
-
*/
|
|
3177
|
-
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
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>);
|
|
3178
3195
|
/**
|
|
3179
|
-
* @description
|
|
3180
|
-
* @tags
|
|
3181
|
-
* @name
|
|
3182
|
-
* @summary
|
|
3183
|
-
* @request
|
|
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
|
|
3184
3201
|
* @secure
|
|
3185
3202
|
*/
|
|
3186
|
-
|
|
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>>;
|
|
3187
3209
|
/**
|
|
3188
|
-
* @description
|
|
3189
|
-
* @tags
|
|
3190
|
-
* @name
|
|
3191
|
-
* @summary
|
|
3192
|
-
* @request PUT:/v1/b2b/
|
|
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
|
|
3193
3215
|
* @secure
|
|
3194
3216
|
*/
|
|
3195
|
-
|
|
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>>;
|
|
3196
3226
|
/**
|
|
3197
|
-
* @description
|
|
3198
|
-
* @tags
|
|
3199
|
-
* @name
|
|
3200
|
-
* @summary
|
|
3201
|
-
* @request POST:/
|
|
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
|
|
3202
3232
|
* @secure
|
|
3203
3233
|
*/
|
|
3204
|
-
|
|
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>>;
|
|
3205
3238
|
}
|
|
3206
|
-
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
3207
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3208
|
-
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>);
|
|
3209
3242
|
/**
|
|
3210
3243
|
* @description Get current B2C user info by access token.
|
|
3211
3244
|
* @tags b2c_auth
|
|
@@ -3214,7 +3247,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3214
3247
|
* @request GET:/v1/auth/b2c/current
|
|
3215
3248
|
* @secure
|
|
3216
3249
|
*/
|
|
3217
|
-
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError>>;
|
|
3250
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError, Format>>;
|
|
3218
3251
|
/**
|
|
3219
3252
|
* @description Initialize Apple OAuth2 Login
|
|
3220
3253
|
* @tags b2c_auth
|
|
@@ -3227,7 +3260,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3227
3260
|
BRANCH?: string;
|
|
3228
3261
|
/** Firm id/slug, with which user should work */
|
|
3229
3262
|
FIRM?: string;
|
|
3230
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3263
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3231
3264
|
/**
|
|
3232
3265
|
* @description Finish Apple OAuth2 Login
|
|
3233
3266
|
* @tags b2c_auth
|
|
@@ -3235,7 +3268,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3235
3268
|
* @summary Finish Apple OAuth2 Login
|
|
3236
3269
|
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
3237
3270
|
*/
|
|
3238
|
-
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3271
|
+
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
|
|
3239
3272
|
/**
|
|
3240
3273
|
* @description Login B2C user by email/password.
|
|
3241
3274
|
* @tags b2c_auth
|
|
@@ -3248,7 +3281,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3248
3281
|
BRANCH?: string;
|
|
3249
3282
|
/** Firm id/slug, with which user should work */
|
|
3250
3283
|
FIRM?: string;
|
|
3251
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3284
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
|
|
3252
3285
|
/**
|
|
3253
3286
|
* @description Initialize Google OAuth2 Login
|
|
3254
3287
|
* @tags b2c_auth
|
|
@@ -3261,7 +3294,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3261
3294
|
BRANCH?: string;
|
|
3262
3295
|
/** Firm id/slug, with which user should work */
|
|
3263
3296
|
FIRM?: string;
|
|
3264
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3297
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3265
3298
|
/**
|
|
3266
3299
|
* @description Finish Google OAuth2 Login
|
|
3267
3300
|
* @tags b2c_auth
|
|
@@ -3269,7 +3302,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3269
3302
|
* @summary Finish Google OAuth2 Login
|
|
3270
3303
|
* @request POST:/v1/auth/b2c/login/google/callback
|
|
3271
3304
|
*/
|
|
3272
|
-
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3305
|
+
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError, Format>>;
|
|
3273
3306
|
/**
|
|
3274
3307
|
* @description Impersonate B2C user
|
|
3275
3308
|
* @tags b2c_auth
|
|
@@ -3278,7 +3311,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3278
3311
|
* @request POST:/v1/auth/b2c/login/impersonate
|
|
3279
3312
|
* @secure
|
|
3280
3313
|
*/
|
|
3281
|
-
impersonateLogin(b2cImpersonate: UmaB2CImpersonateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError>>;
|
|
3314
|
+
impersonateLogin(b2cImpersonate: UmaB2CImpersonateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError, Format>>;
|
|
3282
3315
|
/**
|
|
3283
3316
|
* @description logout from B2C user session
|
|
3284
3317
|
* @tags b2c_auth
|
|
@@ -3286,7 +3319,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3286
3319
|
* @summary logout from B2C user session
|
|
3287
3320
|
* @request DELETE:/v1/auth/b2c/logout
|
|
3288
3321
|
*/
|
|
3289
|
-
logout(B2CLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3322
|
+
logout(B2CLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3290
3323
|
/**
|
|
3291
3324
|
* @description Refresh B2C user token pair
|
|
3292
3325
|
* @tags b2c_auth
|
|
@@ -3302,7 +3335,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3302
3335
|
* @default "refresh_token=xxx"
|
|
3303
3336
|
*/
|
|
3304
3337
|
Cookie?: string;
|
|
3305
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRefreshResultSerializer, HandleError>>;
|
|
3338
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRefreshResultSerializer, HandleError, Format>>;
|
|
3306
3339
|
/**
|
|
3307
3340
|
* @description Register new B2C user. This endpoint should be used for Web GUI only
|
|
3308
3341
|
* @tags b2c_auth
|
|
@@ -3315,7 +3348,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3315
3348
|
BRANCH?: string;
|
|
3316
3349
|
/** Firm id/slug, with which user should work */
|
|
3317
3350
|
FIRM?: string;
|
|
3318
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRegisterSerializer, HandleError>>;
|
|
3351
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRegisterSerializer, HandleError, Format>>;
|
|
3319
3352
|
/**
|
|
3320
3353
|
* @description Reset B2C user password
|
|
3321
3354
|
* @tags b2c_auth
|
|
@@ -3325,12 +3358,12 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3325
3358
|
*/
|
|
3326
3359
|
resetPassword(B2CResetPasswordParams: UmaB2CResetPasswordDto, headers?: {
|
|
3327
3360
|
/** Run endpoint in debug mode */
|
|
3328
|
-
|
|
3361
|
+
'Debug-Token'?: string;
|
|
3329
3362
|
/** Branch id/slug/code, with which user should work */
|
|
3330
3363
|
BRANCH?: string;
|
|
3331
3364
|
/** Firm id/slug, with which user should work */
|
|
3332
3365
|
FIRM?: string;
|
|
3333
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3366
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3334
3367
|
/**
|
|
3335
3368
|
* @description Send MFA code for B2C user
|
|
3336
3369
|
* @tags b2c_auth
|
|
@@ -3343,7 +3376,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3343
3376
|
BRANCH?: string;
|
|
3344
3377
|
/** Firm id/slug, with which user should work */
|
|
3345
3378
|
FIRM?: string;
|
|
3346
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3379
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3347
3380
|
/**
|
|
3348
3381
|
* @description Send reset password code for B2C user
|
|
3349
3382
|
* @tags b2c_auth
|
|
@@ -3356,7 +3389,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3356
3389
|
BRANCH?: string;
|
|
3357
3390
|
/** Firm id/slug, with which user should work */
|
|
3358
3391
|
FIRM?: string;
|
|
3359
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3392
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3360
3393
|
/**
|
|
3361
3394
|
* @description Send verification code for B2C user
|
|
3362
3395
|
* @tags b2c_auth
|
|
@@ -3369,7 +3402,7 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3369
3402
|
BRANCH?: string;
|
|
3370
3403
|
/** Firm id/slug, with which user should work */
|
|
3371
3404
|
FIRM?: string;
|
|
3372
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3405
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3373
3406
|
/**
|
|
3374
3407
|
* @description Verify contact for B2C user
|
|
3375
3408
|
* @tags b2c_auth
|
|
@@ -3382,194 +3415,99 @@ export class B2CAuth<HandleError extends boolean = boolean> {
|
|
|
3382
3415
|
BRANCH?: string;
|
|
3383
3416
|
/** Firm id/slug, with which user should work */
|
|
3384
3417
|
FIRM?: string;
|
|
3385
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3418
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3386
3419
|
}
|
|
3387
|
-
export class
|
|
3388
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3389
|
-
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>);
|
|
3390
3423
|
/**
|
|
3391
|
-
* @description
|
|
3392
|
-
* @tags
|
|
3393
|
-
* @name
|
|
3394
|
-
* @summary
|
|
3395
|
-
* @request
|
|
3424
|
+
* @description Create B2C User
|
|
3425
|
+
* @tags b2c_users
|
|
3426
|
+
* @name Create
|
|
3427
|
+
* @summary Create B2C User
|
|
3428
|
+
* @request POST:/v1/users/b2c
|
|
3396
3429
|
* @secure
|
|
3397
3430
|
*/
|
|
3398
|
-
|
|
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>>;
|
|
3399
3435
|
/**
|
|
3400
|
-
* @description Delete
|
|
3401
|
-
* @tags
|
|
3402
|
-
* @name
|
|
3403
|
-
* @summary Delete
|
|
3404
|
-
* @request DELETE:/v1/
|
|
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
|
|
3405
3441
|
* @secure
|
|
3406
3442
|
*/
|
|
3407
|
-
|
|
3408
|
-
}
|
|
3409
|
-
export class TrustedDevices<HandleError extends boolean = boolean> {
|
|
3410
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3411
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3443
|
+
deleteMany(deleteB2CUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3412
3444
|
/**
|
|
3413
|
-
* @description
|
|
3414
|
-
* @tags
|
|
3415
|
-
* @name
|
|
3416
|
-
* @summary
|
|
3417
|
-
* @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}
|
|
3418
3450
|
* @secure
|
|
3419
3451
|
*/
|
|
3420
|
-
|
|
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>>;
|
|
3421
3456
|
/**
|
|
3422
|
-
* @description
|
|
3423
|
-
* @tags
|
|
3424
|
-
* @name
|
|
3425
|
-
* @summary
|
|
3426
|
-
* @request
|
|
3457
|
+
* @description Update B2C User
|
|
3458
|
+
* @tags b2c_users
|
|
3459
|
+
* @name Update
|
|
3460
|
+
* @summary Update B2C User
|
|
3461
|
+
* @request PUT:/v1/users/b2c/{id}
|
|
3427
3462
|
* @secure
|
|
3428
3463
|
*/
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3434
|
-
/**
|
|
3435
|
-
* @description Set B2B User Settings
|
|
3436
|
-
* @tags b2b_user_settings
|
|
3437
|
-
* @name SetUserSettings
|
|
3438
|
-
* @summary Set B2B User Settings
|
|
3439
|
-
* @request PUT:/v1/b2b/settings
|
|
3440
|
-
* @secure
|
|
3441
|
-
*/
|
|
3442
|
-
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
3443
|
-
/** Run endpoint in debug mode */
|
|
3444
|
-
"Debug-Token"?: string;
|
|
3445
|
-
/** Branch id, with which user should work */
|
|
3446
|
-
BRANCH?: string;
|
|
3447
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
3448
|
-
/**
|
|
3449
|
-
* @description Upload avatar for B2B user
|
|
3450
|
-
* @tags b2b_user_settings
|
|
3451
|
-
* @name UploadAvatar
|
|
3452
|
-
* @summary Upload avatar for B2B user
|
|
3453
|
-
* @request PUT:/v1/b2b/settings/avatar
|
|
3454
|
-
* @secure
|
|
3455
|
-
*/
|
|
3456
|
-
uploadAvatar(data: {
|
|
3457
|
-
/**
|
|
3458
|
-
* Avatar to upload
|
|
3459
|
-
* @format binary
|
|
3460
|
-
*/
|
|
3461
|
-
avatar?: File;
|
|
3462
|
-
/** Should delete old avatar instead of uploading new one */
|
|
3463
|
-
delete_avatar?: boolean;
|
|
3464
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
3465
|
-
/**
|
|
3466
|
-
* @description Send B2B user contact change code
|
|
3467
|
-
* @tags b2b_user_settings
|
|
3468
|
-
* @name SendContactChangeCode
|
|
3469
|
-
* @summary Send B2B user contact change code
|
|
3470
|
-
* @request POST:/v1/b2b/settings/codes
|
|
3471
|
-
* @secure
|
|
3472
|
-
*/
|
|
3473
|
-
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3474
|
-
/** Branch id, with which user should work */
|
|
3475
|
-
BRANCH?: string;
|
|
3476
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3477
|
-
}
|
|
3478
|
-
export class TablePresets<HandleError extends boolean = boolean> {
|
|
3479
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3480
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3481
|
-
/**
|
|
3482
|
-
* @description Get user Table Presets
|
|
3483
|
-
* @tags table_presets
|
|
3484
|
-
* @name GetUserPresets
|
|
3485
|
-
* @summary Get user Table Presets
|
|
3486
|
-
* @request GET:/v1/b2b/table-presets
|
|
3487
|
-
* @secure
|
|
3488
|
-
*/
|
|
3489
|
-
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError>>;
|
|
3490
|
-
/**
|
|
3491
|
-
* @description Upsert Table Preset
|
|
3492
|
-
* @tags table_presets
|
|
3493
|
-
* @name Upsert
|
|
3494
|
-
* @summary Upsert Table Preset
|
|
3495
|
-
* @request PUT:/v1/b2b/table-presets
|
|
3496
|
-
* @secure
|
|
3497
|
-
*/
|
|
3498
|
-
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError>>;
|
|
3499
|
-
}
|
|
3500
|
-
export class Branches<HandleError extends boolean = boolean> {
|
|
3501
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3502
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3503
|
-
/**
|
|
3504
|
-
* @description Create Branch
|
|
3505
|
-
* @tags branches
|
|
3506
|
-
* @name Create
|
|
3507
|
-
* @summary Create Branch
|
|
3508
|
-
* @request POST:/v1/branches
|
|
3509
|
-
* @secure
|
|
3510
|
-
*/
|
|
3511
|
-
create(createBranch: UmaCreateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError>>;
|
|
3512
|
-
/**
|
|
3513
|
-
* @description Delete Branch by id
|
|
3514
|
-
* @tags branches
|
|
3515
|
-
* @name DeleteMany
|
|
3516
|
-
* @summary Delete Branch by id
|
|
3517
|
-
* @request DELETE:/v1/branches
|
|
3518
|
-
* @secure
|
|
3519
|
-
*/
|
|
3520
|
-
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, 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>>;
|
|
3521
3468
|
/**
|
|
3522
|
-
* @description
|
|
3523
|
-
* @tags
|
|
3524
|
-
* @name
|
|
3525
|
-
* @summary
|
|
3526
|
-
* @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}
|
|
3527
3474
|
* @secure
|
|
3528
3475
|
*/
|
|
3529
|
-
|
|
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>>;
|
|
3530
3480
|
/**
|
|
3531
|
-
* @description
|
|
3532
|
-
* @tags
|
|
3533
|
-
* @name
|
|
3534
|
-
* @summary
|
|
3535
|
-
* @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
|
|
3536
3486
|
* @secure
|
|
3537
3487
|
*/
|
|
3538
|
-
|
|
3488
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
3539
3489
|
/**
|
|
3540
|
-
* @description
|
|
3541
|
-
* @tags
|
|
3542
|
-
* @name
|
|
3543
|
-
* @summary
|
|
3544
|
-
* @request PATCH:/v1/
|
|
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
|
|
3545
3495
|
* @secure
|
|
3546
3496
|
*/
|
|
3547
|
-
|
|
3497
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3548
3498
|
/**
|
|
3549
|
-
* @description Get
|
|
3550
|
-
* @tags
|
|
3499
|
+
* @description Get B2C users with pagination
|
|
3500
|
+
* @tags b2c_users
|
|
3551
3501
|
* @name Get
|
|
3552
|
-
* @summary Get
|
|
3553
|
-
* @request POST:/v2/
|
|
3502
|
+
* @summary Get B2C users with pagination
|
|
3503
|
+
* @request POST:/v2/users/b2c/list
|
|
3554
3504
|
* @secure
|
|
3555
3505
|
*/
|
|
3556
|
-
get(
|
|
3557
|
-
}
|
|
3558
|
-
export class Countries<HandleError extends boolean = boolean> {
|
|
3559
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3560
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3561
|
-
/**
|
|
3562
|
-
* @description Get Countries info
|
|
3563
|
-
* @tags countries
|
|
3564
|
-
* @name Get
|
|
3565
|
-
* @summary Get Countries info
|
|
3566
|
-
* @request GET:/v1/countries/
|
|
3567
|
-
*/
|
|
3568
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3506
|
+
get(getB2CUsers: UmaGetB2CUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2CUserSerializer, HandleError, Format>>;
|
|
3569
3507
|
}
|
|
3570
|
-
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
3571
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3572
|
-
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>);
|
|
3573
3511
|
/**
|
|
3574
3512
|
* @description Set B2C User Settings (test)
|
|
3575
3513
|
* @tags b2c_user_settings
|
|
@@ -3581,7 +3519,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3581
3519
|
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
3582
3520
|
/** Branch id/slug/code, with which user should work */
|
|
3583
3521
|
BRANCH?: string;
|
|
3584
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3522
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError, Format>>;
|
|
3585
3523
|
/**
|
|
3586
3524
|
* @description Send B2C user contact change code
|
|
3587
3525
|
* @tags b2c_user_settings
|
|
@@ -3593,7 +3531,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3593
3531
|
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
3594
3532
|
/** Branch id/slug/code, with which user should work */
|
|
3595
3533
|
BRANCH?: string;
|
|
3596
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3534
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3597
3535
|
/**
|
|
3598
3536
|
* @description Get Available B2C Branch Mfa Options
|
|
3599
3537
|
* @tags b2c_user_settings
|
|
@@ -3605,7 +3543,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3605
3543
|
availableMfaOptions(headers?: {
|
|
3606
3544
|
/** Branch id/slug/code, with which user should work */
|
|
3607
3545
|
BRANCH?: string;
|
|
3608
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
3546
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError, Format>>;
|
|
3609
3547
|
/**
|
|
3610
3548
|
* @description Delete B2C OAuth2 Bindings
|
|
3611
3549
|
* @tags b2c_user_settings
|
|
@@ -3614,7 +3552,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3614
3552
|
* @request DELETE:/v1/b2c/settings/oauth-links
|
|
3615
3553
|
* @secure
|
|
3616
3554
|
*/
|
|
3617
|
-
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3555
|
+
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3618
3556
|
/**
|
|
3619
3557
|
* @description Finish Apple OAuth2 Profile Linking
|
|
3620
3558
|
* @tags b2c_user_settings
|
|
@@ -3622,7 +3560,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3622
3560
|
* @summary Finish Apple OAuth2 Profile Linking
|
|
3623
3561
|
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
3624
3562
|
*/
|
|
3625
|
-
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3563
|
+
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3626
3564
|
/**
|
|
3627
3565
|
* @description Initialize Apple OAuth2 Profile Linking
|
|
3628
3566
|
* @tags b2c_user_settings
|
|
@@ -3631,7 +3569,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3631
3569
|
* @request POST:/v1/b2c/settings/oauth-links/apple/start
|
|
3632
3570
|
* @secure
|
|
3633
3571
|
*/
|
|
3634
|
-
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3572
|
+
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3635
3573
|
/**
|
|
3636
3574
|
* @description Finish Google OAuth2 Profile Linking
|
|
3637
3575
|
* @tags b2c_user_settings
|
|
@@ -3639,7 +3577,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3639
3577
|
* @summary Finish Google OAuth2 Profile Linking
|
|
3640
3578
|
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
3641
3579
|
*/
|
|
3642
|
-
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3580
|
+
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3643
3581
|
/**
|
|
3644
3582
|
* @description Initialize Google OAuth2 Profile Linking
|
|
3645
3583
|
* @tags b2c_user_settings
|
|
@@ -3648,7 +3586,7 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3648
3586
|
* @request POST:/v1/b2c/settings/oauth-links/google/start
|
|
3649
3587
|
* @secure
|
|
3650
3588
|
*/
|
|
3651
|
-
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3589
|
+
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError, Format>>;
|
|
3652
3590
|
/**
|
|
3653
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
|
|
3654
3592
|
* @tags b2c_user_settings
|
|
@@ -3657,127 +3595,81 @@ export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
|
3657
3595
|
* @request POST:/v1/b2c/settings/oauth-links/list
|
|
3658
3596
|
* @secure
|
|
3659
3597
|
*/
|
|
3660
|
-
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError>>;
|
|
3598
|
+
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError, Format>>;
|
|
3661
3599
|
}
|
|
3662
|
-
export class
|
|
3663
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3664
|
-
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>);
|
|
3665
3603
|
/**
|
|
3666
|
-
* @description Create
|
|
3667
|
-
* @tags
|
|
3604
|
+
* @description Create Branch
|
|
3605
|
+
* @tags branches
|
|
3668
3606
|
* @name Create
|
|
3669
|
-
* @summary Create
|
|
3670
|
-
* @request POST:/v1/
|
|
3607
|
+
* @summary Create Branch
|
|
3608
|
+
* @request POST:/v1/branches
|
|
3671
3609
|
* @secure
|
|
3672
3610
|
*/
|
|
3673
|
-
create(
|
|
3611
|
+
create(createBranch: UmaCreateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3674
3612
|
/**
|
|
3675
|
-
* @description
|
|
3676
|
-
* @tags
|
|
3613
|
+
* @description Delete Branch by id
|
|
3614
|
+
* @tags branches
|
|
3677
3615
|
* @name DeleteMany
|
|
3678
|
-
* @summary
|
|
3679
|
-
* @request DELETE:/v1/
|
|
3616
|
+
* @summary Delete Branch by id
|
|
3617
|
+
* @request DELETE:/v1/branches
|
|
3680
3618
|
* @secure
|
|
3681
3619
|
*/
|
|
3682
|
-
deleteMany(
|
|
3620
|
+
deleteMany(deleteBranches: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3683
3621
|
/**
|
|
3684
|
-
* @description Get
|
|
3685
|
-
* @tags
|
|
3622
|
+
* @description Get Branch by id
|
|
3623
|
+
* @tags branches
|
|
3686
3624
|
* @name GetById
|
|
3687
|
-
* @summary Get
|
|
3688
|
-
* @request GET:/v1/
|
|
3625
|
+
* @summary Get Branch by id
|
|
3626
|
+
* @request GET:/v1/branches/{id}
|
|
3689
3627
|
* @secure
|
|
3690
3628
|
*/
|
|
3691
|
-
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<
|
|
3629
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3692
3630
|
/**
|
|
3693
|
-
* @description Update
|
|
3694
|
-
* @tags
|
|
3631
|
+
* @description Update Branch
|
|
3632
|
+
* @tags branches
|
|
3695
3633
|
* @name Update
|
|
3696
|
-
* @summary Update
|
|
3697
|
-
* @request PUT:/v1/
|
|
3634
|
+
* @summary Update Branch
|
|
3635
|
+
* @request PUT:/v1/branches/{id}
|
|
3698
3636
|
* @secure
|
|
3699
3637
|
*/
|
|
3700
|
-
update(id: number,
|
|
3638
|
+
update(id: number, updateBranch: UmaUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3701
3639
|
/**
|
|
3702
|
-
* @description Update
|
|
3703
|
-
* @tags
|
|
3640
|
+
* @description Partial Update Branch
|
|
3641
|
+
* @tags branches
|
|
3704
3642
|
* @name PartialUpdate
|
|
3705
|
-
* @summary Update
|
|
3706
|
-
* @request PATCH:/v1/
|
|
3643
|
+
* @summary Partial Update Branch
|
|
3644
|
+
* @request PATCH:/v1/branches/{id}
|
|
3707
3645
|
* @secure
|
|
3708
3646
|
*/
|
|
3709
|
-
partialUpdate(id: number,
|
|
3647
|
+
partialUpdate(id: number, partialUpdateBranch: UmaBranchDtoCommon, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaBranchMutationSerializer, HandleError, Format>>;
|
|
3710
3648
|
/**
|
|
3711
|
-
* @description Get
|
|
3712
|
-
* @tags
|
|
3649
|
+
* @description Get Branches with pagination
|
|
3650
|
+
* @tags branches
|
|
3713
3651
|
* @name Get
|
|
3714
|
-
* @summary Get
|
|
3715
|
-
* @request POST:/v2/
|
|
3652
|
+
* @summary Get Branches with pagination
|
|
3653
|
+
* @request POST:/v2/branches/list
|
|
3716
3654
|
* @secure
|
|
3717
3655
|
*/
|
|
3718
|
-
get(
|
|
3656
|
+
get(getBranches: UmaGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetBranchesListSerializer, HandleError, Format>>;
|
|
3719
3657
|
}
|
|
3720
|
-
export class
|
|
3721
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3722
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3723
|
-
/**
|
|
3724
|
-
* @description Create Permission
|
|
3725
|
-
* @tags permissions
|
|
3726
|
-
* @name Create
|
|
3727
|
-
* @summary Create Permission
|
|
3728
|
-
* @request POST:/v1/permissions
|
|
3729
|
-
* @secure
|
|
3730
|
-
*/
|
|
3731
|
-
create(createPermission: UmaCreatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
3732
|
-
/**
|
|
3733
|
-
* @description Delete Permissions by id
|
|
3734
|
-
* @tags permissions
|
|
3735
|
-
* @name DeleteMany
|
|
3736
|
-
* @summary Delete Permissions by id
|
|
3737
|
-
* @request DELETE:/v1/permissions
|
|
3738
|
-
* @secure
|
|
3739
|
-
*/
|
|
3740
|
-
deleteMany(deletePermissions: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3741
|
-
/**
|
|
3742
|
-
* @description Get Permission by id
|
|
3743
|
-
* @tags permissions
|
|
3744
|
-
* @name GetById
|
|
3745
|
-
* @summary Get Permission by id
|
|
3746
|
-
* @request GET:/v1/permissions/{id}
|
|
3747
|
-
* @secure
|
|
3748
|
-
*/
|
|
3749
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
3750
|
-
/**
|
|
3751
|
-
* @description Update Permission
|
|
3752
|
-
* @tags permissions
|
|
3753
|
-
* @name Update
|
|
3754
|
-
* @summary Update Permission
|
|
3755
|
-
* @request PUT:/v1/permissions/{id}
|
|
3756
|
-
* @secure
|
|
3757
|
-
*/
|
|
3758
|
-
update(id: number, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError>>;
|
|
3759
|
-
/**
|
|
3760
|
-
* @description Partial Update Permission
|
|
3761
|
-
* @tags permissions
|
|
3762
|
-
* @name PartialUpdate
|
|
3763
|
-
* @summary Partial Update Permission
|
|
3764
|
-
* @request PATCH:/v1/permissions/{id}
|
|
3765
|
-
* @secure
|
|
3766
|
-
*/
|
|
3767
|
-
partialUpdate(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, 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>);
|
|
3768
3661
|
/**
|
|
3769
|
-
* @description Get
|
|
3770
|
-
* @tags
|
|
3662
|
+
* @description Get Countries info
|
|
3663
|
+
* @tags countries
|
|
3771
3664
|
* @name Get
|
|
3772
|
-
* @summary Get
|
|
3773
|
-
* @request
|
|
3774
|
-
* @secure
|
|
3665
|
+
* @summary Get Countries info
|
|
3666
|
+
* @request GET:/v1/countries/
|
|
3775
3667
|
*/
|
|
3776
|
-
get(
|
|
3668
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError, Format>>;
|
|
3777
3669
|
}
|
|
3778
|
-
export class EmailDomains<HandleError extends boolean = boolean> {
|
|
3779
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3780
|
-
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>);
|
|
3781
3673
|
/**
|
|
3782
3674
|
* @description Create Email Domain
|
|
3783
3675
|
* @tags email_domains
|
|
@@ -3786,7 +3678,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3786
3678
|
* @request POST:/v1/email-domains
|
|
3787
3679
|
* @secure
|
|
3788
3680
|
*/
|
|
3789
|
-
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3681
|
+
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError, Format>>;
|
|
3790
3682
|
/**
|
|
3791
3683
|
* @description Delete Email Domains
|
|
3792
3684
|
* @tags email_domains
|
|
@@ -3795,7 +3687,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3795
3687
|
* @request DELETE:/v1/email-domains
|
|
3796
3688
|
* @secure
|
|
3797
3689
|
*/
|
|
3798
|
-
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3690
|
+
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3799
3691
|
/**
|
|
3800
3692
|
* @description Get emailDomains with pagination
|
|
3801
3693
|
* @tags email_domains
|
|
@@ -3804,7 +3696,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3804
3696
|
* @request POST:/v1/email-domains/list
|
|
3805
3697
|
* @secure
|
|
3806
3698
|
*/
|
|
3807
|
-
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError>>;
|
|
3699
|
+
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError, Format>>;
|
|
3808
3700
|
/**
|
|
3809
3701
|
* @description Get Email Domain by id
|
|
3810
3702
|
* @tags email_domains
|
|
@@ -3813,7 +3705,7 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3813
3705
|
* @request GET:/v1/email-domains/{id}
|
|
3814
3706
|
* @secure
|
|
3815
3707
|
*/
|
|
3816
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3708
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError, Format>>;
|
|
3817
3709
|
/**
|
|
3818
3710
|
* @description Update Email Domain record (partial updates supported).
|
|
3819
3711
|
* @tags email_domains
|
|
@@ -3822,261 +3714,483 @@ export class EmailDomains<HandleError extends boolean = boolean> {
|
|
|
3822
3714
|
* @request PATCH:/v1/email-domains/{id}
|
|
3823
3715
|
* @secure
|
|
3824
3716
|
*/
|
|
3825
|
-
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3826
|
-
}
|
|
3827
|
-
export class Locales<HandleError extends boolean = boolean> {
|
|
3828
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3829
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3830
|
-
/**
|
|
3831
|
-
* @description get all language locales
|
|
3832
|
-
* @tags locales
|
|
3833
|
-
* @name Get
|
|
3834
|
-
* @summary get all locales
|
|
3835
|
-
* @request GET:/v1/locales
|
|
3836
|
-
*/
|
|
3837
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError>>;
|
|
3838
|
-
}
|
|
3839
|
-
export class PublicSettings<HandleError extends boolean = boolean> {
|
|
3840
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3841
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3842
|
-
/**
|
|
3843
|
-
* @description Get public settings
|
|
3844
|
-
* @tags public_settings
|
|
3845
|
-
* @name Get
|
|
3846
|
-
* @summary Get public settings
|
|
3847
|
-
* @request GET:/v1/public-settings
|
|
3848
|
-
*/
|
|
3849
|
-
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError>>;
|
|
3717
|
+
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError, Format>>;
|
|
3850
3718
|
}
|
|
3851
|
-
export class
|
|
3852
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3853
|
-
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>);
|
|
3854
3722
|
/**
|
|
3855
|
-
* @description Create
|
|
3856
|
-
* @tags
|
|
3723
|
+
* @description Create Endpoint
|
|
3724
|
+
* @tags endpoints
|
|
3857
3725
|
* @name Create
|
|
3858
|
-
* @summary Create
|
|
3859
|
-
* @request POST:/v1/
|
|
3726
|
+
* @summary Create Endpoint
|
|
3727
|
+
* @request POST:/v1/b2b/endpoints
|
|
3860
3728
|
* @secure
|
|
3861
3729
|
*/
|
|
3862
|
-
create(
|
|
3730
|
+
create(endpointDto: UmaCreateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3863
3731
|
/**
|
|
3864
|
-
* @description Delete
|
|
3865
|
-
* @tags
|
|
3732
|
+
* @description Delete endpoint by id
|
|
3733
|
+
* @tags endpoints
|
|
3866
3734
|
* @name DeleteMany
|
|
3867
|
-
* @summary Delete
|
|
3868
|
-
* @request DELETE:/v1/
|
|
3735
|
+
* @summary Delete endpoint by id
|
|
3736
|
+
* @request DELETE:/v1/b2b/endpoints
|
|
3869
3737
|
* @secure
|
|
3870
3738
|
*/
|
|
3871
|
-
deleteMany(
|
|
3739
|
+
deleteMany(deleteEndpointsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3872
3740
|
/**
|
|
3873
|
-
* @description Get
|
|
3874
|
-
* @tags
|
|
3741
|
+
* @description Get Endpoint by id
|
|
3742
|
+
* @tags endpoints
|
|
3875
3743
|
* @name GetById
|
|
3876
|
-
* @summary Get
|
|
3877
|
-
* @request GET:/v1/
|
|
3744
|
+
* @summary Get Endpoint by id
|
|
3745
|
+
* @request GET:/v1/b2b/endpoints/{id}
|
|
3878
3746
|
* @secure
|
|
3879
3747
|
*/
|
|
3880
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<
|
|
3748
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3881
3749
|
/**
|
|
3882
|
-
* @description Update
|
|
3883
|
-
* @tags
|
|
3750
|
+
* @description Update endpoint record
|
|
3751
|
+
* @tags endpoints
|
|
3884
3752
|
* @name Update
|
|
3885
|
-
* @summary Update
|
|
3886
|
-
* @request PUT:/v1/
|
|
3753
|
+
* @summary Update endpoint record
|
|
3754
|
+
* @request PUT:/v1/b2b/endpoints/{id}
|
|
3887
3755
|
* @secure
|
|
3888
3756
|
*/
|
|
3889
|
-
update(id: number,
|
|
3757
|
+
update(id: number, endpointDto: UmaUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3890
3758
|
/**
|
|
3891
|
-
* @description
|
|
3892
|
-
* @tags
|
|
3759
|
+
* @description Update endpoint record (partial updates supported).
|
|
3760
|
+
* @tags endpoints
|
|
3893
3761
|
* @name PartialUpdate
|
|
3894
|
-
* @summary
|
|
3895
|
-
* @request PATCH:/v1/
|
|
3762
|
+
* @summary Update endpoint record (partial updates supported)
|
|
3763
|
+
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3896
3764
|
* @secure
|
|
3897
3765
|
*/
|
|
3898
|
-
partialUpdate(id: number,
|
|
3766
|
+
partialUpdate(id: number, endpointDto: UmaPartialUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError, Format>>;
|
|
3899
3767
|
/**
|
|
3900
|
-
* @description
|
|
3901
|
-
* @tags
|
|
3902
|
-
* @name
|
|
3903
|
-
* @summary
|
|
3904
|
-
* @request POST:/
|
|
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
|
|
3905
3773
|
* @secure
|
|
3906
3774
|
*/
|
|
3907
|
-
|
|
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>);
|
|
3908
3780
|
/**
|
|
3909
|
-
* @description
|
|
3910
|
-
* @tags
|
|
3781
|
+
* @description Create Firm
|
|
3782
|
+
* @tags firms
|
|
3783
|
+
* @name Create
|
|
3784
|
+
* @summary Create Firm
|
|
3785
|
+
* @request POST:/v1/firms
|
|
3786
|
+
* @secure
|
|
3787
|
+
*/
|
|
3788
|
+
create(createFirm: UmaCreateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3789
|
+
/**
|
|
3790
|
+
* @description Deletes Firm by ids
|
|
3791
|
+
* @tags firms
|
|
3792
|
+
* @name DeleteMany
|
|
3793
|
+
* @summary Deletes Firm by ids
|
|
3794
|
+
* @request DELETE:/v1/firms
|
|
3795
|
+
* @secure
|
|
3796
|
+
*/
|
|
3797
|
+
deleteMany(deleteFirms: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3798
|
+
/**
|
|
3799
|
+
* @description Get Firm by id
|
|
3800
|
+
* @tags firms
|
|
3801
|
+
* @name GetById
|
|
3802
|
+
* @summary Get Firm by id
|
|
3803
|
+
* @request GET:/v1/firms/{id}
|
|
3804
|
+
* @secure
|
|
3805
|
+
*/
|
|
3806
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3807
|
+
/**
|
|
3808
|
+
* @description Update Firm
|
|
3809
|
+
* @tags firms
|
|
3810
|
+
* @name Update
|
|
3811
|
+
* @summary Update Firm
|
|
3812
|
+
* @request PUT:/v1/firms/{id}
|
|
3813
|
+
* @secure
|
|
3814
|
+
*/
|
|
3815
|
+
update(id: number, updateFirm: UmaUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3816
|
+
/**
|
|
3817
|
+
* @description Update Firm (partial updates supported).
|
|
3818
|
+
* @tags firms
|
|
3819
|
+
* @name PartialUpdate
|
|
3820
|
+
* @summary Update Firm (partial updates supported)
|
|
3821
|
+
* @request PATCH:/v1/firms/{id}
|
|
3822
|
+
* @secure
|
|
3823
|
+
*/
|
|
3824
|
+
partialUpdate(id: number, updateFirm: UmaPartialUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError, Format>>;
|
|
3825
|
+
/**
|
|
3826
|
+
* @description Get Firms with pagination
|
|
3827
|
+
* @tags firms
|
|
3911
3828
|
* @name Get
|
|
3912
|
-
* @summary Get
|
|
3913
|
-
* @request POST:/v2/
|
|
3829
|
+
* @summary Get Firms with pagination
|
|
3830
|
+
* @request POST:/v2/firms/list
|
|
3914
3831
|
* @secure
|
|
3915
3832
|
*/
|
|
3916
|
-
get(
|
|
3833
|
+
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError, Format>>;
|
|
3917
3834
|
}
|
|
3918
|
-
export class
|
|
3919
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3920
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
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>);
|
|
3921
3838
|
/**
|
|
3922
|
-
* @description Create
|
|
3923
|
-
* @tags
|
|
3839
|
+
* @description Create Identity Provider
|
|
3840
|
+
* @tags identity_providers
|
|
3924
3841
|
* @name Create
|
|
3925
|
-
* @summary Create
|
|
3926
|
-
* @request POST:/v1/
|
|
3842
|
+
* @summary Create Identity Provider
|
|
3843
|
+
* @request POST:/v1/b2b/identity-providers
|
|
3927
3844
|
* @secure
|
|
3928
3845
|
*/
|
|
3929
|
-
create(
|
|
3930
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3931
|
-
"X-Accept"?: string;
|
|
3932
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3846
|
+
create(createIdentityProviderDto: UmaCreateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError, Format>>;
|
|
3933
3847
|
/**
|
|
3934
|
-
* @description
|
|
3935
|
-
* @tags
|
|
3848
|
+
* @description Delete Identity providers by id
|
|
3849
|
+
* @tags identity_providers
|
|
3936
3850
|
* @name DeleteMany
|
|
3937
|
-
* @summary
|
|
3938
|
-
* @request DELETE:/v1/
|
|
3851
|
+
* @summary Delete Identity providers by ids
|
|
3852
|
+
* @request DELETE:/v1/b2b/identity-providers
|
|
3939
3853
|
* @secure
|
|
3940
3854
|
*/
|
|
3941
|
-
deleteMany(
|
|
3855
|
+
deleteMany(deleteIdentityProvidersDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3942
3856
|
/**
|
|
3943
|
-
* @description Get
|
|
3944
|
-
* @tags
|
|
3857
|
+
* @description Get Identity Provider by id
|
|
3858
|
+
* @tags identity_providers
|
|
3945
3859
|
* @name GetById
|
|
3946
|
-
* @summary Get
|
|
3947
|
-
* @request GET:/v1/
|
|
3860
|
+
* @summary Get Identity Provider by id
|
|
3861
|
+
* @request GET:/v1/b2b/identity-providers/{id}
|
|
3948
3862
|
* @secure
|
|
3949
3863
|
*/
|
|
3950
|
-
getById(id: number,
|
|
3951
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3952
|
-
"X-Accept"?: string;
|
|
3953
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3864
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError, Format>>;
|
|
3954
3865
|
/**
|
|
3955
|
-
* @description Update
|
|
3956
|
-
* @tags
|
|
3866
|
+
* @description Update identity provider record
|
|
3867
|
+
* @tags identity_providers
|
|
3957
3868
|
* @name Update
|
|
3958
|
-
* @summary Update
|
|
3959
|
-
* @request PUT:/v1/
|
|
3869
|
+
* @summary Update identity provider record
|
|
3870
|
+
* @request PUT:/v1/b2b/identity-providers/{id}
|
|
3960
3871
|
* @secure
|
|
3961
3872
|
*/
|
|
3962
|
-
update(id: number,
|
|
3963
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3964
|
-
"X-Accept"?: string;
|
|
3965
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3873
|
+
update(id: number, identityProvidersDto: UmaUpdateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaIdentityProviderResponseSerializer, HandleError, Format>>;
|
|
3966
3874
|
/**
|
|
3967
|
-
* @description
|
|
3968
|
-
* @tags
|
|
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>>;
|
|
3883
|
+
}
|
|
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>);
|
|
3887
|
+
/**
|
|
3888
|
+
* @description get all language locales
|
|
3889
|
+
* @tags locales
|
|
3890
|
+
* @name Get
|
|
3891
|
+
* @summary get all locales
|
|
3892
|
+
* @request GET:/v1/locales
|
|
3893
|
+
*/
|
|
3894
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError, Format>>;
|
|
3895
|
+
}
|
|
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
|
|
3969
3938
|
* @name PartialUpdate
|
|
3970
|
-
* @summary
|
|
3971
|
-
* @request PATCH:/v1/
|
|
3939
|
+
* @summary Update microservice record (partial updates supported)
|
|
3940
|
+
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3972
3941
|
* @secure
|
|
3973
3942
|
*/
|
|
3974
|
-
partialUpdate(id: number,
|
|
3975
|
-
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3976
|
-
"X-Accept"?: string;
|
|
3977
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
3943
|
+
partialUpdate(id: number, microserviceDto: UmaPartialUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError, Format>>;
|
|
3978
3944
|
/**
|
|
3979
|
-
* @description
|
|
3980
|
-
* @tags
|
|
3981
|
-
* @name
|
|
3982
|
-
* @summary
|
|
3983
|
-
* @request POST:/
|
|
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
|
|
3984
3950
|
* @secure
|
|
3985
3951
|
*/
|
|
3986
|
-
|
|
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>);
|
|
3987
3957
|
/**
|
|
3988
|
-
* @description
|
|
3989
|
-
* @tags
|
|
3990
|
-
* @name
|
|
3991
|
-
* @summary
|
|
3992
|
-
* @request
|
|
3958
|
+
* @description Create Permission
|
|
3959
|
+
* @tags permissions
|
|
3960
|
+
* @name Create
|
|
3961
|
+
* @summary Create Permission
|
|
3962
|
+
* @request POST:/v1/permissions
|
|
3993
3963
|
* @secure
|
|
3994
3964
|
*/
|
|
3995
|
-
|
|
3965
|
+
create(createPermission: UmaCreatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3996
3966
|
/**
|
|
3997
|
-
* @description
|
|
3998
|
-
* @tags
|
|
3967
|
+
* @description Delete Permissions by id
|
|
3968
|
+
* @tags permissions
|
|
3969
|
+
* @name DeleteMany
|
|
3970
|
+
* @summary Delete Permissions by id
|
|
3971
|
+
* @request DELETE:/v1/permissions
|
|
3972
|
+
* @secure
|
|
3973
|
+
*/
|
|
3974
|
+
deleteMany(deletePermissions: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
3975
|
+
/**
|
|
3976
|
+
* @description Get Permission by id
|
|
3977
|
+
* @tags permissions
|
|
3978
|
+
* @name GetById
|
|
3979
|
+
* @summary Get Permission by id
|
|
3980
|
+
* @request GET:/v1/permissions/{id}
|
|
3981
|
+
* @secure
|
|
3982
|
+
*/
|
|
3983
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3984
|
+
/**
|
|
3985
|
+
* @description Update Permission
|
|
3986
|
+
* @tags permissions
|
|
3987
|
+
* @name Update
|
|
3988
|
+
* @summary Update Permission
|
|
3989
|
+
* @request PUT:/v1/permissions/{id}
|
|
3990
|
+
* @secure
|
|
3991
|
+
*/
|
|
3992
|
+
update(id: number, updatePermission: UmaUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
3993
|
+
/**
|
|
3994
|
+
* @description Partial Update Permission
|
|
3995
|
+
* @tags permissions
|
|
3996
|
+
* @name PartialUpdate
|
|
3997
|
+
* @summary Partial Update Permission
|
|
3998
|
+
* @request PATCH:/v1/permissions/{id}
|
|
3999
|
+
* @secure
|
|
4000
|
+
*/
|
|
4001
|
+
partialUpdate(id: number, partialUpdatePermission: UmaPartialUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPermissionMutationSerializer, HandleError, Format>>;
|
|
4002
|
+
/**
|
|
4003
|
+
* @description Get Permissions with pagination
|
|
4004
|
+
* @tags permissions
|
|
3999
4005
|
* @name Get
|
|
4000
|
-
* @summary Get
|
|
4001
|
-
* @request POST:/v2/
|
|
4006
|
+
* @summary Get Permissions with pagination
|
|
4007
|
+
* @request POST:/v2/permissions/list
|
|
4002
4008
|
* @secure
|
|
4003
4009
|
*/
|
|
4004
|
-
get(
|
|
4010
|
+
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError, Format>>;
|
|
4005
4011
|
}
|
|
4006
|
-
export class
|
|
4007
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4008
|
-
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>);
|
|
4009
4015
|
/**
|
|
4010
|
-
* @description
|
|
4011
|
-
* @tags
|
|
4016
|
+
* @description Get public settings
|
|
4017
|
+
* @tags public_settings
|
|
4018
|
+
* @name Get
|
|
4019
|
+
* @summary Get public settings
|
|
4020
|
+
* @request GET:/v1/public-settings
|
|
4021
|
+
*/
|
|
4022
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaPublicSettingsResponseSerializer, HandleError, Format>>;
|
|
4023
|
+
}
|
|
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>);
|
|
4027
|
+
/**
|
|
4028
|
+
* @description Create Role
|
|
4029
|
+
* @tags roles
|
|
4012
4030
|
* @name Create
|
|
4013
|
-
* @summary Create
|
|
4014
|
-
* @request POST:/v1/
|
|
4031
|
+
* @summary Create Role
|
|
4032
|
+
* @request POST:/v1/roles
|
|
4015
4033
|
* @secure
|
|
4016
4034
|
*/
|
|
4017
|
-
create(
|
|
4035
|
+
create(createRole: UmaCreateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4018
4036
|
/**
|
|
4019
|
-
* @description Delete
|
|
4020
|
-
* @tags
|
|
4037
|
+
* @description Delete Roles by ids
|
|
4038
|
+
* @tags roles
|
|
4021
4039
|
* @name DeleteMany
|
|
4022
|
-
* @summary Delete
|
|
4023
|
-
* @request DELETE:/v1/
|
|
4040
|
+
* @summary Delete Roles by ids
|
|
4041
|
+
* @request DELETE:/v1/roles
|
|
4024
4042
|
* @secure
|
|
4025
4043
|
*/
|
|
4026
|
-
deleteMany(
|
|
4044
|
+
deleteMany(deleteRoles: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4027
4045
|
/**
|
|
4028
|
-
* @description Get
|
|
4029
|
-
* @tags
|
|
4046
|
+
* @description Get Role by id
|
|
4047
|
+
* @tags roles
|
|
4048
|
+
* @name GetById
|
|
4049
|
+
* @summary Get Role by id
|
|
4050
|
+
* @request GET:/v1/roles/{id}
|
|
4051
|
+
* @secure
|
|
4052
|
+
*/
|
|
4053
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4054
|
+
/**
|
|
4055
|
+
* @description Update Role
|
|
4056
|
+
* @tags roles
|
|
4057
|
+
* @name Update
|
|
4058
|
+
* @summary Update Role
|
|
4059
|
+
* @request PUT:/v1/roles/{id}
|
|
4060
|
+
* @secure
|
|
4061
|
+
*/
|
|
4062
|
+
update(id: number, updateRole: UmaUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4063
|
+
/**
|
|
4064
|
+
* @description Partial Update Role. Only the fields provided in the body will be updated.
|
|
4065
|
+
* @tags roles
|
|
4066
|
+
* @name PartialUpdate
|
|
4067
|
+
* @summary Partial Update Role
|
|
4068
|
+
* @request PATCH:/v1/roles/{id}
|
|
4069
|
+
* @secure
|
|
4070
|
+
*/
|
|
4071
|
+
partialUpdate(id: number, updateRole: UmaPartialUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError, Format>>;
|
|
4072
|
+
/**
|
|
4073
|
+
* @description Generate Role PDF
|
|
4074
|
+
* @tags roles
|
|
4075
|
+
* @name GenerateAsPdf
|
|
4076
|
+
* @summary Generate Role PDF
|
|
4077
|
+
* @request POST:/v1/roles/{id}/generate-as-pdf
|
|
4078
|
+
* @secure
|
|
4079
|
+
*/
|
|
4080
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
4081
|
+
/**
|
|
4082
|
+
* @description Get Roles with pagination
|
|
4083
|
+
* @tags roles
|
|
4030
4084
|
* @name Get
|
|
4031
|
-
* @summary Get
|
|
4032
|
-
* @request POST:/
|
|
4085
|
+
* @summary Get Roles with pagination
|
|
4086
|
+
* @request POST:/v2/roles/list
|
|
4087
|
+
* @secure
|
|
4088
|
+
*/
|
|
4089
|
+
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError, Format>>;
|
|
4090
|
+
}
|
|
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
|
|
4033
4136
|
* @secure
|
|
4034
4137
|
*/
|
|
4035
|
-
get(
|
|
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>);
|
|
4036
4143
|
/**
|
|
4037
|
-
* @description
|
|
4038
|
-
* @tags
|
|
4039
|
-
* @name
|
|
4040
|
-
* @summary
|
|
4041
|
-
* @request
|
|
4144
|
+
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
4145
|
+
* @tags secret_notes
|
|
4146
|
+
* @name Create
|
|
4147
|
+
* @summary Create Secret note
|
|
4148
|
+
* @request POST:/v1/secret-notes
|
|
4042
4149
|
* @secure
|
|
4043
4150
|
*/
|
|
4044
|
-
|
|
4151
|
+
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError, Format>>;
|
|
4045
4152
|
/**
|
|
4046
|
-
* @description
|
|
4047
|
-
* @tags
|
|
4048
|
-
* @name
|
|
4049
|
-
* @summary
|
|
4050
|
-
* @request
|
|
4051
|
-
* @secure
|
|
4153
|
+
* @description Get Secret note
|
|
4154
|
+
* @tags secret_notes
|
|
4155
|
+
* @name GetOne
|
|
4156
|
+
* @summary Get Secret note
|
|
4157
|
+
* @request POST:/v1/secret-notes/fetch
|
|
4052
4158
|
*/
|
|
4053
|
-
|
|
4159
|
+
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError, Format>>;
|
|
4160
|
+
/**
|
|
4161
|
+
* @description Send Secret note verification code
|
|
4162
|
+
* @tags secret_notes
|
|
4163
|
+
* @name SendVerificationCode
|
|
4164
|
+
* @summary Send Secret note verification code
|
|
4165
|
+
* @request PUT:/v1/secret-notes/verification
|
|
4166
|
+
*/
|
|
4167
|
+
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4054
4168
|
}
|
|
4055
|
-
export class
|
|
4056
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4057
|
-
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>);
|
|
4058
4172
|
/**
|
|
4059
|
-
* @description
|
|
4060
|
-
* @tags
|
|
4061
|
-
* @name
|
|
4062
|
-
* @summary Get
|
|
4063
|
-
* @request
|
|
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
|
|
4064
4178
|
* @secure
|
|
4065
4179
|
*/
|
|
4066
|
-
|
|
4180
|
+
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSessionsListSerializer, HandleError, Format>>;
|
|
4067
4181
|
/**
|
|
4068
|
-
* @description
|
|
4069
|
-
* @tags
|
|
4070
|
-
* @name
|
|
4071
|
-
* @summary
|
|
4072
|
-
* @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
|
|
4073
4187
|
* @secure
|
|
4074
4188
|
*/
|
|
4075
|
-
|
|
4189
|
+
deleteCurrentUserSessions(deleteSessions: UmaDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4076
4190
|
}
|
|
4077
|
-
export class SystemUsers<HandleError extends boolean = boolean> {
|
|
4078
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4079
|
-
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>);
|
|
4080
4194
|
/**
|
|
4081
4195
|
* @description Create System User
|
|
4082
4196
|
* @tags system_users
|
|
@@ -4085,7 +4199,7 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4085
4199
|
* @request POST:/v1/users/system
|
|
4086
4200
|
* @secure
|
|
4087
4201
|
*/
|
|
4088
|
-
create(createSystemUser: UmaCreateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4202
|
+
create(createSystemUser: UmaCreateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4089
4203
|
/**
|
|
4090
4204
|
* @description Delete System user by id
|
|
4091
4205
|
* @tags system_users
|
|
@@ -4094,7 +4208,7 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4094
4208
|
* @request DELETE:/v1/users/system
|
|
4095
4209
|
* @secure
|
|
4096
4210
|
*/
|
|
4097
|
-
deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4211
|
+
deleteMany(deleteSystemUsers: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4098
4212
|
/**
|
|
4099
4213
|
* @description Get System users with pagination
|
|
4100
4214
|
* @tags System_users
|
|
@@ -4103,7 +4217,7 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4103
4217
|
* @request POST:/v1/users/system/list
|
|
4104
4218
|
* @secure
|
|
4105
4219
|
*/
|
|
4106
|
-
get(getSystemUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError>>;
|
|
4220
|
+
get(getSystemUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSystemUsersListSerializer, HandleError, Format>>;
|
|
4107
4221
|
/**
|
|
4108
4222
|
* @description Get System User by id
|
|
4109
4223
|
* @tags system_users
|
|
@@ -4112,7 +4226,7 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4112
4226
|
* @request GET:/v1/users/system/{id}
|
|
4113
4227
|
* @secure
|
|
4114
4228
|
*/
|
|
4115
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4229
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4116
4230
|
/**
|
|
4117
4231
|
* @description Update System User
|
|
4118
4232
|
* @tags system_users
|
|
@@ -4121,7 +4235,7 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4121
4235
|
* @request PUT:/v1/users/system/{id}
|
|
4122
4236
|
* @secure
|
|
4123
4237
|
*/
|
|
4124
|
-
update(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4238
|
+
update(id: number, updateSystemUser: UmaUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4125
4239
|
/**
|
|
4126
4240
|
* @description Partial Update System User
|
|
4127
4241
|
* @tags system_users
|
|
@@ -4130,7 +4244,7 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4130
4244
|
* @request PATCH:/v1/users/system/{id}
|
|
4131
4245
|
* @secure
|
|
4132
4246
|
*/
|
|
4133
|
-
partialUpdate(id: number, updateSystemUser:
|
|
4247
|
+
partialUpdate(id: number, updateSystemUser: UmaPartialUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError, Format>>;
|
|
4134
4248
|
/**
|
|
4135
4249
|
* @description Generate System User PDF
|
|
4136
4250
|
* @tags system_users
|
|
@@ -4139,7 +4253,7 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4139
4253
|
* @request POST:/v1/users/system/{id}/generate-as-pdf
|
|
4140
4254
|
* @secure
|
|
4141
4255
|
*/
|
|
4142
|
-
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4256
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError, Format>>;
|
|
4143
4257
|
/**
|
|
4144
4258
|
* @description Change System User status
|
|
4145
4259
|
* @tags system_users
|
|
@@ -4148,165 +4262,126 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4148
4262
|
* @request PATCH:/v1/users/system/{id}/status
|
|
4149
4263
|
* @secure
|
|
4150
4264
|
*/
|
|
4151
|
-
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>>;
|
|
4152
4266
|
}
|
|
4153
|
-
export class
|
|
4154
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4155
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4156
|
-
/**
|
|
4157
|
-
* @description Create Watchmen Instance
|
|
4158
|
-
* @tags watchmen_instances
|
|
4159
|
-
* @name Create
|
|
4160
|
-
* @summary Create Watchmen Instance
|
|
4161
|
-
* @request POST:/v1/watchmen-instances
|
|
4162
|
-
* @secure
|
|
4163
|
-
*/
|
|
4164
|
-
create(createWatchmenInstance: UmaCreateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4165
|
-
/**
|
|
4166
|
-
* @description Delete Watchmen Instances
|
|
4167
|
-
* @tags watchmen_instances
|
|
4168
|
-
* @name DeleteMany
|
|
4169
|
-
* @summary Delete Watchmen Instances
|
|
4170
|
-
* @request DELETE:/v1/watchmen-instances
|
|
4171
|
-
* @secure
|
|
4172
|
-
*/
|
|
4173
|
-
deleteMany(deleteWatchmenInstances: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4174
|
-
/**
|
|
4175
|
-
* @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.
|
|
4176
|
-
* @tags watchmen_instances
|
|
4177
|
-
* @name GetMany
|
|
4178
|
-
* @summary Get Watchmen Instances with pagination
|
|
4179
|
-
* @request POST:/v1/watchmen-instances/list
|
|
4180
|
-
* @secure
|
|
4181
|
-
*/
|
|
4182
|
-
getMany(getWatchmenInstances: UmaGetWatchmenInstancesDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetWatchmenInstancesListSerializer, HandleError>>;
|
|
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>);
|
|
4183
4270
|
/**
|
|
4184
|
-
* @description Get
|
|
4185
|
-
* @tags
|
|
4186
|
-
* @name
|
|
4187
|
-
* @summary Get
|
|
4188
|
-
* @request GET:/v1/
|
|
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
|
|
4189
4276
|
* @secure
|
|
4190
4277
|
*/
|
|
4191
|
-
|
|
4278
|
+
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError, Format>>;
|
|
4192
4279
|
/**
|
|
4193
|
-
* @description
|
|
4194
|
-
* @tags
|
|
4195
|
-
* @name
|
|
4196
|
-
* @summary
|
|
4197
|
-
* @request PUT:/v1/
|
|
4280
|
+
* @description Upsert Table Preset
|
|
4281
|
+
* @tags table_presets
|
|
4282
|
+
* @name Upsert
|
|
4283
|
+
* @summary Upsert Table Preset
|
|
4284
|
+
* @request PUT:/v1/b2b/table-presets
|
|
4198
4285
|
* @secure
|
|
4199
4286
|
*/
|
|
4200
|
-
|
|
4287
|
+
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError, Format>>;
|
|
4201
4288
|
}
|
|
4202
|
-
export class
|
|
4203
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4204
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
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>);
|
|
4205
4292
|
/**
|
|
4206
|
-
* @description Create
|
|
4207
|
-
* @tags
|
|
4293
|
+
* @description Create Tag
|
|
4294
|
+
* @tags tags
|
|
4208
4295
|
* @name Create
|
|
4209
|
-
* @summary Create
|
|
4210
|
-
* @request POST:/v1/
|
|
4296
|
+
* @summary Create Tag
|
|
4297
|
+
* @request POST:/v1/tags
|
|
4211
4298
|
* @secure
|
|
4212
4299
|
*/
|
|
4213
|
-
create(
|
|
4214
|
-
/**
|
|
4215
|
-
* @description Get Secret note
|
|
4216
|
-
* @tags secret_notes
|
|
4217
|
-
* @name GetOne
|
|
4218
|
-
* @summary Get Secret note
|
|
4219
|
-
* @request POST:/v1/secret-notes/fetch
|
|
4220
|
-
*/
|
|
4221
|
-
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
4222
|
-
/**
|
|
4223
|
-
* @description Send Secret note verification code
|
|
4224
|
-
* @tags secret_notes
|
|
4225
|
-
* @name SendVerificationCode
|
|
4226
|
-
* @summary Send Secret note verification code
|
|
4227
|
-
* @request PUT:/v1/secret-notes/verification
|
|
4228
|
-
*/
|
|
4229
|
-
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4230
|
-
}
|
|
4231
|
-
export class B2BUsers<HandleError extends boolean = boolean> {
|
|
4232
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4233
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4300
|
+
create(createTagDto: UmaCreateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError, Format>>;
|
|
4234
4301
|
/**
|
|
4235
|
-
* @description
|
|
4236
|
-
* @tags
|
|
4302
|
+
* @description Delete Tags
|
|
4303
|
+
* @tags tags
|
|
4237
4304
|
* @name DeleteMany
|
|
4238
|
-
* @summary
|
|
4239
|
-
* @request DELETE:/v1/
|
|
4305
|
+
* @summary Delete Tags
|
|
4306
|
+
* @request DELETE:/v1/tags
|
|
4240
4307
|
* @secure
|
|
4241
4308
|
*/
|
|
4242
|
-
deleteMany(
|
|
4309
|
+
deleteMany(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4243
4310
|
/**
|
|
4244
|
-
* @description Get
|
|
4245
|
-
* @tags
|
|
4246
|
-
* @name
|
|
4247
|
-
* @summary Get
|
|
4248
|
-
* @request
|
|
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
|
|
4249
4316
|
* @secure
|
|
4250
4317
|
*/
|
|
4251
|
-
|
|
4318
|
+
get(getTagsDto: UmaGetTagsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTagsListSerializer, HandleError, Format>>;
|
|
4252
4319
|
/**
|
|
4253
|
-
* @description
|
|
4254
|
-
* @tags
|
|
4255
|
-
* @name
|
|
4256
|
-
* @summary
|
|
4257
|
-
* @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}
|
|
4258
4325
|
* @secure
|
|
4259
4326
|
*/
|
|
4260
|
-
|
|
4327
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError, Format>>;
|
|
4261
4328
|
/**
|
|
4262
|
-
* @description
|
|
4263
|
-
* @tags
|
|
4264
|
-
* @name
|
|
4265
|
-
* @summary
|
|
4266
|
-
* @request
|
|
4329
|
+
* @description Update Tag
|
|
4330
|
+
* @tags tags
|
|
4331
|
+
* @name Update
|
|
4332
|
+
* @summary Update Tag
|
|
4333
|
+
* @request PUT:/v1/tags/{id}
|
|
4267
4334
|
* @secure
|
|
4268
4335
|
*/
|
|
4269
|
-
|
|
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>);
|
|
4270
4341
|
/**
|
|
4271
|
-
* @description
|
|
4272
|
-
* @tags
|
|
4273
|
-
* @name
|
|
4274
|
-
* @summary
|
|
4275
|
-
* @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
|
|
4276
4347
|
* @secure
|
|
4277
4348
|
*/
|
|
4278
|
-
|
|
4349
|
+
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4279
4350
|
/**
|
|
4280
|
-
* @description
|
|
4281
|
-
* @tags
|
|
4282
|
-
* @name
|
|
4283
|
-
* @summary
|
|
4284
|
-
* @request POST:/
|
|
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
|
|
4285
4356
|
* @secure
|
|
4286
4357
|
*/
|
|
4287
|
-
|
|
4358
|
+
get(getTrustedDevicesListDto: UmaGetTrustedDevicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTrustedDevicesListSerializer, HandleError, Format>>;
|
|
4359
|
+
}
|
|
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>);
|
|
4288
4363
|
/**
|
|
4289
|
-
* @description Get
|
|
4290
|
-
* @tags
|
|
4291
|
-
* @name
|
|
4292
|
-
* @summary Get
|
|
4293
|
-
* @request POST:/
|
|
4364
|
+
* @description Get User Details by JWT-token
|
|
4365
|
+
* @tags user_details
|
|
4366
|
+
* @name GetUserDetails
|
|
4367
|
+
* @summary Get User Details by JWT-token
|
|
4368
|
+
* @request POST:/v1/users/details/show
|
|
4294
4369
|
* @secure
|
|
4295
4370
|
*/
|
|
4296
|
-
|
|
4371
|
+
getUserDetails(getUserDetailsDto: UmaGetUserDetailsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserDetailsSerializer, HandleError, Format>>;
|
|
4297
4372
|
/**
|
|
4298
|
-
* @description
|
|
4299
|
-
* @tags
|
|
4300
|
-
* @name
|
|
4301
|
-
* @summary
|
|
4302
|
-
* @request
|
|
4373
|
+
* @description Revoke user sessions by JWT-token
|
|
4374
|
+
* @tags user_details
|
|
4375
|
+
* @name RevokeSessions
|
|
4376
|
+
* @summary Revoke user sessions by JWT-token
|
|
4377
|
+
* @request POST:/v1/users/revoke-sessions
|
|
4303
4378
|
* @secure
|
|
4304
4379
|
*/
|
|
4305
|
-
|
|
4380
|
+
revokeSessions(revokeUserSessionsDto: UmaRevokeUserSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4306
4381
|
}
|
|
4307
|
-
export class UsersCommon<HandleError extends boolean = boolean> {
|
|
4308
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4309
|
-
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>);
|
|
4310
4385
|
/**
|
|
4311
4386
|
* @description Reset B2B/B2C user rate limits
|
|
4312
4387
|
* @tags users_common
|
|
@@ -4315,7 +4390,7 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4315
4390
|
* @request PATCH:/v1/users/rate-limits/reset
|
|
4316
4391
|
* @secure
|
|
4317
4392
|
*/
|
|
4318
|
-
resetRateLimits(resetRateLimitsDto: UmaResetRateLimitsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4393
|
+
resetRateLimits(resetRateLimitsDto: UmaResetRateLimitsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4319
4394
|
/**
|
|
4320
4395
|
* @description Get user status change reasons list
|
|
4321
4396
|
* @tags users_common
|
|
@@ -4324,7 +4399,7 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4324
4399
|
* @request POST:/v1/users/status-change-reasons/list
|
|
4325
4400
|
* @secure
|
|
4326
4401
|
*/
|
|
4327
|
-
getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto: UmaGetUserStatusChangeReasonsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserStatusChangeReasonsListSerializer, HandleError>>;
|
|
4402
|
+
getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto: UmaGetUserStatusChangeReasonsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserStatusChangeReasonsListSerializer, HandleError, Format>>;
|
|
4328
4403
|
/**
|
|
4329
4404
|
* @description Link Watchmen user to UMA
|
|
4330
4405
|
* @tags users_common
|
|
@@ -4333,61 +4408,132 @@ export class UsersCommon<HandleError extends boolean = boolean> {
|
|
|
4333
4408
|
* @request POST:/v1/users/watchmen/link
|
|
4334
4409
|
* @secure
|
|
4335
4410
|
*/
|
|
4336
|
-
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4411
|
+
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4412
|
+
}
|
|
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>);
|
|
4416
|
+
/**
|
|
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
|
|
4422
|
+
* @secure
|
|
4423
|
+
*/
|
|
4424
|
+
generateWatchmenAuthToken(generateWatchmenAuthTokenDto: UmaGenerateWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenGenerationResponseSerializer, HandleError, Format>>;
|
|
4425
|
+
/**
|
|
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
|
|
4431
|
+
* @secure
|
|
4432
|
+
*/
|
|
4433
|
+
verifyWatchmenAuthToken(verifyWatchmenAuthToken: UmaVerifyWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenDetailsResponseSerializer, HandleError, Format>>;
|
|
4434
|
+
}
|
|
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>);
|
|
4438
|
+
/**
|
|
4439
|
+
* @description Create Watchmen Instance
|
|
4440
|
+
* @tags watchmen_instances
|
|
4441
|
+
* @name Create
|
|
4442
|
+
* @summary Create Watchmen Instance
|
|
4443
|
+
* @request POST:/v1/watchmen-instances
|
|
4444
|
+
* @secure
|
|
4445
|
+
*/
|
|
4446
|
+
create(createWatchmenInstance: UmaCreateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
|
|
4447
|
+
/**
|
|
4448
|
+
* @description Delete Watchmen Instances
|
|
4449
|
+
* @tags watchmen_instances
|
|
4450
|
+
* @name DeleteMany
|
|
4451
|
+
* @summary Delete Watchmen Instances
|
|
4452
|
+
* @request DELETE:/v1/watchmen-instances
|
|
4453
|
+
* @secure
|
|
4454
|
+
*/
|
|
4455
|
+
deleteMany(deleteWatchmenInstances: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4456
|
+
/**
|
|
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.
|
|
4458
|
+
* @tags watchmen_instances
|
|
4459
|
+
* @name GetMany
|
|
4460
|
+
* @summary Get Watchmen Instances with pagination
|
|
4461
|
+
* @request POST:/v1/watchmen-instances/list
|
|
4462
|
+
* @secure
|
|
4463
|
+
*/
|
|
4464
|
+
getMany(getWatchmenInstances: UmaGetWatchmenInstancesDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetWatchmenInstancesListSerializer, HandleError, Format>>;
|
|
4465
|
+
/**
|
|
4466
|
+
* @description Get Watchmen Instance by id
|
|
4467
|
+
* @tags watchmen_instances
|
|
4468
|
+
* @name GetById
|
|
4469
|
+
* @summary Get Watchmen Instance by id
|
|
4470
|
+
* @request GET:/v1/watchmen-instances/{id}
|
|
4471
|
+
* @secure
|
|
4472
|
+
*/
|
|
4473
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
|
|
4474
|
+
/**
|
|
4475
|
+
* @description Update Watchmen Instance
|
|
4476
|
+
* @tags watchmen_instances
|
|
4477
|
+
* @name Update
|
|
4478
|
+
* @summary Update Watchmen Instance
|
|
4479
|
+
* @request PUT:/v1/watchmen-instances/{id}
|
|
4480
|
+
* @secure
|
|
4481
|
+
*/
|
|
4482
|
+
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError, Format>>;
|
|
4337
4483
|
}
|
|
4338
|
-
declare class _B2BAuth1<HandleError extends boolean = boolean> extends B2BAuth<HandleError> {
|
|
4339
|
-
basicLogin(...params: Parameters<B2BAuth<HandleError>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError>>;
|
|
4340
|
-
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>>;
|
|
4341
4487
|
}
|
|
4342
|
-
declare class _B2CAuth1<HandleError extends boolean = boolean> extends B2CAuth<HandleError> {
|
|
4343
|
-
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>>;
|
|
4344
4490
|
}
|
|
4345
|
-
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> {
|
|
4346
4492
|
firmId: string;
|
|
4347
4493
|
branchId?: string;
|
|
4348
4494
|
authFormSlug: string;
|
|
4349
4495
|
}
|
|
4350
|
-
declare class UmaClient<HandleError extends boolean = boolean> extends JwtClient<HandleError> {
|
|
4351
|
-
protected readonly config: UmaClientConfig<HandleError>;
|
|
4352
|
-
request<Data = unknown, Body = unknown>(config: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
4353
|
-
}
|
|
4354
|
-
export class UmaApi<HandleError extends boolean = false> extends BaseApi<HandleError, UmaClient<HandleError>> {
|
|
4355
|
-
readonly config: UmaClientConfig<HandleError>;
|
|
4356
|
-
actionLog: ActionLogs<HandleError>;
|
|
4357
|
-
adminApiKeys: AdminApiKeys<HandleError>;
|
|
4358
|
-
allowedOrigins: AllowedOrigins<HandleError>;
|
|
4359
|
-
apiKeys: ApiKeys<HandleError>;
|
|
4360
|
-
authApps: AuthApps<HandleError>;
|
|
4361
|
-
authForms: AuthForms<HandleError>;
|
|
4362
|
-
b2bAuth: _B2BAuth1<HandleError>;
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
b2cAuth: _B2CAuth1<HandleError>;
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
branches: Branches<HandleError>;
|
|
4369
|
-
countries: Countries<HandleError>;
|
|
4370
|
-
emailDomains: EmailDomains<HandleError>;
|
|
4371
|
-
endpoints: Endpoints<HandleError>;
|
|
4372
|
-
|
|
4373
|
-
identityProviders: IdentityProviders<HandleError>;
|
|
4374
|
-
locales: Locales<HandleError>;
|
|
4375
|
-
microservices: Microservices<HandleError>;
|
|
4376
|
-
permissions: Permissions<HandleError>;
|
|
4377
|
-
publicSettings: PublicSettings<HandleError>;
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
secretNotes: SecretNotes<HandleError>;
|
|
4381
|
-
sessions: Sessions<HandleError>;
|
|
4382
|
-
systemUsers: SystemUsers<HandleError>;
|
|
4383
|
-
tablePresets: TablePresets<HandleError>;
|
|
4384
|
-
tags: Tags<HandleError>;
|
|
4385
|
-
trustedDevices: TrustedDevices<HandleError>;
|
|
4386
|
-
userDetails: UserDetails<HandleError>;
|
|
4387
|
-
usersCommon: UsersCommon<HandleError>;
|
|
4388
|
-
watchmenAuth: WatchmenAuth<HandleError>;
|
|
4389
|
-
watchmenInstances: WatchmenInstances<HandleError>;
|
|
4390
|
-
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>);
|
|
4391
4537
|
renewTokens(): Promise<{
|
|
4392
4538
|
accessToken: string;
|
|
4393
4539
|
refreshToken: string;
|