@orbis-systems/orbis-api-clients 0.8.9 → 0.8.10
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 +504 -486
- 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 +1169 -742
- package/dist/bridgewise/index.d.ts.map +1 -1
- package/dist/bridgewise/index.esm.js +1 -1
- package/dist/bridgewise/index.esm.js.map +1 -1
- package/dist/bridgewise/index.js +1 -1
- package/dist/bridgewise/index.js.map +1 -1
- package/dist/insight/index.d.ts +127 -127
- 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 +83 -83
- 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 +1718 -1689
- 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 +781 -659
- package/dist/uma/index.d.ts.map +1 -1
- package/dist/uma/index.esm.js +1 -1
- package/dist/uma/index.esm.js.map +1 -1
- package/dist/uma/index.js +1 -1
- package/dist/uma/index.js.map +1 -1
- package/package.json +1 -1
package/dist/uma/index.d.ts
CHANGED
|
@@ -266,8 +266,10 @@ export interface UmaAdminAPIKeysMutationSerializer {
|
|
|
266
266
|
}
|
|
267
267
|
export interface UmaGetAdminAPIKeysSerializer {
|
|
268
268
|
api_keys: UmaAdminAPIKeySerializer[];
|
|
269
|
-
|
|
269
|
+
current_page: number;
|
|
270
|
+
pages_count: number;
|
|
270
271
|
status: number;
|
|
272
|
+
total_records: number;
|
|
271
273
|
}
|
|
272
274
|
export interface UmaAllowedOriginMutationSerializer {
|
|
273
275
|
allowed_origin: UmaAllowedOriginSerializer;
|
|
@@ -680,6 +682,7 @@ export interface UmaAdminAPIKeySerializer {
|
|
|
680
682
|
roles: UmaRoleSerializer[];
|
|
681
683
|
updated_at: string;
|
|
682
684
|
user: UmaUserSerializer;
|
|
685
|
+
user_type: string;
|
|
683
686
|
}
|
|
684
687
|
export interface UmaAdminB2BUserSerializer {
|
|
685
688
|
access_revoking_date: string;
|
|
@@ -1796,9 +1799,11 @@ export interface UmaMicroserviceAccessSerializer {
|
|
|
1796
1799
|
export interface UmaMicroserviceDomainDto {
|
|
1797
1800
|
/** @example "internal.com" */
|
|
1798
1801
|
internal_domain?: string;
|
|
1802
|
+
/** @example "http" */
|
|
1799
1803
|
internal_protocol?: string;
|
|
1800
1804
|
/** @example "/insights-api" */
|
|
1801
1805
|
public_path_prefix?: string;
|
|
1806
|
+
watchmen_instance_id?: number;
|
|
1802
1807
|
}
|
|
1803
1808
|
export interface UmaMicroserviceDomainSerializer {
|
|
1804
1809
|
/** @example "internal.com" */
|
|
@@ -1807,6 +1812,8 @@ export interface UmaMicroserviceDomainSerializer {
|
|
|
1807
1812
|
internal_protocol: string;
|
|
1808
1813
|
/** @example "public.com" */
|
|
1809
1814
|
public_path_prefix: string;
|
|
1815
|
+
watchmen_instance: UmaWatchmenInstanceSerializer;
|
|
1816
|
+
watchmen_instance_id: number;
|
|
1810
1817
|
}
|
|
1811
1818
|
export interface UmaMicroserviceSerializer {
|
|
1812
1819
|
created_at: string;
|
|
@@ -1826,16 +1833,113 @@ export interface UmaOptionalPaginationDto {
|
|
|
1826
1833
|
page?: number;
|
|
1827
1834
|
size?: number;
|
|
1828
1835
|
}
|
|
1829
|
-
export interface
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1836
|
+
export interface UmaPartialUpdateB2BUserDto {
|
|
1837
|
+
access_revoking_date?: string;
|
|
1838
|
+
allow_feedback?: boolean;
|
|
1839
|
+
branches?: number[];
|
|
1840
|
+
/** @example "test@gmail.com" */
|
|
1841
|
+
email?: string;
|
|
1842
|
+
firms?: UmaFirmInfo[];
|
|
1843
|
+
first_name?: string;
|
|
1844
|
+
has_access_to_all_firm_branches?: boolean;
|
|
1845
|
+
last_name?: string;
|
|
1846
|
+
/** @example "TeStPaSS" */
|
|
1847
|
+
password?: string;
|
|
1848
|
+
permissions?: number[];
|
|
1849
|
+
/** @example "+1231231234" */
|
|
1850
|
+
phone?: string;
|
|
1851
|
+
primary_firm_id?: number;
|
|
1852
|
+
rep_code?: string;
|
|
1853
|
+
roles?: number[];
|
|
1854
|
+
should_reset_password?: boolean;
|
|
1855
|
+
title?: string;
|
|
1856
|
+
type?: UmaUserType;
|
|
1857
|
+
username?: string;
|
|
1858
|
+
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
1859
|
+
}
|
|
1860
|
+
export interface UmaPartialUpdateB2CUserDto {
|
|
1861
|
+
access_revoking_date?: string;
|
|
1862
|
+
allow_feedback?: boolean;
|
|
1863
|
+
branches?: number[];
|
|
1864
|
+
/** @example "test@gmail.com" */
|
|
1865
|
+
email?: string;
|
|
1866
|
+
firm_id?: number;
|
|
1867
|
+
first_name?: string;
|
|
1868
|
+
last_name?: string;
|
|
1869
|
+
/** @example "TeStPaSS" */
|
|
1870
|
+
password?: string;
|
|
1871
|
+
permissions?: number[];
|
|
1872
|
+
/** @example "+1231231234" */
|
|
1873
|
+
phone?: string;
|
|
1874
|
+
roles?: number[];
|
|
1875
|
+
username?: string;
|
|
1876
|
+
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
1877
|
+
}
|
|
1878
|
+
export interface UmaPartialUpdateEndpointDto {
|
|
1879
|
+
is_active?: boolean;
|
|
1880
|
+
is_public?: boolean;
|
|
1881
|
+
metadata?: UmaEndpointMetadataDto;
|
|
1882
|
+
method?: UmaPartialUpdateEndpointDtoMethodEnum;
|
|
1883
|
+
microservice_id?: number;
|
|
1884
|
+
required_permissions?: number[];
|
|
1885
|
+
route?: string;
|
|
1886
|
+
type?: UmaPartialUpdateEndpointDtoTypeEnum;
|
|
1887
|
+
}
|
|
1888
|
+
export interface UmaPartialUpdateFirmDto {
|
|
1889
|
+
allow_b2c_email_notifications?: boolean;
|
|
1890
|
+
allow_b2c_multi_branch_registration?: boolean;
|
|
1891
|
+
b2c_access_token_expires_in_minutes?: number;
|
|
1892
|
+
b2c_refresh_token_expires_in_hours?: number;
|
|
1893
|
+
email?: string;
|
|
1894
|
+
firm_tags?: number[];
|
|
1895
|
+
name?: string;
|
|
1896
|
+
notes?: string;
|
|
1897
|
+
phone?: string;
|
|
1898
|
+
slug?: string;
|
|
1899
|
+
status?: UmaPartialUpdateFirmDtoStatusEnum;
|
|
1900
|
+
}
|
|
1901
|
+
export interface UmaPartialUpdateMicroserviceDto {
|
|
1902
|
+
description?: string;
|
|
1903
|
+
domains?: UmaMicroserviceDomainDto[];
|
|
1904
|
+
is_active?: boolean;
|
|
1905
|
+
is_visible_on_admin_sidebar?: boolean;
|
|
1906
|
+
logo_url?: string;
|
|
1907
|
+
name?: string;
|
|
1908
|
+
slug?: string;
|
|
1833
1909
|
}
|
|
1834
1910
|
export interface UmaPartialUpdatePermissionDto {
|
|
1835
1911
|
metadata?: UmaPermissionMetadataDto;
|
|
1836
1912
|
microservice_id?: number;
|
|
1837
1913
|
permission?: string;
|
|
1838
1914
|
}
|
|
1915
|
+
export interface UmaPartialUpdateRoleDto {
|
|
1916
|
+
name?: string;
|
|
1917
|
+
permissions?: number[];
|
|
1918
|
+
permissions_can_assign_role?: number[];
|
|
1919
|
+
type_id?: number;
|
|
1920
|
+
}
|
|
1921
|
+
export interface UmaPartialUpdateSystemUserDto {
|
|
1922
|
+
access_revoking_date?: string;
|
|
1923
|
+
allow_feedback?: boolean;
|
|
1924
|
+
branches?: number[];
|
|
1925
|
+
/** @example "test@gmail.com" */
|
|
1926
|
+
email?: string;
|
|
1927
|
+
firms?: UmaFirmInfo[];
|
|
1928
|
+
first_name?: string;
|
|
1929
|
+
has_access_to_all_firm_branches?: boolean;
|
|
1930
|
+
/** @example "TeStPaSS" */
|
|
1931
|
+
password?: string;
|
|
1932
|
+
permissions?: number[];
|
|
1933
|
+
/** @example "+1231231234" */
|
|
1934
|
+
phone?: string;
|
|
1935
|
+
primary_firm_id?: number;
|
|
1936
|
+
rep_code?: string;
|
|
1937
|
+
roles?: number[];
|
|
1938
|
+
should_reset_password?: boolean;
|
|
1939
|
+
title?: string;
|
|
1940
|
+
type?: UmaUserType;
|
|
1941
|
+
watchmen_user_links?: UmaWatchmenUserLinkDto[];
|
|
1942
|
+
}
|
|
1839
1943
|
export interface UmaPdfGenerationInfo {
|
|
1840
1944
|
pdf_generated_at?: string;
|
|
1841
1945
|
pdf_url?: string;
|
|
@@ -2498,6 +2602,24 @@ export enum UmaGetWebAuthnLoginChallengeDtoUserTypeEnum {
|
|
|
2498
2602
|
export enum UmaIdentityProviderSerializerTypeEnum {
|
|
2499
2603
|
Okta = "okta"
|
|
2500
2604
|
}
|
|
2605
|
+
export enum UmaPartialUpdateEndpointDtoMethodEnum {
|
|
2606
|
+
POST = "POST",
|
|
2607
|
+
PUT = "PUT",
|
|
2608
|
+
DELETE = "DELETE",
|
|
2609
|
+
GET = "GET",
|
|
2610
|
+
PATCH = "PATCH",
|
|
2611
|
+
ALL = "ALL"
|
|
2612
|
+
}
|
|
2613
|
+
export enum UmaPartialUpdateEndpointDtoTypeEnum {
|
|
2614
|
+
Regular = "regular",
|
|
2615
|
+
DisplayOnly = "display_only"
|
|
2616
|
+
}
|
|
2617
|
+
export enum UmaPartialUpdateFirmDtoStatusEnum {
|
|
2618
|
+
InProgress = "in_progress",
|
|
2619
|
+
Active = "active",
|
|
2620
|
+
Suspended = "suspended",
|
|
2621
|
+
Deleted = "deleted"
|
|
2622
|
+
}
|
|
2501
2623
|
export enum UmaPermissionSerializerAssignmentGroupEnum {
|
|
2502
2624
|
Regular = "regular",
|
|
2503
2625
|
Chiefadmin = "chiefadmin",
|
|
@@ -2578,6 +2700,19 @@ declare class JwtClient<HandleError extends boolean = boolean, AuthData extends
|
|
|
2578
2700
|
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
2579
2701
|
protected renewTokens(): Promise<AuthData>;
|
|
2580
2702
|
}
|
|
2703
|
+
export class ActionLogs<HandleError extends boolean = boolean> {
|
|
2704
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2705
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2706
|
+
/**
|
|
2707
|
+
* @description Get Action logs list
|
|
2708
|
+
* @tags action_logs
|
|
2709
|
+
* @name GetActionLogs
|
|
2710
|
+
* @summary Get Action logs list
|
|
2711
|
+
* @request POST:/v1/action-logs/list
|
|
2712
|
+
* @secure
|
|
2713
|
+
*/
|
|
2714
|
+
getActionLogs(getActionLogsDto: UmaGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetActionLogsSerializer, HandleError>>;
|
|
2715
|
+
}
|
|
2581
2716
|
export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
2582
2717
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2583
2718
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -2627,19 +2762,6 @@ export class AdminApiKeys<HandleError extends boolean = boolean> {
|
|
|
2627
2762
|
*/
|
|
2628
2763
|
update(id: number, apiKey: UmaAdminUpdateAPIKeyDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAdminAPIKeysMutationSerializer, HandleError>>;
|
|
2629
2764
|
}
|
|
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>>;
|
|
2642
|
-
}
|
|
2643
2765
|
export class AllowedOrigins<HandleError extends boolean = boolean> {
|
|
2644
2766
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2645
2767
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -2918,84 +3040,309 @@ export class B2BAuth<HandleError extends boolean = boolean> {
|
|
|
2918
3040
|
*/
|
|
2919
3041
|
sendResetPasswordCode(B2BSendResetPasswordCodeParams: UmaSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2920
3042
|
}
|
|
2921
|
-
export class
|
|
3043
|
+
export class Sessions<HandleError extends boolean = boolean> {
|
|
2922
3044
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2923
3045
|
constructor(apiClient: JwtClient<HandleError>);
|
|
2924
3046
|
/**
|
|
2925
|
-
* @description
|
|
2926
|
-
* @tags
|
|
2927
|
-
* @name
|
|
2928
|
-
* @summary
|
|
2929
|
-
* @request
|
|
3047
|
+
* @description et current user sessions info
|
|
3048
|
+
* @tags sessions
|
|
3049
|
+
* @name GetCurrentUserSessions
|
|
3050
|
+
* @summary Get current user sessions info
|
|
3051
|
+
* @request GET:/v1/auth/sessions
|
|
2930
3052
|
* @secure
|
|
2931
3053
|
*/
|
|
2932
|
-
|
|
3054
|
+
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSessionsListSerializer, HandleError>>;
|
|
2933
3055
|
/**
|
|
2934
|
-
* @description
|
|
2935
|
-
* @tags
|
|
2936
|
-
* @name
|
|
2937
|
-
* @summary
|
|
2938
|
-
* @request
|
|
3056
|
+
* @description Delete current user sessions by pair id's
|
|
3057
|
+
* @tags sessions
|
|
3058
|
+
* @name DeleteCurrentUserSessions
|
|
3059
|
+
* @summary Delete current user sessions by pair id's
|
|
3060
|
+
* @request DELETE:/v1/auth/sessions
|
|
2939
3061
|
* @secure
|
|
2940
3062
|
*/
|
|
2941
|
-
|
|
3063
|
+
deleteCurrentUserSessions(deleteSessions: UmaDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
2942
3064
|
}
|
|
2943
|
-
export class
|
|
3065
|
+
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
2944
3066
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
2945
3067
|
constructor(apiClient: JwtClient<HandleError>);
|
|
2946
3068
|
/**
|
|
2947
|
-
* @description
|
|
2948
|
-
* @tags
|
|
2949
|
-
* @name
|
|
2950
|
-
* @summary
|
|
2951
|
-
* @request
|
|
3069
|
+
* @description Get current B2C user info by access token.
|
|
3070
|
+
* @tags b2c_auth
|
|
3071
|
+
* @name GetCurrent
|
|
3072
|
+
* @summary Get current B2C user info by access token
|
|
3073
|
+
* @request GET:/v1/auth/b2c/current
|
|
2952
3074
|
* @secure
|
|
2953
3075
|
*/
|
|
2954
|
-
|
|
3076
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCurrentB2CUserSerializer, HandleError>>;
|
|
2955
3077
|
/**
|
|
2956
|
-
* @description
|
|
2957
|
-
* @tags
|
|
2958
|
-
* @name
|
|
2959
|
-
* @summary
|
|
2960
|
-
* @request
|
|
2961
|
-
* @secure
|
|
3078
|
+
* @description Initialize Apple OAuth2 Login
|
|
3079
|
+
* @tags b2c_auth
|
|
3080
|
+
* @name InitAppleLogin
|
|
3081
|
+
* @summary Initialize Apple OAuth2 Login
|
|
3082
|
+
* @request POST:/v1/auth/b2c/login/apple
|
|
2962
3083
|
*/
|
|
2963
|
-
|
|
3084
|
+
initAppleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
3085
|
+
/** Branch id/slug/code, with which user should work */
|
|
3086
|
+
BRANCH?: string;
|
|
3087
|
+
/** Firm id/slug, with which user should work */
|
|
3088
|
+
FIRM?: string;
|
|
3089
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
2964
3090
|
/**
|
|
2965
|
-
* @description
|
|
2966
|
-
* @tags
|
|
2967
|
-
* @name
|
|
2968
|
-
* @summary
|
|
2969
|
-
* @request POST:/
|
|
2970
|
-
* @secure
|
|
3091
|
+
* @description Finish Apple OAuth2 Login
|
|
3092
|
+
* @tags b2c_auth
|
|
3093
|
+
* @name FinishAppleLogin
|
|
3094
|
+
* @summary Finish Apple OAuth2 Login
|
|
3095
|
+
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
2971
3096
|
*/
|
|
2972
|
-
|
|
3097
|
+
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
2973
3098
|
/**
|
|
2974
|
-
* @description
|
|
2975
|
-
* @tags
|
|
2976
|
-
* @name
|
|
2977
|
-
* @summary
|
|
2978
|
-
* @request POST:/
|
|
2979
|
-
* @secure
|
|
3099
|
+
* @description Login B2C user by email/password.
|
|
3100
|
+
* @tags b2c_auth
|
|
3101
|
+
* @name BasicLogin
|
|
3102
|
+
* @summary Login B2C user by email/password
|
|
3103
|
+
* @request POST:/v1/auth/b2c/login/basic
|
|
2980
3104
|
*/
|
|
2981
|
-
|
|
3105
|
+
basicLogin(basicLoginParams: UmaBasicB2CLoginDto, headers?: {
|
|
3106
|
+
/** Branch id/slug/code, with which user should work */
|
|
3107
|
+
BRANCH?: string;
|
|
3108
|
+
/** Firm id/slug, with which user should work */
|
|
3109
|
+
FIRM?: string;
|
|
3110
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
2982
3111
|
/**
|
|
2983
|
-
* @description
|
|
2984
|
-
* @tags
|
|
2985
|
-
* @name
|
|
2986
|
-
* @summary
|
|
2987
|
-
* @request
|
|
2988
|
-
* @secure
|
|
3112
|
+
* @description Initialize Google OAuth2 Login
|
|
3113
|
+
* @tags b2c_auth
|
|
3114
|
+
* @name InitGoogleLogin
|
|
3115
|
+
* @summary Initialize Google OAuth2 Login
|
|
3116
|
+
* @request POST:/v1/auth/b2c/login/google
|
|
2989
3117
|
*/
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
3118
|
+
initGoogleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
3119
|
+
/** Branch id/slug/code, with which user should work */
|
|
3120
|
+
BRANCH?: string;
|
|
3121
|
+
/** Firm id/slug, with which user should work */
|
|
3122
|
+
FIRM?: string;
|
|
3123
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
2995
3124
|
/**
|
|
2996
|
-
* @description
|
|
2997
|
-
* @tags
|
|
2998
|
-
* @name
|
|
3125
|
+
* @description Finish Google OAuth2 Login
|
|
3126
|
+
* @tags b2c_auth
|
|
3127
|
+
* @name FinishGoogleLogin
|
|
3128
|
+
* @summary Finish Google OAuth2 Login
|
|
3129
|
+
* @request POST:/v1/auth/b2c/login/google/callback
|
|
3130
|
+
*/
|
|
3131
|
+
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3132
|
+
/**
|
|
3133
|
+
* @description Impersonate B2C user
|
|
3134
|
+
* @tags b2c_auth
|
|
3135
|
+
* @name ImpersonateLogin
|
|
3136
|
+
* @summary Impersonate B2C user
|
|
3137
|
+
* @request POST:/v1/auth/b2c/login/impersonate
|
|
3138
|
+
* @secure
|
|
3139
|
+
*/
|
|
3140
|
+
impersonateLogin(b2cImpersonate: UmaB2CImpersonateDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaImpersonateResultSerializer, HandleError>>;
|
|
3141
|
+
/**
|
|
3142
|
+
* @description logout from B2C user session
|
|
3143
|
+
* @tags b2c_auth
|
|
3144
|
+
* @name Logout
|
|
3145
|
+
* @summary logout from B2C user session
|
|
3146
|
+
* @request DELETE:/v1/auth/b2c/logout
|
|
3147
|
+
*/
|
|
3148
|
+
logout(B2CLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3149
|
+
/**
|
|
3150
|
+
* @description Refresh B2C user token pair
|
|
3151
|
+
* @tags b2c_auth
|
|
3152
|
+
* @name RefreshTokens
|
|
3153
|
+
* @summary Refresh B2C user token pair
|
|
3154
|
+
* @request POST:/v1/auth/b2c/refresh
|
|
3155
|
+
*/
|
|
3156
|
+
refreshTokens(b2cRefreshDto: UmaB2CRefreshDto, headers?: {
|
|
3157
|
+
/** Branch id/slug/code, with which user should work */
|
|
3158
|
+
BRANCH?: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* token
|
|
3161
|
+
* @default "refresh_token=xxx"
|
|
3162
|
+
*/
|
|
3163
|
+
Cookie?: string;
|
|
3164
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRefreshResultSerializer, HandleError>>;
|
|
3165
|
+
/**
|
|
3166
|
+
* @description Register new B2C user. This endpoint should be used for Web GUI only
|
|
3167
|
+
* @tags b2c_auth
|
|
3168
|
+
* @name Register
|
|
3169
|
+
* @summary Register new B2C user
|
|
3170
|
+
* @request POST:/v1/auth/b2c/register
|
|
3171
|
+
*/
|
|
3172
|
+
register(registrationParams: UmaRegisterDto, headers?: {
|
|
3173
|
+
/** Branch id/slug/code, with which user should work */
|
|
3174
|
+
BRANCH?: string;
|
|
3175
|
+
/** Firm id/slug, with which user should work */
|
|
3176
|
+
FIRM?: string;
|
|
3177
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRegisterSerializer, HandleError>>;
|
|
3178
|
+
/**
|
|
3179
|
+
* @description Reset B2C user password
|
|
3180
|
+
* @tags b2c_auth
|
|
3181
|
+
* @name ResetPassword
|
|
3182
|
+
* @summary Reset B2C user password
|
|
3183
|
+
* @request PUT:/v1/auth/b2c/reset-password
|
|
3184
|
+
*/
|
|
3185
|
+
resetPassword(B2CResetPasswordParams: UmaB2CResetPasswordDto, headers?: {
|
|
3186
|
+
/** Run endpoint in debug mode */
|
|
3187
|
+
"Debug-Token"?: string;
|
|
3188
|
+
/** Branch id/slug/code, with which user should work */
|
|
3189
|
+
BRANCH?: string;
|
|
3190
|
+
/** Firm id/slug, with which user should work */
|
|
3191
|
+
FIRM?: string;
|
|
3192
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3193
|
+
/**
|
|
3194
|
+
* @description Send MFA code for B2C user
|
|
3195
|
+
* @tags b2c_auth
|
|
3196
|
+
* @name SendMfaCode
|
|
3197
|
+
* @summary Send MFA code for B2C user
|
|
3198
|
+
* @request PUT:/v1/auth/b2c/send-mfa-code
|
|
3199
|
+
*/
|
|
3200
|
+
sendMfaCode(SendB2CMfaCodeDto: UmaSendB2CMfaCodeDto, headers?: {
|
|
3201
|
+
/** Branch id/slug/code, with which user should work */
|
|
3202
|
+
BRANCH?: string;
|
|
3203
|
+
/** Firm id/slug, with which user should work */
|
|
3204
|
+
FIRM?: string;
|
|
3205
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3206
|
+
/**
|
|
3207
|
+
* @description Send reset password code for B2C user
|
|
3208
|
+
* @tags b2c_auth
|
|
3209
|
+
* @name SendResetPasswordCode
|
|
3210
|
+
* @summary Send reset password code for B2C user
|
|
3211
|
+
* @request PUT:/v1/auth/b2c/send-reset-password-code
|
|
3212
|
+
*/
|
|
3213
|
+
sendResetPasswordCode(B2CSendResetPasswordCodeParams: UmaSendB2CResetPasswordCodeDto, headers?: {
|
|
3214
|
+
/** Branch id/slug/code, with which user should work */
|
|
3215
|
+
BRANCH?: string;
|
|
3216
|
+
/** Firm id/slug, with which user should work */
|
|
3217
|
+
FIRM?: string;
|
|
3218
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3219
|
+
/**
|
|
3220
|
+
* @description Send verification code for B2C user
|
|
3221
|
+
* @tags b2c_auth
|
|
3222
|
+
* @name SendVerificationCode
|
|
3223
|
+
* @summary Send verification code for B2C user
|
|
3224
|
+
* @request PUT:/v1/auth/b2c/send-verification-code
|
|
3225
|
+
*/
|
|
3226
|
+
sendVerificationCode(B2CSendVerificationCodeDto: UmaB2CSendVerificationCodeDto, headers?: {
|
|
3227
|
+
/** Branch id/slug/code, with which user should work */
|
|
3228
|
+
BRANCH?: string;
|
|
3229
|
+
/** Firm id/slug, with which user should work */
|
|
3230
|
+
FIRM?: string;
|
|
3231
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3232
|
+
/**
|
|
3233
|
+
* @description Verify contact for B2C user
|
|
3234
|
+
* @tags b2c_auth
|
|
3235
|
+
* @name VerifyContact
|
|
3236
|
+
* @summary Verify contact for B2C user
|
|
3237
|
+
* @request PUT:/v1/auth/b2c/verify
|
|
3238
|
+
*/
|
|
3239
|
+
verifyContact(VerifyContactDto: UmaVerifyContactDto, headers?: {
|
|
3240
|
+
/** Branch id/slug/code, with which user should work */
|
|
3241
|
+
BRANCH?: string;
|
|
3242
|
+
/** Firm id/slug, with which user should work */
|
|
3243
|
+
FIRM?: string;
|
|
3244
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3245
|
+
}
|
|
3246
|
+
export class TrustedDevices<HandleError extends boolean = boolean> {
|
|
3247
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3248
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3249
|
+
/**
|
|
3250
|
+
* @description Delete trusted devices
|
|
3251
|
+
* @tags trusted_devices
|
|
3252
|
+
* @name DeleteMany
|
|
3253
|
+
* @summary Delete trusted devices
|
|
3254
|
+
* @request DELETE:/v1/auth/trusted-devices
|
|
3255
|
+
* @secure
|
|
3256
|
+
*/
|
|
3257
|
+
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3258
|
+
/**
|
|
3259
|
+
* @description Get trusted devices
|
|
3260
|
+
* @tags trusted_devices
|
|
3261
|
+
* @name Get
|
|
3262
|
+
* @summary Get trusted devices
|
|
3263
|
+
* @request POST:/v1/auth/trusted-devices/list
|
|
3264
|
+
* @secure
|
|
3265
|
+
*/
|
|
3266
|
+
get(getTrustedDevicesListDto: UmaGetTrustedDevicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTrustedDevicesListSerializer, HandleError>>;
|
|
3267
|
+
}
|
|
3268
|
+
export class WatchmenAuth<HandleError extends boolean = boolean> {
|
|
3269
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3270
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3271
|
+
/**
|
|
3272
|
+
* @description Generate Watchmen Auth Token
|
|
3273
|
+
* @tags watchmen_auth
|
|
3274
|
+
* @name GenerateWatchmenAuthToken
|
|
3275
|
+
* @summary Generate Watchmen Auth Token
|
|
3276
|
+
* @request POST:/v1/auth/watchmen/authentication-tokens
|
|
3277
|
+
* @secure
|
|
3278
|
+
*/
|
|
3279
|
+
generateWatchmenAuthToken(generateWatchmenAuthTokenDto: UmaGenerateWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenGenerationResponseSerializer, HandleError>>;
|
|
3280
|
+
/**
|
|
3281
|
+
* @description Verify Watchmen Auth Token
|
|
3282
|
+
* @tags watchmen_auth
|
|
3283
|
+
* @name VerifyWatchmenAuthToken
|
|
3284
|
+
* @summary Verify Watchmen Auth Token
|
|
3285
|
+
* @request PUT:/v1/auth/watchmen/authentication-tokens/verify
|
|
3286
|
+
* @secure
|
|
3287
|
+
*/
|
|
3288
|
+
verifyWatchmenAuthToken(verifyWatchmenAuthToken: UmaVerifyWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTokenDetailsResponseSerializer, HandleError>>;
|
|
3289
|
+
}
|
|
3290
|
+
export class ApiKeys<HandleError extends boolean = boolean> {
|
|
3291
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3292
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3293
|
+
/**
|
|
3294
|
+
* @description Delete API Key by id (would throw 404 error if API key not found or belongs to different user)
|
|
3295
|
+
* @tags api_keys
|
|
3296
|
+
* @name DeleteMany
|
|
3297
|
+
* @summary Delete API Key by id
|
|
3298
|
+
* @request DELETE:/v1/b2b/api-keys
|
|
3299
|
+
* @secure
|
|
3300
|
+
*/
|
|
3301
|
+
deleteMany(deleteAPIKeys: UmaDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3302
|
+
/**
|
|
3303
|
+
* @description Get APIKey by id
|
|
3304
|
+
* @tags api_keys
|
|
3305
|
+
* @name GetById
|
|
3306
|
+
* @summary Get APIKey by id
|
|
3307
|
+
* @request GET:/v1/b2b/api-keys/{id}
|
|
3308
|
+
* @secure
|
|
3309
|
+
*/
|
|
3310
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3311
|
+
/**
|
|
3312
|
+
* @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
|
|
3313
|
+
* @tags api_keys
|
|
3314
|
+
* @name Create
|
|
3315
|
+
* @summary Create API Key & API Secret Pair
|
|
3316
|
+
* @request POST:/v2/b2b/api-keys
|
|
3317
|
+
* @secure
|
|
3318
|
+
*/
|
|
3319
|
+
create(createApiKeys: UmaCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3320
|
+
/**
|
|
3321
|
+
* @description Get API Keys info(would return API Keys without secrets)
|
|
3322
|
+
* @tags api_keys
|
|
3323
|
+
* @name Get
|
|
3324
|
+
* @summary Get API Keys info(would return API Keys without secrets)
|
|
3325
|
+
* @request POST:/v2/b2b/api-keys/list
|
|
3326
|
+
* @secure
|
|
3327
|
+
*/
|
|
3328
|
+
get(apiKeys: UmaGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetAPIKeysSerializer, HandleError>>;
|
|
3329
|
+
/**
|
|
3330
|
+
* @description Update API Key Record
|
|
3331
|
+
* @tags api_keys
|
|
3332
|
+
* @name Update
|
|
3333
|
+
* @summary Update API Key Record
|
|
3334
|
+
* @request PUT:/v2/b2b/api-keys/{id}
|
|
3335
|
+
* @secure
|
|
3336
|
+
*/
|
|
3337
|
+
update(id: number, apiKeys: UmaUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAPIKeysMutationSerializer, HandleError>>;
|
|
3338
|
+
}
|
|
3339
|
+
export class Endpoints<HandleError extends boolean = boolean> {
|
|
3340
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3341
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3342
|
+
/**
|
|
3343
|
+
* @description Create Endpoint
|
|
3344
|
+
* @tags endpoints
|
|
3345
|
+
* @name Create
|
|
2999
3346
|
* @summary Create Endpoint
|
|
3000
3347
|
* @request POST:/v1/b2b/endpoints
|
|
3001
3348
|
* @secure
|
|
@@ -3036,7 +3383,7 @@ export class Endpoints<HandleError extends boolean = boolean> {
|
|
|
3036
3383
|
* @request PATCH:/v1/b2b/endpoints/{id}
|
|
3037
3384
|
* @secure
|
|
3038
3385
|
*/
|
|
3039
|
-
partialUpdate(id: number, endpointDto:
|
|
3386
|
+
partialUpdate(id: number, endpointDto: UmaPartialUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEndpointMutationSerializer, HandleError>>;
|
|
3040
3387
|
/**
|
|
3041
3388
|
* @description Get endpoints with pagination
|
|
3042
3389
|
* @tags endpoints
|
|
@@ -3143,7 +3490,7 @@ export class Microservices<HandleError extends boolean = boolean> {
|
|
|
3143
3490
|
* @request PATCH:/v1/b2b/microservices/{id}
|
|
3144
3491
|
* @secure
|
|
3145
3492
|
*/
|
|
3146
|
-
partialUpdate(id: number, microserviceDto:
|
|
3493
|
+
partialUpdate(id: number, microserviceDto: UmaPartialUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaMicroserviceMutationSerializer, HandleError>>;
|
|
3147
3494
|
/**
|
|
3148
3495
|
* @description Get microservices with pagination
|
|
3149
3496
|
* @tags microservices
|
|
@@ -3154,33 +3501,102 @@ export class Microservices<HandleError extends boolean = boolean> {
|
|
|
3154
3501
|
*/
|
|
3155
3502
|
get(microserviceDto: UmaGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetMicroservicesListSerializer, HandleError>>;
|
|
3156
3503
|
}
|
|
3157
|
-
export class
|
|
3504
|
+
export class TablePresets<HandleError extends boolean = boolean> {
|
|
3158
3505
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3159
3506
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3160
3507
|
/**
|
|
3161
|
-
* @description
|
|
3162
|
-
* @tags
|
|
3163
|
-
* @name
|
|
3164
|
-
* @summary
|
|
3165
|
-
* @request
|
|
3508
|
+
* @description Get user Table Presets
|
|
3509
|
+
* @tags table_presets
|
|
3510
|
+
* @name GetUserPresets
|
|
3511
|
+
* @summary Get user Table Presets
|
|
3512
|
+
* @request GET:/v1/b2b/table-presets
|
|
3166
3513
|
* @secure
|
|
3167
3514
|
*/
|
|
3168
|
-
|
|
3515
|
+
getUserPresets(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetsListResponseSerializer, HandleError>>;
|
|
3169
3516
|
/**
|
|
3170
|
-
* @description
|
|
3171
|
-
* @tags
|
|
3172
|
-
* @name
|
|
3173
|
-
* @summary
|
|
3174
|
-
* @request
|
|
3517
|
+
* @description Upsert Table Preset
|
|
3518
|
+
* @tags table_presets
|
|
3519
|
+
* @name Upsert
|
|
3520
|
+
* @summary Upsert Table Preset
|
|
3521
|
+
* @request PUT:/v1/b2b/table-presets
|
|
3175
3522
|
* @secure
|
|
3176
3523
|
*/
|
|
3177
|
-
|
|
3524
|
+
upsert(upsertTablePreset: UmaUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTablePresetResponseSerializer, HandleError>>;
|
|
3525
|
+
}
|
|
3526
|
+
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
3527
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3528
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3178
3529
|
/**
|
|
3179
|
-
* @description
|
|
3180
|
-
* @tags
|
|
3181
|
-
* @name
|
|
3182
|
-
* @summary
|
|
3183
|
-
* @request
|
|
3530
|
+
* @description Set B2B User Settings
|
|
3531
|
+
* @tags b2b_user_settings
|
|
3532
|
+
* @name SetUserSettings
|
|
3533
|
+
* @summary Set B2B User Settings
|
|
3534
|
+
* @request PUT:/v1/b2b/settings
|
|
3535
|
+
* @secure
|
|
3536
|
+
*/
|
|
3537
|
+
setUserSettings(setB2BUserSettings: UmaSetB2BUserSettingsDto, headers?: {
|
|
3538
|
+
/** Run endpoint in debug mode */
|
|
3539
|
+
"Debug-Token"?: string;
|
|
3540
|
+
/** Branch id, with which user should work */
|
|
3541
|
+
BRANCH?: string;
|
|
3542
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSettingsChangeSerializer, HandleError>>;
|
|
3543
|
+
/**
|
|
3544
|
+
* @description Upload avatar for B2B user
|
|
3545
|
+
* @tags b2b_user_settings
|
|
3546
|
+
* @name UploadAvatar
|
|
3547
|
+
* @summary Upload avatar for B2B user
|
|
3548
|
+
* @request PUT:/v1/b2b/settings/avatar
|
|
3549
|
+
* @secure
|
|
3550
|
+
*/
|
|
3551
|
+
uploadAvatar(data: {
|
|
3552
|
+
/**
|
|
3553
|
+
* Avatar to upload
|
|
3554
|
+
* @format binary
|
|
3555
|
+
*/
|
|
3556
|
+
avatar?: File;
|
|
3557
|
+
/** Should delete old avatar instead of uploading new one */
|
|
3558
|
+
delete_avatar?: boolean;
|
|
3559
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
3560
|
+
/**
|
|
3561
|
+
* @description Send B2B user contact change code
|
|
3562
|
+
* @tags b2b_user_settings
|
|
3563
|
+
* @name SendContactChangeCode
|
|
3564
|
+
* @summary Send B2B user contact change code
|
|
3565
|
+
* @request POST:/v1/b2b/settings/codes
|
|
3566
|
+
* @secure
|
|
3567
|
+
*/
|
|
3568
|
+
sendContactChangeCode(b2bSendContactChangeCodeDto: UmaB2BSendContactChangeCodeDto, headers?: {
|
|
3569
|
+
/** Branch id, with which user should work */
|
|
3570
|
+
BRANCH?: string;
|
|
3571
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3572
|
+
}
|
|
3573
|
+
export class RoleTypes<HandleError extends boolean = boolean> {
|
|
3574
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3575
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3576
|
+
/**
|
|
3577
|
+
* @description Create Role Type
|
|
3578
|
+
* @tags role_types
|
|
3579
|
+
* @name Create
|
|
3580
|
+
* @summary Create Role Type
|
|
3581
|
+
* @request POST:/v1/b2b/role-types
|
|
3582
|
+
* @secure
|
|
3583
|
+
*/
|
|
3584
|
+
create(createRoleType: UmaCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
3585
|
+
/**
|
|
3586
|
+
* @description Delete Role Types by ids
|
|
3587
|
+
* @tags role_types
|
|
3588
|
+
* @name DeleteMany
|
|
3589
|
+
* @summary Delete Role Types by ids
|
|
3590
|
+
* @request DELETE:/v1/b2b/role-types
|
|
3591
|
+
* @secure
|
|
3592
|
+
*/
|
|
3593
|
+
deleteMany(deleteRoleTypes: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3594
|
+
/**
|
|
3595
|
+
* @description Get Role Type by id
|
|
3596
|
+
* @tags role_types
|
|
3597
|
+
* @name GetById
|
|
3598
|
+
* @summary Get Role Type by id
|
|
3599
|
+
* @request GET:/v1/b2b/role-types/{id}
|
|
3184
3600
|
* @secure
|
|
3185
3601
|
*/
|
|
3186
3602
|
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleTypeResponseSerializer, HandleError>>;
|
|
@@ -3203,299 +3619,97 @@ export class RoleTypes<HandleError extends boolean = boolean> {
|
|
|
3203
3619
|
*/
|
|
3204
3620
|
get(getRoleTypes: UmaGetRoleTypesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRoleTypesListSerializer, HandleError>>;
|
|
3205
3621
|
}
|
|
3206
|
-
export class
|
|
3622
|
+
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
3207
3623
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3208
3624
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3209
3625
|
/**
|
|
3210
|
-
* @description
|
|
3211
|
-
* @tags
|
|
3212
|
-
* @name
|
|
3213
|
-
* @summary
|
|
3214
|
-
* @request
|
|
3626
|
+
* @description Set B2C User Settings (test)
|
|
3627
|
+
* @tags b2c_user_settings
|
|
3628
|
+
* @name SetUserSettings
|
|
3629
|
+
* @summary Set B2C User Settings
|
|
3630
|
+
* @request PUT:/v1/b2c/settings
|
|
3215
3631
|
* @secure
|
|
3216
3632
|
*/
|
|
3217
|
-
|
|
3218
|
-
/**
|
|
3219
|
-
* @description Initialize Apple OAuth2 Login
|
|
3220
|
-
* @tags b2c_auth
|
|
3221
|
-
* @name InitAppleLogin
|
|
3222
|
-
* @summary Initialize Apple OAuth2 Login
|
|
3223
|
-
* @request POST:/v1/auth/b2c/login/apple
|
|
3224
|
-
*/
|
|
3225
|
-
initAppleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
3226
|
-
/** Branch id/slug/code, with which user should work */
|
|
3227
|
-
BRANCH?: string;
|
|
3228
|
-
/** Firm id/slug, with which user should work */
|
|
3229
|
-
FIRM?: string;
|
|
3230
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3231
|
-
/**
|
|
3232
|
-
* @description Finish Apple OAuth2 Login
|
|
3233
|
-
* @tags b2c_auth
|
|
3234
|
-
* @name FinishAppleLogin
|
|
3235
|
-
* @summary Finish Apple OAuth2 Login
|
|
3236
|
-
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
3237
|
-
*/
|
|
3238
|
-
finishAppleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3239
|
-
/**
|
|
3240
|
-
* @description Login B2C user by email/password.
|
|
3241
|
-
* @tags b2c_auth
|
|
3242
|
-
* @name BasicLogin
|
|
3243
|
-
* @summary Login B2C user by email/password
|
|
3244
|
-
* @request POST:/v1/auth/b2c/login/basic
|
|
3245
|
-
*/
|
|
3246
|
-
basicLogin(basicLoginParams: UmaBasicB2CLoginDto, headers?: {
|
|
3247
|
-
/** Branch id/slug/code, with which user should work */
|
|
3248
|
-
BRANCH?: string;
|
|
3249
|
-
/** Firm id/slug, with which user should work */
|
|
3250
|
-
FIRM?: string;
|
|
3251
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3252
|
-
/**
|
|
3253
|
-
* @description Initialize Google OAuth2 Login
|
|
3254
|
-
* @tags b2c_auth
|
|
3255
|
-
* @name InitGoogleLogin
|
|
3256
|
-
* @summary Initialize Google OAuth2 Login
|
|
3257
|
-
* @request POST:/v1/auth/b2c/login/google
|
|
3258
|
-
*/
|
|
3259
|
-
initGoogleLogin(initOAuthLoginDto: UmaInitOAuthLoginDto, headers?: {
|
|
3633
|
+
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
3260
3634
|
/** Branch id/slug/code, with which user should work */
|
|
3261
3635
|
BRANCH?: string;
|
|
3262
|
-
|
|
3263
|
-
FIRM?: string;
|
|
3264
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3265
|
-
/**
|
|
3266
|
-
* @description Finish Google OAuth2 Login
|
|
3267
|
-
* @tags b2c_auth
|
|
3268
|
-
* @name FinishGoogleLogin
|
|
3269
|
-
* @summary Finish Google OAuth2 Login
|
|
3270
|
-
* @request POST:/v1/auth/b2c/login/google/callback
|
|
3271
|
-
*/
|
|
3272
|
-
finishGoogleLogin(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CLoginResultSerializer, HandleError>>;
|
|
3636
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3273
3637
|
/**
|
|
3274
|
-
* @description
|
|
3275
|
-
* @tags
|
|
3276
|
-
* @name
|
|
3277
|
-
* @summary
|
|
3278
|
-
* @request POST:/v1/
|
|
3638
|
+
* @description Send B2C user contact change code
|
|
3639
|
+
* @tags b2c_user_settings
|
|
3640
|
+
* @name SendContactChangeCode
|
|
3641
|
+
* @summary Send B2C user contact change code
|
|
3642
|
+
* @request POST:/v1/b2c/settings/codes
|
|
3279
3643
|
* @secure
|
|
3280
3644
|
*/
|
|
3281
|
-
|
|
3282
|
-
/**
|
|
3283
|
-
* @description logout from B2C user session
|
|
3284
|
-
* @tags b2c_auth
|
|
3285
|
-
* @name Logout
|
|
3286
|
-
* @summary logout from B2C user session
|
|
3287
|
-
* @request DELETE:/v1/auth/b2c/logout
|
|
3288
|
-
*/
|
|
3289
|
-
logout(B2CLogoutParams: UmaLogoutDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3290
|
-
/**
|
|
3291
|
-
* @description Refresh B2C user token pair
|
|
3292
|
-
* @tags b2c_auth
|
|
3293
|
-
* @name RefreshTokens
|
|
3294
|
-
* @summary Refresh B2C user token pair
|
|
3295
|
-
* @request POST:/v1/auth/b2c/refresh
|
|
3296
|
-
*/
|
|
3297
|
-
refreshTokens(b2cRefreshDto: UmaB2CRefreshDto, headers?: {
|
|
3298
|
-
/** Branch id/slug/code, with which user should work */
|
|
3299
|
-
BRANCH?: string;
|
|
3300
|
-
/**
|
|
3301
|
-
* token
|
|
3302
|
-
* @default "refresh_token=xxx"
|
|
3303
|
-
*/
|
|
3304
|
-
Cookie?: string;
|
|
3305
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRefreshResultSerializer, HandleError>>;
|
|
3306
|
-
/**
|
|
3307
|
-
* @description Register new B2C user. This endpoint should be used for Web GUI only
|
|
3308
|
-
* @tags b2c_auth
|
|
3309
|
-
* @name Register
|
|
3310
|
-
* @summary Register new B2C user
|
|
3311
|
-
* @request POST:/v1/auth/b2c/register
|
|
3312
|
-
*/
|
|
3313
|
-
register(registrationParams: UmaRegisterDto, headers?: {
|
|
3314
|
-
/** Branch id/slug/code, with which user should work */
|
|
3315
|
-
BRANCH?: string;
|
|
3316
|
-
/** Firm id/slug, with which user should work */
|
|
3317
|
-
FIRM?: string;
|
|
3318
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRegisterSerializer, HandleError>>;
|
|
3319
|
-
/**
|
|
3320
|
-
* @description Reset B2C user password
|
|
3321
|
-
* @tags b2c_auth
|
|
3322
|
-
* @name ResetPassword
|
|
3323
|
-
* @summary Reset B2C user password
|
|
3324
|
-
* @request PUT:/v1/auth/b2c/reset-password
|
|
3325
|
-
*/
|
|
3326
|
-
resetPassword(B2CResetPasswordParams: UmaB2CResetPasswordDto, headers?: {
|
|
3327
|
-
/** Run endpoint in debug mode */
|
|
3328
|
-
"Debug-Token"?: string;
|
|
3329
|
-
/** Branch id/slug/code, with which user should work */
|
|
3330
|
-
BRANCH?: string;
|
|
3331
|
-
/** Firm id/slug, with which user should work */
|
|
3332
|
-
FIRM?: string;
|
|
3333
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3334
|
-
/**
|
|
3335
|
-
* @description Send MFA code for B2C user
|
|
3336
|
-
* @tags b2c_auth
|
|
3337
|
-
* @name SendMfaCode
|
|
3338
|
-
* @summary Send MFA code for B2C user
|
|
3339
|
-
* @request PUT:/v1/auth/b2c/send-mfa-code
|
|
3340
|
-
*/
|
|
3341
|
-
sendMfaCode(SendB2CMfaCodeDto: UmaSendB2CMfaCodeDto, headers?: {
|
|
3342
|
-
/** Branch id/slug/code, with which user should work */
|
|
3343
|
-
BRANCH?: string;
|
|
3344
|
-
/** Firm id/slug, with which user should work */
|
|
3345
|
-
FIRM?: string;
|
|
3346
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3347
|
-
/**
|
|
3348
|
-
* @description Send reset password code for B2C user
|
|
3349
|
-
* @tags b2c_auth
|
|
3350
|
-
* @name SendResetPasswordCode
|
|
3351
|
-
* @summary Send reset password code for B2C user
|
|
3352
|
-
* @request PUT:/v1/auth/b2c/send-reset-password-code
|
|
3353
|
-
*/
|
|
3354
|
-
sendResetPasswordCode(B2CSendResetPasswordCodeParams: UmaSendB2CResetPasswordCodeDto, headers?: {
|
|
3355
|
-
/** Branch id/slug/code, with which user should work */
|
|
3356
|
-
BRANCH?: string;
|
|
3357
|
-
/** Firm id/slug, with which user should work */
|
|
3358
|
-
FIRM?: string;
|
|
3359
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3360
|
-
/**
|
|
3361
|
-
* @description Send verification code for B2C user
|
|
3362
|
-
* @tags b2c_auth
|
|
3363
|
-
* @name SendVerificationCode
|
|
3364
|
-
* @summary Send verification code for B2C user
|
|
3365
|
-
* @request PUT:/v1/auth/b2c/send-verification-code
|
|
3366
|
-
*/
|
|
3367
|
-
sendVerificationCode(B2CSendVerificationCodeDto: UmaB2CSendVerificationCodeDto, headers?: {
|
|
3645
|
+
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
3368
3646
|
/** Branch id/slug/code, with which user should work */
|
|
3369
3647
|
BRANCH?: string;
|
|
3370
|
-
/** Firm id/slug, with which user should work */
|
|
3371
|
-
FIRM?: string;
|
|
3372
3648
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3373
3649
|
/**
|
|
3374
|
-
* @description
|
|
3375
|
-
* @tags
|
|
3376
|
-
* @name
|
|
3377
|
-
* @summary
|
|
3378
|
-
* @request
|
|
3650
|
+
* @description Get Available B2C Branch Mfa Options
|
|
3651
|
+
* @tags b2c_user_settings
|
|
3652
|
+
* @name AvailableMfaOptions
|
|
3653
|
+
* @summary Get Available B2C Branch Mfa Options
|
|
3654
|
+
* @request GET:/v1/b2c/settings/mfa-options
|
|
3655
|
+
* @secure
|
|
3379
3656
|
*/
|
|
3380
|
-
|
|
3657
|
+
availableMfaOptions(headers?: {
|
|
3381
3658
|
/** Branch id/slug/code, with which user should work */
|
|
3382
3659
|
BRANCH?: string;
|
|
3383
|
-
|
|
3384
|
-
FIRM?: string;
|
|
3385
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3386
|
-
}
|
|
3387
|
-
export class Sessions<HandleError extends boolean = boolean> {
|
|
3388
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3389
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3390
|
-
/**
|
|
3391
|
-
* @description et current user sessions info
|
|
3392
|
-
* @tags sessions
|
|
3393
|
-
* @name GetCurrentUserSessions
|
|
3394
|
-
* @summary Get current user sessions info
|
|
3395
|
-
* @request GET:/v1/auth/sessions
|
|
3396
|
-
* @secure
|
|
3397
|
-
*/
|
|
3398
|
-
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetSessionsListSerializer, HandleError>>;
|
|
3399
|
-
/**
|
|
3400
|
-
* @description Delete current user sessions by pair id's
|
|
3401
|
-
* @tags sessions
|
|
3402
|
-
* @name DeleteCurrentUserSessions
|
|
3403
|
-
* @summary Delete current user sessions by pair id's
|
|
3404
|
-
* @request DELETE:/v1/auth/sessions
|
|
3405
|
-
* @secure
|
|
3406
|
-
*/
|
|
3407
|
-
deleteCurrentUserSessions(deleteSessions: UmaDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3408
|
-
}
|
|
3409
|
-
export class TrustedDevices<HandleError extends boolean = boolean> {
|
|
3410
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3411
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3412
|
-
/**
|
|
3413
|
-
* @description Delete trusted devices
|
|
3414
|
-
* @tags trusted_devices
|
|
3415
|
-
* @name DeleteMany
|
|
3416
|
-
* @summary Delete trusted devices
|
|
3417
|
-
* @request DELETE:/v1/auth/trusted-devices
|
|
3418
|
-
* @secure
|
|
3419
|
-
*/
|
|
3420
|
-
deleteMany(deleteTrustedDevicesDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3660
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
3421
3661
|
/**
|
|
3422
|
-
* @description
|
|
3423
|
-
* @tags
|
|
3424
|
-
* @name
|
|
3425
|
-
* @summary
|
|
3426
|
-
* @request
|
|
3662
|
+
* @description Delete B2C OAuth2 Bindings
|
|
3663
|
+
* @tags b2c_user_settings
|
|
3664
|
+
* @name DeleteManyOAuthBindings
|
|
3665
|
+
* @summary Delete B2C OAuth2 Bindings
|
|
3666
|
+
* @request DELETE:/v1/b2c/settings/oauth-links
|
|
3427
3667
|
* @secure
|
|
3428
3668
|
*/
|
|
3429
|
-
|
|
3430
|
-
}
|
|
3431
|
-
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
3432
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3433
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3669
|
+
deleteManyOAuthBindings(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3434
3670
|
/**
|
|
3435
|
-
* @description
|
|
3436
|
-
* @tags
|
|
3437
|
-
* @name
|
|
3438
|
-
* @summary
|
|
3439
|
-
* @request
|
|
3440
|
-
* @secure
|
|
3671
|
+
* @description Finish Apple OAuth2 Profile Linking
|
|
3672
|
+
* @tags b2c_user_settings
|
|
3673
|
+
* @name FinishAppleProfileLinking
|
|
3674
|
+
* @summary Finish Apple OAuth2 Profile Linking
|
|
3675
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
3441
3676
|
*/
|
|
3442
|
-
|
|
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>>;
|
|
3677
|
+
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3448
3678
|
/**
|
|
3449
|
-
* @description
|
|
3450
|
-
* @tags
|
|
3451
|
-
* @name
|
|
3452
|
-
* @summary
|
|
3453
|
-
* @request
|
|
3679
|
+
* @description Initialize Apple OAuth2 Profile Linking
|
|
3680
|
+
* @tags b2c_user_settings
|
|
3681
|
+
* @name InitAppleProfileLinking
|
|
3682
|
+
* @summary Initialize Apple OAuth2 Profile Linking
|
|
3683
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/start
|
|
3454
3684
|
* @secure
|
|
3455
3685
|
*/
|
|
3456
|
-
|
|
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>>;
|
|
3686
|
+
initAppleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3465
3687
|
/**
|
|
3466
|
-
* @description
|
|
3467
|
-
* @tags
|
|
3468
|
-
* @name
|
|
3469
|
-
* @summary
|
|
3470
|
-
* @request POST:/v1/
|
|
3471
|
-
* @secure
|
|
3688
|
+
* @description Finish Google OAuth2 Profile Linking
|
|
3689
|
+
* @tags b2c_user_settings
|
|
3690
|
+
* @name FinishGoogleProfileLinking
|
|
3691
|
+
* @summary Finish Google OAuth2 Profile Linking
|
|
3692
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
3472
3693
|
*/
|
|
3473
|
-
|
|
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>);
|
|
3694
|
+
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3481
3695
|
/**
|
|
3482
|
-
* @description
|
|
3483
|
-
* @tags
|
|
3484
|
-
* @name
|
|
3485
|
-
* @summary
|
|
3486
|
-
* @request
|
|
3696
|
+
* @description Initialize Google OAuth2 Profile Linking
|
|
3697
|
+
* @tags b2c_user_settings
|
|
3698
|
+
* @name InitGoogleProfileLinking
|
|
3699
|
+
* @summary Initialize Google OAuth2 Profile Linking
|
|
3700
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/start
|
|
3487
3701
|
* @secure
|
|
3488
3702
|
*/
|
|
3489
|
-
|
|
3703
|
+
initGoogleProfileLinking(initOAuthLinkingDto: UmaInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CInitOAuthResponse, HandleError>>;
|
|
3490
3704
|
/**
|
|
3491
|
-
* @description
|
|
3492
|
-
* @tags
|
|
3493
|
-
* @name
|
|
3494
|
-
* @summary
|
|
3495
|
-
* @request
|
|
3705
|
+
* @description Get B2C OAuth2 Bindings with pagination. Available sort fields are `id, name, app_type, b2b_user_id, b2c_user_id, provider_user_id, created_at, updated_at`. Search is performed by `name, app_type, provider_user_id` fields
|
|
3706
|
+
* @tags b2c_user_settings
|
|
3707
|
+
* @name GetOAuthBindings
|
|
3708
|
+
* @summary Get B2C OAuth2 Bindings with pagination
|
|
3709
|
+
* @request POST:/v1/b2c/settings/oauth-links/list
|
|
3496
3710
|
* @secure
|
|
3497
3711
|
*/
|
|
3498
|
-
|
|
3712
|
+
getOAuthBindings(getOAuth2BindingsListDto: UmaGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAuthProviderUserBindingsResponse, HandleError>>;
|
|
3499
3713
|
}
|
|
3500
3714
|
export class Branches<HandleError extends boolean = boolean> {
|
|
3501
3715
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3567,97 +3781,54 @@ export class Countries<HandleError extends boolean = boolean> {
|
|
|
3567
3781
|
*/
|
|
3568
3782
|
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetCountriesSerializer, HandleError>>;
|
|
3569
3783
|
}
|
|
3570
|
-
export class
|
|
3784
|
+
export class EmailDomains<HandleError extends boolean = boolean> {
|
|
3571
3785
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3572
3786
|
constructor(apiClient: JwtClient<HandleError>);
|
|
3573
3787
|
/**
|
|
3574
|
-
* @description
|
|
3575
|
-
* @tags
|
|
3576
|
-
* @name
|
|
3577
|
-
* @summary
|
|
3578
|
-
* @request
|
|
3579
|
-
* @secure
|
|
3580
|
-
*/
|
|
3581
|
-
setUserSettings(setB2CUserSettings: UmaSetB2CUserSettingsDto, headers?: {
|
|
3582
|
-
/** Branch id/slug/code, with which user should work */
|
|
3583
|
-
BRANCH?: string;
|
|
3584
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSettingsChangeSerializer, HandleError>>;
|
|
3585
|
-
/**
|
|
3586
|
-
* @description Send B2C user contact change code
|
|
3587
|
-
* @tags b2c_user_settings
|
|
3588
|
-
* @name SendContactChangeCode
|
|
3589
|
-
* @summary Send B2C user contact change code
|
|
3590
|
-
* @request POST:/v1/b2c/settings/codes
|
|
3591
|
-
* @secure
|
|
3592
|
-
*/
|
|
3593
|
-
sendContactChangeCode(b2cSendContactChangeCodeDto: UmaB2CSendContactChangeCodeDto, headers?: {
|
|
3594
|
-
/** Branch id/slug/code, with which user should work */
|
|
3595
|
-
BRANCH?: string;
|
|
3596
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3597
|
-
/**
|
|
3598
|
-
* @description Get Available B2C Branch Mfa Options
|
|
3599
|
-
* @tags b2c_user_settings
|
|
3600
|
-
* @name AvailableMfaOptions
|
|
3601
|
-
* @summary Get Available B2C Branch Mfa Options
|
|
3602
|
-
* @request GET:/v1/b2c/settings/mfa-options
|
|
3788
|
+
* @description Create Email Domain
|
|
3789
|
+
* @tags email_domains
|
|
3790
|
+
* @name Create
|
|
3791
|
+
* @summary Create Email Domain
|
|
3792
|
+
* @request POST:/v1/email-domains
|
|
3603
3793
|
* @secure
|
|
3604
3794
|
*/
|
|
3605
|
-
|
|
3606
|
-
/** Branch id/slug/code, with which user should work */
|
|
3607
|
-
BRANCH?: string;
|
|
3608
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
3795
|
+
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3609
3796
|
/**
|
|
3610
|
-
* @description Delete
|
|
3611
|
-
* @tags
|
|
3612
|
-
* @name
|
|
3613
|
-
* @summary Delete
|
|
3614
|
-
* @request DELETE:/v1/
|
|
3797
|
+
* @description Delete Email Domains
|
|
3798
|
+
* @tags email_domains
|
|
3799
|
+
* @name DeleteMany
|
|
3800
|
+
* @summary Delete email domains
|
|
3801
|
+
* @request DELETE:/v1/email-domains
|
|
3615
3802
|
* @secure
|
|
3616
3803
|
*/
|
|
3617
|
-
|
|
3618
|
-
/**
|
|
3619
|
-
* @description Finish Apple OAuth2 Profile Linking
|
|
3620
|
-
* @tags b2c_user_settings
|
|
3621
|
-
* @name FinishAppleProfileLinking
|
|
3622
|
-
* @summary Finish Apple OAuth2 Profile Linking
|
|
3623
|
-
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
3624
|
-
*/
|
|
3625
|
-
finishAppleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3804
|
+
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3626
3805
|
/**
|
|
3627
|
-
* @description
|
|
3628
|
-
* @tags
|
|
3629
|
-
* @name
|
|
3630
|
-
* @summary
|
|
3631
|
-
* @request POST:/v1/
|
|
3806
|
+
* @description Get emailDomains with pagination
|
|
3807
|
+
* @tags email_domains
|
|
3808
|
+
* @name Get
|
|
3809
|
+
* @summary Get emailDomains with pagination
|
|
3810
|
+
* @request POST:/v1/email-domains/list
|
|
3632
3811
|
* @secure
|
|
3633
3812
|
*/
|
|
3634
|
-
|
|
3635
|
-
/**
|
|
3636
|
-
* @description Finish Google OAuth2 Profile Linking
|
|
3637
|
-
* @tags b2c_user_settings
|
|
3638
|
-
* @name FinishGoogleProfileLinking
|
|
3639
|
-
* @summary Finish Google OAuth2 Profile Linking
|
|
3640
|
-
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
3641
|
-
*/
|
|
3642
|
-
finishGoogleProfileLinking(finishOAuthLoginDto: UmaFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3813
|
+
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError>>;
|
|
3643
3814
|
/**
|
|
3644
|
-
* @description
|
|
3645
|
-
* @tags
|
|
3646
|
-
* @name
|
|
3647
|
-
* @summary
|
|
3648
|
-
* @request
|
|
3815
|
+
* @description Get Email Domain by id
|
|
3816
|
+
* @tags email_domains
|
|
3817
|
+
* @name GetById
|
|
3818
|
+
* @summary Get Email Domain by id
|
|
3819
|
+
* @request GET:/v1/email-domains/{id}
|
|
3649
3820
|
* @secure
|
|
3650
3821
|
*/
|
|
3651
|
-
|
|
3822
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3652
3823
|
/**
|
|
3653
|
-
* @description
|
|
3654
|
-
* @tags
|
|
3655
|
-
* @name
|
|
3656
|
-
* @summary
|
|
3657
|
-
* @request
|
|
3824
|
+
* @description Update Email Domain record (partial updates supported).
|
|
3825
|
+
* @tags email_domains
|
|
3826
|
+
* @name PartialUpdate
|
|
3827
|
+
* @summary Update Email Domain record (partial updates supported)
|
|
3828
|
+
* @request PATCH:/v1/email-domains/{id}
|
|
3658
3829
|
* @secure
|
|
3659
3830
|
*/
|
|
3660
|
-
|
|
3831
|
+
partialUpdate(id: number, emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3661
3832
|
}
|
|
3662
3833
|
export class Firms<HandleError extends boolean = boolean> {
|
|
3663
3834
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3706,7 +3877,7 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3706
3877
|
* @request PATCH:/v1/firms/{id}
|
|
3707
3878
|
* @secure
|
|
3708
3879
|
*/
|
|
3709
|
-
partialUpdate(id: number, updateFirm:
|
|
3880
|
+
partialUpdate(id: number, updateFirm: UmaPartialUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaFirmMutationSerializer, HandleError>>;
|
|
3710
3881
|
/**
|
|
3711
3882
|
* @description Get Firms with pagination
|
|
3712
3883
|
* @tags firms
|
|
@@ -3717,6 +3888,18 @@ export class Firms<HandleError extends boolean = boolean> {
|
|
|
3717
3888
|
*/
|
|
3718
3889
|
get(getFirms: UmaGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetFirmsListSerializer, HandleError>>;
|
|
3719
3890
|
}
|
|
3891
|
+
export class Locales<HandleError extends boolean = boolean> {
|
|
3892
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
3893
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
3894
|
+
/**
|
|
3895
|
+
* @description get all language locales
|
|
3896
|
+
* @tags locales
|
|
3897
|
+
* @name Get
|
|
3898
|
+
* @summary get all locales
|
|
3899
|
+
* @request GET:/v1/locales
|
|
3900
|
+
*/
|
|
3901
|
+
get(config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaLocaleSerializer[], HandleError>>;
|
|
3902
|
+
}
|
|
3720
3903
|
export class Permissions<HandleError extends boolean = boolean> {
|
|
3721
3904
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3722
3905
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3775,67 +3958,6 @@ export class Permissions<HandleError extends boolean = boolean> {
|
|
|
3775
3958
|
*/
|
|
3776
3959
|
get(getPermissions: UmaGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetPermissionsListSerializer, HandleError>>;
|
|
3777
3960
|
}
|
|
3778
|
-
export class EmailDomains<HandleError extends boolean = boolean> {
|
|
3779
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
3780
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
3781
|
-
/**
|
|
3782
|
-
* @description Create Email Domain
|
|
3783
|
-
* @tags email_domains
|
|
3784
|
-
* @name Create
|
|
3785
|
-
* @summary Create Email Domain
|
|
3786
|
-
* @request POST:/v1/email-domains
|
|
3787
|
-
* @secure
|
|
3788
|
-
*/
|
|
3789
|
-
create(emailDomainDto: UmaEmailDomainDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3790
|
-
/**
|
|
3791
|
-
* @description Delete Email Domains
|
|
3792
|
-
* @tags email_domains
|
|
3793
|
-
* @name DeleteMany
|
|
3794
|
-
* @summary Delete email domains
|
|
3795
|
-
* @request DELETE:/v1/email-domains
|
|
3796
|
-
* @secure
|
|
3797
|
-
*/
|
|
3798
|
-
deleteMany(deleteEmailDomainsDto: UmaDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
3799
|
-
/**
|
|
3800
|
-
* @description Get emailDomains with pagination
|
|
3801
|
-
* @tags email_domains
|
|
3802
|
-
* @name Get
|
|
3803
|
-
* @summary Get emailDomains with pagination
|
|
3804
|
-
* @request POST:/v1/email-domains/list
|
|
3805
|
-
* @secure
|
|
3806
|
-
*/
|
|
3807
|
-
get(emailDomainDto: UmaGetEmailDomainsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEmailDomainsListSerializer, HandleError>>;
|
|
3808
|
-
/**
|
|
3809
|
-
* @description Get Email Domain by id
|
|
3810
|
-
* @tags email_domains
|
|
3811
|
-
* @name GetById
|
|
3812
|
-
* @summary Get Email Domain by id
|
|
3813
|
-
* @request GET:/v1/email-domains/{id}
|
|
3814
|
-
* @secure
|
|
3815
|
-
*/
|
|
3816
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaEmailDomainMutationSerializer, HandleError>>;
|
|
3817
|
-
/**
|
|
3818
|
-
* @description Update Email Domain record (partial updates supported).
|
|
3819
|
-
* @tags email_domains
|
|
3820
|
-
* @name PartialUpdate
|
|
3821
|
-
* @summary Update Email Domain record (partial updates supported)
|
|
3822
|
-
* @request PATCH:/v1/email-domains/{id}
|
|
3823
|
-
* @secure
|
|
3824
|
-
*/
|
|
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
3961
|
export class PublicSettings<HandleError extends boolean = boolean> {
|
|
3840
3962
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
3841
3963
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -3895,7 +4017,7 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3895
4017
|
* @request PATCH:/v1/roles/{id}
|
|
3896
4018
|
* @secure
|
|
3897
4019
|
*/
|
|
3898
|
-
partialUpdate(id: number, updateRole:
|
|
4020
|
+
partialUpdate(id: number, updateRole: UmaPartialUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaRoleMutationSerializer, HandleError>>;
|
|
3899
4021
|
/**
|
|
3900
4022
|
* @description Generate Role PDF
|
|
3901
4023
|
* @tags roles
|
|
@@ -3913,7 +4035,85 @@ export class Roles<HandleError extends boolean = boolean> {
|
|
|
3913
4035
|
* @request POST:/v2/roles/list
|
|
3914
4036
|
* @secure
|
|
3915
4037
|
*/
|
|
3916
|
-
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError>>;
|
|
4038
|
+
get(getRoles: UmaGetRolesListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetRolesListSerializer, HandleError>>;
|
|
4039
|
+
}
|
|
4040
|
+
export class SecretNotes<HandleError extends boolean = boolean> {
|
|
4041
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
4042
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
4043
|
+
/**
|
|
4044
|
+
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
4045
|
+
* @tags secret_notes
|
|
4046
|
+
* @name Create
|
|
4047
|
+
* @summary Create Secret note
|
|
4048
|
+
* @request POST:/v1/secret-notes
|
|
4049
|
+
* @secure
|
|
4050
|
+
*/
|
|
4051
|
+
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError>>;
|
|
4052
|
+
/**
|
|
4053
|
+
* @description Get Secret note
|
|
4054
|
+
* @tags secret_notes
|
|
4055
|
+
* @name GetOne
|
|
4056
|
+
* @summary Get Secret note
|
|
4057
|
+
* @request POST:/v1/secret-notes/fetch
|
|
4058
|
+
*/
|
|
4059
|
+
getOne(getSecretNote: UmaGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSingleSecretNoteSerializer, HandleError>>;
|
|
4060
|
+
/**
|
|
4061
|
+
* @description Send Secret note verification code
|
|
4062
|
+
* @tags secret_notes
|
|
4063
|
+
* @name SendVerificationCode
|
|
4064
|
+
* @summary Send Secret note verification code
|
|
4065
|
+
* @request PUT:/v1/secret-notes/verification
|
|
4066
|
+
*/
|
|
4067
|
+
sendVerificationCode(sendVerificationCodeForSecretNote: UmaSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4068
|
+
}
|
|
4069
|
+
export class Tags<HandleError extends boolean = boolean> {
|
|
4070
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
4071
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
4072
|
+
/**
|
|
4073
|
+
* @description Create Tag
|
|
4074
|
+
* @tags tags
|
|
4075
|
+
* @name Create
|
|
4076
|
+
* @summary Create Tag
|
|
4077
|
+
* @request POST:/v1/tags
|
|
4078
|
+
* @secure
|
|
4079
|
+
*/
|
|
4080
|
+
create(createTagDto: UmaCreateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
4081
|
+
/**
|
|
4082
|
+
* @description Delete Tags
|
|
4083
|
+
* @tags tags
|
|
4084
|
+
* @name DeleteMany
|
|
4085
|
+
* @summary Delete Tags
|
|
4086
|
+
* @request DELETE:/v1/tags
|
|
4087
|
+
* @secure
|
|
4088
|
+
*/
|
|
4089
|
+
deleteMany(deleteByIDsDto: UmaDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4090
|
+
/**
|
|
4091
|
+
* @description Get Tags List. Available fields for sorting are `id, name, created_at, updated_at`. Search is performed by `name`
|
|
4092
|
+
* @tags tags
|
|
4093
|
+
* @name Get
|
|
4094
|
+
* @summary Get Tags List
|
|
4095
|
+
* @request POST:/v1/tags/list
|
|
4096
|
+
* @secure
|
|
4097
|
+
*/
|
|
4098
|
+
get(getTagsDto: UmaGetTagsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetTagsListSerializer, HandleError>>;
|
|
4099
|
+
/**
|
|
4100
|
+
* @description Get Tags By ID
|
|
4101
|
+
* @tags tags
|
|
4102
|
+
* @name GetById
|
|
4103
|
+
* @summary Get Tag By ID
|
|
4104
|
+
* @request GET:/v1/tags/{id}
|
|
4105
|
+
* @secure
|
|
4106
|
+
*/
|
|
4107
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
4108
|
+
/**
|
|
4109
|
+
* @description Update Tag
|
|
4110
|
+
* @tags tags
|
|
4111
|
+
* @name Update
|
|
4112
|
+
* @summary Update Tag
|
|
4113
|
+
* @request PUT:/v1/tags/{id}
|
|
4114
|
+
* @secure
|
|
4115
|
+
*/
|
|
4116
|
+
update(id: number, updateTagDto: UmaUpdateTagDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaTagMutationSerializer, HandleError>>;
|
|
3917
4117
|
}
|
|
3918
4118
|
export class B2CUsers<HandleError extends boolean = boolean> {
|
|
3919
4119
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -3971,7 +4171,7 @@ export class B2CUsers<HandleError extends boolean = boolean> {
|
|
|
3971
4171
|
* @request PATCH:/v1/users/b2c/{id}
|
|
3972
4172
|
* @secure
|
|
3973
4173
|
*/
|
|
3974
|
-
partialUpdate(id: number, createB2BUser:
|
|
4174
|
+
partialUpdate(id: number, createB2BUser: UmaPartialUpdateB2CUserDto, headers?: {
|
|
3975
4175
|
/** Specify format of response. Possible values: `full` (default), `shortened` */
|
|
3976
4176
|
"X-Accept"?: string;
|
|
3977
4177
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2CUserSerializer, HandleError>>;
|
|
@@ -4003,54 +4203,81 @@ export class B2CUsers<HandleError extends boolean = boolean> {
|
|
|
4003
4203
|
*/
|
|
4004
4204
|
get(getB2CUsers: UmaGetB2CUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2CUserSerializer, HandleError>>;
|
|
4005
4205
|
}
|
|
4006
|
-
export class
|
|
4206
|
+
export class B2BUsers<HandleError extends boolean = boolean> {
|
|
4007
4207
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
4008
4208
|
constructor(apiClient: JwtClient<HandleError>);
|
|
4009
4209
|
/**
|
|
4010
|
-
* @description
|
|
4011
|
-
* @tags
|
|
4012
|
-
* @name
|
|
4013
|
-
* @summary
|
|
4014
|
-
* @request
|
|
4210
|
+
* @description Soft Delete B2B users
|
|
4211
|
+
* @tags b2b_users
|
|
4212
|
+
* @name DeleteMany
|
|
4213
|
+
* @summary Soft Delete B2B users
|
|
4214
|
+
* @request DELETE:/v1/users/b2b
|
|
4015
4215
|
* @secure
|
|
4016
4216
|
*/
|
|
4017
|
-
|
|
4217
|
+
deleteMany(deleteB2BUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4018
4218
|
/**
|
|
4019
|
-
* @description
|
|
4020
|
-
* @tags
|
|
4021
|
-
* @name
|
|
4022
|
-
* @summary
|
|
4023
|
-
* @request
|
|
4219
|
+
* @description Get B2B User by id
|
|
4220
|
+
* @tags b2b_users
|
|
4221
|
+
* @name GetById
|
|
4222
|
+
* @summary Get B2B User by id
|
|
4223
|
+
* @request GET:/v1/users/b2b/{id}
|
|
4024
4224
|
* @secure
|
|
4025
4225
|
*/
|
|
4026
|
-
|
|
4226
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4027
4227
|
/**
|
|
4028
|
-
* @description
|
|
4029
|
-
* @tags
|
|
4030
|
-
* @name
|
|
4031
|
-
* @summary
|
|
4032
|
-
* @request
|
|
4228
|
+
* @description Update B2B User (partial updates supported)
|
|
4229
|
+
* @tags b2b_users
|
|
4230
|
+
* @name PartialUpdate
|
|
4231
|
+
* @summary Update B2B User (partial updates supported)
|
|
4232
|
+
* @request PATCH:/v1/users/b2b/{id}
|
|
4033
4233
|
* @secure
|
|
4034
4234
|
*/
|
|
4035
|
-
|
|
4235
|
+
partialUpdate(id: number, createB2BUserNew: UmaPartialUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4036
4236
|
/**
|
|
4037
|
-
* @description
|
|
4038
|
-
* @tags
|
|
4039
|
-
* @name
|
|
4040
|
-
* @summary
|
|
4041
|
-
* @request
|
|
4237
|
+
* @description Generate B2B User PDF
|
|
4238
|
+
* @tags b2b_users
|
|
4239
|
+
* @name GenerateAsPdf
|
|
4240
|
+
* @summary Generate B2B User PDF
|
|
4241
|
+
* @request POST:/v1/users/b2b/{id}/generate-as-pdf
|
|
4042
4242
|
* @secure
|
|
4043
4243
|
*/
|
|
4044
|
-
|
|
4244
|
+
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4045
4245
|
/**
|
|
4046
|
-
* @description
|
|
4047
|
-
* @tags
|
|
4246
|
+
* @description Change B2B User status
|
|
4247
|
+
* @tags b2b_users
|
|
4248
|
+
* @name ChangeStatus
|
|
4249
|
+
* @summary Change B2B User status
|
|
4250
|
+
* @request PATCH:/v1/users/b2b/{id}/status
|
|
4251
|
+
* @secure
|
|
4252
|
+
*/
|
|
4253
|
+
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4254
|
+
/**
|
|
4255
|
+
* @description Create B2B User
|
|
4256
|
+
* @tags b2b_users
|
|
4257
|
+
* @name Create
|
|
4258
|
+
* @summary Create B2B User
|
|
4259
|
+
* @request POST:/v2/users/b2b
|
|
4260
|
+
* @secure
|
|
4261
|
+
*/
|
|
4262
|
+
create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4263
|
+
/**
|
|
4264
|
+
* @description Get B2B users with pagination
|
|
4265
|
+
* @tags b2b_users
|
|
4266
|
+
* @name Get
|
|
4267
|
+
* @summary Get B2B users with pagination
|
|
4268
|
+
* @request POST:/v2/users/b2b/list
|
|
4269
|
+
* @secure
|
|
4270
|
+
*/
|
|
4271
|
+
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
4272
|
+
/**
|
|
4273
|
+
* @description Update B2B User
|
|
4274
|
+
* @tags b2b_users
|
|
4048
4275
|
* @name Update
|
|
4049
|
-
* @summary Update
|
|
4050
|
-
* @request PUT:/
|
|
4276
|
+
* @summary Update B2B User
|
|
4277
|
+
* @request PUT:/v2/users/b2b/{id}
|
|
4051
4278
|
* @secure
|
|
4052
4279
|
*/
|
|
4053
|
-
update(id: number,
|
|
4280
|
+
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4054
4281
|
}
|
|
4055
4282
|
export class UserDetails<HandleError extends boolean = boolean> {
|
|
4056
4283
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -4074,6 +4301,37 @@ export class UserDetails<HandleError extends boolean = boolean> {
|
|
|
4074
4301
|
*/
|
|
4075
4302
|
revokeSessions(revokeUserSessionsDto: UmaRevokeUserSessionsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4076
4303
|
}
|
|
4304
|
+
export class UsersCommon<HandleError extends boolean = boolean> {
|
|
4305
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
4306
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
4307
|
+
/**
|
|
4308
|
+
* @description Reset B2B/B2C user rate limits
|
|
4309
|
+
* @tags users_common
|
|
4310
|
+
* @name ResetRateLimits
|
|
4311
|
+
* @summary Reset rate limits
|
|
4312
|
+
* @request PATCH:/v1/users/rate-limits/reset
|
|
4313
|
+
* @secure
|
|
4314
|
+
*/
|
|
4315
|
+
resetRateLimits(resetRateLimitsDto: UmaResetRateLimitsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4316
|
+
/**
|
|
4317
|
+
* @description Get user status change reasons list
|
|
4318
|
+
* @tags users_common
|
|
4319
|
+
* @name GetUserStatusChangeReasonsList
|
|
4320
|
+
* @summary Get user status change reasons list
|
|
4321
|
+
* @request POST:/v1/users/status-change-reasons/list
|
|
4322
|
+
* @secure
|
|
4323
|
+
*/
|
|
4324
|
+
getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto: UmaGetUserStatusChangeReasonsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserStatusChangeReasonsListSerializer, HandleError>>;
|
|
4325
|
+
/**
|
|
4326
|
+
* @description Link Watchmen user to UMA
|
|
4327
|
+
* @tags users_common
|
|
4328
|
+
* @name LinkWatchmenUsersToUma
|
|
4329
|
+
* @summary Link Watchmen user to UMA
|
|
4330
|
+
* @request POST:/v1/users/watchmen/link
|
|
4331
|
+
* @secure
|
|
4332
|
+
*/
|
|
4333
|
+
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4334
|
+
}
|
|
4077
4335
|
export class SystemUsers<HandleError extends boolean = boolean> {
|
|
4078
4336
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
4079
4337
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -4130,7 +4388,7 @@ export class SystemUsers<HandleError extends boolean = boolean> {
|
|
|
4130
4388
|
* @request PATCH:/v1/users/system/{id}
|
|
4131
4389
|
* @secure
|
|
4132
4390
|
*/
|
|
4133
|
-
partialUpdate(id: number, updateSystemUser:
|
|
4391
|
+
partialUpdate(id: number, updateSystemUser: UmaPartialUpdateSystemUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSystemUserSerializer, HandleError>>;
|
|
4134
4392
|
/**
|
|
4135
4393
|
* @description Generate System User PDF
|
|
4136
4394
|
* @tags system_users
|
|
@@ -4199,142 +4457,6 @@ export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
|
4199
4457
|
*/
|
|
4200
4458
|
update(id: number, updateWatchmenInstance: UmaUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaWatchmenInstanceMutationSerializer, HandleError>>;
|
|
4201
4459
|
}
|
|
4202
|
-
export class SecretNotes<HandleError extends boolean = boolean> {
|
|
4203
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4204
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4205
|
-
/**
|
|
4206
|
-
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
4207
|
-
* @tags secret_notes
|
|
4208
|
-
* @name Create
|
|
4209
|
-
* @summary Create Secret note
|
|
4210
|
-
* @request POST:/v1/secret-notes
|
|
4211
|
-
* @secure
|
|
4212
|
-
*/
|
|
4213
|
-
create(createSecretNote: UmaCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaSecretNoteCreationSuccessSerializer, HandleError>>;
|
|
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>);
|
|
4234
|
-
/**
|
|
4235
|
-
* @description Soft Delete B2B users
|
|
4236
|
-
* @tags b2b_users
|
|
4237
|
-
* @name DeleteMany
|
|
4238
|
-
* @summary Soft Delete B2B users
|
|
4239
|
-
* @request DELETE:/v1/users/b2b
|
|
4240
|
-
* @secure
|
|
4241
|
-
*/
|
|
4242
|
-
deleteMany(deleteB2BUsers: UmaDeleteUsersDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4243
|
-
/**
|
|
4244
|
-
* @description Get B2B User by id
|
|
4245
|
-
* @tags b2b_users
|
|
4246
|
-
* @name GetById
|
|
4247
|
-
* @summary Get B2B User by id
|
|
4248
|
-
* @request GET:/v1/users/b2b/{id}
|
|
4249
|
-
* @secure
|
|
4250
|
-
*/
|
|
4251
|
-
getById(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4252
|
-
/**
|
|
4253
|
-
* @description Update B2B User (partial updates supported)
|
|
4254
|
-
* @tags b2b_users
|
|
4255
|
-
* @name PartialUpdate
|
|
4256
|
-
* @summary Update B2B User (partial updates supported)
|
|
4257
|
-
* @request PATCH:/v1/users/b2b/{id}
|
|
4258
|
-
* @secure
|
|
4259
|
-
*/
|
|
4260
|
-
partialUpdate(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4261
|
-
/**
|
|
4262
|
-
* @description Generate B2B User PDF
|
|
4263
|
-
* @tags b2b_users
|
|
4264
|
-
* @name GenerateAsPdf
|
|
4265
|
-
* @summary Generate B2B User PDF
|
|
4266
|
-
* @request POST:/v1/users/b2b/{id}/generate-as-pdf
|
|
4267
|
-
* @secure
|
|
4268
|
-
*/
|
|
4269
|
-
generateAsPdf(id: number, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGeneratedEntityPDFSerializer, HandleError>>;
|
|
4270
|
-
/**
|
|
4271
|
-
* @description Change B2B User status
|
|
4272
|
-
* @tags b2b_users
|
|
4273
|
-
* @name ChangeStatus
|
|
4274
|
-
* @summary Change B2B User status
|
|
4275
|
-
* @request PATCH:/v1/users/b2b/{id}/status
|
|
4276
|
-
* @secure
|
|
4277
|
-
*/
|
|
4278
|
-
changeStatus(id: number, changeUserStatus: UmaChangeUserStatusDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4279
|
-
/**
|
|
4280
|
-
* @description Create B2B User
|
|
4281
|
-
* @tags b2b_users
|
|
4282
|
-
* @name Create
|
|
4283
|
-
* @summary Create B2B User
|
|
4284
|
-
* @request POST:/v2/users/b2b
|
|
4285
|
-
* @secure
|
|
4286
|
-
*/
|
|
4287
|
-
create(createB2BUser: UmaCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4288
|
-
/**
|
|
4289
|
-
* @description Get B2B users with pagination
|
|
4290
|
-
* @tags b2b_users
|
|
4291
|
-
* @name Get
|
|
4292
|
-
* @summary Get B2B users with pagination
|
|
4293
|
-
* @request POST:/v2/users/b2b/list
|
|
4294
|
-
* @secure
|
|
4295
|
-
*/
|
|
4296
|
-
get(getB2BUsers: UmaGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
4297
|
-
/**
|
|
4298
|
-
* @description Update B2B User
|
|
4299
|
-
* @tags b2b_users
|
|
4300
|
-
* @name Update
|
|
4301
|
-
* @summary Update B2B User
|
|
4302
|
-
* @request PUT:/v2/users/b2b/{id}
|
|
4303
|
-
* @secure
|
|
4304
|
-
*/
|
|
4305
|
-
update(id: number, createB2BUserNew: UmaUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaB2BUserSerializer, HandleError>>;
|
|
4306
|
-
}
|
|
4307
|
-
export class UsersCommon<HandleError extends boolean = boolean> {
|
|
4308
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
4309
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
4310
|
-
/**
|
|
4311
|
-
* @description Reset B2B/B2C user rate limits
|
|
4312
|
-
* @tags users_common
|
|
4313
|
-
* @name ResetRateLimits
|
|
4314
|
-
* @summary Reset rate limits
|
|
4315
|
-
* @request PATCH:/v1/users/rate-limits/reset
|
|
4316
|
-
* @secure
|
|
4317
|
-
*/
|
|
4318
|
-
resetRateLimits(resetRateLimitsDto: UmaResetRateLimitsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4319
|
-
/**
|
|
4320
|
-
* @description Get user status change reasons list
|
|
4321
|
-
* @tags users_common
|
|
4322
|
-
* @name GetUserStatusChangeReasonsList
|
|
4323
|
-
* @summary Get user status change reasons list
|
|
4324
|
-
* @request POST:/v1/users/status-change-reasons/list
|
|
4325
|
-
* @secure
|
|
4326
|
-
*/
|
|
4327
|
-
getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto: UmaGetUserStatusChangeReasonsDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetUserStatusChangeReasonsListSerializer, HandleError>>;
|
|
4328
|
-
/**
|
|
4329
|
-
* @description Link Watchmen user to UMA
|
|
4330
|
-
* @tags users_common
|
|
4331
|
-
* @name LinkWatchmenUsersToUma
|
|
4332
|
-
* @summary Link Watchmen user to UMA
|
|
4333
|
-
* @request POST:/v1/users/watchmen/link
|
|
4334
|
-
* @secure
|
|
4335
|
-
*/
|
|
4336
|
-
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: UmaLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
|
|
4337
|
-
}
|
|
4338
4460
|
declare class _B2BAuth1<HandleError extends boolean = boolean> extends B2BAuth<HandleError> {
|
|
4339
4461
|
basicLogin(...params: Parameters<B2BAuth<HandleError>['basicLogin']>): Promise<ClientResponse<_UmaBasicB2BLoginSerializer1, HandleError>>;
|
|
4340
4462
|
apiKeysLogin(...params: Parameters<B2BAuth<HandleError>['apiKeysLogin']>): Promise<ClientResponse<_UmaSimpleB2BLoginSerializer1, HandleError>>;
|