@lumeweb/portal-sdk 0.0.2 → 0.1.1
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/LICENSE +1 -1
- package/dist/esm/account/generated/accountAPI.schemas.d.ts +646 -0
- package/dist/esm/account/generated/accountAPI.schemas.js +0 -0
- package/dist/esm/account/generated/billing.d.ts +688 -0
- package/dist/esm/account/generated/billing.js +444 -0
- package/dist/esm/account/generated/billing.js.map +1 -0
- package/dist/esm/account/generated/default.d.ts +944 -0
- package/dist/esm/account/generated/default.js +760 -0
- package/dist/esm/account/generated/default.js.map +1 -0
- package/dist/esm/account/generated/index.d.ts +3 -0
- package/dist/esm/account/generated/index.js +3 -0
- package/dist/esm/account/generated/quota.d.ts +35 -0
- package/dist/esm/account/generated/quota.js +28 -0
- package/dist/esm/account/generated/quota.js.map +1 -0
- package/dist/esm/account.d.ts +199 -0
- package/dist/esm/account.js +346 -0
- package/dist/esm/account.js.map +1 -0
- package/dist/esm/http-utils.d.ts +53 -0
- package/dist/esm/http-utils.js +83 -0
- package/dist/esm/http-utils.js.map +1 -0
- package/dist/esm/index.d.ts +10 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/openapi.d.ts +3 -0
- package/dist/esm/openapi.js +3 -0
- package/dist/esm/query-utils.d.ts +64 -0
- package/dist/esm/query-utils.js +44 -0
- package/dist/esm/query-utils.js.map +1 -0
- package/dist/esm/sdk.d.ts +12 -0
- package/dist/esm/sdk.js +20 -0
- package/dist/esm/sdk.js.map +1 -0
- package/dist/esm/types.d.ts +58 -0
- package/dist/esm/types.js +109 -0
- package/dist/esm/types.js.map +1 -0
- package/package.json +37 -14
|
@@ -0,0 +1,944 @@
|
|
|
1
|
+
import { APIKeyCreateRequest, APIKeyListResponse, AccountInfoResponse, AccountPermissionsResponse, CreateAPIKeyResponse, Error, ErrorResponse, GetApiAccountKeysParams, GetApiAccountQuotaHistoryParams, GetApiOperationsParams, LoginRequest, LoginResponse, OTPDisableRequest, OTPGenerateResponse, OTPValidateRequest, OTPVerifyRequest, OperationDetailResponse, OperationFiltersResponseResponse, OperationListItemResponse, PasswordResetRequest, PasswordResetVerifyRequest, PongResponse, PostApiAccountAvatarBody, PostApiAccountVerifyEmailParams, QuotaHistoryResponse, RegisterRequest, ResendVerifyEmailRequest, StringUUIDSchema, UpdateEmailRequest, UpdatePasswordRequest, UpdateProfileRequest, UploadLimitResponse, VerifyEmailRequest } from "./accountAPI.schemas.js";
|
|
2
|
+
|
|
3
|
+
//#region src/account/generated/default.d.ts
|
|
4
|
+
type deleteApiAccountResponse200 = {
|
|
5
|
+
data: void;
|
|
6
|
+
status: 200;
|
|
7
|
+
};
|
|
8
|
+
type deleteApiAccountResponse400 = {
|
|
9
|
+
data: ErrorResponse;
|
|
10
|
+
status: 400;
|
|
11
|
+
};
|
|
12
|
+
type deleteApiAccountResponse404 = {
|
|
13
|
+
data: ErrorResponse;
|
|
14
|
+
status: 404;
|
|
15
|
+
};
|
|
16
|
+
type deleteApiAccountResponse500 = {
|
|
17
|
+
data: ErrorResponse;
|
|
18
|
+
status: 500;
|
|
19
|
+
};
|
|
20
|
+
type deleteApiAccountResponseSuccess = (deleteApiAccountResponse200) & {
|
|
21
|
+
headers: Headers;
|
|
22
|
+
};
|
|
23
|
+
type deleteApiAccountResponseError = (deleteApiAccountResponse400 | deleteApiAccountResponse404 | deleteApiAccountResponse500) & {
|
|
24
|
+
headers: Headers;
|
|
25
|
+
};
|
|
26
|
+
type deleteApiAccountResponse = (deleteApiAccountResponseSuccess | deleteApiAccountResponseError);
|
|
27
|
+
declare const getDeleteApiAccountUrl: () => string;
|
|
28
|
+
/**
|
|
29
|
+
* Initiates the process to delete the authenticated user's account.
|
|
30
|
+
* @summary Request account deletion
|
|
31
|
+
*/
|
|
32
|
+
declare const deleteApiAccount: (options?: RequestInit) => Promise<deleteApiAccountResponse>;
|
|
33
|
+
type getApiAccountResponse200 = {
|
|
34
|
+
data: AccountInfoResponse;
|
|
35
|
+
status: 200;
|
|
36
|
+
};
|
|
37
|
+
type getApiAccountResponse400 = {
|
|
38
|
+
data: ErrorResponse;
|
|
39
|
+
status: 400;
|
|
40
|
+
};
|
|
41
|
+
type getApiAccountResponse401 = {
|
|
42
|
+
data: ErrorResponse;
|
|
43
|
+
status: 401;
|
|
44
|
+
};
|
|
45
|
+
type getApiAccountResponse403 = {
|
|
46
|
+
data: ErrorResponse;
|
|
47
|
+
status: 403;
|
|
48
|
+
};
|
|
49
|
+
type getApiAccountResponse404 = {
|
|
50
|
+
data: ErrorResponse;
|
|
51
|
+
status: 404;
|
|
52
|
+
};
|
|
53
|
+
type getApiAccountResponse500 = {
|
|
54
|
+
data: ErrorResponse;
|
|
55
|
+
status: 500;
|
|
56
|
+
};
|
|
57
|
+
type getApiAccountResponseSuccess = (getApiAccountResponse200) & {
|
|
58
|
+
headers: Headers;
|
|
59
|
+
};
|
|
60
|
+
type getApiAccountResponseError = (getApiAccountResponse400 | getApiAccountResponse401 | getApiAccountResponse403 | getApiAccountResponse404 | getApiAccountResponse500) & {
|
|
61
|
+
headers: Headers;
|
|
62
|
+
};
|
|
63
|
+
type getApiAccountResponse = (getApiAccountResponseSuccess | getApiAccountResponseError);
|
|
64
|
+
declare const getGetApiAccountUrl: () => string;
|
|
65
|
+
/**
|
|
66
|
+
* Retrieves information about the authenticated user's account.
|
|
67
|
+
* @summary Get account information
|
|
68
|
+
*/
|
|
69
|
+
declare const getApiAccount: (options?: RequestInit) => Promise<getApiAccountResponse>;
|
|
70
|
+
type patchApiAccountResponse200 = {
|
|
71
|
+
data: void;
|
|
72
|
+
status: 200;
|
|
73
|
+
};
|
|
74
|
+
type patchApiAccountResponse400 = {
|
|
75
|
+
data: ErrorResponse;
|
|
76
|
+
status: 400;
|
|
77
|
+
};
|
|
78
|
+
type patchApiAccountResponse401 = {
|
|
79
|
+
data: Error;
|
|
80
|
+
status: 401;
|
|
81
|
+
};
|
|
82
|
+
type patchApiAccountResponse403 = {
|
|
83
|
+
data: ErrorResponse;
|
|
84
|
+
status: 403;
|
|
85
|
+
};
|
|
86
|
+
type patchApiAccountResponse404 = {
|
|
87
|
+
data: Error;
|
|
88
|
+
status: 404;
|
|
89
|
+
};
|
|
90
|
+
type patchApiAccountResponse500 = {
|
|
91
|
+
data: Error;
|
|
92
|
+
status: 500;
|
|
93
|
+
};
|
|
94
|
+
type patchApiAccountResponseSuccess = (patchApiAccountResponse200) & {
|
|
95
|
+
headers: Headers;
|
|
96
|
+
};
|
|
97
|
+
type patchApiAccountResponseError = (patchApiAccountResponse400 | patchApiAccountResponse401 | patchApiAccountResponse403 | patchApiAccountResponse404 | patchApiAccountResponse500) & {
|
|
98
|
+
headers: Headers;
|
|
99
|
+
};
|
|
100
|
+
type patchApiAccountResponse = (patchApiAccountResponseSuccess | patchApiAccountResponseError);
|
|
101
|
+
declare const getPatchApiAccountUrl: () => string;
|
|
102
|
+
/**
|
|
103
|
+
* Updates the authenticated user's profile information. Email cannot be updated through this endpoint.
|
|
104
|
+
* @summary Update profile information
|
|
105
|
+
*/
|
|
106
|
+
declare const patchApiAccount: (updateProfileRequest: UpdateProfileRequest, options?: RequestInit) => Promise<patchApiAccountResponse>;
|
|
107
|
+
type getApiAccountAvatarResponse200 = {
|
|
108
|
+
data: void;
|
|
109
|
+
status: 200;
|
|
110
|
+
};
|
|
111
|
+
type getApiAccountAvatarResponse400 = {
|
|
112
|
+
data: ErrorResponse;
|
|
113
|
+
status: 400;
|
|
114
|
+
};
|
|
115
|
+
type getApiAccountAvatarResponse404 = {
|
|
116
|
+
data: ErrorResponse;
|
|
117
|
+
status: 404;
|
|
118
|
+
};
|
|
119
|
+
type getApiAccountAvatarResponse500 = {
|
|
120
|
+
data: ErrorResponse;
|
|
121
|
+
status: 500;
|
|
122
|
+
};
|
|
123
|
+
type getApiAccountAvatarResponseSuccess = (getApiAccountAvatarResponse200) & {
|
|
124
|
+
headers: Headers;
|
|
125
|
+
};
|
|
126
|
+
type getApiAccountAvatarResponseError = (getApiAccountAvatarResponse400 | getApiAccountAvatarResponse404 | getApiAccountAvatarResponse500) & {
|
|
127
|
+
headers: Headers;
|
|
128
|
+
};
|
|
129
|
+
type getApiAccountAvatarResponse = (getApiAccountAvatarResponseSuccess | getApiAccountAvatarResponseError);
|
|
130
|
+
declare const getGetApiAccountAvatarUrl: () => string;
|
|
131
|
+
/**
|
|
132
|
+
* Retrieves the authenticated user's profile picture
|
|
133
|
+
* @summary Get Avatar
|
|
134
|
+
*/
|
|
135
|
+
declare const getApiAccountAvatar: (options?: RequestInit) => Promise<getApiAccountAvatarResponse>;
|
|
136
|
+
type postApiAccountAvatarResponse200 = {
|
|
137
|
+
data: ErrorResponse;
|
|
138
|
+
status: 200;
|
|
139
|
+
};
|
|
140
|
+
type postApiAccountAvatarResponse204 = {
|
|
141
|
+
data: void;
|
|
142
|
+
status: 204;
|
|
143
|
+
};
|
|
144
|
+
type postApiAccountAvatarResponse400 = {
|
|
145
|
+
data: ErrorResponse;
|
|
146
|
+
status: 400;
|
|
147
|
+
};
|
|
148
|
+
type postApiAccountAvatarResponse404 = {
|
|
149
|
+
data: ErrorResponse;
|
|
150
|
+
status: 404;
|
|
151
|
+
};
|
|
152
|
+
type postApiAccountAvatarResponse500 = {
|
|
153
|
+
data: ErrorResponse;
|
|
154
|
+
status: 500;
|
|
155
|
+
};
|
|
156
|
+
type postApiAccountAvatarResponseSuccess = (postApiAccountAvatarResponse200 | postApiAccountAvatarResponse204) & {
|
|
157
|
+
headers: Headers;
|
|
158
|
+
};
|
|
159
|
+
type postApiAccountAvatarResponseError = (postApiAccountAvatarResponse400 | postApiAccountAvatarResponse404 | postApiAccountAvatarResponse500) & {
|
|
160
|
+
headers: Headers;
|
|
161
|
+
};
|
|
162
|
+
type postApiAccountAvatarResponse = (postApiAccountAvatarResponseSuccess | postApiAccountAvatarResponseError);
|
|
163
|
+
declare const getPostApiAccountAvatarUrl: () => string;
|
|
164
|
+
/**
|
|
165
|
+
* Uploads a profile picture/avatar
|
|
166
|
+
* @summary Upload Avatar
|
|
167
|
+
*/
|
|
168
|
+
declare const postApiAccountAvatar: (postApiAccountAvatarBody: PostApiAccountAvatarBody, options?: RequestInit) => Promise<postApiAccountAvatarResponse>;
|
|
169
|
+
type getApiAccountKeysResponse200 = {
|
|
170
|
+
data: APIKeyListResponse;
|
|
171
|
+
status: 200;
|
|
172
|
+
};
|
|
173
|
+
type getApiAccountKeysResponse400 = {
|
|
174
|
+
data: ErrorResponse;
|
|
175
|
+
status: 400;
|
|
176
|
+
};
|
|
177
|
+
type getApiAccountKeysResponse404 = {
|
|
178
|
+
data: ErrorResponse;
|
|
179
|
+
status: 404;
|
|
180
|
+
};
|
|
181
|
+
type getApiAccountKeysResponse500 = {
|
|
182
|
+
data: ErrorResponse;
|
|
183
|
+
status: 500;
|
|
184
|
+
};
|
|
185
|
+
type getApiAccountKeysResponseSuccess = (getApiAccountKeysResponse200) & {
|
|
186
|
+
headers: Headers;
|
|
187
|
+
};
|
|
188
|
+
type getApiAccountKeysResponseError = (getApiAccountKeysResponse400 | getApiAccountKeysResponse404 | getApiAccountKeysResponse500) & {
|
|
189
|
+
headers: Headers;
|
|
190
|
+
};
|
|
191
|
+
type getApiAccountKeysResponse = (getApiAccountKeysResponseSuccess | getApiAccountKeysResponseError);
|
|
192
|
+
declare const getGetApiAccountKeysUrl: (params?: GetApiAccountKeysParams) => string;
|
|
193
|
+
/**
|
|
194
|
+
* Retrieves a list of API keys for the authenticated user.
|
|
195
|
+
* @summary List API Keys
|
|
196
|
+
*/
|
|
197
|
+
declare const getApiAccountKeys: (params?: GetApiAccountKeysParams, options?: RequestInit) => Promise<getApiAccountKeysResponse>;
|
|
198
|
+
type postApiAccountKeysResponse200 = {
|
|
199
|
+
data: CreateAPIKeyResponse;
|
|
200
|
+
status: 200;
|
|
201
|
+
};
|
|
202
|
+
type postApiAccountKeysResponse400 = {
|
|
203
|
+
data: ErrorResponse;
|
|
204
|
+
status: 400;
|
|
205
|
+
};
|
|
206
|
+
type postApiAccountKeysResponse404 = {
|
|
207
|
+
data: ErrorResponse;
|
|
208
|
+
status: 404;
|
|
209
|
+
};
|
|
210
|
+
type postApiAccountKeysResponse500 = {
|
|
211
|
+
data: ErrorResponse;
|
|
212
|
+
status: 500;
|
|
213
|
+
};
|
|
214
|
+
type postApiAccountKeysResponseSuccess = (postApiAccountKeysResponse200) & {
|
|
215
|
+
headers: Headers;
|
|
216
|
+
};
|
|
217
|
+
type postApiAccountKeysResponseError = (postApiAccountKeysResponse400 | postApiAccountKeysResponse404 | postApiAccountKeysResponse500) & {
|
|
218
|
+
headers: Headers;
|
|
219
|
+
};
|
|
220
|
+
type postApiAccountKeysResponse = (postApiAccountKeysResponseSuccess | postApiAccountKeysResponseError);
|
|
221
|
+
declare const getPostApiAccountKeysUrl: () => string;
|
|
222
|
+
/**
|
|
223
|
+
* Creates a new API key for the authenticated user.
|
|
224
|
+
* @summary Create API Key
|
|
225
|
+
*/
|
|
226
|
+
declare const postApiAccountKeys: (aPIKeyCreateRequest: APIKeyCreateRequest, options?: RequestInit) => Promise<postApiAccountKeysResponse>;
|
|
227
|
+
type deleteApiAccountKeysKeyIDResponse200 = {
|
|
228
|
+
data: void;
|
|
229
|
+
status: 200;
|
|
230
|
+
};
|
|
231
|
+
type deleteApiAccountKeysKeyIDResponse400 = {
|
|
232
|
+
data: ErrorResponse;
|
|
233
|
+
status: 400;
|
|
234
|
+
};
|
|
235
|
+
type deleteApiAccountKeysKeyIDResponse404 = {
|
|
236
|
+
data: ErrorResponse;
|
|
237
|
+
status: 404;
|
|
238
|
+
};
|
|
239
|
+
type deleteApiAccountKeysKeyIDResponse500 = {
|
|
240
|
+
data: ErrorResponse;
|
|
241
|
+
status: 500;
|
|
242
|
+
};
|
|
243
|
+
type deleteApiAccountKeysKeyIDResponseSuccess = (deleteApiAccountKeysKeyIDResponse200) & {
|
|
244
|
+
headers: Headers;
|
|
245
|
+
};
|
|
246
|
+
type deleteApiAccountKeysKeyIDResponseError = (deleteApiAccountKeysKeyIDResponse400 | deleteApiAccountKeysKeyIDResponse404 | deleteApiAccountKeysKeyIDResponse500) & {
|
|
247
|
+
headers: Headers;
|
|
248
|
+
};
|
|
249
|
+
type deleteApiAccountKeysKeyIDResponse = (deleteApiAccountKeysKeyIDResponseSuccess | deleteApiAccountKeysKeyIDResponseError);
|
|
250
|
+
declare const getDeleteApiAccountKeysKeyIDUrl: (keyID: StringUUIDSchema) => string;
|
|
251
|
+
/**
|
|
252
|
+
* Deletes a specific API key for the authenticated user.
|
|
253
|
+
* @summary Delete API Key
|
|
254
|
+
*/
|
|
255
|
+
declare const deleteApiAccountKeysKeyID: (keyID: StringUUIDSchema, options?: RequestInit) => Promise<deleteApiAccountKeysKeyIDResponse>;
|
|
256
|
+
type postApiAccountPasswordResetConfirmResponse200 = {
|
|
257
|
+
data: void;
|
|
258
|
+
status: 200;
|
|
259
|
+
};
|
|
260
|
+
type postApiAccountPasswordResetConfirmResponse400 = {
|
|
261
|
+
data: ErrorResponse;
|
|
262
|
+
status: 400;
|
|
263
|
+
};
|
|
264
|
+
type postApiAccountPasswordResetConfirmResponse404 = {
|
|
265
|
+
data: ErrorResponse;
|
|
266
|
+
status: 404;
|
|
267
|
+
};
|
|
268
|
+
type postApiAccountPasswordResetConfirmResponse500 = {
|
|
269
|
+
data: ErrorResponse;
|
|
270
|
+
status: 500;
|
|
271
|
+
};
|
|
272
|
+
type postApiAccountPasswordResetConfirmResponseSuccess = (postApiAccountPasswordResetConfirmResponse200) & {
|
|
273
|
+
headers: Headers;
|
|
274
|
+
};
|
|
275
|
+
type postApiAccountPasswordResetConfirmResponseError = (postApiAccountPasswordResetConfirmResponse400 | postApiAccountPasswordResetConfirmResponse404 | postApiAccountPasswordResetConfirmResponse500) & {
|
|
276
|
+
headers: Headers;
|
|
277
|
+
};
|
|
278
|
+
type postApiAccountPasswordResetConfirmResponse = (postApiAccountPasswordResetConfirmResponseSuccess | postApiAccountPasswordResetConfirmResponseError);
|
|
279
|
+
declare const getPostApiAccountPasswordResetConfirmUrl: () => string;
|
|
280
|
+
/**
|
|
281
|
+
* Resets the user's password using a token received via email.
|
|
282
|
+
* @summary Confirm password reset
|
|
283
|
+
*/
|
|
284
|
+
declare const postApiAccountPasswordResetConfirm: (passwordResetVerifyRequest: PasswordResetVerifyRequest, options?: RequestInit) => Promise<postApiAccountPasswordResetConfirmResponse>;
|
|
285
|
+
type postApiAccountPasswordResetRequestResponse200 = {
|
|
286
|
+
data: void;
|
|
287
|
+
status: 200;
|
|
288
|
+
};
|
|
289
|
+
type postApiAccountPasswordResetRequestResponse400 = {
|
|
290
|
+
data: ErrorResponse;
|
|
291
|
+
status: 400;
|
|
292
|
+
};
|
|
293
|
+
type postApiAccountPasswordResetRequestResponse401 = {
|
|
294
|
+
data: ErrorResponse;
|
|
295
|
+
status: 401;
|
|
296
|
+
};
|
|
297
|
+
type postApiAccountPasswordResetRequestResponse403 = {
|
|
298
|
+
data: ErrorResponse;
|
|
299
|
+
status: 403;
|
|
300
|
+
};
|
|
301
|
+
type postApiAccountPasswordResetRequestResponse404 = {
|
|
302
|
+
data: ErrorResponse;
|
|
303
|
+
status: 404;
|
|
304
|
+
};
|
|
305
|
+
type postApiAccountPasswordResetRequestResponse500 = {
|
|
306
|
+
data: ErrorResponse;
|
|
307
|
+
status: 500;
|
|
308
|
+
};
|
|
309
|
+
type postApiAccountPasswordResetRequestResponseSuccess = (postApiAccountPasswordResetRequestResponse200) & {
|
|
310
|
+
headers: Headers;
|
|
311
|
+
};
|
|
312
|
+
type postApiAccountPasswordResetRequestResponseError = (postApiAccountPasswordResetRequestResponse400 | postApiAccountPasswordResetRequestResponse401 | postApiAccountPasswordResetRequestResponse403 | postApiAccountPasswordResetRequestResponse404 | postApiAccountPasswordResetRequestResponse500) & {
|
|
313
|
+
headers: Headers;
|
|
314
|
+
};
|
|
315
|
+
type postApiAccountPasswordResetRequestResponse = (postApiAccountPasswordResetRequestResponseSuccess | postApiAccountPasswordResetRequestResponseError);
|
|
316
|
+
declare const getPostApiAccountPasswordResetRequestUrl: () => string;
|
|
317
|
+
/**
|
|
318
|
+
* Initiates the password reset process by sending a reset link to the user's email.
|
|
319
|
+
* @summary Request password reset
|
|
320
|
+
*/
|
|
321
|
+
declare const postApiAccountPasswordResetRequest: (passwordResetRequest: PasswordResetRequest, options?: RequestInit) => Promise<postApiAccountPasswordResetRequestResponse>;
|
|
322
|
+
type getApiAccountPermissionsResponse200 = {
|
|
323
|
+
data: AccountPermissionsResponse;
|
|
324
|
+
status: 200;
|
|
325
|
+
};
|
|
326
|
+
type getApiAccountPermissionsResponse400 = {
|
|
327
|
+
data: ErrorResponse;
|
|
328
|
+
status: 400;
|
|
329
|
+
};
|
|
330
|
+
type getApiAccountPermissionsResponse404 = {
|
|
331
|
+
data: ErrorResponse;
|
|
332
|
+
status: 404;
|
|
333
|
+
};
|
|
334
|
+
type getApiAccountPermissionsResponse500 = {
|
|
335
|
+
data: ErrorResponse;
|
|
336
|
+
status: 500;
|
|
337
|
+
};
|
|
338
|
+
type getApiAccountPermissionsResponseSuccess = (getApiAccountPermissionsResponse200) & {
|
|
339
|
+
headers: Headers;
|
|
340
|
+
};
|
|
341
|
+
type getApiAccountPermissionsResponseError = (getApiAccountPermissionsResponse400 | getApiAccountPermissionsResponse404 | getApiAccountPermissionsResponse500) & {
|
|
342
|
+
headers: Headers;
|
|
343
|
+
};
|
|
344
|
+
type getApiAccountPermissionsResponse = (getApiAccountPermissionsResponseSuccess | getApiAccountPermissionsResponseError);
|
|
345
|
+
declare const getGetApiAccountPermissionsUrl: () => string;
|
|
346
|
+
/**
|
|
347
|
+
* Retrieves the access control policies and model for the authenticated user.
|
|
348
|
+
* @summary Get account permissions
|
|
349
|
+
*/
|
|
350
|
+
declare const getApiAccountPermissions: (options?: RequestInit) => Promise<getApiAccountPermissionsResponse>;
|
|
351
|
+
type getApiAccountQuotaHistoryResponse200 = {
|
|
352
|
+
data: QuotaHistoryResponse;
|
|
353
|
+
status: 200;
|
|
354
|
+
};
|
|
355
|
+
type getApiAccountQuotaHistoryResponse400 = {
|
|
356
|
+
data: ErrorResponse;
|
|
357
|
+
status: 400;
|
|
358
|
+
};
|
|
359
|
+
type getApiAccountQuotaHistoryResponse404 = {
|
|
360
|
+
data: ErrorResponse;
|
|
361
|
+
status: 404;
|
|
362
|
+
};
|
|
363
|
+
type getApiAccountQuotaHistoryResponse500 = {
|
|
364
|
+
data: ErrorResponse;
|
|
365
|
+
status: 500;
|
|
366
|
+
};
|
|
367
|
+
type getApiAccountQuotaHistoryResponseSuccess = (getApiAccountQuotaHistoryResponse200) & {
|
|
368
|
+
headers: Headers;
|
|
369
|
+
};
|
|
370
|
+
type getApiAccountQuotaHistoryResponseError = (getApiAccountQuotaHistoryResponse400 | getApiAccountQuotaHistoryResponse404 | getApiAccountQuotaHistoryResponse500) & {
|
|
371
|
+
headers: Headers;
|
|
372
|
+
};
|
|
373
|
+
type getApiAccountQuotaHistoryResponse = (getApiAccountQuotaHistoryResponseSuccess | getApiAccountQuotaHistoryResponseError);
|
|
374
|
+
declare const getGetApiAccountQuotaHistoryUrl: (params?: GetApiAccountQuotaHistoryParams) => string;
|
|
375
|
+
/**
|
|
376
|
+
* Retrieves historical quota usage data for charting and analytics.
|
|
377
|
+
* @summary Get quota usage history
|
|
378
|
+
*/
|
|
379
|
+
declare const getApiAccountQuotaHistory: (params?: GetApiAccountQuotaHistoryParams, options?: RequestInit) => Promise<getApiAccountQuotaHistoryResponse>;
|
|
380
|
+
type postApiAccountUpdateEmailResponse200 = {
|
|
381
|
+
data: void;
|
|
382
|
+
status: 200;
|
|
383
|
+
};
|
|
384
|
+
type postApiAccountUpdateEmailResponse400 = {
|
|
385
|
+
data: ErrorResponse;
|
|
386
|
+
status: 400;
|
|
387
|
+
};
|
|
388
|
+
type postApiAccountUpdateEmailResponse404 = {
|
|
389
|
+
data: ErrorResponse;
|
|
390
|
+
status: 404;
|
|
391
|
+
};
|
|
392
|
+
type postApiAccountUpdateEmailResponse500 = {
|
|
393
|
+
data: ErrorResponse;
|
|
394
|
+
status: 500;
|
|
395
|
+
};
|
|
396
|
+
type postApiAccountUpdateEmailResponseSuccess = (postApiAccountUpdateEmailResponse200) & {
|
|
397
|
+
headers: Headers;
|
|
398
|
+
};
|
|
399
|
+
type postApiAccountUpdateEmailResponseError = (postApiAccountUpdateEmailResponse400 | postApiAccountUpdateEmailResponse404 | postApiAccountUpdateEmailResponse500) & {
|
|
400
|
+
headers: Headers;
|
|
401
|
+
};
|
|
402
|
+
type postApiAccountUpdateEmailResponse = (postApiAccountUpdateEmailResponseSuccess | postApiAccountUpdateEmailResponseError);
|
|
403
|
+
declare const getPostApiAccountUpdateEmailUrl: () => string;
|
|
404
|
+
/**
|
|
405
|
+
* Updates the authenticated user's email address.
|
|
406
|
+
* @summary Update email address
|
|
407
|
+
*/
|
|
408
|
+
declare const postApiAccountUpdateEmail: (updateEmailRequest: UpdateEmailRequest, options?: RequestInit) => Promise<postApiAccountUpdateEmailResponse>;
|
|
409
|
+
type postApiAccountUpdatePasswordResponse200 = {
|
|
410
|
+
data: void;
|
|
411
|
+
status: 200;
|
|
412
|
+
};
|
|
413
|
+
type postApiAccountUpdatePasswordResponse400 = {
|
|
414
|
+
data: ErrorResponse;
|
|
415
|
+
status: 400;
|
|
416
|
+
};
|
|
417
|
+
type postApiAccountUpdatePasswordResponse404 = {
|
|
418
|
+
data: ErrorResponse;
|
|
419
|
+
status: 404;
|
|
420
|
+
};
|
|
421
|
+
type postApiAccountUpdatePasswordResponse500 = {
|
|
422
|
+
data: ErrorResponse;
|
|
423
|
+
status: 500;
|
|
424
|
+
};
|
|
425
|
+
type postApiAccountUpdatePasswordResponseSuccess = (postApiAccountUpdatePasswordResponse200) & {
|
|
426
|
+
headers: Headers;
|
|
427
|
+
};
|
|
428
|
+
type postApiAccountUpdatePasswordResponseError = (postApiAccountUpdatePasswordResponse400 | postApiAccountUpdatePasswordResponse404 | postApiAccountUpdatePasswordResponse500) & {
|
|
429
|
+
headers: Headers;
|
|
430
|
+
};
|
|
431
|
+
type postApiAccountUpdatePasswordResponse = (postApiAccountUpdatePasswordResponseSuccess | postApiAccountUpdatePasswordResponseError);
|
|
432
|
+
declare const getPostApiAccountUpdatePasswordUrl: () => string;
|
|
433
|
+
/**
|
|
434
|
+
* Updates the authenticated user's password.
|
|
435
|
+
* @summary Update password
|
|
436
|
+
*/
|
|
437
|
+
declare const postApiAccountUpdatePassword: (updatePasswordRequest: UpdatePasswordRequest, options?: RequestInit) => Promise<postApiAccountUpdatePasswordResponse>;
|
|
438
|
+
type postApiAccountVerifyEmailResponse200 = {
|
|
439
|
+
data: void;
|
|
440
|
+
status: 200;
|
|
441
|
+
};
|
|
442
|
+
type postApiAccountVerifyEmailResponse400 = {
|
|
443
|
+
data: ErrorResponse;
|
|
444
|
+
status: 400;
|
|
445
|
+
};
|
|
446
|
+
type postApiAccountVerifyEmailResponse404 = {
|
|
447
|
+
data: ErrorResponse;
|
|
448
|
+
status: 404;
|
|
449
|
+
};
|
|
450
|
+
type postApiAccountVerifyEmailResponse500 = {
|
|
451
|
+
data: ErrorResponse;
|
|
452
|
+
status: 500;
|
|
453
|
+
};
|
|
454
|
+
type postApiAccountVerifyEmailResponseSuccess = (postApiAccountVerifyEmailResponse200) & {
|
|
455
|
+
headers: Headers;
|
|
456
|
+
};
|
|
457
|
+
type postApiAccountVerifyEmailResponseError = (postApiAccountVerifyEmailResponse400 | postApiAccountVerifyEmailResponse404 | postApiAccountVerifyEmailResponse500) & {
|
|
458
|
+
headers: Headers;
|
|
459
|
+
};
|
|
460
|
+
type postApiAccountVerifyEmailResponse = (postApiAccountVerifyEmailResponseSuccess | postApiAccountVerifyEmailResponseError);
|
|
461
|
+
declare const getPostApiAccountVerifyEmailUrl: (params?: PostApiAccountVerifyEmailParams) => string;
|
|
462
|
+
/**
|
|
463
|
+
* Verifies a user's email address using a token sent via email. Optionally auto-login user if they don't have 2FA enabled.
|
|
464
|
+
* @summary Verify email address
|
|
465
|
+
*/
|
|
466
|
+
declare const postApiAccountVerifyEmail: (verifyEmailRequest: VerifyEmailRequest, params?: PostApiAccountVerifyEmailParams, options?: RequestInit) => Promise<postApiAccountVerifyEmailResponse>;
|
|
467
|
+
type postApiAccountVerifyEmailResendResponse200 = {
|
|
468
|
+
data: void;
|
|
469
|
+
status: 200;
|
|
470
|
+
};
|
|
471
|
+
type postApiAccountVerifyEmailResendResponse400 = {
|
|
472
|
+
data: ErrorResponse;
|
|
473
|
+
status: 400;
|
|
474
|
+
};
|
|
475
|
+
type postApiAccountVerifyEmailResendResponse404 = {
|
|
476
|
+
data: ErrorResponse;
|
|
477
|
+
status: 404;
|
|
478
|
+
};
|
|
479
|
+
type postApiAccountVerifyEmailResendResponse500 = {
|
|
480
|
+
data: ErrorResponse;
|
|
481
|
+
status: 500;
|
|
482
|
+
};
|
|
483
|
+
type postApiAccountVerifyEmailResendResponseSuccess = (postApiAccountVerifyEmailResendResponse200) & {
|
|
484
|
+
headers: Headers;
|
|
485
|
+
};
|
|
486
|
+
type postApiAccountVerifyEmailResendResponseError = (postApiAccountVerifyEmailResendResponse400 | postApiAccountVerifyEmailResendResponse404 | postApiAccountVerifyEmailResendResponse500) & {
|
|
487
|
+
headers: Headers;
|
|
488
|
+
};
|
|
489
|
+
type postApiAccountVerifyEmailResendResponse = (postApiAccountVerifyEmailResendResponseSuccess | postApiAccountVerifyEmailResendResponseError);
|
|
490
|
+
declare const getPostApiAccountVerifyEmailResendUrl: () => string;
|
|
491
|
+
/**
|
|
492
|
+
* Resends the email verification link to the user's email address.
|
|
493
|
+
* @summary Resend email verification
|
|
494
|
+
*/
|
|
495
|
+
declare const postApiAccountVerifyEmailResend: (resendVerifyEmailRequest: ResendVerifyEmailRequest, options?: RequestInit) => Promise<postApiAccountVerifyEmailResendResponse>;
|
|
496
|
+
type postApiAuthKeyResponse200 = {
|
|
497
|
+
data: LoginResponse;
|
|
498
|
+
status: 200;
|
|
499
|
+
};
|
|
500
|
+
type postApiAuthKeyResponse400 = {
|
|
501
|
+
data: ErrorResponse;
|
|
502
|
+
status: 400;
|
|
503
|
+
};
|
|
504
|
+
type postApiAuthKeyResponse401 = {
|
|
505
|
+
data: ErrorResponse;
|
|
506
|
+
status: 401;
|
|
507
|
+
};
|
|
508
|
+
type postApiAuthKeyResponse403 = {
|
|
509
|
+
data: ErrorResponse;
|
|
510
|
+
status: 403;
|
|
511
|
+
};
|
|
512
|
+
type postApiAuthKeyResponse404 = {
|
|
513
|
+
data: ErrorResponse;
|
|
514
|
+
status: 404;
|
|
515
|
+
};
|
|
516
|
+
type postApiAuthKeyResponse500 = {
|
|
517
|
+
data: ErrorResponse;
|
|
518
|
+
status: 500;
|
|
519
|
+
};
|
|
520
|
+
type postApiAuthKeyResponseSuccess = (postApiAuthKeyResponse200) & {
|
|
521
|
+
headers: Headers;
|
|
522
|
+
};
|
|
523
|
+
type postApiAuthKeyResponseError = (postApiAuthKeyResponse400 | postApiAuthKeyResponse401 | postApiAuthKeyResponse403 | postApiAuthKeyResponse404 | postApiAuthKeyResponse500) & {
|
|
524
|
+
headers: Headers;
|
|
525
|
+
};
|
|
526
|
+
type postApiAuthKeyResponse = (postApiAuthKeyResponseSuccess | postApiAuthKeyResponseError);
|
|
527
|
+
declare const getPostApiAuthKeyUrl: () => string;
|
|
528
|
+
/**
|
|
529
|
+
* Exchanges an API key for a JWT.
|
|
530
|
+
* @summary Authenticate with API Key
|
|
531
|
+
*/
|
|
532
|
+
declare const postApiAuthKey: (options?: RequestInit) => Promise<postApiAuthKeyResponse>;
|
|
533
|
+
type postApiAuthLoginResponse200 = {
|
|
534
|
+
data: LoginResponse;
|
|
535
|
+
status: 200;
|
|
536
|
+
};
|
|
537
|
+
type postApiAuthLoginResponse302 = {
|
|
538
|
+
data: void;
|
|
539
|
+
status: 302;
|
|
540
|
+
};
|
|
541
|
+
type postApiAuthLoginResponse400 = {
|
|
542
|
+
data: ErrorResponse;
|
|
543
|
+
status: 400;
|
|
544
|
+
};
|
|
545
|
+
type postApiAuthLoginResponse401 = {
|
|
546
|
+
data: Error;
|
|
547
|
+
status: 401;
|
|
548
|
+
};
|
|
549
|
+
type postApiAuthLoginResponse403 = {
|
|
550
|
+
data: Error;
|
|
551
|
+
status: 403;
|
|
552
|
+
};
|
|
553
|
+
type postApiAuthLoginResponse404 = {
|
|
554
|
+
data: ErrorResponse;
|
|
555
|
+
status: 404;
|
|
556
|
+
};
|
|
557
|
+
type postApiAuthLoginResponse500 = {
|
|
558
|
+
data: Error;
|
|
559
|
+
status: 500;
|
|
560
|
+
};
|
|
561
|
+
type postApiAuthLoginResponseSuccess = (postApiAuthLoginResponse200) & {
|
|
562
|
+
headers: Headers;
|
|
563
|
+
};
|
|
564
|
+
type postApiAuthLoginResponseError = (postApiAuthLoginResponse302 | postApiAuthLoginResponse400 | postApiAuthLoginResponse401 | postApiAuthLoginResponse403 | postApiAuthLoginResponse404 | postApiAuthLoginResponse500) & {
|
|
565
|
+
headers: Headers;
|
|
566
|
+
};
|
|
567
|
+
type postApiAuthLoginResponse = (postApiAuthLoginResponseSuccess | postApiAuthLoginResponseError);
|
|
568
|
+
declare const getPostApiAuthLoginUrl: () => string;
|
|
569
|
+
/**
|
|
570
|
+
* Authenticates a user using email and password.
|
|
571
|
+
* @summary Login with email and password
|
|
572
|
+
*/
|
|
573
|
+
declare const postApiAuthLogin: (loginRequest: LoginRequest, options?: RequestInit) => Promise<postApiAuthLoginResponse>;
|
|
574
|
+
type postApiAuthLogoutResponse200 = {
|
|
575
|
+
data: void;
|
|
576
|
+
status: 200;
|
|
577
|
+
};
|
|
578
|
+
type postApiAuthLogoutResponse400 = {
|
|
579
|
+
data: ErrorResponse;
|
|
580
|
+
status: 400;
|
|
581
|
+
};
|
|
582
|
+
type postApiAuthLogoutResponse401 = {
|
|
583
|
+
data: ErrorResponse;
|
|
584
|
+
status: 401;
|
|
585
|
+
};
|
|
586
|
+
type postApiAuthLogoutResponse403 = {
|
|
587
|
+
data: ErrorResponse;
|
|
588
|
+
status: 403;
|
|
589
|
+
};
|
|
590
|
+
type postApiAuthLogoutResponse404 = {
|
|
591
|
+
data: ErrorResponse;
|
|
592
|
+
status: 404;
|
|
593
|
+
};
|
|
594
|
+
type postApiAuthLogoutResponse500 = {
|
|
595
|
+
data: ErrorResponse;
|
|
596
|
+
status: 500;
|
|
597
|
+
};
|
|
598
|
+
type postApiAuthLogoutResponseSuccess = (postApiAuthLogoutResponse200) & {
|
|
599
|
+
headers: Headers;
|
|
600
|
+
};
|
|
601
|
+
type postApiAuthLogoutResponseError = (postApiAuthLogoutResponse400 | postApiAuthLogoutResponse401 | postApiAuthLogoutResponse403 | postApiAuthLogoutResponse404 | postApiAuthLogoutResponse500) & {
|
|
602
|
+
headers: Headers;
|
|
603
|
+
};
|
|
604
|
+
type postApiAuthLogoutResponse = (postApiAuthLogoutResponseSuccess | postApiAuthLogoutResponseError);
|
|
605
|
+
declare const getPostApiAuthLogoutUrl: () => string;
|
|
606
|
+
/**
|
|
607
|
+
* Logs out the current user by clearing the authentication cookie.
|
|
608
|
+
* @summary Logout
|
|
609
|
+
*/
|
|
610
|
+
declare const postApiAuthLogout: (options?: RequestInit) => Promise<postApiAuthLogoutResponse>;
|
|
611
|
+
type postApiAuthOtpDisableResponse200 = {
|
|
612
|
+
data: ErrorResponse;
|
|
613
|
+
status: 200;
|
|
614
|
+
};
|
|
615
|
+
type postApiAuthOtpDisableResponse204 = {
|
|
616
|
+
data: void;
|
|
617
|
+
status: 204;
|
|
618
|
+
};
|
|
619
|
+
type postApiAuthOtpDisableResponse400 = {
|
|
620
|
+
data: ErrorResponse;
|
|
621
|
+
status: 400;
|
|
622
|
+
};
|
|
623
|
+
type postApiAuthOtpDisableResponse404 = {
|
|
624
|
+
data: ErrorResponse;
|
|
625
|
+
status: 404;
|
|
626
|
+
};
|
|
627
|
+
type postApiAuthOtpDisableResponse500 = {
|
|
628
|
+
data: ErrorResponse;
|
|
629
|
+
status: 500;
|
|
630
|
+
};
|
|
631
|
+
type postApiAuthOtpDisableResponseSuccess = (postApiAuthOtpDisableResponse200 | postApiAuthOtpDisableResponse204) & {
|
|
632
|
+
headers: Headers;
|
|
633
|
+
};
|
|
634
|
+
type postApiAuthOtpDisableResponseError = (postApiAuthOtpDisableResponse400 | postApiAuthOtpDisableResponse404 | postApiAuthOtpDisableResponse500) & {
|
|
635
|
+
headers: Headers;
|
|
636
|
+
};
|
|
637
|
+
type postApiAuthOtpDisableResponse = (postApiAuthOtpDisableResponseSuccess | postApiAuthOtpDisableResponseError);
|
|
638
|
+
declare const getPostApiAuthOtpDisableUrl: () => string;
|
|
639
|
+
/**
|
|
640
|
+
* Disables 2FA for the authenticated user.
|
|
641
|
+
* @summary Disable OTP
|
|
642
|
+
*/
|
|
643
|
+
declare const postApiAuthOtpDisable: (oTPDisableRequest: OTPDisableRequest, options?: RequestInit) => Promise<postApiAuthOtpDisableResponse>;
|
|
644
|
+
type postApiAuthOtpGenerateResponse200 = {
|
|
645
|
+
data: OTPGenerateResponse;
|
|
646
|
+
status: 200;
|
|
647
|
+
};
|
|
648
|
+
type postApiAuthOtpGenerateResponse400 = {
|
|
649
|
+
data: ErrorResponse;
|
|
650
|
+
status: 400;
|
|
651
|
+
};
|
|
652
|
+
type postApiAuthOtpGenerateResponse401 = {
|
|
653
|
+
data: ErrorResponse;
|
|
654
|
+
status: 401;
|
|
655
|
+
};
|
|
656
|
+
type postApiAuthOtpGenerateResponse403 = {
|
|
657
|
+
data: ErrorResponse;
|
|
658
|
+
status: 403;
|
|
659
|
+
};
|
|
660
|
+
type postApiAuthOtpGenerateResponse404 = {
|
|
661
|
+
data: ErrorResponse;
|
|
662
|
+
status: 404;
|
|
663
|
+
};
|
|
664
|
+
type postApiAuthOtpGenerateResponse500 = {
|
|
665
|
+
data: ErrorResponse;
|
|
666
|
+
status: 500;
|
|
667
|
+
};
|
|
668
|
+
type postApiAuthOtpGenerateResponseSuccess = (postApiAuthOtpGenerateResponse200) & {
|
|
669
|
+
headers: Headers;
|
|
670
|
+
};
|
|
671
|
+
type postApiAuthOtpGenerateResponseError = (postApiAuthOtpGenerateResponse400 | postApiAuthOtpGenerateResponse401 | postApiAuthOtpGenerateResponse403 | postApiAuthOtpGenerateResponse404 | postApiAuthOtpGenerateResponse500) & {
|
|
672
|
+
headers: Headers;
|
|
673
|
+
};
|
|
674
|
+
type postApiAuthOtpGenerateResponse = (postApiAuthOtpGenerateResponseSuccess | postApiAuthOtpGenerateResponseError);
|
|
675
|
+
declare const getPostApiAuthOtpGenerateUrl: () => string;
|
|
676
|
+
/**
|
|
677
|
+
* Generates a new OTP secret for the authenticated user.
|
|
678
|
+
* @summary Generate OTP secret
|
|
679
|
+
*/
|
|
680
|
+
declare const postApiAuthOtpGenerate: (options?: RequestInit) => Promise<postApiAuthOtpGenerateResponse>;
|
|
681
|
+
type postApiAuthOtpValidateResponse302 = {
|
|
682
|
+
data: void;
|
|
683
|
+
status: 302;
|
|
684
|
+
};
|
|
685
|
+
type postApiAuthOtpValidateResponse400 = {
|
|
686
|
+
data: ErrorResponse;
|
|
687
|
+
status: 400;
|
|
688
|
+
};
|
|
689
|
+
type postApiAuthOtpValidateResponse401 = {
|
|
690
|
+
data: ErrorResponse;
|
|
691
|
+
status: 401;
|
|
692
|
+
};
|
|
693
|
+
type postApiAuthOtpValidateResponse403 = {
|
|
694
|
+
data: ErrorResponse;
|
|
695
|
+
status: 403;
|
|
696
|
+
};
|
|
697
|
+
type postApiAuthOtpValidateResponse404 = {
|
|
698
|
+
data: ErrorResponse;
|
|
699
|
+
status: 404;
|
|
700
|
+
};
|
|
701
|
+
type postApiAuthOtpValidateResponse500 = {
|
|
702
|
+
data: ErrorResponse;
|
|
703
|
+
status: 500;
|
|
704
|
+
};
|
|
705
|
+
type postApiAuthOtpValidateResponseError = (postApiAuthOtpValidateResponse302 | postApiAuthOtpValidateResponse400 | postApiAuthOtpValidateResponse401 | postApiAuthOtpValidateResponse403 | postApiAuthOtpValidateResponse404 | postApiAuthOtpValidateResponse500) & {
|
|
706
|
+
headers: Headers;
|
|
707
|
+
};
|
|
708
|
+
type postApiAuthOtpValidateResponse = (postApiAuthOtpValidateResponseError);
|
|
709
|
+
declare const getPostApiAuthOtpValidateUrl: () => string;
|
|
710
|
+
/**
|
|
711
|
+
* Validates an OTP code to complete 2FA login.
|
|
712
|
+
* @summary Validate OTP code
|
|
713
|
+
*/
|
|
714
|
+
declare const postApiAuthOtpValidate: (oTPValidateRequest: OTPValidateRequest, options?: RequestInit) => Promise<postApiAuthOtpValidateResponse>;
|
|
715
|
+
type postApiAuthOtpVerifyResponse200 = {
|
|
716
|
+
data: ErrorResponse;
|
|
717
|
+
status: 200;
|
|
718
|
+
};
|
|
719
|
+
type postApiAuthOtpVerifyResponse204 = {
|
|
720
|
+
data: void;
|
|
721
|
+
status: 204;
|
|
722
|
+
};
|
|
723
|
+
type postApiAuthOtpVerifyResponse400 = {
|
|
724
|
+
data: ErrorResponse;
|
|
725
|
+
status: 400;
|
|
726
|
+
};
|
|
727
|
+
type postApiAuthOtpVerifyResponse404 = {
|
|
728
|
+
data: ErrorResponse;
|
|
729
|
+
status: 404;
|
|
730
|
+
};
|
|
731
|
+
type postApiAuthOtpVerifyResponse500 = {
|
|
732
|
+
data: ErrorResponse;
|
|
733
|
+
status: 500;
|
|
734
|
+
};
|
|
735
|
+
type postApiAuthOtpVerifyResponseSuccess = (postApiAuthOtpVerifyResponse200 | postApiAuthOtpVerifyResponse204) & {
|
|
736
|
+
headers: Headers;
|
|
737
|
+
};
|
|
738
|
+
type postApiAuthOtpVerifyResponseError = (postApiAuthOtpVerifyResponse400 | postApiAuthOtpVerifyResponse404 | postApiAuthOtpVerifyResponse500) & {
|
|
739
|
+
headers: Headers;
|
|
740
|
+
};
|
|
741
|
+
type postApiAuthOtpVerifyResponse = (postApiAuthOtpVerifyResponseSuccess | postApiAuthOtpVerifyResponseError);
|
|
742
|
+
declare const getPostApiAuthOtpVerifyUrl: () => string;
|
|
743
|
+
/**
|
|
744
|
+
* Verifies an OTP code and enables 2FA for the authenticated user.
|
|
745
|
+
* @summary Verify and enable OTP
|
|
746
|
+
*/
|
|
747
|
+
declare const postApiAuthOtpVerify: (oTPVerifyRequest: OTPVerifyRequest, options?: RequestInit) => Promise<postApiAuthOtpVerifyResponse>;
|
|
748
|
+
type postApiAuthPingResponse200 = {
|
|
749
|
+
data: PongResponse;
|
|
750
|
+
status: 200;
|
|
751
|
+
};
|
|
752
|
+
type postApiAuthPingResponse400 = {
|
|
753
|
+
data: ErrorResponse;
|
|
754
|
+
status: 400;
|
|
755
|
+
};
|
|
756
|
+
type postApiAuthPingResponse401 = {
|
|
757
|
+
data: Error;
|
|
758
|
+
status: 401;
|
|
759
|
+
};
|
|
760
|
+
type postApiAuthPingResponse403 = {
|
|
761
|
+
data: ErrorResponse;
|
|
762
|
+
status: 403;
|
|
763
|
+
};
|
|
764
|
+
type postApiAuthPingResponse404 = {
|
|
765
|
+
data: ErrorResponse;
|
|
766
|
+
status: 404;
|
|
767
|
+
};
|
|
768
|
+
type postApiAuthPingResponse500 = {
|
|
769
|
+
data: Error;
|
|
770
|
+
status: 500;
|
|
771
|
+
};
|
|
772
|
+
type postApiAuthPingResponseSuccess = (postApiAuthPingResponse200) & {
|
|
773
|
+
headers: Headers;
|
|
774
|
+
};
|
|
775
|
+
type postApiAuthPingResponseError = (postApiAuthPingResponse400 | postApiAuthPingResponse401 | postApiAuthPingResponse403 | postApiAuthPingResponse404 | postApiAuthPingResponse500) & {
|
|
776
|
+
headers: Headers;
|
|
777
|
+
};
|
|
778
|
+
type postApiAuthPingResponse = (postApiAuthPingResponseSuccess | postApiAuthPingResponseError);
|
|
779
|
+
declare const getPostApiAuthPingUrl: () => string;
|
|
780
|
+
/**
|
|
781
|
+
* Checks if the user is authenticated and returns a pong response.
|
|
782
|
+
* @summary Ping authenticated endpoint
|
|
783
|
+
*/
|
|
784
|
+
declare const postApiAuthPing: (options?: RequestInit) => Promise<postApiAuthPingResponse>;
|
|
785
|
+
type postApiAuthRegisterResponse200 = {
|
|
786
|
+
data: void;
|
|
787
|
+
status: 200;
|
|
788
|
+
};
|
|
789
|
+
type postApiAuthRegisterResponse400 = {
|
|
790
|
+
data: ErrorResponse;
|
|
791
|
+
status: 400;
|
|
792
|
+
};
|
|
793
|
+
type postApiAuthRegisterResponse401 = {
|
|
794
|
+
data: ErrorResponse;
|
|
795
|
+
status: 401;
|
|
796
|
+
};
|
|
797
|
+
type postApiAuthRegisterResponse403 = {
|
|
798
|
+
data: ErrorResponse;
|
|
799
|
+
status: 403;
|
|
800
|
+
};
|
|
801
|
+
type postApiAuthRegisterResponse404 = {
|
|
802
|
+
data: ErrorResponse;
|
|
803
|
+
status: 404;
|
|
804
|
+
};
|
|
805
|
+
type postApiAuthRegisterResponse409 = {
|
|
806
|
+
data: Error;
|
|
807
|
+
status: 409;
|
|
808
|
+
};
|
|
809
|
+
type postApiAuthRegisterResponse500 = {
|
|
810
|
+
data: Error;
|
|
811
|
+
status: 500;
|
|
812
|
+
};
|
|
813
|
+
type postApiAuthRegisterResponseSuccess = (postApiAuthRegisterResponse200) & {
|
|
814
|
+
headers: Headers;
|
|
815
|
+
};
|
|
816
|
+
type postApiAuthRegisterResponseError = (postApiAuthRegisterResponse400 | postApiAuthRegisterResponse401 | postApiAuthRegisterResponse403 | postApiAuthRegisterResponse404 | postApiAuthRegisterResponse409 | postApiAuthRegisterResponse500) & {
|
|
817
|
+
headers: Headers;
|
|
818
|
+
};
|
|
819
|
+
type postApiAuthRegisterResponse = (postApiAuthRegisterResponseSuccess | postApiAuthRegisterResponseError);
|
|
820
|
+
declare const getPostApiAuthRegisterUrl: () => string;
|
|
821
|
+
/**
|
|
822
|
+
* Creates a new user account with email and password.
|
|
823
|
+
* @summary Register a new account
|
|
824
|
+
*/
|
|
825
|
+
declare const postApiAuthRegister: (registerRequest: RegisterRequest, options?: RequestInit) => Promise<postApiAuthRegisterResponse>;
|
|
826
|
+
type getApiOperationsResponse200 = {
|
|
827
|
+
data: OperationListItemResponse;
|
|
828
|
+
status: 200;
|
|
829
|
+
};
|
|
830
|
+
type getApiOperationsResponse400 = {
|
|
831
|
+
data: ErrorResponse;
|
|
832
|
+
status: 400;
|
|
833
|
+
};
|
|
834
|
+
type getApiOperationsResponse404 = {
|
|
835
|
+
data: ErrorResponse;
|
|
836
|
+
status: 404;
|
|
837
|
+
};
|
|
838
|
+
type getApiOperationsResponse500 = {
|
|
839
|
+
data: ErrorResponse;
|
|
840
|
+
status: 500;
|
|
841
|
+
};
|
|
842
|
+
type getApiOperationsResponseSuccess = (getApiOperationsResponse200) & {
|
|
843
|
+
headers: Headers;
|
|
844
|
+
};
|
|
845
|
+
type getApiOperationsResponseError = (getApiOperationsResponse400 | getApiOperationsResponse404 | getApiOperationsResponse500) & {
|
|
846
|
+
headers: Headers;
|
|
847
|
+
};
|
|
848
|
+
type getApiOperationsResponse = (getApiOperationsResponseSuccess | getApiOperationsResponseError);
|
|
849
|
+
declare const getGetApiOperationsUrl: (params?: GetApiOperationsParams) => string;
|
|
850
|
+
/**
|
|
851
|
+
* Retrieve a list of operations, with filtering, searching, and pagination support.
|
|
852
|
+
* @summary List Operations
|
|
853
|
+
*/
|
|
854
|
+
declare const getApiOperations: (params?: GetApiOperationsParams, options?: RequestInit) => Promise<getApiOperationsResponse>;
|
|
855
|
+
type getApiOperationsIdResponse200 = {
|
|
856
|
+
data: OperationDetailResponse;
|
|
857
|
+
status: 200;
|
|
858
|
+
};
|
|
859
|
+
type getApiOperationsIdResponse400 = {
|
|
860
|
+
data: ErrorResponse;
|
|
861
|
+
status: 400;
|
|
862
|
+
};
|
|
863
|
+
type getApiOperationsIdResponse404 = {
|
|
864
|
+
data: ErrorResponse;
|
|
865
|
+
status: 404;
|
|
866
|
+
};
|
|
867
|
+
type getApiOperationsIdResponse500 = {
|
|
868
|
+
data: ErrorResponse;
|
|
869
|
+
status: 500;
|
|
870
|
+
};
|
|
871
|
+
type getApiOperationsIdResponseSuccess = (getApiOperationsIdResponse200) & {
|
|
872
|
+
headers: Headers;
|
|
873
|
+
};
|
|
874
|
+
type getApiOperationsIdResponseError = (getApiOperationsIdResponse400 | getApiOperationsIdResponse404 | getApiOperationsIdResponse500) & {
|
|
875
|
+
headers: Headers;
|
|
876
|
+
};
|
|
877
|
+
type getApiOperationsIdResponse = (getApiOperationsIdResponseSuccess | getApiOperationsIdResponseError);
|
|
878
|
+
declare const getGetApiOperationsIdUrl: (id: number) => string;
|
|
879
|
+
/**
|
|
880
|
+
* Retrieve detailed information for a specific operation by its ID.
|
|
881
|
+
* @summary Get Operation Details
|
|
882
|
+
*/
|
|
883
|
+
declare const getApiOperationsId: (id: number, options?: RequestInit) => Promise<getApiOperationsIdResponse>;
|
|
884
|
+
type getApiOperationsFiltersResponse200 = {
|
|
885
|
+
data: OperationFiltersResponseResponse;
|
|
886
|
+
status: 200;
|
|
887
|
+
};
|
|
888
|
+
type getApiOperationsFiltersResponse400 = {
|
|
889
|
+
data: ErrorResponse;
|
|
890
|
+
status: 400;
|
|
891
|
+
};
|
|
892
|
+
type getApiOperationsFiltersResponse404 = {
|
|
893
|
+
data: ErrorResponse;
|
|
894
|
+
status: 404;
|
|
895
|
+
};
|
|
896
|
+
type getApiOperationsFiltersResponse500 = {
|
|
897
|
+
data: ErrorResponse;
|
|
898
|
+
status: 500;
|
|
899
|
+
};
|
|
900
|
+
type getApiOperationsFiltersResponseSuccess = (getApiOperationsFiltersResponse200) & {
|
|
901
|
+
headers: Headers;
|
|
902
|
+
};
|
|
903
|
+
type getApiOperationsFiltersResponseError = (getApiOperationsFiltersResponse400 | getApiOperationsFiltersResponse404 | getApiOperationsFiltersResponse500) & {
|
|
904
|
+
headers: Headers;
|
|
905
|
+
};
|
|
906
|
+
type getApiOperationsFiltersResponse = (getApiOperationsFiltersResponseSuccess | getApiOperationsFiltersResponseError);
|
|
907
|
+
declare const getGetApiOperationsFiltersUrl: () => string;
|
|
908
|
+
/**
|
|
909
|
+
* Retrieves distinct filter values for operations (statuses, operations, protocols)
|
|
910
|
+
* @summary Get Operation Filters
|
|
911
|
+
*/
|
|
912
|
+
declare const getApiOperationsFilters: (options?: RequestInit) => Promise<getApiOperationsFiltersResponse>;
|
|
913
|
+
type getApiUploadLimitResponse200 = {
|
|
914
|
+
data: UploadLimitResponse;
|
|
915
|
+
status: 200;
|
|
916
|
+
};
|
|
917
|
+
type getApiUploadLimitResponse400 = {
|
|
918
|
+
data: ErrorResponse;
|
|
919
|
+
status: 400;
|
|
920
|
+
};
|
|
921
|
+
type getApiUploadLimitResponse404 = {
|
|
922
|
+
data: ErrorResponse;
|
|
923
|
+
status: 404;
|
|
924
|
+
};
|
|
925
|
+
type getApiUploadLimitResponse500 = {
|
|
926
|
+
data: ErrorResponse;
|
|
927
|
+
status: 500;
|
|
928
|
+
};
|
|
929
|
+
type getApiUploadLimitResponseSuccess = (getApiUploadLimitResponse200) & {
|
|
930
|
+
headers: Headers;
|
|
931
|
+
};
|
|
932
|
+
type getApiUploadLimitResponseError = (getApiUploadLimitResponse400 | getApiUploadLimitResponse404 | getApiUploadLimitResponse500) & {
|
|
933
|
+
headers: Headers;
|
|
934
|
+
};
|
|
935
|
+
type getApiUploadLimitResponse = (getApiUploadLimitResponseSuccess | getApiUploadLimitResponseError);
|
|
936
|
+
declare const getGetApiUploadLimitUrl: () => string;
|
|
937
|
+
/**
|
|
938
|
+
* Retrieves the maximum allowed upload size.
|
|
939
|
+
* @summary Get upload limit
|
|
940
|
+
*/
|
|
941
|
+
declare const getApiUploadLimit: (options?: RequestInit) => Promise<getApiUploadLimitResponse>;
|
|
942
|
+
//#endregion
|
|
943
|
+
export { deleteApiAccount, deleteApiAccountKeysKeyID, deleteApiAccountKeysKeyIDResponse, deleteApiAccountKeysKeyIDResponse200, deleteApiAccountKeysKeyIDResponse400, deleteApiAccountKeysKeyIDResponse404, deleteApiAccountKeysKeyIDResponse500, deleteApiAccountKeysKeyIDResponseError, deleteApiAccountKeysKeyIDResponseSuccess, deleteApiAccountResponse, deleteApiAccountResponse200, deleteApiAccountResponse400, deleteApiAccountResponse404, deleteApiAccountResponse500, deleteApiAccountResponseError, deleteApiAccountResponseSuccess, getApiAccount, getApiAccountAvatar, getApiAccountAvatarResponse, getApiAccountAvatarResponse200, getApiAccountAvatarResponse400, getApiAccountAvatarResponse404, getApiAccountAvatarResponse500, getApiAccountAvatarResponseError, getApiAccountAvatarResponseSuccess, getApiAccountKeys, getApiAccountKeysResponse, getApiAccountKeysResponse200, getApiAccountKeysResponse400, getApiAccountKeysResponse404, getApiAccountKeysResponse500, getApiAccountKeysResponseError, getApiAccountKeysResponseSuccess, getApiAccountPermissions, getApiAccountPermissionsResponse, getApiAccountPermissionsResponse200, getApiAccountPermissionsResponse400, getApiAccountPermissionsResponse404, getApiAccountPermissionsResponse500, getApiAccountPermissionsResponseError, getApiAccountPermissionsResponseSuccess, getApiAccountQuotaHistory, getApiAccountQuotaHistoryResponse, getApiAccountQuotaHistoryResponse200, getApiAccountQuotaHistoryResponse400, getApiAccountQuotaHistoryResponse404, getApiAccountQuotaHistoryResponse500, getApiAccountQuotaHistoryResponseError, getApiAccountQuotaHistoryResponseSuccess, getApiAccountResponse, getApiAccountResponse200, getApiAccountResponse400, getApiAccountResponse401, getApiAccountResponse403, getApiAccountResponse404, getApiAccountResponse500, getApiAccountResponseError, getApiAccountResponseSuccess, getApiOperations, getApiOperationsFilters, getApiOperationsFiltersResponse, getApiOperationsFiltersResponse200, getApiOperationsFiltersResponse400, getApiOperationsFiltersResponse404, getApiOperationsFiltersResponse500, getApiOperationsFiltersResponseError, getApiOperationsFiltersResponseSuccess, getApiOperationsId, getApiOperationsIdResponse, getApiOperationsIdResponse200, getApiOperationsIdResponse400, getApiOperationsIdResponse404, getApiOperationsIdResponse500, getApiOperationsIdResponseError, getApiOperationsIdResponseSuccess, getApiOperationsResponse, getApiOperationsResponse200, getApiOperationsResponse400, getApiOperationsResponse404, getApiOperationsResponse500, getApiOperationsResponseError, getApiOperationsResponseSuccess, getApiUploadLimit, getApiUploadLimitResponse, getApiUploadLimitResponse200, getApiUploadLimitResponse400, getApiUploadLimitResponse404, getApiUploadLimitResponse500, getApiUploadLimitResponseError, getApiUploadLimitResponseSuccess, getDeleteApiAccountKeysKeyIDUrl, getDeleteApiAccountUrl, getGetApiAccountAvatarUrl, getGetApiAccountKeysUrl, getGetApiAccountPermissionsUrl, getGetApiAccountQuotaHistoryUrl, getGetApiAccountUrl, getGetApiOperationsFiltersUrl, getGetApiOperationsIdUrl, getGetApiOperationsUrl, getGetApiUploadLimitUrl, getPatchApiAccountUrl, getPostApiAccountAvatarUrl, getPostApiAccountKeysUrl, getPostApiAccountPasswordResetConfirmUrl, getPostApiAccountPasswordResetRequestUrl, getPostApiAccountUpdateEmailUrl, getPostApiAccountUpdatePasswordUrl, getPostApiAccountVerifyEmailResendUrl, getPostApiAccountVerifyEmailUrl, getPostApiAuthKeyUrl, getPostApiAuthLoginUrl, getPostApiAuthLogoutUrl, getPostApiAuthOtpDisableUrl, getPostApiAuthOtpGenerateUrl, getPostApiAuthOtpValidateUrl, getPostApiAuthOtpVerifyUrl, getPostApiAuthPingUrl, getPostApiAuthRegisterUrl, patchApiAccount, patchApiAccountResponse, patchApiAccountResponse200, patchApiAccountResponse400, patchApiAccountResponse401, patchApiAccountResponse403, patchApiAccountResponse404, patchApiAccountResponse500, patchApiAccountResponseError, patchApiAccountResponseSuccess, postApiAccountAvatar, postApiAccountAvatarResponse, postApiAccountAvatarResponse200, postApiAccountAvatarResponse204, postApiAccountAvatarResponse400, postApiAccountAvatarResponse404, postApiAccountAvatarResponse500, postApiAccountAvatarResponseError, postApiAccountAvatarResponseSuccess, postApiAccountKeys, postApiAccountKeysResponse, postApiAccountKeysResponse200, postApiAccountKeysResponse400, postApiAccountKeysResponse404, postApiAccountKeysResponse500, postApiAccountKeysResponseError, postApiAccountKeysResponseSuccess, postApiAccountPasswordResetConfirm, postApiAccountPasswordResetConfirmResponse, postApiAccountPasswordResetConfirmResponse200, postApiAccountPasswordResetConfirmResponse400, postApiAccountPasswordResetConfirmResponse404, postApiAccountPasswordResetConfirmResponse500, postApiAccountPasswordResetConfirmResponseError, postApiAccountPasswordResetConfirmResponseSuccess, postApiAccountPasswordResetRequest, postApiAccountPasswordResetRequestResponse, postApiAccountPasswordResetRequestResponse200, postApiAccountPasswordResetRequestResponse400, postApiAccountPasswordResetRequestResponse401, postApiAccountPasswordResetRequestResponse403, postApiAccountPasswordResetRequestResponse404, postApiAccountPasswordResetRequestResponse500, postApiAccountPasswordResetRequestResponseError, postApiAccountPasswordResetRequestResponseSuccess, postApiAccountUpdateEmail, postApiAccountUpdateEmailResponse, postApiAccountUpdateEmailResponse200, postApiAccountUpdateEmailResponse400, postApiAccountUpdateEmailResponse404, postApiAccountUpdateEmailResponse500, postApiAccountUpdateEmailResponseError, postApiAccountUpdateEmailResponseSuccess, postApiAccountUpdatePassword, postApiAccountUpdatePasswordResponse, postApiAccountUpdatePasswordResponse200, postApiAccountUpdatePasswordResponse400, postApiAccountUpdatePasswordResponse404, postApiAccountUpdatePasswordResponse500, postApiAccountUpdatePasswordResponseError, postApiAccountUpdatePasswordResponseSuccess, postApiAccountVerifyEmail, postApiAccountVerifyEmailResend, postApiAccountVerifyEmailResendResponse, postApiAccountVerifyEmailResendResponse200, postApiAccountVerifyEmailResendResponse400, postApiAccountVerifyEmailResendResponse404, postApiAccountVerifyEmailResendResponse500, postApiAccountVerifyEmailResendResponseError, postApiAccountVerifyEmailResendResponseSuccess, postApiAccountVerifyEmailResponse, postApiAccountVerifyEmailResponse200, postApiAccountVerifyEmailResponse400, postApiAccountVerifyEmailResponse404, postApiAccountVerifyEmailResponse500, postApiAccountVerifyEmailResponseError, postApiAccountVerifyEmailResponseSuccess, postApiAuthKey, postApiAuthKeyResponse, postApiAuthKeyResponse200, postApiAuthKeyResponse400, postApiAuthKeyResponse401, postApiAuthKeyResponse403, postApiAuthKeyResponse404, postApiAuthKeyResponse500, postApiAuthKeyResponseError, postApiAuthKeyResponseSuccess, postApiAuthLogin, postApiAuthLoginResponse, postApiAuthLoginResponse200, postApiAuthLoginResponse302, postApiAuthLoginResponse400, postApiAuthLoginResponse401, postApiAuthLoginResponse403, postApiAuthLoginResponse404, postApiAuthLoginResponse500, postApiAuthLoginResponseError, postApiAuthLoginResponseSuccess, postApiAuthLogout, postApiAuthLogoutResponse, postApiAuthLogoutResponse200, postApiAuthLogoutResponse400, postApiAuthLogoutResponse401, postApiAuthLogoutResponse403, postApiAuthLogoutResponse404, postApiAuthLogoutResponse500, postApiAuthLogoutResponseError, postApiAuthLogoutResponseSuccess, postApiAuthOtpDisable, postApiAuthOtpDisableResponse, postApiAuthOtpDisableResponse200, postApiAuthOtpDisableResponse204, postApiAuthOtpDisableResponse400, postApiAuthOtpDisableResponse404, postApiAuthOtpDisableResponse500, postApiAuthOtpDisableResponseError, postApiAuthOtpDisableResponseSuccess, postApiAuthOtpGenerate, postApiAuthOtpGenerateResponse, postApiAuthOtpGenerateResponse200, postApiAuthOtpGenerateResponse400, postApiAuthOtpGenerateResponse401, postApiAuthOtpGenerateResponse403, postApiAuthOtpGenerateResponse404, postApiAuthOtpGenerateResponse500, postApiAuthOtpGenerateResponseError, postApiAuthOtpGenerateResponseSuccess, postApiAuthOtpValidate, postApiAuthOtpValidateResponse, postApiAuthOtpValidateResponse302, postApiAuthOtpValidateResponse400, postApiAuthOtpValidateResponse401, postApiAuthOtpValidateResponse403, postApiAuthOtpValidateResponse404, postApiAuthOtpValidateResponse500, postApiAuthOtpValidateResponseError, postApiAuthOtpVerify, postApiAuthOtpVerifyResponse, postApiAuthOtpVerifyResponse200, postApiAuthOtpVerifyResponse204, postApiAuthOtpVerifyResponse400, postApiAuthOtpVerifyResponse404, postApiAuthOtpVerifyResponse500, postApiAuthOtpVerifyResponseError, postApiAuthOtpVerifyResponseSuccess, postApiAuthPing, postApiAuthPingResponse, postApiAuthPingResponse200, postApiAuthPingResponse400, postApiAuthPingResponse401, postApiAuthPingResponse403, postApiAuthPingResponse404, postApiAuthPingResponse500, postApiAuthPingResponseError, postApiAuthPingResponseSuccess, postApiAuthRegister, postApiAuthRegisterResponse, postApiAuthRegisterResponse200, postApiAuthRegisterResponse400, postApiAuthRegisterResponse401, postApiAuthRegisterResponse403, postApiAuthRegisterResponse404, postApiAuthRegisterResponse409, postApiAuthRegisterResponse500, postApiAuthRegisterResponseError, postApiAuthRegisterResponseSuccess };
|
|
944
|
+
//# sourceMappingURL=default.d.ts.map
|