@orbis-systems/orbis-api-clients 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2308 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +97 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2308 @@
|
|
|
1
|
+
import { AxiosError, AxiosInstance, AxiosRequestConfig, HttpStatusCode } from "axios";
|
|
2
|
+
interface BaseClientConfig<HandleError extends boolean = boolean> {
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
errorHandling?: HandleError;
|
|
5
|
+
storage?: Storage;
|
|
6
|
+
defaultHeaders?: Record<string, string>;
|
|
7
|
+
authDataStorageKey?: string;
|
|
8
|
+
onAxiosError?: (error: AxiosError) => void;
|
|
9
|
+
onError?: (error: unknown) => void;
|
|
10
|
+
}
|
|
11
|
+
enum ContentType {
|
|
12
|
+
Json = "application/json",
|
|
13
|
+
FormData = "multipart/form-data",
|
|
14
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
15
|
+
Text = "text/plain"
|
|
16
|
+
}
|
|
17
|
+
type RequestConfig<Body = unknown> = AxiosRequestConfig<Body> & {
|
|
18
|
+
secure?: boolean;
|
|
19
|
+
contentType?: ContentType;
|
|
20
|
+
};
|
|
21
|
+
type ResponseStatus = {
|
|
22
|
+
status: HttpStatusCode | -1;
|
|
23
|
+
statusText: string;
|
|
24
|
+
};
|
|
25
|
+
type SuccessClientResponse<Data = unknown> = ResponseStatus & {
|
|
26
|
+
success: true;
|
|
27
|
+
data: Data;
|
|
28
|
+
};
|
|
29
|
+
type ErrorClientResponse = ResponseStatus & {
|
|
30
|
+
success: false;
|
|
31
|
+
data?: any;
|
|
32
|
+
error: unknown;
|
|
33
|
+
};
|
|
34
|
+
type ClientResponse<Data = unknown, HandleError extends boolean = boolean> = HandleError extends true ? SuccessClientResponse<Data> | ErrorClientResponse : SuccessClientResponse<Data>;
|
|
35
|
+
declare abstract class BaseClient<HandleError extends boolean = boolean, AuthData = unknown> {
|
|
36
|
+
protected readonly config: BaseClientConfig<HandleError>;
|
|
37
|
+
protected readonly axiosInstance: AxiosInstance;
|
|
38
|
+
protected readonly storage: Storage;
|
|
39
|
+
constructor(config: BaseClientConfig<HandleError>);
|
|
40
|
+
protected stringifyFormItem(formItem: unknown): string;
|
|
41
|
+
protected createFormData(input: Record<string, unknown>): FormData;
|
|
42
|
+
request<Data = unknown, Error = unknown, Body = unknown>(config: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
43
|
+
get<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
44
|
+
delete<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
45
|
+
head<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
46
|
+
options<Data = unknown, Error = unknown, Body = unknown>(url: string, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
47
|
+
post<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
48
|
+
put<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
49
|
+
patch<Data = unknown, Error = unknown, Body = unknown>(url: string, data?: Body, config?: RequestConfig<Body>): Promise<ClientResponse<Data, HandleError>>;
|
|
50
|
+
getAxios(): AxiosInstance;
|
|
51
|
+
setAuthData(data: AuthData | null): void;
|
|
52
|
+
getAuthData(): AuthData | null;
|
|
53
|
+
getConfig(): BaseClientConfig<HandleError>;
|
|
54
|
+
abstract prepareAuthRequestConfig(): Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>;
|
|
55
|
+
}
|
|
56
|
+
declare class BaseApi<HandleError extends boolean = boolean, ApiClient extends BaseClient<HandleError> = BaseClient<HandleError>> {
|
|
57
|
+
protected readonly apiClient: ApiClient;
|
|
58
|
+
constructor(apiClient: ApiClient);
|
|
59
|
+
getApiClient(): ApiClient;
|
|
60
|
+
}
|
|
61
|
+
interface JwtClientConfig<HandleError extends boolean = boolean> extends BaseClientConfig<HandleError> {
|
|
62
|
+
authSchema?: string;
|
|
63
|
+
}
|
|
64
|
+
interface JwtAuthData {
|
|
65
|
+
accessToken: string;
|
|
66
|
+
refreshToken: string;
|
|
67
|
+
}
|
|
68
|
+
declare class JwtClient<HandleError extends boolean = boolean> extends BaseClient<HandleError, JwtAuthData> {
|
|
69
|
+
protected readonly config: JwtClientConfig<HandleError>;
|
|
70
|
+
constructor(config: JwtClientConfig<HandleError>);
|
|
71
|
+
getConfig(): JwtClientConfig<HandleError>;
|
|
72
|
+
prepareAuthRequestConfig(): Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>;
|
|
73
|
+
scheduleTokenRenewal(renewTokenCallback: () => Promise<JwtAuthData>): void;
|
|
74
|
+
cancelTokenRenewal(): void;
|
|
75
|
+
}
|
|
76
|
+
export interface ValidationError {
|
|
77
|
+
message: string;
|
|
78
|
+
meta?: Record<string, string | number>;
|
|
79
|
+
}
|
|
80
|
+
export interface ValidationExceptionDto {
|
|
81
|
+
errors: ValidationError[];
|
|
82
|
+
id: string;
|
|
83
|
+
message: string;
|
|
84
|
+
timestamp: string;
|
|
85
|
+
}
|
|
86
|
+
export interface ExceptionDto {
|
|
87
|
+
id: string;
|
|
88
|
+
message: string;
|
|
89
|
+
timestamp: string;
|
|
90
|
+
}
|
|
91
|
+
export interface AvatarUploadDto {
|
|
92
|
+
image: File;
|
|
93
|
+
}
|
|
94
|
+
export interface UserTokensDto {
|
|
95
|
+
apiToken: string;
|
|
96
|
+
accessToken: string;
|
|
97
|
+
refreshToken: string;
|
|
98
|
+
assetsToken: string;
|
|
99
|
+
}
|
|
100
|
+
export interface MessageDto {
|
|
101
|
+
id: number;
|
|
102
|
+
title: string;
|
|
103
|
+
content: string;
|
|
104
|
+
isRtl: boolean;
|
|
105
|
+
}
|
|
106
|
+
export interface ChartLayoutDto {
|
|
107
|
+
id: number;
|
|
108
|
+
symbol: string;
|
|
109
|
+
resolution: string;
|
|
110
|
+
timestamp: object;
|
|
111
|
+
name: string;
|
|
112
|
+
}
|
|
113
|
+
export interface ChartLayoutDetailsDto {
|
|
114
|
+
id: number;
|
|
115
|
+
symbol: string;
|
|
116
|
+
resolution: string;
|
|
117
|
+
timestamp: object;
|
|
118
|
+
name: string;
|
|
119
|
+
content: string;
|
|
120
|
+
}
|
|
121
|
+
export interface ChartDataDto {
|
|
122
|
+
name: string;
|
|
123
|
+
}
|
|
124
|
+
export interface ChartTemplateDto {
|
|
125
|
+
name: string;
|
|
126
|
+
content: string;
|
|
127
|
+
}
|
|
128
|
+
export interface WatchlistEntryDto {
|
|
129
|
+
type?: 'equity' | 'option' | 'crypto' | 'bond' | 'mutualFund';
|
|
130
|
+
symbol: string;
|
|
131
|
+
}
|
|
132
|
+
export interface WatchlistDto {
|
|
133
|
+
id: number;
|
|
134
|
+
isDefault: boolean;
|
|
135
|
+
name: string;
|
|
136
|
+
description: string;
|
|
137
|
+
color: string;
|
|
138
|
+
order: number | null;
|
|
139
|
+
entries: WatchlistEntryDto[];
|
|
140
|
+
}
|
|
141
|
+
export interface PersistWatchlistDto {
|
|
142
|
+
id: number;
|
|
143
|
+
isDefault?: boolean;
|
|
144
|
+
name: string;
|
|
145
|
+
description?: string;
|
|
146
|
+
color?: string;
|
|
147
|
+
order?: number | null;
|
|
148
|
+
entries?: WatchlistEntryDto[];
|
|
149
|
+
}
|
|
150
|
+
export interface WatchlistEntriesDto {
|
|
151
|
+
entries: WatchlistEntryDto[];
|
|
152
|
+
}
|
|
153
|
+
export interface WatchlistOrderDto {
|
|
154
|
+
watchlistId: number;
|
|
155
|
+
order: number;
|
|
156
|
+
}
|
|
157
|
+
export interface WatchlistOrdersDto {
|
|
158
|
+
orders: WatchlistOrderDto[];
|
|
159
|
+
}
|
|
160
|
+
export interface AppVersionDto {
|
|
161
|
+
token: string;
|
|
162
|
+
versionNumber: string;
|
|
163
|
+
}
|
|
164
|
+
export class AttributeApi<HandleError extends boolean = boolean> {
|
|
165
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
166
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
167
|
+
getAttributeValues(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<Record<string, string | number | boolean>, HandleError>>;
|
|
168
|
+
getPublicAttributeValue(attributePublicId: string, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<string | number | boolean, HandleError>>;
|
|
169
|
+
}
|
|
170
|
+
export class AuthenticationApi<HandleError extends boolean = boolean> {
|
|
171
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
172
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
173
|
+
authenticate(headers: {
|
|
174
|
+
'Firm-Id': string;
|
|
175
|
+
'Watchmen-Token': string;
|
|
176
|
+
'Application-Name': string;
|
|
177
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<UserTokensDto, HandleError>>;
|
|
178
|
+
refresh(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<UserTokensDto, HandleError>>;
|
|
179
|
+
invalidate(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
180
|
+
}
|
|
181
|
+
export class AvatarApi<HandleError extends boolean = boolean> {
|
|
182
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
183
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
184
|
+
getUserAvatar(userId: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<File, HandleError>>;
|
|
185
|
+
uploadUserAvatar(userId: number, data: AvatarUploadDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
186
|
+
deleteUserAvatar(userId: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
187
|
+
getAccountAvatar(accountId: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<File, HandleError>>;
|
|
188
|
+
uploadAccountAvatar(accountId: number, data: AvatarUploadDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
189
|
+
deleteAccountAvatar(accountId: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
190
|
+
}
|
|
191
|
+
export class ChartApi<HandleError extends boolean = boolean> {
|
|
192
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
193
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
194
|
+
getChartLayouts(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ChartLayoutDto[], HandleError>>;
|
|
195
|
+
updateChartLayout(data: ChartLayoutDetailsDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ChartLayoutDetailsDto, HandleError>>;
|
|
196
|
+
getChartLayoutDetails(chartId: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ChartLayoutDetailsDto, HandleError>>;
|
|
197
|
+
deleteChartLayout(chartId: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
198
|
+
getIndicatorTemplates(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ChartDataDto[], HandleError>>;
|
|
199
|
+
updateIndicatorTemplate(data: ChartTemplateDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ChartTemplateDto, HandleError>>;
|
|
200
|
+
getIndicatorTemplateDetails(templateName: string, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ChartTemplateDto, HandleError>>;
|
|
201
|
+
deleteIndicatorTemplate(templateName: string, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
202
|
+
getChartTemplates(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ChartDataDto[], HandleError>>;
|
|
203
|
+
updateChartTemplate(data: ChartTemplateDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ChartTemplateDto, HandleError>>;
|
|
204
|
+
getChartTemplateDetails(templateName: string, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ChartTemplateDto, HandleError>>;
|
|
205
|
+
deleteChartTemplate(templateName: string, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
206
|
+
}
|
|
207
|
+
export class MessageApi<HandleError extends boolean = boolean> {
|
|
208
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
209
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
210
|
+
getMessages(query?: {
|
|
211
|
+
languageCode?: string;
|
|
212
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<MessageDto[], HandleError>>;
|
|
213
|
+
}
|
|
214
|
+
export class PreferenceApi<HandleError extends boolean = boolean> {
|
|
215
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
216
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
217
|
+
getPreferences(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<Record<string, string>, HandleError>>;
|
|
218
|
+
savePreferences(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<Record<string, string>, HandleError>>;
|
|
219
|
+
}
|
|
220
|
+
export class VersioningApi<HandleError extends boolean = boolean> {
|
|
221
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
222
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
223
|
+
getAppVersion(appId: string, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<AppVersionDto, HandleError>>;
|
|
224
|
+
updateAppVersion(appId: string, data: AppVersionDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
225
|
+
}
|
|
226
|
+
export class WatchlistApi<HandleError extends boolean = boolean> {
|
|
227
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
228
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
229
|
+
getAllWatchlists(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchlistDto[], HandleError>>;
|
|
230
|
+
createWatchlist(data: PersistWatchlistDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchlistDto, HandleError>>;
|
|
231
|
+
getWatchlist(watchlistId: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchlistDto, HandleError>>;
|
|
232
|
+
updateWatchlist(watchlistId: number, data: PersistWatchlistDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchlistDto, HandleError>>;
|
|
233
|
+
deleteWatchlist(watchlistId: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
234
|
+
addWatchlistEntries(watchlistId: number, data: WatchlistEntriesDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchlistDto, HandleError>>;
|
|
235
|
+
removeWatchlistEntries(watchlistId: number, data: WatchlistEntriesDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchlistDto, HandleError>>;
|
|
236
|
+
updateWatchlistEntries(watchlistId: number, data: WatchlistEntriesDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchlistDto, HandleError>>;
|
|
237
|
+
updateWatchlistOrders(data: WatchlistOrdersDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
238
|
+
importWatchmenWatchlists(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
239
|
+
}
|
|
240
|
+
export class MiddlewareApi<HandleError extends boolean = boolean> extends BaseApi<HandleError, JwtClient<HandleError>> {
|
|
241
|
+
attribute: AttributeApi<HandleError>;
|
|
242
|
+
authentication: AuthenticationApi<HandleError>;
|
|
243
|
+
avatar: AvatarApi<HandleError>;
|
|
244
|
+
chart: ChartApi<HandleError>;
|
|
245
|
+
message: MessageApi<HandleError>;
|
|
246
|
+
preference: PreferenceApi<HandleError>;
|
|
247
|
+
versioning: VersioningApi<HandleError>;
|
|
248
|
+
watchlist: WatchlistApi<HandleError>;
|
|
249
|
+
constructor(config: JwtClientConfig<HandleError>);
|
|
250
|
+
}
|
|
251
|
+
interface OrbisErrorData {
|
|
252
|
+
orbisErrorCode: string | null;
|
|
253
|
+
orbisErrorMessage: string | null;
|
|
254
|
+
}
|
|
255
|
+
interface OrbisClientConfig<HandleError extends boolean = boolean> extends JwtClientConfig<HandleError> {
|
|
256
|
+
onLoginTimeout?: VoidFunction;
|
|
257
|
+
onUnauthorized?: VoidFunction;
|
|
258
|
+
}
|
|
259
|
+
type OrbisClientResponse<Data = unknown, HandleError extends boolean = boolean> = OrbisErrorData & ClientResponse<Data, HandleError>;
|
|
260
|
+
declare class OrbisClient<HandleError extends boolean = boolean> extends JwtClient<HandleError> {
|
|
261
|
+
protected readonly config: OrbisClientConfig<HandleError>;
|
|
262
|
+
request<Data = unknown, Body = unknown>(config: RequestConfig<Body>): Promise<OrbisClientResponse<Data, HandleError>>;
|
|
263
|
+
}
|
|
264
|
+
export class OrbisApi<HandleError extends boolean = boolean> extends BaseApi<HandleError, OrbisClient<HandleError>> {
|
|
265
|
+
constructor(config: OrbisClientConfig<HandleError>);
|
|
266
|
+
login(username: string, password: string): Promise<import("BaseClient").ClientResponse<{
|
|
267
|
+
sessionId: string;
|
|
268
|
+
}, HandleError>>;
|
|
269
|
+
sso(token: string, platform: string): Promise<import("BaseClient").ClientResponse<{
|
|
270
|
+
sessionId: string;
|
|
271
|
+
}, HandleError>>;
|
|
272
|
+
logout(): Promise<void>;
|
|
273
|
+
}
|
|
274
|
+
export interface ActionlogsGetActionLogsSerializer {
|
|
275
|
+
action_logs: TypesActionLogSerializer[];
|
|
276
|
+
current_page: number;
|
|
277
|
+
pages_count: number;
|
|
278
|
+
status: number;
|
|
279
|
+
total_records: number;
|
|
280
|
+
}
|
|
281
|
+
export interface ApikeysAPIKeysMutationSerializer {
|
|
282
|
+
api_keys: TypesAPIKeys;
|
|
283
|
+
status: number;
|
|
284
|
+
}
|
|
285
|
+
export interface ApikeysGetAPIKeysSerializer {
|
|
286
|
+
api_keys: TypesAPIKeys[];
|
|
287
|
+
current_page: number;
|
|
288
|
+
pages_count: number;
|
|
289
|
+
status: number;
|
|
290
|
+
total_records: number;
|
|
291
|
+
}
|
|
292
|
+
export interface AuthappsAuthAppResponseSerializer {
|
|
293
|
+
auth_app: TypesAuthAppSerializer;
|
|
294
|
+
status: number;
|
|
295
|
+
}
|
|
296
|
+
export interface AuthappsFinishTOTPRegistrationResponseSerializer {
|
|
297
|
+
backup_codes: string[];
|
|
298
|
+
status: number;
|
|
299
|
+
}
|
|
300
|
+
export interface AuthappsGetAuthAppsListSerializer {
|
|
301
|
+
auth_apps_list: TypesAuthAppSerializer[];
|
|
302
|
+
status: number;
|
|
303
|
+
}
|
|
304
|
+
export interface AuthcommonBasicLoginResultSerializer {
|
|
305
|
+
tokens: TypesTokens;
|
|
306
|
+
user: TypesUserSerializer;
|
|
307
|
+
}
|
|
308
|
+
export interface AuthformsAuthFormMutationSerializer {
|
|
309
|
+
form: TypesAuthFormSerializer;
|
|
310
|
+
status: number;
|
|
311
|
+
}
|
|
312
|
+
export interface AuthformsGetAuthFormsListSerializer {
|
|
313
|
+
current_page: number;
|
|
314
|
+
forms_list: TypesAuthFormSerializer[];
|
|
315
|
+
pages_count: number;
|
|
316
|
+
status: number;
|
|
317
|
+
total_records: number;
|
|
318
|
+
}
|
|
319
|
+
export interface B2BauthBasicB2BLoginResultSerializer {
|
|
320
|
+
tokens: TypesTokens;
|
|
321
|
+
user: TypesB2BUserSerializer;
|
|
322
|
+
}
|
|
323
|
+
export interface B2BauthBasicB2BLoginSerializer {
|
|
324
|
+
login_basic: B2BauthBasicB2BLoginResultSerializer;
|
|
325
|
+
status: number;
|
|
326
|
+
}
|
|
327
|
+
export interface B2BauthGetCurrentB2BUserSerializer {
|
|
328
|
+
current_user: TypesB2BUserSerializer;
|
|
329
|
+
status: number;
|
|
330
|
+
}
|
|
331
|
+
export interface B2BauthSimpleB2BLoginResultSerializer {
|
|
332
|
+
tokens: TypesTokens;
|
|
333
|
+
}
|
|
334
|
+
export interface B2BauthSimpleB2BLoginSerializer {
|
|
335
|
+
api_keys_login: B2BauthSimpleB2BLoginResultSerializer;
|
|
336
|
+
status: number;
|
|
337
|
+
}
|
|
338
|
+
export interface B2BusersB2BUserSerializer {
|
|
339
|
+
b2b_user: TypesAdminB2BUserSerializer;
|
|
340
|
+
status: number;
|
|
341
|
+
}
|
|
342
|
+
export interface B2BusersettingsB2BUploadAvatarResponseSerializer {
|
|
343
|
+
avatar: TypesB2BUploadAvatarSerializer;
|
|
344
|
+
status: number;
|
|
345
|
+
}
|
|
346
|
+
export interface B2BusersettingsB2BUserSettingsChangeSerializer {
|
|
347
|
+
settings: B2BusersettingsB2BUserSettingsSerializer;
|
|
348
|
+
status: number;
|
|
349
|
+
}
|
|
350
|
+
export interface B2BusersettingsB2BUserSettingsSerializer {
|
|
351
|
+
do_not_ask_mfa_again: boolean;
|
|
352
|
+
email: string;
|
|
353
|
+
first_name: string;
|
|
354
|
+
last_name: string;
|
|
355
|
+
mfa_enabled: boolean;
|
|
356
|
+
mode: string;
|
|
357
|
+
phone: string;
|
|
358
|
+
theme: string;
|
|
359
|
+
}
|
|
360
|
+
export interface B2CauthB2CLoginResultSerializer {
|
|
361
|
+
email_verification_needed: boolean;
|
|
362
|
+
login_basic: AuthcommonBasicLoginResultSerializer;
|
|
363
|
+
phone_verification_needed: boolean;
|
|
364
|
+
redirect_to: string;
|
|
365
|
+
status: number;
|
|
366
|
+
}
|
|
367
|
+
export interface B2CauthGetCurrentB2CUserSerializer {
|
|
368
|
+
current_user: TypesUserSerializer;
|
|
369
|
+
status: number;
|
|
370
|
+
}
|
|
371
|
+
export interface B2CauthRefreshResultSerializer {
|
|
372
|
+
login_basic: AuthcommonBasicLoginResultSerializer;
|
|
373
|
+
redirect_to: string;
|
|
374
|
+
status: number;
|
|
375
|
+
}
|
|
376
|
+
export interface B2CauthRegisterResultSerializer {
|
|
377
|
+
user: TypesUserSerializer;
|
|
378
|
+
}
|
|
379
|
+
export interface B2CauthRegisterSerializer {
|
|
380
|
+
register: B2CauthRegisterResultSerializer;
|
|
381
|
+
status: number;
|
|
382
|
+
}
|
|
383
|
+
export interface B2CusersB2CUserSerializer {
|
|
384
|
+
b2c_user: TypesAdminB2CUserSerializer;
|
|
385
|
+
status: number;
|
|
386
|
+
}
|
|
387
|
+
export interface B2CusersettingsAvailableB2CMfaOptionsResponse {
|
|
388
|
+
options?: MfaOption[];
|
|
389
|
+
status?: number;
|
|
390
|
+
}
|
|
391
|
+
export interface B2CusersettingsB2CUserSettingsChangeSerializer {
|
|
392
|
+
settings: TypesB2CUserSettingsSerializer;
|
|
393
|
+
status: number;
|
|
394
|
+
}
|
|
395
|
+
export interface BranchesBranchMutationSerializer {
|
|
396
|
+
branch: TypesBranchAdminSerializer;
|
|
397
|
+
status: number;
|
|
398
|
+
}
|
|
399
|
+
export interface BranchesGetBranchesListSerializer {
|
|
400
|
+
branches_list: TypesBranchAdminSerializer[];
|
|
401
|
+
current_page: number;
|
|
402
|
+
pages_count: number;
|
|
403
|
+
status: number;
|
|
404
|
+
total_records: number;
|
|
405
|
+
}
|
|
406
|
+
export enum CommontypesAuthAppType {
|
|
407
|
+
EmailCodeAuthAppType = "email_code",
|
|
408
|
+
SmsCodeAuthAppType = "sms_code",
|
|
409
|
+
YubicoOTPAuthAppType = "yubico_otp",
|
|
410
|
+
WebAuthnAuthAppType = "webauthn",
|
|
411
|
+
TOTPAuthAppType = "totp"
|
|
412
|
+
}
|
|
413
|
+
export enum CommontypesAuthUserType {
|
|
414
|
+
AllAuthUserType = "all",
|
|
415
|
+
B2BAuthUserType = "b2b",
|
|
416
|
+
B2CAuthUserType = "b2c"
|
|
417
|
+
}
|
|
418
|
+
export interface CommontypesPaginationDto {
|
|
419
|
+
page?: number;
|
|
420
|
+
size?: number;
|
|
421
|
+
}
|
|
422
|
+
export enum CommontypesResetPasswordType {
|
|
423
|
+
PasswordResetByContactCode = "by_contact_code",
|
|
424
|
+
PasswordResetByEmailLink = "by_email_link"
|
|
425
|
+
}
|
|
426
|
+
export interface CommontypesSortDto {
|
|
427
|
+
direction?: string;
|
|
428
|
+
field?: string;
|
|
429
|
+
}
|
|
430
|
+
export interface CountriesGetCountriesSerializer {
|
|
431
|
+
countries: TypesCountrySerializer[];
|
|
432
|
+
status: number;
|
|
433
|
+
}
|
|
434
|
+
export interface EndpointsEndpointMutationSerializer {
|
|
435
|
+
endpoint: TypesEndpointSerializer;
|
|
436
|
+
status: number;
|
|
437
|
+
}
|
|
438
|
+
export interface EndpointsGetEndpointsListSerializer {
|
|
439
|
+
current_page: number;
|
|
440
|
+
endpoints_list: TypesEndpointSerializer[];
|
|
441
|
+
pages_count: number;
|
|
442
|
+
status: number;
|
|
443
|
+
total_records: number;
|
|
444
|
+
}
|
|
445
|
+
export interface FirmsFirmMutationSerializer {
|
|
446
|
+
firm: TypesFirmWithCredsSerializer;
|
|
447
|
+
status: number;
|
|
448
|
+
}
|
|
449
|
+
export interface FirmsGetFirmsListSerializer {
|
|
450
|
+
current_page: number;
|
|
451
|
+
firms_list: TypesFirmWithCredsSerializer[];
|
|
452
|
+
pages_count: number;
|
|
453
|
+
status: number;
|
|
454
|
+
total_records: number;
|
|
455
|
+
}
|
|
456
|
+
export interface HttperrorsError {
|
|
457
|
+
available_options?: MfaOption[];
|
|
458
|
+
code?: HttperrorsErrorCode;
|
|
459
|
+
description?: string;
|
|
460
|
+
field?: string;
|
|
461
|
+
request_id?: string;
|
|
462
|
+
}
|
|
463
|
+
export enum HttperrorsErrorCode {
|
|
464
|
+
JSONValidationErr = 4000,
|
|
465
|
+
JSONReadErr = 4001,
|
|
466
|
+
JSONParseErr = 4002,
|
|
467
|
+
ForbiddenErr = 4003,
|
|
468
|
+
ForbiddenDueLimit = 4030,
|
|
469
|
+
RecordNotFoundErr = 4004,
|
|
470
|
+
RecordAlreadyExistsErr = 4005,
|
|
471
|
+
ImageValidationErr = 4006,
|
|
472
|
+
InappropriateImageErr = 4007,
|
|
473
|
+
FaceNotFoundOnImageErr = 4008,
|
|
474
|
+
UnauthorizedErr = 4010,
|
|
475
|
+
TokenRevokedErr = 4012,
|
|
476
|
+
TokenNotActiveErr = 4013,
|
|
477
|
+
EmailNotVerifiedErr = 4015,
|
|
478
|
+
TokenParsingErr = 4016,
|
|
479
|
+
PhoneNotVerifiedErr = 4017,
|
|
480
|
+
UUIDParseErr = 4026,
|
|
481
|
+
InvalidEmailOrPasswordOrTypeErr = 4028,
|
|
482
|
+
InvalidMfaCodeErr = 4128,
|
|
483
|
+
MfaRequiredErr = 4228,
|
|
484
|
+
TokenVerificationErr = 4328,
|
|
485
|
+
InvalidAPIKeyOrSecretErr = 4428,
|
|
486
|
+
MfaAddingNotAllowedErr = 4528,
|
|
487
|
+
BranchRequestNotAllowed = 4103,
|
|
488
|
+
ForbiddenForUserTypeErr = 4203,
|
|
489
|
+
SecondForbiddenErr = 4031,
|
|
490
|
+
ThirdForbiddenErr = 4032,
|
|
491
|
+
EntitiesChoiceNotAllowed = 4303,
|
|
492
|
+
RecaptchaErr = 4403,
|
|
493
|
+
UpdateOfOldEntityStateErr = 4503,
|
|
494
|
+
ChiefadminMutationErr = 4603,
|
|
495
|
+
ChildEntitiesExistErr = 4703,
|
|
496
|
+
TenantActionForbiddenErr = 4803,
|
|
497
|
+
RBACManipulationErr = 4903,
|
|
498
|
+
YubicoMaxKeysLimitReachedErr = 4113,
|
|
499
|
+
ConflictErr = 4090,
|
|
500
|
+
SecondFieldConflictErr = 4091,
|
|
501
|
+
ThirdFieldConflictErr = 4092,
|
|
502
|
+
FourthFieldConflictErr = 4093,
|
|
503
|
+
FifthFieldConflictErr = 4094,
|
|
504
|
+
SixthFieldConflictErr = 4095,
|
|
505
|
+
GoneErr = 4100,
|
|
506
|
+
SecondGoneErr = 4101,
|
|
507
|
+
UnprocessableEntity = 4222,
|
|
508
|
+
TooEarlyDuplicateRequest = 4250,
|
|
509
|
+
RateLimitErr = 4291,
|
|
510
|
+
ForbiddenByFirmsStatusErr = 4292,
|
|
511
|
+
NotAcceptableError = 4600,
|
|
512
|
+
InternalServerErr = 5000,
|
|
513
|
+
InvalidRequest = 6000
|
|
514
|
+
}
|
|
515
|
+
export interface HttperrorsErrorsSerializer {
|
|
516
|
+
errors: HttperrorsError[];
|
|
517
|
+
}
|
|
518
|
+
export interface IdentityprovidersGetIdentityProvidersListSerializer {
|
|
519
|
+
current_page: number;
|
|
520
|
+
identity_providers_list: TypesIdentityProviderSerializer[];
|
|
521
|
+
pages_count: number;
|
|
522
|
+
status: number;
|
|
523
|
+
total_records: number;
|
|
524
|
+
}
|
|
525
|
+
export interface IdentityprovidersIdentityProviderResponseSerializer {
|
|
526
|
+
identity_provider: TypesIdentityProviderSerializer;
|
|
527
|
+
status: number;
|
|
528
|
+
}
|
|
529
|
+
export interface LocalesLocaleSerializer {
|
|
530
|
+
id: number;
|
|
531
|
+
locale: string;
|
|
532
|
+
name: string;
|
|
533
|
+
}
|
|
534
|
+
export enum MfaOption {
|
|
535
|
+
SmsMfaOption = "sms",
|
|
536
|
+
EmailMfaOption = "email",
|
|
537
|
+
VoiceMfaOption = "voice",
|
|
538
|
+
WebAuthnMfaOption = "webauthn",
|
|
539
|
+
YubicoOTPMfaOption = "yubico_otp",
|
|
540
|
+
TOTPMfaOption = "totp"
|
|
541
|
+
}
|
|
542
|
+
export interface MicroservicesGetMicroservicesListSerializer {
|
|
543
|
+
current_page: number;
|
|
544
|
+
microservices_list: TypesMicroserviceSerializer[];
|
|
545
|
+
pages_count: number;
|
|
546
|
+
status: number;
|
|
547
|
+
total_records: number;
|
|
548
|
+
}
|
|
549
|
+
export interface MicroservicesMicroserviceMutationSerializer {
|
|
550
|
+
microservice: TypesMicroserviceSerializer;
|
|
551
|
+
status: number;
|
|
552
|
+
}
|
|
553
|
+
export interface MigrationutilsUpsertUsersSerializer {
|
|
554
|
+
status: number;
|
|
555
|
+
users: TypesAdminUserSerializer[];
|
|
556
|
+
}
|
|
557
|
+
export interface PermissionsGetPermissionsListSerializer {
|
|
558
|
+
current_page: number;
|
|
559
|
+
pages_count: number;
|
|
560
|
+
permissions_list: TypesPermissionSerializer[];
|
|
561
|
+
status: number;
|
|
562
|
+
total_records: number;
|
|
563
|
+
}
|
|
564
|
+
export interface PermissionsPermissionMutationSerializer {
|
|
565
|
+
permission: TypesPermissionSerializer;
|
|
566
|
+
status: number;
|
|
567
|
+
}
|
|
568
|
+
export enum PgmodelsAuthProviderAppType {
|
|
569
|
+
GoogleOAuth2Provider = "google-oauth2",
|
|
570
|
+
AppleIDOAuth2Provider = "apple-id"
|
|
571
|
+
}
|
|
572
|
+
export enum PgmodelsEndpointType {
|
|
573
|
+
RegularEndpoint = "regular",
|
|
574
|
+
DisplayOnlyEndpoint = "display_only"
|
|
575
|
+
}
|
|
576
|
+
export enum PgmodelsEntityAccessType {
|
|
577
|
+
GranularEntityAccessType = "granular",
|
|
578
|
+
HighLevelEntityAccessType = "high-level"
|
|
579
|
+
}
|
|
580
|
+
export enum PgmodelsPermissionAG {
|
|
581
|
+
ChiefadminPermissionAG = "chiefadmin",
|
|
582
|
+
SuperadminPermissionAG = "superadmin",
|
|
583
|
+
B2BOnlyPermissionAG = "b2b_only",
|
|
584
|
+
RegularPermissionAG = "regular"
|
|
585
|
+
}
|
|
586
|
+
export interface PgmodelsPermissionMetadata {
|
|
587
|
+
entities?: Record<string, PgmodelsEntityAccessType>;
|
|
588
|
+
is_microservice_global?: boolean;
|
|
589
|
+
one_of_group?: string;
|
|
590
|
+
}
|
|
591
|
+
export interface PublicsettingsPublicSettingsResponseSerializer {
|
|
592
|
+
settings: TypesPublicSettingsSerializer;
|
|
593
|
+
status: number;
|
|
594
|
+
}
|
|
595
|
+
export interface RolesGetRolesListSerializer {
|
|
596
|
+
current_page: number;
|
|
597
|
+
pages_count: number;
|
|
598
|
+
roles_list: TypesRoleSerializer[];
|
|
599
|
+
status: number;
|
|
600
|
+
total_records: number;
|
|
601
|
+
}
|
|
602
|
+
export interface RolesRoleMutationSerializer {
|
|
603
|
+
role: TypesRoleSerializer;
|
|
604
|
+
status: number;
|
|
605
|
+
}
|
|
606
|
+
export interface RoletypesGetRoleTypesListSerializer {
|
|
607
|
+
current_page: number;
|
|
608
|
+
pages_count: number;
|
|
609
|
+
role_types_list: TypesRoleTypeSerializer[];
|
|
610
|
+
status: number;
|
|
611
|
+
total_records: number;
|
|
612
|
+
}
|
|
613
|
+
export interface RoletypesRoleTypeResponseSerializer {
|
|
614
|
+
role_type: TypesRoleTypeSerializer;
|
|
615
|
+
status: number;
|
|
616
|
+
}
|
|
617
|
+
export interface SecretnotesSecretNoteCreationSuccessSerializer {
|
|
618
|
+
secret_note_link: string;
|
|
619
|
+
status: number;
|
|
620
|
+
}
|
|
621
|
+
export interface SecretnotesSingleSecretNoteSerializer {
|
|
622
|
+
secret_note: TypesSecretNoteSerializer;
|
|
623
|
+
status: number;
|
|
624
|
+
}
|
|
625
|
+
export interface SessionsGetSessionsListSerializer {
|
|
626
|
+
sessions: TypesSessionSerializer[];
|
|
627
|
+
status: number;
|
|
628
|
+
}
|
|
629
|
+
export interface TablepresetsTablePresetResponseSerializer {
|
|
630
|
+
status: number;
|
|
631
|
+
table_preset: TypesTablePresetSerializer;
|
|
632
|
+
}
|
|
633
|
+
export interface TablepresetsTablePresetsListResponseSerializer {
|
|
634
|
+
status: number;
|
|
635
|
+
table_presets: TypesTablePresetSerializer[];
|
|
636
|
+
}
|
|
637
|
+
export interface TagsGetTagsListSerializer {
|
|
638
|
+
current_page: number;
|
|
639
|
+
pages_count: number;
|
|
640
|
+
status: number;
|
|
641
|
+
tags_list: TypesTagSerializer[];
|
|
642
|
+
total_records: number;
|
|
643
|
+
}
|
|
644
|
+
export interface TagsTagMutationSerializer {
|
|
645
|
+
status: number;
|
|
646
|
+
tag: TypesTagSerializer;
|
|
647
|
+
}
|
|
648
|
+
export interface TypesAPIKeys {
|
|
649
|
+
ac_same_as_for_user?: boolean;
|
|
650
|
+
api_key?: string;
|
|
651
|
+
api_secret?: string;
|
|
652
|
+
branches?: TypesBranchSerializer[];
|
|
653
|
+
created_at?: string;
|
|
654
|
+
firms?: TypesFirmAccessSerializer[];
|
|
655
|
+
id?: number;
|
|
656
|
+
microservices?: TypesMicroserviceSerializer[];
|
|
657
|
+
name?: string;
|
|
658
|
+
permissions?: TypesPermissionSerializer[];
|
|
659
|
+
roles?: TypesRoleSerializer[];
|
|
660
|
+
updated_at?: string;
|
|
661
|
+
}
|
|
662
|
+
export interface TypesAPIKeysB2BLoginDto {
|
|
663
|
+
api_key: string;
|
|
664
|
+
api_secret: string;
|
|
665
|
+
}
|
|
666
|
+
export interface TypesActionLogEntityFilterDto {
|
|
667
|
+
entity_id?: number;
|
|
668
|
+
entity_name?: string;
|
|
669
|
+
}
|
|
670
|
+
export interface TypesActionLogSerializer {
|
|
671
|
+
action_type: string;
|
|
672
|
+
created_at: string;
|
|
673
|
+
entity_id: number;
|
|
674
|
+
entity_name: string;
|
|
675
|
+
id: number;
|
|
676
|
+
initiator: TypesUserSerializer;
|
|
677
|
+
initiator_id: number;
|
|
678
|
+
new_state: Record<string, any>;
|
|
679
|
+
prev_state: Record<string, any>;
|
|
680
|
+
trigger_type: string;
|
|
681
|
+
updated_at: string;
|
|
682
|
+
}
|
|
683
|
+
export interface TypesAdminB2BUserSerializer {
|
|
684
|
+
allow_feedback: boolean;
|
|
685
|
+
big_avatar_url: string;
|
|
686
|
+
branches: TypesBranchSerializer[];
|
|
687
|
+
created_at: string;
|
|
688
|
+
do_not_ask_mfa_again: boolean;
|
|
689
|
+
email: string;
|
|
690
|
+
email_verified: boolean;
|
|
691
|
+
firms: TypesFirmAccessSerializer[];
|
|
692
|
+
first_name: string;
|
|
693
|
+
has_access_to_all_firm_branches: boolean;
|
|
694
|
+
id: number;
|
|
695
|
+
initiator_id: number;
|
|
696
|
+
last_name: string;
|
|
697
|
+
locale: TypesLocaleSerializer;
|
|
698
|
+
locale_id: number;
|
|
699
|
+
mfa_enabled: boolean;
|
|
700
|
+
microservices: TypesMicroserviceSerializer[];
|
|
701
|
+
mode: string;
|
|
702
|
+
permissions: TypesPermissionSerializer[];
|
|
703
|
+
phone: string;
|
|
704
|
+
phone_verified: boolean;
|
|
705
|
+
primary_firm_id: number;
|
|
706
|
+
rep_code: string;
|
|
707
|
+
roles: TypesRoleSerializer[];
|
|
708
|
+
should_reset_password: boolean;
|
|
709
|
+
small_avatar_url: string;
|
|
710
|
+
theme: string;
|
|
711
|
+
updated_at: string;
|
|
712
|
+
username: string;
|
|
713
|
+
}
|
|
714
|
+
export interface TypesAdminB2CUserSerializer {
|
|
715
|
+
allow_feedback: boolean;
|
|
716
|
+
big_avatar_url: string;
|
|
717
|
+
blocked_at: string;
|
|
718
|
+
blocking_reason: string;
|
|
719
|
+
branches: TypesBranchSerializer[];
|
|
720
|
+
created_at: string;
|
|
721
|
+
do_not_ask_mfa_again: boolean;
|
|
722
|
+
email: string;
|
|
723
|
+
email_verified: boolean;
|
|
724
|
+
firms: TypesFirmAccessSerializer[];
|
|
725
|
+
first_name: string;
|
|
726
|
+
id: number;
|
|
727
|
+
initiator_id: number;
|
|
728
|
+
is_blocked: boolean;
|
|
729
|
+
last_name: string;
|
|
730
|
+
locale: TypesLocaleSerializer;
|
|
731
|
+
locale_id: number;
|
|
732
|
+
mfa_enabled: boolean;
|
|
733
|
+
microservices: TypesMicroserviceSerializer[];
|
|
734
|
+
permissions: TypesPermissionSerializer[];
|
|
735
|
+
phone: string;
|
|
736
|
+
phone_verified: boolean;
|
|
737
|
+
primary_firm_id: number;
|
|
738
|
+
rep_code: string;
|
|
739
|
+
roles: TypesRoleSerializer[];
|
|
740
|
+
should_reset_password: boolean;
|
|
741
|
+
small_avatar_url: string;
|
|
742
|
+
updated_at: string;
|
|
743
|
+
username: string;
|
|
744
|
+
}
|
|
745
|
+
export interface TypesAdminUserSerializer {
|
|
746
|
+
allow_feedback: boolean;
|
|
747
|
+
big_avatar_url: string;
|
|
748
|
+
branches: TypesBranchSerializer[];
|
|
749
|
+
created_at: string;
|
|
750
|
+
do_not_ask_mfa_again: boolean;
|
|
751
|
+
email: string;
|
|
752
|
+
email_verified: boolean;
|
|
753
|
+
firms: TypesFirmAccessSerializer[];
|
|
754
|
+
first_name: string;
|
|
755
|
+
id: number;
|
|
756
|
+
initiator_id: number;
|
|
757
|
+
last_name: string;
|
|
758
|
+
locale: TypesLocaleSerializer;
|
|
759
|
+
locale_id: number;
|
|
760
|
+
mfa_enabled: boolean;
|
|
761
|
+
microservices: TypesMicroserviceSerializer[];
|
|
762
|
+
permissions: TypesPermissionSerializer[];
|
|
763
|
+
phone: string;
|
|
764
|
+
phone_verified: boolean;
|
|
765
|
+
primary_firm_id: number;
|
|
766
|
+
rep_code: string;
|
|
767
|
+
roles: TypesRoleSerializer[];
|
|
768
|
+
should_reset_password: boolean;
|
|
769
|
+
small_avatar_url: string;
|
|
770
|
+
updated_at: string;
|
|
771
|
+
username: string;
|
|
772
|
+
}
|
|
773
|
+
export interface TypesAuthAppSerializer {
|
|
774
|
+
created_at: string;
|
|
775
|
+
id: number;
|
|
776
|
+
last_used_at: string;
|
|
777
|
+
name: string;
|
|
778
|
+
status: string;
|
|
779
|
+
type: string;
|
|
780
|
+
updated_at: string;
|
|
781
|
+
}
|
|
782
|
+
export interface TypesAuthAppsLimitsSerializer {
|
|
783
|
+
totp_max_apps: number;
|
|
784
|
+
webauthn_max_apps: number;
|
|
785
|
+
yubico_otp_max_apps: number;
|
|
786
|
+
}
|
|
787
|
+
export interface TypesAuthFormDto {
|
|
788
|
+
branch_id?: number;
|
|
789
|
+
client_platform_slug?: string;
|
|
790
|
+
firm_id?: number;
|
|
791
|
+
logo_base_url?: string;
|
|
792
|
+
logo_path?: string;
|
|
793
|
+
redirect_url: string;
|
|
794
|
+
reset_password_link_template?: string;
|
|
795
|
+
reset_password_type: 'by_contact_code' | 'by_email_link';
|
|
796
|
+
slug: string;
|
|
797
|
+
}
|
|
798
|
+
export interface TypesAuthFormSerializer {
|
|
799
|
+
branch: TypesBranchSerializer;
|
|
800
|
+
branch_id: number;
|
|
801
|
+
client_platform_slug: string;
|
|
802
|
+
created_at: string;
|
|
803
|
+
firm: TypesFirmSerializer;
|
|
804
|
+
firm_id: number;
|
|
805
|
+
id: number;
|
|
806
|
+
logo_base_url: string;
|
|
807
|
+
logo_path: string;
|
|
808
|
+
redirect_url: string;
|
|
809
|
+
reset_password_link_template: string;
|
|
810
|
+
reset_password_type: 'by_contact_code' | 'by_email_link';
|
|
811
|
+
slug: string;
|
|
812
|
+
updated_at: string;
|
|
813
|
+
}
|
|
814
|
+
export interface TypesAuthProviderUserBindingSerializer {
|
|
815
|
+
app_type: PgmodelsAuthProviderAppType;
|
|
816
|
+
b2b_user_id: number;
|
|
817
|
+
b2c_user_id: number;
|
|
818
|
+
created_at: string;
|
|
819
|
+
firm_id: number;
|
|
820
|
+
id: number;
|
|
821
|
+
name: string;
|
|
822
|
+
provider_user_id: string;
|
|
823
|
+
updated_at: string;
|
|
824
|
+
}
|
|
825
|
+
export interface TypesAuthProviderUserBindingsResponse {
|
|
826
|
+
bindings?: TypesAuthProviderUserBindingSerializer[];
|
|
827
|
+
current_page?: number;
|
|
828
|
+
pages_count?: number;
|
|
829
|
+
status?: number;
|
|
830
|
+
total_records?: number;
|
|
831
|
+
}
|
|
832
|
+
export interface TypesAvatarSettingsSerializer {
|
|
833
|
+
allowed_extensions: string[];
|
|
834
|
+
big_dimensions: TypesImageDimensionsSerializer;
|
|
835
|
+
max_size_in_bytes: number;
|
|
836
|
+
}
|
|
837
|
+
export interface TypesB2BResetPasswordDto {
|
|
838
|
+
captcha_response?: string;
|
|
839
|
+
code: string;
|
|
840
|
+
contact: string;
|
|
841
|
+
new_password: string;
|
|
842
|
+
old_password?: string;
|
|
843
|
+
}
|
|
844
|
+
export interface TypesB2BSendContactChangeCodeDto {
|
|
845
|
+
contact: string;
|
|
846
|
+
type: 'email' | 'voice' | 'sms';
|
|
847
|
+
}
|
|
848
|
+
export interface TypesB2BUploadAvatarSerializer {
|
|
849
|
+
big_avatar_path: string;
|
|
850
|
+
small_avatar_path: string;
|
|
851
|
+
}
|
|
852
|
+
export interface TypesB2BUserSerializer {
|
|
853
|
+
admin_of_firm_ids: number[];
|
|
854
|
+
allow_feedback: boolean;
|
|
855
|
+
big_avatar_url: string;
|
|
856
|
+
created_at: string;
|
|
857
|
+
do_not_ask_mfa_again: boolean;
|
|
858
|
+
email: string;
|
|
859
|
+
email_verified: boolean;
|
|
860
|
+
first_name: string;
|
|
861
|
+
id: number;
|
|
862
|
+
initiator_id: number;
|
|
863
|
+
is_chief_admin: boolean;
|
|
864
|
+
last_name: string;
|
|
865
|
+
locale: TypesLocaleSerializer;
|
|
866
|
+
locale_id: number;
|
|
867
|
+
mfa_enabled: boolean;
|
|
868
|
+
microservices: TypesMicroserviceAccessSerializer[];
|
|
869
|
+
mode: string;
|
|
870
|
+
phone: string;
|
|
871
|
+
phone_verified: boolean;
|
|
872
|
+
rep_code: string;
|
|
873
|
+
should_reset_password: boolean;
|
|
874
|
+
small_avatar_url: string;
|
|
875
|
+
theme: string;
|
|
876
|
+
updated_at: string;
|
|
877
|
+
username: string;
|
|
878
|
+
}
|
|
879
|
+
export interface TypesB2CInitOAuthResponse {
|
|
880
|
+
data?: TypesInitOAuthLoginSerializer;
|
|
881
|
+
status?: number;
|
|
882
|
+
}
|
|
883
|
+
export interface TypesB2CRefreshDto {
|
|
884
|
+
auth_form_slug?: string;
|
|
885
|
+
refresh_token: string;
|
|
886
|
+
send_redirect?: boolean;
|
|
887
|
+
}
|
|
888
|
+
export interface TypesB2CResetPasswordDto {
|
|
889
|
+
auth_form_slug: string;
|
|
890
|
+
captcha_response?: string;
|
|
891
|
+
code: string;
|
|
892
|
+
contact?: string;
|
|
893
|
+
new_password: string;
|
|
894
|
+
reset_type: 'by_contact_code' | 'by_email_link';
|
|
895
|
+
}
|
|
896
|
+
export interface TypesB2CSendContactChangeCodeDto {
|
|
897
|
+
contact: string;
|
|
898
|
+
type: 'email' | 'voice' | 'sms';
|
|
899
|
+
}
|
|
900
|
+
export interface TypesB2CSendVerificationCodeDto {
|
|
901
|
+
code_type: 'email' | 'voice' | 'sms';
|
|
902
|
+
contact: string;
|
|
903
|
+
}
|
|
904
|
+
export interface TypesB2CUserSettingsSerializer {
|
|
905
|
+
email: string;
|
|
906
|
+
email_verified: boolean;
|
|
907
|
+
first_name: string;
|
|
908
|
+
last_name: string;
|
|
909
|
+
mfa_enabled: boolean;
|
|
910
|
+
phone: string;
|
|
911
|
+
phone_verified: boolean;
|
|
912
|
+
}
|
|
913
|
+
export interface TypesBasicB2BLoginDto {
|
|
914
|
+
device_id: string;
|
|
915
|
+
email: string;
|
|
916
|
+
mfa_codes?: TypesMfaCodesDto;
|
|
917
|
+
password: string;
|
|
918
|
+
remember_me?: boolean;
|
|
919
|
+
}
|
|
920
|
+
export interface TypesBasicB2CLoginDto {
|
|
921
|
+
auth_form_slug?: string;
|
|
922
|
+
client_platform_slug?: string;
|
|
923
|
+
device_id: string;
|
|
924
|
+
login: string;
|
|
925
|
+
mfa_codes?: TypesMfaCodesDto;
|
|
926
|
+
password: string;
|
|
927
|
+
remember_me?: boolean;
|
|
928
|
+
send_redirect?: boolean;
|
|
929
|
+
}
|
|
930
|
+
export interface TypesBranchAdminSerializer {
|
|
931
|
+
branch_admins_count: number;
|
|
932
|
+
code: string;
|
|
933
|
+
created_at: string;
|
|
934
|
+
firm: TypesFirmSerializer;
|
|
935
|
+
firm_id: number;
|
|
936
|
+
id: number;
|
|
937
|
+
name: string;
|
|
938
|
+
retail_available_mfa_options: string[];
|
|
939
|
+
retail_email_verification_required: boolean;
|
|
940
|
+
retail_login_enabled: boolean;
|
|
941
|
+
retail_mfa_enabling_required: boolean;
|
|
942
|
+
retail_phone_verification_required: boolean;
|
|
943
|
+
slug: string;
|
|
944
|
+
updated_at: string;
|
|
945
|
+
}
|
|
946
|
+
export interface TypesBranchSerializer {
|
|
947
|
+
code: string;
|
|
948
|
+
firm_id: number;
|
|
949
|
+
id: number;
|
|
950
|
+
name: string;
|
|
951
|
+
slug: string;
|
|
952
|
+
}
|
|
953
|
+
export interface TypesCountrySerializer {
|
|
954
|
+
code: string;
|
|
955
|
+
dial_code: string;
|
|
956
|
+
id: number;
|
|
957
|
+
name: string;
|
|
958
|
+
}
|
|
959
|
+
export interface TypesCreateAPIKeysDto {
|
|
960
|
+
ac_same_as_for_user?: boolean;
|
|
961
|
+
branches?: number[];
|
|
962
|
+
firms?: TypesFirmInfo[];
|
|
963
|
+
mfa_codes?: TypesMfaCodesDto;
|
|
964
|
+
name: string;
|
|
965
|
+
permissions?: number[];
|
|
966
|
+
roles?: number[];
|
|
967
|
+
}
|
|
968
|
+
export interface TypesCreateB2BUserDto {
|
|
969
|
+
add_default_domain_permissions?: boolean;
|
|
970
|
+
allow_feedback?: boolean;
|
|
971
|
+
branches?: number[];
|
|
972
|
+
email?: string;
|
|
973
|
+
firms: TypesFirmInfo[];
|
|
974
|
+
first_name: string;
|
|
975
|
+
has_access_to_all_firm_branches?: boolean;
|
|
976
|
+
last_name: string;
|
|
977
|
+
password: string;
|
|
978
|
+
permissions?: number[];
|
|
979
|
+
phone?: string;
|
|
980
|
+
primary_firm_id?: number;
|
|
981
|
+
roles: number[];
|
|
982
|
+
should_reset_password?: boolean;
|
|
983
|
+
username?: string;
|
|
984
|
+
}
|
|
985
|
+
export interface TypesCreateB2CUserDto {
|
|
986
|
+
allow_feedback?: boolean;
|
|
987
|
+
blocking_reason?: string;
|
|
988
|
+
branches: number[];
|
|
989
|
+
email?: string;
|
|
990
|
+
firm_id: number;
|
|
991
|
+
first_name: string;
|
|
992
|
+
is_blocked?: boolean;
|
|
993
|
+
last_name: string;
|
|
994
|
+
password: string;
|
|
995
|
+
permissions?: number[];
|
|
996
|
+
phone?: string;
|
|
997
|
+
roles: number[];
|
|
998
|
+
username?: string;
|
|
999
|
+
}
|
|
1000
|
+
export interface TypesCreateBranchDto {
|
|
1001
|
+
code?: string;
|
|
1002
|
+
firm_id: number;
|
|
1003
|
+
name: string;
|
|
1004
|
+
retail_available_auth_app_options?: CommontypesAuthAppType[];
|
|
1005
|
+
retail_email_verification_required?: boolean;
|
|
1006
|
+
retail_login_enabled?: boolean;
|
|
1007
|
+
retail_mfa_enabling_required?: boolean;
|
|
1008
|
+
retail_phone_verification_required?: boolean;
|
|
1009
|
+
settings?: TypesTenantSettingDto[];
|
|
1010
|
+
slug: string;
|
|
1011
|
+
}
|
|
1012
|
+
export interface TypesCreateEndpointDto {
|
|
1013
|
+
is_active?: boolean;
|
|
1014
|
+
is_public?: boolean;
|
|
1015
|
+
metadata?: TypesEndpointMetadataDto;
|
|
1016
|
+
method: 'POST' | 'PUT' | 'DELETE' | 'GET' | 'PATCH' | 'ALL';
|
|
1017
|
+
microservice_id: number;
|
|
1018
|
+
required_permissions?: number[];
|
|
1019
|
+
route: string;
|
|
1020
|
+
type?: 'regular' | 'display_only';
|
|
1021
|
+
}
|
|
1022
|
+
export interface TypesCreateFirmDto {
|
|
1023
|
+
allow_b2c_email_notifications?: boolean;
|
|
1024
|
+
firm_tags?: number[];
|
|
1025
|
+
mailgun_creds?: TypesFirmMailgunCredsDto;
|
|
1026
|
+
name: string;
|
|
1027
|
+
slug: string;
|
|
1028
|
+
twilio_creds?: TypesFirmTwilioCredsDto;
|
|
1029
|
+
}
|
|
1030
|
+
export interface TypesCreateIdentityProviderDto {
|
|
1031
|
+
auth_url: string;
|
|
1032
|
+
client_id: string;
|
|
1033
|
+
client_secret: string;
|
|
1034
|
+
company_domain: string;
|
|
1035
|
+
firm_id: number;
|
|
1036
|
+
priority: number;
|
|
1037
|
+
redirect_url?: string;
|
|
1038
|
+
type: 'okta';
|
|
1039
|
+
}
|
|
1040
|
+
export interface TypesCreateMicroserviceDto {
|
|
1041
|
+
domains?: TypesMicroserviceDomainDto[];
|
|
1042
|
+
is_active?: boolean;
|
|
1043
|
+
is_visible_on_admin_sidebar?: boolean;
|
|
1044
|
+
logo_url?: string;
|
|
1045
|
+
name: string;
|
|
1046
|
+
slug: string;
|
|
1047
|
+
}
|
|
1048
|
+
export interface TypesCreatePermissionDto {
|
|
1049
|
+
assignment_group: 'regular' | 'superadmin' | 'b2b_only';
|
|
1050
|
+
metadata?: PgmodelsPermissionMetadata;
|
|
1051
|
+
microservice_id?: number;
|
|
1052
|
+
permission: string;
|
|
1053
|
+
}
|
|
1054
|
+
export interface TypesCreateRoleDto {
|
|
1055
|
+
assignment_group?: 'regular' | 'superadmin' | 'b2b_only';
|
|
1056
|
+
firm_id?: number;
|
|
1057
|
+
microservice_id: number;
|
|
1058
|
+
name: string;
|
|
1059
|
+
permissions: number[];
|
|
1060
|
+
permissions_can_assign_role?: number[];
|
|
1061
|
+
type_id: number;
|
|
1062
|
+
}
|
|
1063
|
+
export interface TypesCreateRoleTypeDto {
|
|
1064
|
+
color: string;
|
|
1065
|
+
type: string;
|
|
1066
|
+
}
|
|
1067
|
+
export interface TypesCreateSecretNoteDto {
|
|
1068
|
+
email: string;
|
|
1069
|
+
expires_in: string;
|
|
1070
|
+
max_view_count: number;
|
|
1071
|
+
name?: string;
|
|
1072
|
+
note_params: Record<string, string>;
|
|
1073
|
+
type: 'password';
|
|
1074
|
+
}
|
|
1075
|
+
export interface TypesCreateTagDto {
|
|
1076
|
+
name: string;
|
|
1077
|
+
}
|
|
1078
|
+
export interface TypesCreateWatchmenInstanceDto {
|
|
1079
|
+
name: string;
|
|
1080
|
+
slug: string;
|
|
1081
|
+
url: string;
|
|
1082
|
+
}
|
|
1083
|
+
export interface TypesCreateYubicoOTPDto {
|
|
1084
|
+
name: string;
|
|
1085
|
+
otp: string;
|
|
1086
|
+
}
|
|
1087
|
+
export interface TypesDeleteAPIKeysDto {
|
|
1088
|
+
ids: number[];
|
|
1089
|
+
mfa_codes?: TypesMfaCodesDto;
|
|
1090
|
+
}
|
|
1091
|
+
export interface TypesDeleteByIDsDtoInt {
|
|
1092
|
+
ids: number[];
|
|
1093
|
+
}
|
|
1094
|
+
export interface TypesDeleteByIDsDtoInt64 {
|
|
1095
|
+
ids: number[];
|
|
1096
|
+
}
|
|
1097
|
+
export interface TypesDeleteSessionsDto {
|
|
1098
|
+
pair_ids: string[];
|
|
1099
|
+
}
|
|
1100
|
+
export interface TypesEndpointMetadataDto {
|
|
1101
|
+
admin_ui_permission_key?: string;
|
|
1102
|
+
skip_email_verification_check?: boolean;
|
|
1103
|
+
skip_mfa_enabled_check?: boolean;
|
|
1104
|
+
skip_phone_verification_check?: boolean;
|
|
1105
|
+
user_type?: 'b2b' | 'b2c';
|
|
1106
|
+
}
|
|
1107
|
+
export interface TypesEndpointMetadataSerializer {
|
|
1108
|
+
admin_ui_permission_key: string;
|
|
1109
|
+
skip_email_verification_check: boolean;
|
|
1110
|
+
skip_mfa_enabled_check: boolean;
|
|
1111
|
+
skip_phone_verification_check: boolean;
|
|
1112
|
+
user_type: string;
|
|
1113
|
+
}
|
|
1114
|
+
export interface TypesEndpointSerializer {
|
|
1115
|
+
created_at: string;
|
|
1116
|
+
id: number;
|
|
1117
|
+
is_active: boolean;
|
|
1118
|
+
is_public: boolean;
|
|
1119
|
+
metadata: TypesEndpointMetadataSerializer;
|
|
1120
|
+
method: 'POST' | 'PUT' | 'DELETE' | 'GET' | 'PATCH' | 'ALL';
|
|
1121
|
+
microservice: TypesMicroserviceSerializer;
|
|
1122
|
+
microservice_id: number;
|
|
1123
|
+
required_permissions: TypesPermissionSerializer[];
|
|
1124
|
+
route: string;
|
|
1125
|
+
type: PgmodelsEndpointType;
|
|
1126
|
+
updated_at: string;
|
|
1127
|
+
}
|
|
1128
|
+
export interface TypesFinishOAuthLoginDto {
|
|
1129
|
+
authentication_code: string;
|
|
1130
|
+
state: string;
|
|
1131
|
+
}
|
|
1132
|
+
export interface TypesFinishTOTPRegistrationDto {
|
|
1133
|
+
code: string;
|
|
1134
|
+
name: string;
|
|
1135
|
+
}
|
|
1136
|
+
export interface TypesFirmAccessSerializer {
|
|
1137
|
+
admins_count: number;
|
|
1138
|
+
allow_b2c_email_notifications: boolean;
|
|
1139
|
+
branches: TypesBranchSerializer[];
|
|
1140
|
+
branches_count: number;
|
|
1141
|
+
created_at: string;
|
|
1142
|
+
have_access_to_all_firm_branches: boolean;
|
|
1143
|
+
id: number;
|
|
1144
|
+
last_status_change_at: string;
|
|
1145
|
+
name: string;
|
|
1146
|
+
slug: string;
|
|
1147
|
+
status: string;
|
|
1148
|
+
tags: TypesTagSerializer[];
|
|
1149
|
+
updated_at: string;
|
|
1150
|
+
}
|
|
1151
|
+
export interface TypesFirmInfo {
|
|
1152
|
+
firm_id: number;
|
|
1153
|
+
have_access_to_all_firm_branches?: boolean;
|
|
1154
|
+
}
|
|
1155
|
+
export interface TypesFirmMailgunCredsDto {
|
|
1156
|
+
domain?: string;
|
|
1157
|
+
from_address?: string;
|
|
1158
|
+
from_name?: string;
|
|
1159
|
+
private_api_key?: string;
|
|
1160
|
+
}
|
|
1161
|
+
export interface TypesFirmSerializer {
|
|
1162
|
+
admins_count: number;
|
|
1163
|
+
allow_b2c_email_notifications: boolean;
|
|
1164
|
+
branches: TypesBranchSerializer[];
|
|
1165
|
+
branches_count: number;
|
|
1166
|
+
created_at: string;
|
|
1167
|
+
id: number;
|
|
1168
|
+
last_status_change_at: string;
|
|
1169
|
+
name: string;
|
|
1170
|
+
slug: string;
|
|
1171
|
+
status: string;
|
|
1172
|
+
tags: TypesTagSerializer[];
|
|
1173
|
+
updated_at: string;
|
|
1174
|
+
}
|
|
1175
|
+
export interface TypesFirmTwilioCredsDto {
|
|
1176
|
+
account_sid?: string;
|
|
1177
|
+
auth_token?: string;
|
|
1178
|
+
phone_number?: string;
|
|
1179
|
+
subaccount_sid?: string;
|
|
1180
|
+
}
|
|
1181
|
+
export interface TypesFirmWithCredsSerializer {
|
|
1182
|
+
admins_count: number;
|
|
1183
|
+
allow_b2c_email_notifications: boolean;
|
|
1184
|
+
branches: TypesBranchSerializer[];
|
|
1185
|
+
branches_count: number;
|
|
1186
|
+
created_at: string;
|
|
1187
|
+
id: number;
|
|
1188
|
+
last_status_change_at: string;
|
|
1189
|
+
mailgun_creds: TypesFirmMailgunCredsDto;
|
|
1190
|
+
name: string;
|
|
1191
|
+
slug: string;
|
|
1192
|
+
status: string;
|
|
1193
|
+
tags: TypesTagSerializer[];
|
|
1194
|
+
twilio_creds: TypesFirmTwilioCredsDto;
|
|
1195
|
+
updated_at: string;
|
|
1196
|
+
}
|
|
1197
|
+
export interface TypesGeneratedWatchmenTokenInfoSerializer {
|
|
1198
|
+
expires_at: number;
|
|
1199
|
+
token: string;
|
|
1200
|
+
}
|
|
1201
|
+
export interface TypesGetAPIKeysListDto {
|
|
1202
|
+
pagination?: CommontypesPaginationDto;
|
|
1203
|
+
search?: string;
|
|
1204
|
+
sorts?: CommontypesSortDto[];
|
|
1205
|
+
}
|
|
1206
|
+
export interface TypesGetActionLogsListDto {
|
|
1207
|
+
filters?: TypesGetActionLogsListFiltersDto;
|
|
1208
|
+
pagination: CommontypesPaginationDto;
|
|
1209
|
+
sorts?: CommontypesSortDto[];
|
|
1210
|
+
}
|
|
1211
|
+
export interface TypesGetActionLogsListFiltersDto {
|
|
1212
|
+
action_types?: string[];
|
|
1213
|
+
entities?: TypesActionLogEntityFilterDto[];
|
|
1214
|
+
ids?: number[];
|
|
1215
|
+
initiator_ids?: number[];
|
|
1216
|
+
trigger_types?: string[];
|
|
1217
|
+
}
|
|
1218
|
+
export interface TypesGetAuthFormsListDto {
|
|
1219
|
+
filters?: TypesGetAuthFormsListFiltersDto;
|
|
1220
|
+
pagination?: CommontypesPaginationDto;
|
|
1221
|
+
search?: string;
|
|
1222
|
+
sorts?: CommontypesSortDto[];
|
|
1223
|
+
}
|
|
1224
|
+
export interface TypesGetAuthFormsListFiltersDto {
|
|
1225
|
+
branch_ids?: number[];
|
|
1226
|
+
firm_ids?: number[];
|
|
1227
|
+
ids?: number[];
|
|
1228
|
+
}
|
|
1229
|
+
export interface TypesGetB2BUsersListDto {
|
|
1230
|
+
filters?: TypesGetUsersListFiltersDto;
|
|
1231
|
+
include_chiefadmin?: boolean;
|
|
1232
|
+
pagination?: CommontypesPaginationDto;
|
|
1233
|
+
search?: string;
|
|
1234
|
+
sorts?: CommontypesSortDto[];
|
|
1235
|
+
}
|
|
1236
|
+
export interface TypesGetB2CUsersListDto {
|
|
1237
|
+
filters?: TypesGetB2CUsersListFiltersDto;
|
|
1238
|
+
pagination?: CommontypesPaginationDto;
|
|
1239
|
+
search?: string;
|
|
1240
|
+
sorts?: CommontypesSortDto[];
|
|
1241
|
+
}
|
|
1242
|
+
export interface TypesGetB2CUsersListFiltersDto {
|
|
1243
|
+
branch_ids?: number[];
|
|
1244
|
+
email_verified?: boolean;
|
|
1245
|
+
firm_ids?: number[];
|
|
1246
|
+
firm_tag_ids?: number[];
|
|
1247
|
+
ids?: number[];
|
|
1248
|
+
is_blocked?: boolean;
|
|
1249
|
+
microservice_ids?: number[];
|
|
1250
|
+
neither_verified?: boolean;
|
|
1251
|
+
permission_ids?: number[];
|
|
1252
|
+
permission_names?: string[];
|
|
1253
|
+
phone_verified?: boolean;
|
|
1254
|
+
role_ids?: number[];
|
|
1255
|
+
show_only?: 'admin' | 'branch_admin' | 'compliance';
|
|
1256
|
+
}
|
|
1257
|
+
export interface TypesGetBranchesListDto {
|
|
1258
|
+
count_branch_admins?: boolean;
|
|
1259
|
+
filters?: TypesGetBranchesListFiltersDto;
|
|
1260
|
+
pagination?: CommontypesPaginationDto;
|
|
1261
|
+
search?: string;
|
|
1262
|
+
search_fields?: string[];
|
|
1263
|
+
sorts?: CommontypesSortDto[];
|
|
1264
|
+
}
|
|
1265
|
+
export interface TypesGetBranchesListFiltersDto {
|
|
1266
|
+
firm_ids?: number[];
|
|
1267
|
+
ids?: number[];
|
|
1268
|
+
retail_email_verification_required?: boolean;
|
|
1269
|
+
retail_login_enabled?: boolean;
|
|
1270
|
+
retail_phone_verification_required?: boolean;
|
|
1271
|
+
}
|
|
1272
|
+
export interface TypesGetEndpointsListDto {
|
|
1273
|
+
filters?: TypesGetEndpointsListFiltersDto;
|
|
1274
|
+
pagination?: CommontypesPaginationDto;
|
|
1275
|
+
search?: string;
|
|
1276
|
+
sorts?: CommontypesSortDto[];
|
|
1277
|
+
}
|
|
1278
|
+
export interface TypesGetEndpointsListFiltersDto {
|
|
1279
|
+
ids?: number[];
|
|
1280
|
+
is_public?: boolean;
|
|
1281
|
+
methods?: string[];
|
|
1282
|
+
microservice_ids?: number[];
|
|
1283
|
+
}
|
|
1284
|
+
export interface TypesGetFirmsListDto {
|
|
1285
|
+
count_admins?: boolean;
|
|
1286
|
+
count_branches?: boolean;
|
|
1287
|
+
filters?: TypesGetFirmsListFiltersDto;
|
|
1288
|
+
pagination?: CommontypesPaginationDto;
|
|
1289
|
+
search?: string;
|
|
1290
|
+
sorts?: CommontypesSortDto[];
|
|
1291
|
+
}
|
|
1292
|
+
export interface TypesGetFirmsListFiltersDto {
|
|
1293
|
+
ids?: number[];
|
|
1294
|
+
statuses?: 'in_progress' | 'active' | 'suspended' | 'deleted';
|
|
1295
|
+
tag_ids?: number[];
|
|
1296
|
+
}
|
|
1297
|
+
export interface TypesGetIdentityProvidersListDto {
|
|
1298
|
+
filters?: TypesGetIdentityProvidersListFiltersDto;
|
|
1299
|
+
pagination?: CommontypesPaginationDto;
|
|
1300
|
+
search?: string;
|
|
1301
|
+
sorts?: CommontypesSortDto[];
|
|
1302
|
+
}
|
|
1303
|
+
export interface TypesGetIdentityProvidersListFiltersDto {
|
|
1304
|
+
firm_ids?: number[];
|
|
1305
|
+
ids?: number[];
|
|
1306
|
+
types?: 'okta'[];
|
|
1307
|
+
}
|
|
1308
|
+
export interface TypesGetMicroservicesListDto {
|
|
1309
|
+
filters?: TypesGetMicroservicesListFiltersDto;
|
|
1310
|
+
pagination?: CommontypesPaginationDto;
|
|
1311
|
+
search?: string;
|
|
1312
|
+
sorts?: CommontypesSortDto[];
|
|
1313
|
+
}
|
|
1314
|
+
export interface TypesGetMicroservicesListFiltersDto {
|
|
1315
|
+
ids?: number[];
|
|
1316
|
+
slugs?: string[];
|
|
1317
|
+
}
|
|
1318
|
+
export interface TypesGetOAuth2BindingsListDto {
|
|
1319
|
+
pagination?: CommontypesPaginationDto;
|
|
1320
|
+
search?: string;
|
|
1321
|
+
sorts?: CommontypesSortDto[];
|
|
1322
|
+
}
|
|
1323
|
+
export interface TypesGetPermissionsListDto {
|
|
1324
|
+
filters?: TypesGetPermissionsListFiltersDto;
|
|
1325
|
+
include_chiefadmin?: boolean;
|
|
1326
|
+
pagination?: TypesOptionalPaginationDto;
|
|
1327
|
+
search?: string;
|
|
1328
|
+
sorts?: CommontypesSortDto[];
|
|
1329
|
+
}
|
|
1330
|
+
export interface TypesGetPermissionsListFiltersDto {
|
|
1331
|
+
assignment_groups?: PgmodelsPermissionAG[];
|
|
1332
|
+
ids?: number[];
|
|
1333
|
+
microservice_ids?: number[];
|
|
1334
|
+
}
|
|
1335
|
+
export interface TypesGetRoleTypesListDto {
|
|
1336
|
+
filters?: TypesGetRoleTypesListFiltersDto;
|
|
1337
|
+
pagination?: CommontypesPaginationDto;
|
|
1338
|
+
search?: string;
|
|
1339
|
+
sorts?: CommontypesSortDto[];
|
|
1340
|
+
}
|
|
1341
|
+
export interface TypesGetRoleTypesListFiltersDto {
|
|
1342
|
+
ids?: number[];
|
|
1343
|
+
}
|
|
1344
|
+
export interface TypesGetRolesListDto {
|
|
1345
|
+
filters?: TypesGetRolesListFiltersDto;
|
|
1346
|
+
pagination?: CommontypesPaginationDto;
|
|
1347
|
+
search?: string;
|
|
1348
|
+
sorts?: CommontypesSortDto[];
|
|
1349
|
+
}
|
|
1350
|
+
export interface TypesGetRolesListFiltersDto {
|
|
1351
|
+
assignment_groups?: PgmodelsPermissionAG[];
|
|
1352
|
+
ids?: number[];
|
|
1353
|
+
microservice_ids?: number[];
|
|
1354
|
+
type_ids?: number[];
|
|
1355
|
+
}
|
|
1356
|
+
export interface TypesGetSecretNoteDto {
|
|
1357
|
+
email: string;
|
|
1358
|
+
email_code: string;
|
|
1359
|
+
id: string;
|
|
1360
|
+
}
|
|
1361
|
+
export interface TypesGetTagsDto {
|
|
1362
|
+
pagination: CommontypesPaginationDto;
|
|
1363
|
+
search?: string;
|
|
1364
|
+
sorts?: CommontypesSortDto[];
|
|
1365
|
+
}
|
|
1366
|
+
export interface TypesGetTotpQRDto {
|
|
1367
|
+
digits: number;
|
|
1368
|
+
name?: string;
|
|
1369
|
+
}
|
|
1370
|
+
export interface TypesGetUserDetailsDto {
|
|
1371
|
+
access_token: string;
|
|
1372
|
+
}
|
|
1373
|
+
export interface TypesGetUsersListFiltersDto {
|
|
1374
|
+
branch_ids?: number[];
|
|
1375
|
+
email_verified?: boolean;
|
|
1376
|
+
firm_ids?: number[];
|
|
1377
|
+
firm_tag_ids?: number[];
|
|
1378
|
+
ids?: number[];
|
|
1379
|
+
microservice_ids?: number[];
|
|
1380
|
+
neither_verified?: boolean;
|
|
1381
|
+
permission_ids?: number[];
|
|
1382
|
+
permission_names?: string[];
|
|
1383
|
+
phone_verified?: boolean;
|
|
1384
|
+
role_ids?: number[];
|
|
1385
|
+
show_only?: 'admin' | 'branch_admin' | 'compliance';
|
|
1386
|
+
}
|
|
1387
|
+
export interface TypesGetWatchmenInstancesDto {
|
|
1388
|
+
pagination: CommontypesPaginationDto;
|
|
1389
|
+
search?: string;
|
|
1390
|
+
sorts?: CommontypesSortDto[];
|
|
1391
|
+
}
|
|
1392
|
+
export interface TypesGetWebAuthnLoginChallengeDto {
|
|
1393
|
+
email: string;
|
|
1394
|
+
user_type?: 'b2b' | 'b2c';
|
|
1395
|
+
}
|
|
1396
|
+
export interface TypesIdentityProviderSerializer {
|
|
1397
|
+
auth_url: string;
|
|
1398
|
+
client_id: string;
|
|
1399
|
+
client_secret: string;
|
|
1400
|
+
company_domain: string;
|
|
1401
|
+
created_at: string;
|
|
1402
|
+
firm_id: number;
|
|
1403
|
+
id: number;
|
|
1404
|
+
priority: number;
|
|
1405
|
+
redirect_url: string;
|
|
1406
|
+
type: 'okta';
|
|
1407
|
+
updated_at: string;
|
|
1408
|
+
}
|
|
1409
|
+
export interface TypesImageDimensionsSerializer {
|
|
1410
|
+
height: number;
|
|
1411
|
+
width: number;
|
|
1412
|
+
}
|
|
1413
|
+
export interface TypesInitOAuthLinkingDto {
|
|
1414
|
+
password: string;
|
|
1415
|
+
platform_slug: string;
|
|
1416
|
+
}
|
|
1417
|
+
export interface TypesInitOAuthLoginDto {
|
|
1418
|
+
platform_slug: string;
|
|
1419
|
+
}
|
|
1420
|
+
export interface TypesInitOAuthLoginSerializer {
|
|
1421
|
+
client_id: string;
|
|
1422
|
+
redirect_url: string;
|
|
1423
|
+
sign_in_url: string;
|
|
1424
|
+
state: string;
|
|
1425
|
+
}
|
|
1426
|
+
export interface TypesLinkWatchmenUserToUmaDto {
|
|
1427
|
+
uma_user_id: number;
|
|
1428
|
+
uma_user_type: 'b2b' | 'b2c';
|
|
1429
|
+
watchmen_instance_slug: string;
|
|
1430
|
+
watchmen_user_id: number;
|
|
1431
|
+
watchmen_username?: string;
|
|
1432
|
+
}
|
|
1433
|
+
export interface TypesLocaleSerializer {
|
|
1434
|
+
id: number;
|
|
1435
|
+
locale: string;
|
|
1436
|
+
name: string;
|
|
1437
|
+
}
|
|
1438
|
+
export interface TypesLogoutDto {
|
|
1439
|
+
refresh_token: string;
|
|
1440
|
+
}
|
|
1441
|
+
export interface TypesMfaCodesDto {
|
|
1442
|
+
email?: string;
|
|
1443
|
+
phone?: string;
|
|
1444
|
+
totp?: string;
|
|
1445
|
+
yubico_otp?: string;
|
|
1446
|
+
yubico_webauthn?: TypesWebAuthnLoginSolutionDto;
|
|
1447
|
+
}
|
|
1448
|
+
export interface TypesMicroserviceAccessSerializer {
|
|
1449
|
+
entities: Record<string, Record<string, boolean>>;
|
|
1450
|
+
id: number;
|
|
1451
|
+
is_active: boolean;
|
|
1452
|
+
is_visible_on_admin_sidebar: boolean;
|
|
1453
|
+
logo_url: string;
|
|
1454
|
+
name: string;
|
|
1455
|
+
slug: string;
|
|
1456
|
+
}
|
|
1457
|
+
export interface TypesMicroserviceDomainDto {
|
|
1458
|
+
internal_domain: string;
|
|
1459
|
+
internal_protocol: string;
|
|
1460
|
+
public_path_prefix: string;
|
|
1461
|
+
}
|
|
1462
|
+
export interface TypesMicroserviceDomainSerializer {
|
|
1463
|
+
internal_domain: string;
|
|
1464
|
+
internal_protocol: string;
|
|
1465
|
+
public_path_prefix: string;
|
|
1466
|
+
}
|
|
1467
|
+
export interface TypesMicroserviceSerializer {
|
|
1468
|
+
created_at: string;
|
|
1469
|
+
domains: TypesMicroserviceDomainSerializer[];
|
|
1470
|
+
id: number;
|
|
1471
|
+
is_active: boolean;
|
|
1472
|
+
is_visible_on_admin_sidebar: boolean;
|
|
1473
|
+
logo_url: string;
|
|
1474
|
+
name: string;
|
|
1475
|
+
parent_id: number;
|
|
1476
|
+
slug: string;
|
|
1477
|
+
updated_at: string;
|
|
1478
|
+
}
|
|
1479
|
+
export interface TypesOptionalPaginationDto {
|
|
1480
|
+
page?: number;
|
|
1481
|
+
size?: number;
|
|
1482
|
+
}
|
|
1483
|
+
export interface TypesPermissionMetadataSerializer {
|
|
1484
|
+
entities: object;
|
|
1485
|
+
is_microservice_global: boolean;
|
|
1486
|
+
}
|
|
1487
|
+
export interface TypesPermissionSerializer {
|
|
1488
|
+
assignment_group: 'regular' | 'chiefadmin' | 'superadmin';
|
|
1489
|
+
created_at: string;
|
|
1490
|
+
id: number;
|
|
1491
|
+
metadata: TypesPermissionMetadataSerializer;
|
|
1492
|
+
microservice: TypesMicroserviceSerializer;
|
|
1493
|
+
microservice_id: number;
|
|
1494
|
+
permission: string;
|
|
1495
|
+
updated_at: string;
|
|
1496
|
+
}
|
|
1497
|
+
export interface TypesPublicSettingsSerializer {
|
|
1498
|
+
auth_apps_limits: TypesAuthAppsLimitsSerializer;
|
|
1499
|
+
avatar: TypesAvatarSettingsSerializer;
|
|
1500
|
+
b2c_mfa_options: MfaOption[];
|
|
1501
|
+
reset_password: TypesResetPasswordSettingsSerializer;
|
|
1502
|
+
totp: TypesTOTPSerializer;
|
|
1503
|
+
verification: TypesVerificationSettingsSerializer;
|
|
1504
|
+
}
|
|
1505
|
+
export interface TypesRefreshDto {
|
|
1506
|
+
refresh_token: string;
|
|
1507
|
+
}
|
|
1508
|
+
export interface TypesRegisterDto {
|
|
1509
|
+
captcha_response?: string;
|
|
1510
|
+
email?: string;
|
|
1511
|
+
first_name: string;
|
|
1512
|
+
last_name: string;
|
|
1513
|
+
password: string;
|
|
1514
|
+
phone?: string;
|
|
1515
|
+
username?: string;
|
|
1516
|
+
}
|
|
1517
|
+
export interface TypesResetPasswordSettingsSerializer {
|
|
1518
|
+
expires_in_minutes: number;
|
|
1519
|
+
}
|
|
1520
|
+
export interface TypesRevokeUserSessionsDto {
|
|
1521
|
+
user_id: number;
|
|
1522
|
+
user_type: 'b2b' | 'b2c';
|
|
1523
|
+
}
|
|
1524
|
+
export interface TypesRoleSerializer {
|
|
1525
|
+
assignment_group: PgmodelsPermissionAG;
|
|
1526
|
+
created_at: string;
|
|
1527
|
+
firm: TypesFirmSerializer;
|
|
1528
|
+
firm_id: number;
|
|
1529
|
+
id: number;
|
|
1530
|
+
microservice: TypesMicroserviceSerializer;
|
|
1531
|
+
microservice_id: number;
|
|
1532
|
+
name: string;
|
|
1533
|
+
permissions: TypesPermissionSerializer[];
|
|
1534
|
+
permissions_can_assign_role: TypesPermissionSerializer[];
|
|
1535
|
+
type: TypesRoleTypeSerializer;
|
|
1536
|
+
type_id: number;
|
|
1537
|
+
updated_at: string;
|
|
1538
|
+
}
|
|
1539
|
+
export interface TypesRoleTypeSerializer {
|
|
1540
|
+
color: string;
|
|
1541
|
+
created_at: string;
|
|
1542
|
+
id: number;
|
|
1543
|
+
type: string;
|
|
1544
|
+
updated_at: string;
|
|
1545
|
+
}
|
|
1546
|
+
export interface TypesSecretNoteSerializer {
|
|
1547
|
+
email: string;
|
|
1548
|
+
expires_at: string;
|
|
1549
|
+
id: string;
|
|
1550
|
+
name: string;
|
|
1551
|
+
note_params: Record<string, string>;
|
|
1552
|
+
type: 'password';
|
|
1553
|
+
views_left: number;
|
|
1554
|
+
}
|
|
1555
|
+
export interface TypesSendB2BMfaCodeDto {
|
|
1556
|
+
device_id?: string;
|
|
1557
|
+
email: string;
|
|
1558
|
+
type: 'email' | 'voice' | 'sms';
|
|
1559
|
+
}
|
|
1560
|
+
export interface TypesSendB2CMfaCodeDto {
|
|
1561
|
+
device_id?: string;
|
|
1562
|
+
login: string;
|
|
1563
|
+
type: 'email' | 'voice' | 'sms';
|
|
1564
|
+
}
|
|
1565
|
+
export interface TypesSendB2CResetPasswordCodeDto {
|
|
1566
|
+
auth_form_slug: string;
|
|
1567
|
+
code_type?: 'email' | 'voice' | 'sms';
|
|
1568
|
+
contact: string;
|
|
1569
|
+
reset_type: 'by_contact_code' | 'by_email_link';
|
|
1570
|
+
}
|
|
1571
|
+
export interface TypesSendResetPasswordCodeDto {
|
|
1572
|
+
contact: string;
|
|
1573
|
+
type: 'email' | 'voice' | 'sms';
|
|
1574
|
+
}
|
|
1575
|
+
export interface TypesSendVerificationCodeForSecretNoteDto {
|
|
1576
|
+
email: string;
|
|
1577
|
+
id: string;
|
|
1578
|
+
}
|
|
1579
|
+
export interface TypesSessionSerializer {
|
|
1580
|
+
browser_name: string;
|
|
1581
|
+
browser_version: string;
|
|
1582
|
+
country: string;
|
|
1583
|
+
device: string;
|
|
1584
|
+
ip: string;
|
|
1585
|
+
is_current: boolean;
|
|
1586
|
+
last_used_at: string;
|
|
1587
|
+
os_name: string;
|
|
1588
|
+
os_version: string;
|
|
1589
|
+
pair_id: string;
|
|
1590
|
+
user_agent: string;
|
|
1591
|
+
}
|
|
1592
|
+
export interface TypesSetB2BUserSettingsDto {
|
|
1593
|
+
captcha_response?: string;
|
|
1594
|
+
do_not_ask_mfa_again?: boolean;
|
|
1595
|
+
email: string;
|
|
1596
|
+
email_change_code?: string;
|
|
1597
|
+
first_name: string;
|
|
1598
|
+
last_name: string;
|
|
1599
|
+
mfa_enabled?: boolean;
|
|
1600
|
+
mode?: string;
|
|
1601
|
+
new_password?: string;
|
|
1602
|
+
old_password?: string;
|
|
1603
|
+
phone?: string;
|
|
1604
|
+
phone_change_code?: string;
|
|
1605
|
+
theme?: string;
|
|
1606
|
+
}
|
|
1607
|
+
export interface TypesSetB2CUserSettingsDto {
|
|
1608
|
+
email: string;
|
|
1609
|
+
email_change_code?: string;
|
|
1610
|
+
enable_email_mfa?: boolean;
|
|
1611
|
+
enable_phone_mfa?: boolean;
|
|
1612
|
+
first_name?: string;
|
|
1613
|
+
last_name?: string;
|
|
1614
|
+
mfa_enabled?: boolean;
|
|
1615
|
+
new_password?: string;
|
|
1616
|
+
old_password?: string;
|
|
1617
|
+
phone?: string;
|
|
1618
|
+
phone_change_code?: string;
|
|
1619
|
+
}
|
|
1620
|
+
export interface TypesTOTPSerializer {
|
|
1621
|
+
backup_codes_count: number;
|
|
1622
|
+
backup_codes_length: number;
|
|
1623
|
+
}
|
|
1624
|
+
export interface TypesTablePresetSerializer {
|
|
1625
|
+
b2b_user_id: number;
|
|
1626
|
+
id: number;
|
|
1627
|
+
presets: object;
|
|
1628
|
+
table_name: string;
|
|
1629
|
+
}
|
|
1630
|
+
export interface TypesTagSerializer {
|
|
1631
|
+
created_at: string;
|
|
1632
|
+
id: number;
|
|
1633
|
+
name: string;
|
|
1634
|
+
updated_at: string;
|
|
1635
|
+
}
|
|
1636
|
+
export interface TypesTenantSettingDto {
|
|
1637
|
+
label: 'store_password_history_for_days' | 'reset_password_if_user_inactive_for_days' | 'periodically_reset_password_after_days';
|
|
1638
|
+
value: string;
|
|
1639
|
+
}
|
|
1640
|
+
export enum TypesTenantSettingLabel {
|
|
1641
|
+
StorePasswordHistoryForDays = "store_password_history_for_days",
|
|
1642
|
+
ResetPasswordIfUserInactiveForDays = "reset_password_if_user_inactive_for_days",
|
|
1643
|
+
PeriodicallyResetPasswordAfterDays = "periodically_reset_password_after_days"
|
|
1644
|
+
}
|
|
1645
|
+
export interface TypesTokens {
|
|
1646
|
+
access_expires_at?: number;
|
|
1647
|
+
access_token?: string;
|
|
1648
|
+
pair_id?: string;
|
|
1649
|
+
refresh_expires_at?: number;
|
|
1650
|
+
refresh_token?: string;
|
|
1651
|
+
}
|
|
1652
|
+
export interface TypesUpdateAPIKeysDto {
|
|
1653
|
+
ac_same_as_for_user?: boolean;
|
|
1654
|
+
branches?: number[];
|
|
1655
|
+
firms?: TypesFirmInfo[];
|
|
1656
|
+
mfa_codes?: TypesMfaCodesDto;
|
|
1657
|
+
name: string;
|
|
1658
|
+
permissions?: number[];
|
|
1659
|
+
roles?: number[];
|
|
1660
|
+
updated_at: string;
|
|
1661
|
+
}
|
|
1662
|
+
export interface TypesUpdateAuthAppDto {
|
|
1663
|
+
name: string;
|
|
1664
|
+
status: 'active' | 'disabled';
|
|
1665
|
+
}
|
|
1666
|
+
export interface TypesUpdateB2BUserDto {
|
|
1667
|
+
allow_feedback?: boolean;
|
|
1668
|
+
branches?: number[];
|
|
1669
|
+
email?: string;
|
|
1670
|
+
firms: TypesFirmInfo[];
|
|
1671
|
+
first_name: string;
|
|
1672
|
+
has_access_to_all_firm_branches?: boolean;
|
|
1673
|
+
last_name: string;
|
|
1674
|
+
password?: string;
|
|
1675
|
+
permissions?: number[];
|
|
1676
|
+
phone?: string;
|
|
1677
|
+
primary_firm_id?: number;
|
|
1678
|
+
roles: number[];
|
|
1679
|
+
should_reset_password?: boolean;
|
|
1680
|
+
updated_at: string;
|
|
1681
|
+
username?: string;
|
|
1682
|
+
}
|
|
1683
|
+
export interface TypesUpdateB2CUserDto {
|
|
1684
|
+
allow_feedback?: boolean;
|
|
1685
|
+
blocking_reason?: string;
|
|
1686
|
+
branches: number[];
|
|
1687
|
+
email?: string;
|
|
1688
|
+
firm_id: number;
|
|
1689
|
+
first_name: string;
|
|
1690
|
+
is_blocked?: boolean;
|
|
1691
|
+
last_name: string;
|
|
1692
|
+
password?: string;
|
|
1693
|
+
permissions?: number[];
|
|
1694
|
+
phone?: string;
|
|
1695
|
+
roles: number[];
|
|
1696
|
+
updated_at: string;
|
|
1697
|
+
username?: string;
|
|
1698
|
+
}
|
|
1699
|
+
export interface TypesUpdateBranchDto {
|
|
1700
|
+
code?: string;
|
|
1701
|
+
name: string;
|
|
1702
|
+
retail_available_auth_app_options?: CommontypesAuthAppType[];
|
|
1703
|
+
retail_email_verification_required?: boolean;
|
|
1704
|
+
retail_login_enabled?: boolean;
|
|
1705
|
+
retail_mfa_enabling_required?: boolean;
|
|
1706
|
+
retail_phone_verification_required?: boolean;
|
|
1707
|
+
settings?: TypesTenantSettingDto[];
|
|
1708
|
+
slug: string;
|
|
1709
|
+
updated_at: string;
|
|
1710
|
+
}
|
|
1711
|
+
export interface TypesUpdateEndpointDto {
|
|
1712
|
+
is_active?: boolean;
|
|
1713
|
+
is_public?: boolean;
|
|
1714
|
+
metadata?: TypesEndpointMetadataDto;
|
|
1715
|
+
method: 'POST' | 'PUT' | 'DELETE' | 'GET' | 'PATCH' | 'ALL';
|
|
1716
|
+
microservice_id: number;
|
|
1717
|
+
required_permissions?: number[];
|
|
1718
|
+
route: string;
|
|
1719
|
+
type?: 'regular' | 'display_only';
|
|
1720
|
+
updated_at: string;
|
|
1721
|
+
}
|
|
1722
|
+
export interface TypesUpdateFirmDto {
|
|
1723
|
+
allow_b2c_email_notifications?: boolean;
|
|
1724
|
+
firm_tags?: number[];
|
|
1725
|
+
mailgun_creds?: TypesFirmMailgunCredsDto;
|
|
1726
|
+
name: string;
|
|
1727
|
+
slug: string;
|
|
1728
|
+
status: 'in_progress' | 'active' | 'suspended' | 'deleted';
|
|
1729
|
+
twilio_creds?: TypesFirmTwilioCredsDto;
|
|
1730
|
+
updated_at: string;
|
|
1731
|
+
}
|
|
1732
|
+
export interface TypesUpdateIdentityProviderDto {
|
|
1733
|
+
auth_url: string;
|
|
1734
|
+
client_id: string;
|
|
1735
|
+
client_secret: string;
|
|
1736
|
+
company_domain: string;
|
|
1737
|
+
firm_id: number;
|
|
1738
|
+
priority: number;
|
|
1739
|
+
redirect_url?: string;
|
|
1740
|
+
type: 'okta';
|
|
1741
|
+
updated_at: string;
|
|
1742
|
+
}
|
|
1743
|
+
export interface TypesUpdateMicroserviceDto {
|
|
1744
|
+
domains?: TypesMicroserviceDomainDto[];
|
|
1745
|
+
is_active?: boolean;
|
|
1746
|
+
is_visible_on_admin_sidebar?: boolean;
|
|
1747
|
+
logo_url?: string;
|
|
1748
|
+
name: string;
|
|
1749
|
+
slug: string;
|
|
1750
|
+
updated_at: string;
|
|
1751
|
+
}
|
|
1752
|
+
export interface TypesUpdatePermissionDto {
|
|
1753
|
+
assignment_group?: 'regular' | 'superadmin' | 'b2b_only';
|
|
1754
|
+
metadata?: PgmodelsPermissionMetadata;
|
|
1755
|
+
microservice_id?: number;
|
|
1756
|
+
permission: string;
|
|
1757
|
+
updated_at: string;
|
|
1758
|
+
}
|
|
1759
|
+
export interface TypesUpdateRoleDto {
|
|
1760
|
+
name: string;
|
|
1761
|
+
permissions: number[];
|
|
1762
|
+
permissions_can_assign_role?: number[];
|
|
1763
|
+
type_id: number;
|
|
1764
|
+
updated_at: string;
|
|
1765
|
+
}
|
|
1766
|
+
export interface TypesUpdateRoleTypeDto {
|
|
1767
|
+
color: string;
|
|
1768
|
+
type: string;
|
|
1769
|
+
updated_at: string;
|
|
1770
|
+
}
|
|
1771
|
+
export interface TypesUpdateTagDto {
|
|
1772
|
+
name: string;
|
|
1773
|
+
updated_at: string;
|
|
1774
|
+
}
|
|
1775
|
+
export interface TypesUpdateWatchmenInstanceDto {
|
|
1776
|
+
name: string;
|
|
1777
|
+
slug: string;
|
|
1778
|
+
updated_at: string;
|
|
1779
|
+
url: string;
|
|
1780
|
+
}
|
|
1781
|
+
export interface TypesUpsertTablePresetDto {
|
|
1782
|
+
presets?: object;
|
|
1783
|
+
table_name: string;
|
|
1784
|
+
}
|
|
1785
|
+
export interface TypesUpsertUserDto {
|
|
1786
|
+
branches: number[];
|
|
1787
|
+
email: string;
|
|
1788
|
+
firms: number[];
|
|
1789
|
+
first_name?: string;
|
|
1790
|
+
initiator_id?: number;
|
|
1791
|
+
last_name?: string;
|
|
1792
|
+
permissions: number[];
|
|
1793
|
+
phone?: string;
|
|
1794
|
+
rep_code?: string;
|
|
1795
|
+
roles: number[];
|
|
1796
|
+
type: 'b2b' | 'b2c';
|
|
1797
|
+
}
|
|
1798
|
+
export interface TypesUpsertUsersDto {
|
|
1799
|
+
users: TypesUpsertUserDto[];
|
|
1800
|
+
}
|
|
1801
|
+
export interface TypesUserSerializer {
|
|
1802
|
+
allow_feedback: boolean;
|
|
1803
|
+
big_avatar_url: string;
|
|
1804
|
+
created_at: string;
|
|
1805
|
+
do_not_ask_mfa_again: boolean;
|
|
1806
|
+
email: string;
|
|
1807
|
+
email_verified: boolean;
|
|
1808
|
+
first_name: string;
|
|
1809
|
+
id: number;
|
|
1810
|
+
initiator_id: number;
|
|
1811
|
+
last_name: string;
|
|
1812
|
+
locale: TypesLocaleSerializer;
|
|
1813
|
+
locale_id: number;
|
|
1814
|
+
mfa_enabled: boolean;
|
|
1815
|
+
phone: string;
|
|
1816
|
+
phone_verified: boolean;
|
|
1817
|
+
rep_code: string;
|
|
1818
|
+
should_reset_password: boolean;
|
|
1819
|
+
small_avatar_url: string;
|
|
1820
|
+
updated_at: string;
|
|
1821
|
+
username: string;
|
|
1822
|
+
}
|
|
1823
|
+
export interface TypesVerificationSettingsSerializer {
|
|
1824
|
+
expires_in_minutes: number;
|
|
1825
|
+
}
|
|
1826
|
+
export interface TypesVerifyContactDto {
|
|
1827
|
+
code: string;
|
|
1828
|
+
code_type: 'email' | 'voice' | 'sms';
|
|
1829
|
+
contact: string;
|
|
1830
|
+
}
|
|
1831
|
+
export interface TypesVerifyWatchmenAuthTokenDto {
|
|
1832
|
+
tmp_token: string;
|
|
1833
|
+
}
|
|
1834
|
+
export interface TypesWatchmenAuthTokenDetailsSerializer {
|
|
1835
|
+
expires_at: number;
|
|
1836
|
+
is_valid: boolean;
|
|
1837
|
+
token_id: string;
|
|
1838
|
+
watchmen_instance_id: number;
|
|
1839
|
+
watchmen_user_id: number;
|
|
1840
|
+
}
|
|
1841
|
+
export interface TypesWatchmenInstanceSerializer {
|
|
1842
|
+
created_at: string;
|
|
1843
|
+
id: number;
|
|
1844
|
+
name: string;
|
|
1845
|
+
slug: string;
|
|
1846
|
+
updated_at: string;
|
|
1847
|
+
url: string;
|
|
1848
|
+
}
|
|
1849
|
+
export interface TypesWebAuthnAssertionResponse {
|
|
1850
|
+
authenticator_data?: string;
|
|
1851
|
+
client_data_json?: string;
|
|
1852
|
+
signature?: string;
|
|
1853
|
+
user_handle?: string;
|
|
1854
|
+
}
|
|
1855
|
+
export interface TypesWebAuthnAttestationResponse {
|
|
1856
|
+
attestation_object?: string;
|
|
1857
|
+
client_data_json?: string;
|
|
1858
|
+
}
|
|
1859
|
+
export interface TypesWebAuthnAuthenticatorSelection {
|
|
1860
|
+
authenticator_attachment?: string;
|
|
1861
|
+
require_resident_key?: boolean;
|
|
1862
|
+
resident_key?: string;
|
|
1863
|
+
user_verification?: string;
|
|
1864
|
+
}
|
|
1865
|
+
export interface TypesWebAuthnCredentialAssertionSerializer {
|
|
1866
|
+
public_key: TypesWebAuthnPublicKeyCredentialAssertionSerializer;
|
|
1867
|
+
}
|
|
1868
|
+
export interface TypesWebAuthnCredentialCreationSerializer {
|
|
1869
|
+
public_key: TypesWebAuthnPublicKeyCredentialCreationSerializer;
|
|
1870
|
+
}
|
|
1871
|
+
export interface TypesWebAuthnCredentialDescriptor {
|
|
1872
|
+
id?: string;
|
|
1873
|
+
transports?: string[];
|
|
1874
|
+
type?: string;
|
|
1875
|
+
}
|
|
1876
|
+
export interface TypesWebAuthnCredentialParameterSerializer {
|
|
1877
|
+
alg: number;
|
|
1878
|
+
type: string;
|
|
1879
|
+
}
|
|
1880
|
+
export interface TypesWebAuthnLoginSolutionDto {
|
|
1881
|
+
client_extension_results?: object;
|
|
1882
|
+
id?: string;
|
|
1883
|
+
raw_id?: string;
|
|
1884
|
+
response?: TypesWebAuthnAssertionResponse;
|
|
1885
|
+
type?: string;
|
|
1886
|
+
}
|
|
1887
|
+
export interface TypesWebAuthnPublicKeyCredentialAssertionSerializer {
|
|
1888
|
+
allow_credentials: TypesWebAuthnCredentialDescriptor[];
|
|
1889
|
+
challenge: string;
|
|
1890
|
+
extensions: object;
|
|
1891
|
+
rp_id: string;
|
|
1892
|
+
timeout: number;
|
|
1893
|
+
user_verification: string;
|
|
1894
|
+
}
|
|
1895
|
+
export interface TypesWebAuthnPublicKeyCredentialCreationSerializer {
|
|
1896
|
+
attestation: string;
|
|
1897
|
+
authenticator_selection: TypesWebAuthnAuthenticatorSelection;
|
|
1898
|
+
challenge: string;
|
|
1899
|
+
exclude_credentials: TypesWebAuthnCredentialDescriptor[];
|
|
1900
|
+
extensions: object;
|
|
1901
|
+
pub_key_cred_params: TypesWebAuthnCredentialParameterSerializer[];
|
|
1902
|
+
rp: TypesWebAuthnRelyingPartyEntitySerializer;
|
|
1903
|
+
timeout: number;
|
|
1904
|
+
user: TypesWebAuthnUserEntitySerializer;
|
|
1905
|
+
}
|
|
1906
|
+
export interface TypesWebAuthnRegistrationSolutionDto {
|
|
1907
|
+
client_extension_results?: object;
|
|
1908
|
+
id?: string;
|
|
1909
|
+
name: string;
|
|
1910
|
+
raw_id?: string;
|
|
1911
|
+
response?: TypesWebAuthnAttestationResponse;
|
|
1912
|
+
type?: string;
|
|
1913
|
+
}
|
|
1914
|
+
export interface TypesWebAuthnRelyingPartyEntitySerializer {
|
|
1915
|
+
icon: string;
|
|
1916
|
+
id: string;
|
|
1917
|
+
name: string;
|
|
1918
|
+
}
|
|
1919
|
+
export interface TypesWebAuthnUserEntitySerializer {
|
|
1920
|
+
display_name: string;
|
|
1921
|
+
icon: string;
|
|
1922
|
+
id: any;
|
|
1923
|
+
name: string;
|
|
1924
|
+
}
|
|
1925
|
+
export interface UserdetailsGetUserDetailsSerializer {
|
|
1926
|
+
b2b_user: TypesAdminUserSerializer;
|
|
1927
|
+
b2c_user: TypesAdminB2CUserSerializer;
|
|
1928
|
+
status: number;
|
|
1929
|
+
}
|
|
1930
|
+
export interface UserscommonGetUsersListSerializerTypesAdminB2BUserSerializer {
|
|
1931
|
+
current_page: number;
|
|
1932
|
+
pages_count: number;
|
|
1933
|
+
status: number;
|
|
1934
|
+
total_records: number;
|
|
1935
|
+
users_list: TypesAdminB2BUserSerializer[];
|
|
1936
|
+
}
|
|
1937
|
+
export interface UserscommonGetUsersListSerializerTypesAdminB2CUserSerializer {
|
|
1938
|
+
current_page: number;
|
|
1939
|
+
pages_count: number;
|
|
1940
|
+
status: number;
|
|
1941
|
+
total_records: number;
|
|
1942
|
+
users_list: TypesAdminB2CUserSerializer[];
|
|
1943
|
+
}
|
|
1944
|
+
export interface WatchmenauthTokenDetailsResponseSerializer {
|
|
1945
|
+
data: TypesWatchmenAuthTokenDetailsSerializer;
|
|
1946
|
+
status: number;
|
|
1947
|
+
}
|
|
1948
|
+
export interface WatchmenauthTokenGenerationResponseSerializer {
|
|
1949
|
+
data: TypesGeneratedWatchmenTokenInfoSerializer;
|
|
1950
|
+
status: number;
|
|
1951
|
+
}
|
|
1952
|
+
export interface WatchmeninstancesGetWatchmenInstancesListSerializer {
|
|
1953
|
+
current_page: number;
|
|
1954
|
+
pages_count: number;
|
|
1955
|
+
status: number;
|
|
1956
|
+
total_records: number;
|
|
1957
|
+
watchmen_instances_list: TypesWatchmenInstanceSerializer[];
|
|
1958
|
+
}
|
|
1959
|
+
export interface WatchmeninstancesWatchmenInstanceMutationSerializer {
|
|
1960
|
+
status: number;
|
|
1961
|
+
watchmen_instance: TypesWatchmenInstanceSerializer;
|
|
1962
|
+
}
|
|
1963
|
+
export class ActionLogs<HandleError extends boolean = boolean> {
|
|
1964
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
1965
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
1966
|
+
getActionLogs(getActionLogsDto: TypesGetActionLogsListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ActionlogsGetActionLogsSerializer, HandleError>>;
|
|
1967
|
+
}
|
|
1968
|
+
export class ApiKeys<HandleError extends boolean = boolean> {
|
|
1969
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
1970
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
1971
|
+
deleteMany(deleteAPIKeys: TypesDeleteAPIKeysDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
1972
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ApikeysAPIKeysMutationSerializer, HandleError>>;
|
|
1973
|
+
create(createApiKeys: TypesCreateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ApikeysAPIKeysMutationSerializer, HandleError>>;
|
|
1974
|
+
get(apiKeys: TypesGetAPIKeysListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ApikeysGetAPIKeysSerializer, HandleError>>;
|
|
1975
|
+
update(id: number, apiKeys: TypesUpdateAPIKeysDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<ApikeysAPIKeysMutationSerializer, HandleError>>;
|
|
1976
|
+
}
|
|
1977
|
+
export class AuthApps<HandleError extends boolean = boolean> {
|
|
1978
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
1979
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
1980
|
+
get(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<AuthappsGetAuthAppsListSerializer, HandleError>>;
|
|
1981
|
+
deleteMany(deleteAuthAppsDto: TypesDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
1982
|
+
getRegistrationQr(getTotpQRDto: TypesGetTotpQRDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<File, HandleError>>;
|
|
1983
|
+
finishRegistration(finishTOTPRegistrationDto: TypesFinishTOTPRegistrationDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<AuthappsFinishTOTPRegistrationResponseSerializer, HandleError>>;
|
|
1984
|
+
getLoginChallenge(getWebAuthnLoginChallengeDto: TypesGetWebAuthnLoginChallengeDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TypesWebAuthnCredentialAssertionSerializer, HandleError>>;
|
|
1985
|
+
getRegisterChallenge(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TypesWebAuthnCredentialCreationSerializer, HandleError>>;
|
|
1986
|
+
finishCredentialRegistration(webAuthnRegistrationSolutionDto: TypesWebAuthnRegistrationSolutionDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
1987
|
+
register(yubicoOTPDto: TypesCreateYubicoOTPDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
1988
|
+
update(id: number, updateAuthAppDto: TypesUpdateAuthAppDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<AuthappsAuthAppResponseSerializer, HandleError>>;
|
|
1989
|
+
}
|
|
1990
|
+
export class AuthForms<HandleError extends boolean = boolean> {
|
|
1991
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
1992
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
1993
|
+
create(authFormDto: TypesAuthFormDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<AuthformsAuthFormMutationSerializer, HandleError>>;
|
|
1994
|
+
deleteMany(deleteAuthFormsDto: TypesDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
1995
|
+
get(getAuthFormListDto: TypesGetAuthFormsListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<AuthformsGetAuthFormsListSerializer, HandleError>>;
|
|
1996
|
+
getBySlug(slug: string, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<AuthformsAuthFormMutationSerializer, HandleError>>;
|
|
1997
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<AuthformsAuthFormMutationSerializer, HandleError>>;
|
|
1998
|
+
update(id: number, authFormDto: TypesAuthFormDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<AuthformsAuthFormMutationSerializer, HandleError>>;
|
|
1999
|
+
}
|
|
2000
|
+
export class B2BAuth<HandleError extends boolean = boolean> {
|
|
2001
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2002
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2003
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BauthGetCurrentB2BUserSerializer, HandleError>>;
|
|
2004
|
+
apiKeysLogin(apiKeysLoginParams: TypesAPIKeysB2BLoginDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BauthSimpleB2BLoginSerializer, HandleError>>;
|
|
2005
|
+
basicLogin(basicLoginParams: TypesBasicB2BLoginDto, headers?: {
|
|
2006
|
+
'Debug-Token'?: string;
|
|
2007
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BauthBasicB2BLoginSerializer, HandleError>>;
|
|
2008
|
+
logout(B2BLogoutParams: TypesLogoutDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2009
|
+
refreshTokens(B2BRefreshParams: TypesRefreshDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BauthBasicB2BLoginSerializer, HandleError>>;
|
|
2010
|
+
resetPassword(B2BResetPasswordParams: TypesB2BResetPasswordDto, headers?: {
|
|
2011
|
+
'Debug-Token'?: string;
|
|
2012
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BauthSimpleB2BLoginSerializer, HandleError>>;
|
|
2013
|
+
sendMfaCode(SendB2BMfaCodeDto: TypesSendB2BMfaCodeDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2014
|
+
sendResetPasswordCode(B2BSendResetPasswordCodeParams: TypesSendResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2015
|
+
}
|
|
2016
|
+
export class B2BUsers<HandleError extends boolean = boolean> {
|
|
2017
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2018
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2019
|
+
deleteMany(deleteB2BUsers: TypesDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2020
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BusersB2BUserSerializer, HandleError>>;
|
|
2021
|
+
create(createB2BUser: TypesCreateB2BUserDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BusersB2BUserSerializer, HandleError>>;
|
|
2022
|
+
get(getB2BUsers: TypesGetB2BUsersListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<UserscommonGetUsersListSerializerTypesAdminB2BUserSerializer, HandleError>>;
|
|
2023
|
+
update(id: number, createB2BUserNew: TypesUpdateB2BUserDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BusersB2BUserSerializer, HandleError>>;
|
|
2024
|
+
}
|
|
2025
|
+
export class B2BUserSettings<HandleError extends boolean = boolean> {
|
|
2026
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2027
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2028
|
+
setUserSettings(setB2BUserSettings: TypesSetB2BUserSettingsDto, headers?: {
|
|
2029
|
+
'Debug-Token'?: string;
|
|
2030
|
+
BRANCH?: string;
|
|
2031
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BusersettingsB2BUserSettingsChangeSerializer, HandleError>>;
|
|
2032
|
+
uploadAvatar(data: {
|
|
2033
|
+
avatar?: File;
|
|
2034
|
+
delete_avatar?: boolean;
|
|
2035
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2BusersettingsB2BUploadAvatarResponseSerializer, HandleError>>;
|
|
2036
|
+
sendContactChangeCode(b2bSendContactChangeCodeDto: TypesB2BSendContactChangeCodeDto, headers?: {
|
|
2037
|
+
BRANCH?: string;
|
|
2038
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2039
|
+
}
|
|
2040
|
+
export class B2CAuth<HandleError extends boolean = boolean> {
|
|
2041
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2042
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2043
|
+
getCurrent(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CauthGetCurrentB2CUserSerializer, HandleError>>;
|
|
2044
|
+
initAppleLogin(initOAuthLoginDto: TypesInitOAuthLoginDto, headers?: {
|
|
2045
|
+
BRANCH?: string;
|
|
2046
|
+
FIRM?: string;
|
|
2047
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TypesB2CInitOAuthResponse, HandleError>>;
|
|
2048
|
+
finishAppleLogin(finishOAuthLoginDto: TypesFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CauthB2CLoginResultSerializer, HandleError>>;
|
|
2049
|
+
basicLogin(basicLoginParams: TypesBasicB2CLoginDto, headers?: {
|
|
2050
|
+
BRANCH?: string;
|
|
2051
|
+
FIRM?: string;
|
|
2052
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CauthB2CLoginResultSerializer, HandleError>>;
|
|
2053
|
+
initGoogleLogin(initOAuthLoginDto: TypesInitOAuthLoginDto, headers?: {
|
|
2054
|
+
BRANCH?: string;
|
|
2055
|
+
FIRM?: string;
|
|
2056
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TypesB2CInitOAuthResponse, HandleError>>;
|
|
2057
|
+
finishGoogleLogin(finishOAuthLoginDto: TypesFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CauthB2CLoginResultSerializer, HandleError>>;
|
|
2058
|
+
logout(B2CLogoutParams: TypesLogoutDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2059
|
+
refreshTokens(b2cRefreshDto: TypesB2CRefreshDto, headers?: {
|
|
2060
|
+
Cookie?: string;
|
|
2061
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CauthRefreshResultSerializer, HandleError>>;
|
|
2062
|
+
register(registrationParams: TypesRegisterDto, headers?: {
|
|
2063
|
+
BRANCH?: string;
|
|
2064
|
+
FIRM?: string;
|
|
2065
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CauthRegisterSerializer, HandleError>>;
|
|
2066
|
+
resetPassword(B2CResetPasswordParams: TypesB2CResetPasswordDto, headers?: {
|
|
2067
|
+
'Debug-Token'?: string;
|
|
2068
|
+
BRANCH?: string;
|
|
2069
|
+
FIRM?: string;
|
|
2070
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2071
|
+
sendMfaCode(SendB2CMfaCodeDto: TypesSendB2CMfaCodeDto, headers?: {
|
|
2072
|
+
BRANCH?: string;
|
|
2073
|
+
FIRM?: string;
|
|
2074
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2075
|
+
sendResetPasswordCode(B2CSendResetPasswordCodeParams: TypesSendB2CResetPasswordCodeDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2076
|
+
sendVerificationCode(B2CSendVerificationCodeDto: TypesB2CSendVerificationCodeDto, headers?: {
|
|
2077
|
+
BRANCH?: string;
|
|
2078
|
+
FIRM?: string;
|
|
2079
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2080
|
+
verifyContact(VerifyContactDto: TypesVerifyContactDto, headers?: {
|
|
2081
|
+
BRANCH?: string;
|
|
2082
|
+
FIRM?: string;
|
|
2083
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2084
|
+
}
|
|
2085
|
+
export class B2CUsers<HandleError extends boolean = boolean> {
|
|
2086
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2087
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2088
|
+
create(createB2CUser: TypesCreateB2CUserDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CusersB2CUserSerializer, HandleError>>;
|
|
2089
|
+
deleteMany(deleteB2CUsers: TypesDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2090
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CusersB2CUserSerializer, HandleError>>;
|
|
2091
|
+
update(id: number, createB2BUser: TypesUpdateB2CUserDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CusersB2CUserSerializer, HandleError>>;
|
|
2092
|
+
get(getB2CUsers: TypesGetB2CUsersListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<UserscommonGetUsersListSerializerTypesAdminB2CUserSerializer, HandleError>>;
|
|
2093
|
+
}
|
|
2094
|
+
export class B2CUserSettings<HandleError extends boolean = boolean> {
|
|
2095
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2096
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2097
|
+
setUserSettings(setB2CUserSettings: TypesSetB2CUserSettingsDto, headers?: {
|
|
2098
|
+
BRANCH?: string;
|
|
2099
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CusersettingsB2CUserSettingsChangeSerializer, HandleError>>;
|
|
2100
|
+
sendContactChangeCode(b2cSendContactChangeCodeDto: TypesB2CSendContactChangeCodeDto, headers?: {
|
|
2101
|
+
BRANCH?: string;
|
|
2102
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2103
|
+
availableMfaOptions(headers?: {
|
|
2104
|
+
BRANCH?: string;
|
|
2105
|
+
}, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<B2CusersettingsAvailableB2CMfaOptionsResponse, HandleError>>;
|
|
2106
|
+
deleteManyOAuthBindings(deleteByIDsDto: TypesDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2107
|
+
finishAppleProfileLinking(finishOAuthLoginDto: TypesFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2108
|
+
initAppleProfileLinking(initOAuthLinkingDto: TypesInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TypesB2CInitOAuthResponse, HandleError>>;
|
|
2109
|
+
finishGoogleProfileLinking(finishOAuthLoginDto: TypesFinishOAuthLoginDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2110
|
+
initGoogleProfileLinking(initOAuthLinkingDto: TypesInitOAuthLinkingDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TypesB2CInitOAuthResponse, HandleError>>;
|
|
2111
|
+
getOAuthBindings(getOAuth2BindingsListDto: TypesGetOAuth2BindingsListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TypesAuthProviderUserBindingsResponse, HandleError>>;
|
|
2112
|
+
}
|
|
2113
|
+
export class Branches<HandleError extends boolean = boolean> {
|
|
2114
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2115
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2116
|
+
create(createBranch: TypesCreateBranchDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<BranchesBranchMutationSerializer, HandleError>>;
|
|
2117
|
+
deleteMany(deleteBranches: TypesDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2118
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<BranchesBranchMutationSerializer, HandleError>>;
|
|
2119
|
+
update(id: number, updateBranch: TypesUpdateBranchDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<BranchesBranchMutationSerializer, HandleError>>;
|
|
2120
|
+
get(getBranches: TypesGetBranchesListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<BranchesGetBranchesListSerializer, HandleError>>;
|
|
2121
|
+
}
|
|
2122
|
+
export class Countries<HandleError extends boolean = boolean> {
|
|
2123
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2124
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2125
|
+
get(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<CountriesGetCountriesSerializer, HandleError>>;
|
|
2126
|
+
}
|
|
2127
|
+
export class Endpoints<HandleError extends boolean = boolean> {
|
|
2128
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2129
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2130
|
+
create(endpointDto: TypesCreateEndpointDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<EndpointsEndpointMutationSerializer, HandleError>>;
|
|
2131
|
+
deleteMany(deleteEndpointsDto: TypesDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2132
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<EndpointsEndpointMutationSerializer, HandleError>>;
|
|
2133
|
+
update(id: number, endpointDto: TypesUpdateEndpointDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<EndpointsEndpointMutationSerializer, HandleError>>;
|
|
2134
|
+
get(endpointDto: TypesGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<EndpointsGetEndpointsListSerializer, HandleError>>;
|
|
2135
|
+
}
|
|
2136
|
+
export class Firms<HandleError extends boolean = boolean> {
|
|
2137
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2138
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2139
|
+
create(createFirm: TypesCreateFirmDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<FirmsFirmMutationSerializer, HandleError>>;
|
|
2140
|
+
deleteMany(deleteFirms: TypesDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2141
|
+
getById(id: string, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<FirmsFirmMutationSerializer, HandleError>>;
|
|
2142
|
+
update(id: number, updateFirm: TypesUpdateFirmDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<FirmsFirmMutationSerializer, HandleError>>;
|
|
2143
|
+
get(getFirms: TypesGetFirmsListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<FirmsGetFirmsListSerializer, HandleError>>;
|
|
2144
|
+
}
|
|
2145
|
+
export class IdentityProviders<HandleError extends boolean = boolean> {
|
|
2146
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2147
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2148
|
+
create(createIdentityProviderDto: TypesCreateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<IdentityprovidersIdentityProviderResponseSerializer, HandleError>>;
|
|
2149
|
+
deleteMany(deleteIdentityProvidersDto: TypesDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2150
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<IdentityprovidersIdentityProviderResponseSerializer, HandleError>>;
|
|
2151
|
+
update(id: number, identityProvidersDto: TypesUpdateIdentityProviderDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<IdentityprovidersIdentityProviderResponseSerializer, HandleError>>;
|
|
2152
|
+
get(identityProvidersDto: TypesGetIdentityProvidersListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<IdentityprovidersGetIdentityProvidersListSerializer, HandleError>>;
|
|
2153
|
+
}
|
|
2154
|
+
export class Locales<HandleError extends boolean = boolean> {
|
|
2155
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2156
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2157
|
+
get(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<LocalesLocaleSerializer[], HandleError>>;
|
|
2158
|
+
}
|
|
2159
|
+
export class Microservices<HandleError extends boolean = boolean> {
|
|
2160
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2161
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2162
|
+
create(microserviceDto: TypesCreateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<MicroservicesMicroserviceMutationSerializer, HandleError>>;
|
|
2163
|
+
deleteMany(deleteMicroservices: TypesDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2164
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<MicroservicesMicroserviceMutationSerializer, HandleError>>;
|
|
2165
|
+
update(id: number, microserviceDto: TypesUpdateMicroserviceDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<MicroservicesMicroserviceMutationSerializer, HandleError>>;
|
|
2166
|
+
get(microserviceDto: TypesGetMicroservicesListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<MicroservicesGetMicroservicesListSerializer, HandleError>>;
|
|
2167
|
+
}
|
|
2168
|
+
export class MigrationUtils<HandleError extends boolean = boolean> {
|
|
2169
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2170
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2171
|
+
usersUpsertCreate(upsertUsers: TypesUpsertUsersDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<MigrationutilsUpsertUsersSerializer, HandleError>>;
|
|
2172
|
+
}
|
|
2173
|
+
export class Permissions<HandleError extends boolean = boolean> {
|
|
2174
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2175
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2176
|
+
create(createPermission: TypesCreatePermissionDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<PermissionsPermissionMutationSerializer, HandleError>>;
|
|
2177
|
+
deleteMany(deletePermissions: TypesDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2178
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<PermissionsPermissionMutationSerializer, HandleError>>;
|
|
2179
|
+
update(id: number, updatePermission: TypesUpdatePermissionDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<PermissionsPermissionMutationSerializer, HandleError>>;
|
|
2180
|
+
get(getPermissions: TypesGetPermissionsListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<PermissionsGetPermissionsListSerializer, HandleError>>;
|
|
2181
|
+
}
|
|
2182
|
+
export class PublicSettings<HandleError extends boolean = boolean> {
|
|
2183
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2184
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2185
|
+
get(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<PublicsettingsPublicSettingsResponseSerializer, HandleError>>;
|
|
2186
|
+
}
|
|
2187
|
+
export class Roles<HandleError extends boolean = boolean> {
|
|
2188
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2189
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2190
|
+
create(createRole: TypesCreateRoleDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<RolesRoleMutationSerializer, HandleError>>;
|
|
2191
|
+
deleteMany(deleteRoles: TypesDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2192
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<RolesRoleMutationSerializer, HandleError>>;
|
|
2193
|
+
update(id: number, updateRole: TypesUpdateRoleDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<RolesRoleMutationSerializer, HandleError>>;
|
|
2194
|
+
get(getRoles: TypesGetRolesListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<RolesGetRolesListSerializer, HandleError>>;
|
|
2195
|
+
}
|
|
2196
|
+
export class RoleTypes<HandleError extends boolean = boolean> {
|
|
2197
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2198
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2199
|
+
create(createRoleType: TypesCreateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<RoletypesRoleTypeResponseSerializer, HandleError>>;
|
|
2200
|
+
deleteMany(deleteRoleTypes: TypesDeleteByIDsDtoInt, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2201
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<RoletypesRoleTypeResponseSerializer, HandleError>>;
|
|
2202
|
+
update(id: number, updateRoleType: TypesUpdateRoleTypeDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<RoletypesRoleTypeResponseSerializer, HandleError>>;
|
|
2203
|
+
get(getRoleTypes: TypesGetRoleTypesListDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<RoletypesGetRoleTypesListSerializer, HandleError>>;
|
|
2204
|
+
}
|
|
2205
|
+
export class SecretNotes<HandleError extends boolean = boolean> {
|
|
2206
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2207
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2208
|
+
create(createSecretNote: TypesCreateSecretNoteDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<SecretnotesSecretNoteCreationSuccessSerializer, HandleError>>;
|
|
2209
|
+
getOne(getSecretNote: TypesGetSecretNoteDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<SecretnotesSingleSecretNoteSerializer, HandleError>>;
|
|
2210
|
+
sendVerificationCode(sendVerificationCodeForSecretNote: TypesSendVerificationCodeForSecretNoteDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2211
|
+
}
|
|
2212
|
+
export class Sessions<HandleError extends boolean = boolean> {
|
|
2213
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2214
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2215
|
+
getCurrentUserSessions(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<SessionsGetSessionsListSerializer, HandleError>>;
|
|
2216
|
+
deleteCurrentUserSessions(deleteSessions: TypesDeleteSessionsDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2217
|
+
}
|
|
2218
|
+
export class TablePresets<HandleError extends boolean = boolean> {
|
|
2219
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2220
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2221
|
+
getUserPresets(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TablepresetsTablePresetsListResponseSerializer, HandleError>>;
|
|
2222
|
+
upsert(upsertTablePreset: TypesUpsertTablePresetDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TablepresetsTablePresetResponseSerializer, HandleError>>;
|
|
2223
|
+
}
|
|
2224
|
+
export class Tags<HandleError extends boolean = boolean> {
|
|
2225
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2226
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2227
|
+
create(createTagDto: TypesCreateTagDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TagsTagMutationSerializer, HandleError>>;
|
|
2228
|
+
deleteMany(deleteByIDsDto: TypesDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2229
|
+
get(getTagsDto: TypesGetTagsDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TagsGetTagsListSerializer, HandleError>>;
|
|
2230
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TagsTagMutationSerializer, HandleError>>;
|
|
2231
|
+
update(id: number, updateTagDto: TypesUpdateTagDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<TagsTagMutationSerializer, HandleError>>;
|
|
2232
|
+
}
|
|
2233
|
+
export class UserDetails<HandleError extends boolean = boolean> {
|
|
2234
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2235
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2236
|
+
getUserDetails(getUserDetailsDto: TypesGetUserDetailsDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<UserdetailsGetUserDetailsSerializer, HandleError>>;
|
|
2237
|
+
revokeSessions(revokeUserSessionsDto: TypesRevokeUserSessionsDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2238
|
+
}
|
|
2239
|
+
export class UsersCommon<HandleError extends boolean = boolean> {
|
|
2240
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2241
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2242
|
+
linkWatchmenUsersToUma(linkWatchmenUserToUmaDto: TypesLinkWatchmenUserToUmaDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2243
|
+
}
|
|
2244
|
+
export class WatchmenAuth<HandleError extends boolean = boolean> {
|
|
2245
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2246
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2247
|
+
generateWatchmenAuthToken(config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchmenauthTokenGenerationResponseSerializer, HandleError>>;
|
|
2248
|
+
verifyWatchmenAuthToken(verifyWatchmenAuthToken: TypesVerifyWatchmenAuthTokenDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchmenauthTokenDetailsResponseSerializer, HandleError>>;
|
|
2249
|
+
}
|
|
2250
|
+
export class WatchmenInstances<HandleError extends boolean = boolean> {
|
|
2251
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
2252
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
2253
|
+
create(createWatchmenInstance: TypesCreateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchmeninstancesWatchmenInstanceMutationSerializer, HandleError>>;
|
|
2254
|
+
deleteMany(deleteWatchmenInstances: TypesDeleteByIDsDtoInt64, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<void, HandleError>>;
|
|
2255
|
+
getMany(getWatchmenInstances: TypesGetWatchmenInstancesDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchmeninstancesGetWatchmenInstancesListSerializer, HandleError>>;
|
|
2256
|
+
getById(id: number, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchmeninstancesWatchmenInstanceMutationSerializer, HandleError>>;
|
|
2257
|
+
update(id: number, updateWatchmenInstance: TypesUpdateWatchmenInstanceDto, config?: RequestConfig<HandleError>): Promise<import("BaseClient").ClientResponse<WatchmeninstancesWatchmenInstanceMutationSerializer, HandleError>>;
|
|
2258
|
+
}
|
|
2259
|
+
declare class _B2BAuth1<HandleError extends boolean = boolean> extends B2BAuth<HandleError> {
|
|
2260
|
+
basicLogin(basicLoginParams: TypesBasicB2BLoginDto, headers?: {
|
|
2261
|
+
'Debug-Token'?: string;
|
|
2262
|
+
}, config?: RequestConfig<HandleError> | undefined): Promise<ClientResponse<B2BauthBasicB2BLoginSerializer, HandleError>>;
|
|
2263
|
+
}
|
|
2264
|
+
declare class _B2CAuth1<HandleError extends boolean = boolean> extends B2CAuth<HandleError> {
|
|
2265
|
+
basicLogin(basicLoginParams: TypesBasicB2CLoginDto, headers?: {
|
|
2266
|
+
BRANCH?: string;
|
|
2267
|
+
FIRM?: string;
|
|
2268
|
+
}, config?: RequestConfig<HandleError> | undefined): Promise<ClientResponse<B2CauthB2CLoginResultSerializer, HandleError>>;
|
|
2269
|
+
}
|
|
2270
|
+
export interface UmaClientConfig<HandleError extends boolean = boolean> extends JwtClientConfig<HandleError> {
|
|
2271
|
+
firmId: string;
|
|
2272
|
+
authFormSlug: string;
|
|
2273
|
+
}
|
|
2274
|
+
export class UmaApi<HandleError extends boolean = boolean> extends BaseApi<HandleError, JwtClient<HandleError>> {
|
|
2275
|
+
actionLog: ActionLogs<HandleError>;
|
|
2276
|
+
apiKeys: ApiKeys<HandleError>;
|
|
2277
|
+
authApps: AuthApps<HandleError>;
|
|
2278
|
+
authForms: AuthForms<HandleError>;
|
|
2279
|
+
b2bAuth: _B2BAuth1<HandleError>;
|
|
2280
|
+
b2bUsers: B2BUsers<HandleError>;
|
|
2281
|
+
b2bUserSettings: B2BUserSettings<HandleError>;
|
|
2282
|
+
b2cAuth: _B2CAuth1<HandleError>;
|
|
2283
|
+
b2cUsers: B2CUsers<HandleError>;
|
|
2284
|
+
b2cUserSettings: B2CUserSettings<HandleError>;
|
|
2285
|
+
branches: Branches<HandleError>;
|
|
2286
|
+
countries: Countries<HandleError>;
|
|
2287
|
+
endpoints: Endpoints<HandleError>;
|
|
2288
|
+
fims: Firms<HandleError>;
|
|
2289
|
+
identityProviders: IdentityProviders<HandleError>;
|
|
2290
|
+
locales: Locales<HandleError>;
|
|
2291
|
+
microservices: Microservices<HandleError>;
|
|
2292
|
+
migrationUtils: MigrationUtils<HandleError>;
|
|
2293
|
+
permissions: Permissions<HandleError>;
|
|
2294
|
+
publicSettings: PublicSettings<HandleError>;
|
|
2295
|
+
roles: Roles<HandleError>;
|
|
2296
|
+
roleTypes: RoleTypes<HandleError>;
|
|
2297
|
+
secretNotes: SecretNotes<HandleError>;
|
|
2298
|
+
sessions: Sessions<HandleError>;
|
|
2299
|
+
tablePresets: TablePresets<HandleError>;
|
|
2300
|
+
tags: Tags<HandleError>;
|
|
2301
|
+
userDetails: UserDetails<HandleError>;
|
|
2302
|
+
usersCommon: UsersCommon<HandleError>;
|
|
2303
|
+
watchmenAuth: WatchmenAuth<HandleError>;
|
|
2304
|
+
watchmenInstances: WatchmenInstances<HandleError>;
|
|
2305
|
+
constructor(config: UmaClientConfig<HandleError>);
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
//# sourceMappingURL=index.d.ts.map
|