@36node/auth-sdk 1.1.0 → 1.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/dist/main.js +1649 -588
- package/dist/main.js.map +1 -1
- package/dist/module.js +1647 -587
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2274 -404
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -1,14 +1,1151 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export const $HealthCheckResult: {
|
|
2
|
+
readonly type: "object";
|
|
3
|
+
readonly properties: {
|
|
4
|
+
readonly message: {
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
readonly required: readonly ["message"];
|
|
9
|
+
};
|
|
10
|
+
export const $LoginDto: {
|
|
11
|
+
readonly type: "object";
|
|
12
|
+
readonly properties: {
|
|
13
|
+
readonly login: {
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
readonly description: "可以是 username/phone/Email";
|
|
16
|
+
};
|
|
17
|
+
readonly password: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly description: "密码";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
readonly required: readonly ["login", "password"];
|
|
23
|
+
};
|
|
24
|
+
export const $User: {
|
|
25
|
+
readonly type: "object";
|
|
26
|
+
readonly properties: {
|
|
27
|
+
readonly password: {
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
readonly description: "密码";
|
|
30
|
+
readonly writeOnly: true;
|
|
31
|
+
};
|
|
32
|
+
readonly hasPassword: {
|
|
33
|
+
readonly type: "boolean";
|
|
34
|
+
readonly description: "是否有密码";
|
|
35
|
+
readonly readOnly: true;
|
|
36
|
+
};
|
|
37
|
+
readonly avatar: {
|
|
38
|
+
readonly type: "string";
|
|
39
|
+
readonly description: "头像";
|
|
40
|
+
};
|
|
41
|
+
readonly data: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly description: "额外数据";
|
|
44
|
+
};
|
|
45
|
+
readonly email: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly description: "邮箱";
|
|
48
|
+
};
|
|
49
|
+
readonly name: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly description: "姓名";
|
|
52
|
+
};
|
|
53
|
+
readonly identity: {
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
};
|
|
56
|
+
readonly identityVerifiedAt: {
|
|
57
|
+
readonly format: "date-time";
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
readonly description: "实名认证时间";
|
|
60
|
+
};
|
|
61
|
+
readonly identityVerified: {
|
|
62
|
+
readonly type: "boolean";
|
|
63
|
+
readonly description: "实名认证是否通过";
|
|
64
|
+
};
|
|
65
|
+
readonly intro: {
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
readonly description: "简介";
|
|
68
|
+
};
|
|
69
|
+
readonly language: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly description: "使用语言";
|
|
72
|
+
};
|
|
73
|
+
readonly lastLoginIp: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
readonly description: "最后登录 IP";
|
|
76
|
+
};
|
|
77
|
+
readonly lastSeenAt: {
|
|
78
|
+
readonly format: "date-time";
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
readonly description: "最后活跃时间";
|
|
81
|
+
};
|
|
82
|
+
readonly nickname: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
readonly description: "昵称";
|
|
85
|
+
};
|
|
86
|
+
readonly ns: {
|
|
87
|
+
readonly type: "string";
|
|
88
|
+
readonly description: "所属命名空间";
|
|
89
|
+
};
|
|
90
|
+
readonly phone: {
|
|
91
|
+
readonly type: "string";
|
|
92
|
+
readonly description: "手机号";
|
|
93
|
+
};
|
|
94
|
+
readonly registerIp: {
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
readonly description: "注册 IP";
|
|
97
|
+
};
|
|
98
|
+
readonly registerRegion: {
|
|
99
|
+
readonly type: "string";
|
|
100
|
+
readonly description: "注册地区,存地区编号";
|
|
101
|
+
};
|
|
102
|
+
readonly roles: {
|
|
103
|
+
readonly description: "角色";
|
|
104
|
+
readonly type: "array";
|
|
105
|
+
readonly items: {
|
|
106
|
+
readonly type: "string";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
readonly super: {
|
|
110
|
+
readonly type: "boolean";
|
|
111
|
+
readonly description: "是否超级管理员";
|
|
112
|
+
};
|
|
113
|
+
readonly username: {
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
readonly description: "用户名";
|
|
116
|
+
};
|
|
117
|
+
readonly id: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
readonly description: "Entity id";
|
|
120
|
+
};
|
|
121
|
+
readonly createdAt: {
|
|
122
|
+
readonly format: "date-time";
|
|
123
|
+
readonly type: "string";
|
|
124
|
+
readonly description: "Entity created at when";
|
|
125
|
+
};
|
|
126
|
+
readonly updatedAt: {
|
|
127
|
+
readonly format: "date-time";
|
|
128
|
+
readonly type: "string";
|
|
129
|
+
readonly description: "Entity updated at when";
|
|
130
|
+
};
|
|
131
|
+
readonly createdBy: {
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
readonly description: "Entity created by who";
|
|
134
|
+
};
|
|
135
|
+
readonly updatedBy: {
|
|
136
|
+
readonly type: "string";
|
|
137
|
+
readonly description: "Entity updated by who";
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
readonly required: readonly ["id"];
|
|
141
|
+
};
|
|
142
|
+
export const $SessionWithToken: {
|
|
143
|
+
readonly type: "object";
|
|
144
|
+
readonly properties: {
|
|
145
|
+
readonly acl: {
|
|
146
|
+
readonly type: "object";
|
|
147
|
+
readonly description: "访问控制列表";
|
|
148
|
+
};
|
|
149
|
+
readonly expireAt: {
|
|
150
|
+
readonly format: "date-time";
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
readonly description: "会话过期时间";
|
|
153
|
+
};
|
|
154
|
+
readonly key: {
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
readonly description: "refresh token key";
|
|
157
|
+
};
|
|
158
|
+
readonly user: {
|
|
159
|
+
readonly description: "用户,实际存储 uid";
|
|
160
|
+
readonly allOf: readonly [{
|
|
161
|
+
readonly $ref: "#/components/schemas/User";
|
|
162
|
+
}];
|
|
163
|
+
};
|
|
164
|
+
readonly client: {
|
|
165
|
+
readonly type: "string";
|
|
166
|
+
readonly description: "客户端/设备";
|
|
167
|
+
};
|
|
168
|
+
readonly id: {
|
|
169
|
+
readonly type: "string";
|
|
170
|
+
readonly description: "Entity id";
|
|
171
|
+
};
|
|
172
|
+
readonly createdAt: {
|
|
173
|
+
readonly format: "date-time";
|
|
174
|
+
readonly type: "string";
|
|
175
|
+
readonly description: "Entity created at when";
|
|
176
|
+
};
|
|
177
|
+
readonly updatedAt: {
|
|
178
|
+
readonly format: "date-time";
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
readonly description: "Entity updated at when";
|
|
181
|
+
};
|
|
182
|
+
readonly createdBy: {
|
|
183
|
+
readonly type: "string";
|
|
184
|
+
readonly description: "Entity created by who";
|
|
185
|
+
};
|
|
186
|
+
readonly updatedBy: {
|
|
187
|
+
readonly type: "string";
|
|
188
|
+
readonly description: "Entity updated by who";
|
|
189
|
+
};
|
|
190
|
+
readonly token: {
|
|
191
|
+
readonly type: "string";
|
|
192
|
+
readonly description: "token";
|
|
193
|
+
};
|
|
194
|
+
readonly tokenExpireAt: {
|
|
195
|
+
readonly format: "date-time";
|
|
196
|
+
readonly type: "string";
|
|
197
|
+
readonly description: "token 过期时间";
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
readonly required: readonly ["expireAt", "key", "user", "id", "token", "tokenExpireAt"];
|
|
201
|
+
};
|
|
202
|
+
export const $LoginByEmailDto: {
|
|
203
|
+
readonly type: "object";
|
|
204
|
+
readonly properties: {
|
|
205
|
+
readonly email: {
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly description: "邮箱";
|
|
208
|
+
};
|
|
209
|
+
readonly key: {
|
|
210
|
+
readonly type: "string";
|
|
211
|
+
readonly description: "验证码 key";
|
|
212
|
+
};
|
|
213
|
+
readonly code: {
|
|
214
|
+
readonly type: "string";
|
|
215
|
+
readonly description: "验证码 code";
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
readonly required: readonly ["email", "key", "code"];
|
|
219
|
+
};
|
|
220
|
+
export const $LoginByPhoneDto: {
|
|
221
|
+
readonly type: "object";
|
|
222
|
+
readonly properties: {
|
|
223
|
+
readonly phone: {
|
|
224
|
+
readonly type: "string";
|
|
225
|
+
readonly description: "手机号";
|
|
226
|
+
};
|
|
227
|
+
readonly key: {
|
|
228
|
+
readonly type: "string";
|
|
229
|
+
readonly description: "验证码 key";
|
|
230
|
+
};
|
|
231
|
+
readonly code: {
|
|
232
|
+
readonly type: "string";
|
|
233
|
+
readonly description: "验证码 code";
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
readonly required: readonly ["phone", "key", "code"];
|
|
237
|
+
};
|
|
238
|
+
export const $RegisterDto: {
|
|
239
|
+
readonly type: "object";
|
|
240
|
+
readonly properties: {
|
|
241
|
+
readonly username: {
|
|
242
|
+
readonly type: "string";
|
|
243
|
+
readonly description: "用户名";
|
|
244
|
+
};
|
|
245
|
+
readonly password: {
|
|
246
|
+
readonly type: "string";
|
|
247
|
+
readonly description: "密码";
|
|
248
|
+
};
|
|
249
|
+
readonly ns: {
|
|
250
|
+
readonly type: "string";
|
|
251
|
+
readonly description: "命名空间";
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
readonly required: readonly ["username", "password"];
|
|
255
|
+
};
|
|
256
|
+
export const $RegisterbyPhoneDto: {
|
|
257
|
+
readonly type: "object";
|
|
258
|
+
readonly properties: {
|
|
259
|
+
readonly phone: {
|
|
260
|
+
readonly type: "string";
|
|
261
|
+
readonly description: "手机号";
|
|
262
|
+
};
|
|
263
|
+
readonly key: {
|
|
264
|
+
readonly type: "string";
|
|
265
|
+
readonly description: "验证码 key";
|
|
266
|
+
};
|
|
267
|
+
readonly code: {
|
|
268
|
+
readonly type: "string";
|
|
269
|
+
readonly description: "验证码 code";
|
|
270
|
+
};
|
|
271
|
+
readonly ns: {
|
|
272
|
+
readonly type: "string";
|
|
273
|
+
readonly description: "命名空间";
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
readonly required: readonly ["phone", "key", "code"];
|
|
277
|
+
};
|
|
278
|
+
export const $RegisterByEmailDto: {
|
|
279
|
+
readonly type: "object";
|
|
280
|
+
readonly properties: {
|
|
281
|
+
readonly email: {
|
|
282
|
+
readonly type: "string";
|
|
283
|
+
readonly description: "邮箱";
|
|
284
|
+
};
|
|
285
|
+
readonly key: {
|
|
286
|
+
readonly type: "string";
|
|
287
|
+
readonly description: "验证码 key";
|
|
288
|
+
};
|
|
289
|
+
readonly code: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly description: "验证码 code";
|
|
292
|
+
};
|
|
293
|
+
readonly ns: {
|
|
294
|
+
readonly type: "string";
|
|
295
|
+
readonly description: "命名空间";
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
readonly required: readonly ["email", "key", "code"];
|
|
299
|
+
};
|
|
300
|
+
export const $SignTokenDto: {
|
|
301
|
+
readonly type: "object";
|
|
302
|
+
readonly properties: {
|
|
303
|
+
readonly expiresIn: {
|
|
304
|
+
readonly type: "string";
|
|
305
|
+
readonly description: "short time span string\n\nrefs: https://github.com/vercel/ms\n\neg: \"2 days\", \"10h\", \"7d\", \"120s\", \"2.5 hrs\", \"2h\", \"1m\", \"5s\", \"1y\", \"100\", \"1y1m1d\"\n\nm => minute\nh => hour\nd => day\nw => week\nM => month\ny => year\ns => second\nms => millisecond\n无单位 => millisecond";
|
|
306
|
+
};
|
|
307
|
+
readonly acl: {
|
|
308
|
+
readonly type: "object";
|
|
309
|
+
readonly description: "访问控制列表";
|
|
310
|
+
};
|
|
311
|
+
readonly uid: {
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
readonly description: "user id";
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
readonly required: readonly ["expiresIn", "uid"];
|
|
317
|
+
};
|
|
318
|
+
export const $Token: {
|
|
319
|
+
readonly type: "object";
|
|
320
|
+
readonly properties: {
|
|
321
|
+
readonly token: {
|
|
322
|
+
readonly type: "string";
|
|
323
|
+
readonly description: "token";
|
|
324
|
+
};
|
|
325
|
+
readonly tokenExpireAt: {
|
|
326
|
+
readonly format: "date-time";
|
|
327
|
+
readonly type: "string";
|
|
328
|
+
readonly description: "token 过期时间";
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
readonly required: readonly ["token", "tokenExpireAt"];
|
|
332
|
+
};
|
|
333
|
+
export const $RefreshTokenDto: {
|
|
334
|
+
readonly type: "object";
|
|
335
|
+
readonly properties: {
|
|
336
|
+
readonly key: {
|
|
337
|
+
readonly type: "string";
|
|
338
|
+
readonly description: "user id";
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
readonly required: readonly ["key"];
|
|
342
|
+
};
|
|
343
|
+
export const $CreateUserDto: {
|
|
344
|
+
readonly type: "object";
|
|
345
|
+
readonly properties: {
|
|
346
|
+
readonly password: {
|
|
347
|
+
readonly type: "string";
|
|
348
|
+
readonly description: "密码";
|
|
349
|
+
readonly writeOnly: true;
|
|
350
|
+
};
|
|
351
|
+
readonly hasPassword: {
|
|
352
|
+
readonly type: "boolean";
|
|
353
|
+
readonly description: "是否有密码";
|
|
354
|
+
readonly readOnly: true;
|
|
355
|
+
};
|
|
356
|
+
readonly avatar: {
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly description: "头像";
|
|
359
|
+
};
|
|
360
|
+
readonly data: {
|
|
361
|
+
readonly type: "string";
|
|
362
|
+
readonly description: "额外数据";
|
|
363
|
+
};
|
|
364
|
+
readonly email: {
|
|
365
|
+
readonly type: "string";
|
|
366
|
+
readonly description: "邮箱";
|
|
367
|
+
};
|
|
368
|
+
readonly name: {
|
|
369
|
+
readonly type: "string";
|
|
370
|
+
readonly description: "姓名";
|
|
371
|
+
};
|
|
372
|
+
readonly identity: {
|
|
373
|
+
readonly type: "string";
|
|
374
|
+
};
|
|
375
|
+
readonly identityVerifiedAt: {
|
|
376
|
+
readonly format: "date-time";
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
readonly description: "实名认证时间";
|
|
379
|
+
};
|
|
380
|
+
readonly identityVerified: {
|
|
381
|
+
readonly type: "boolean";
|
|
382
|
+
readonly description: "实名认证是否通过";
|
|
383
|
+
};
|
|
384
|
+
readonly intro: {
|
|
385
|
+
readonly type: "string";
|
|
386
|
+
readonly description: "简介";
|
|
387
|
+
};
|
|
388
|
+
readonly language: {
|
|
389
|
+
readonly type: "string";
|
|
390
|
+
readonly description: "使用语言";
|
|
391
|
+
};
|
|
392
|
+
readonly nickname: {
|
|
393
|
+
readonly type: "string";
|
|
394
|
+
readonly description: "昵称";
|
|
395
|
+
};
|
|
396
|
+
readonly ns: {
|
|
397
|
+
readonly type: "string";
|
|
398
|
+
readonly description: "所属命名空间";
|
|
399
|
+
};
|
|
400
|
+
readonly phone: {
|
|
401
|
+
readonly type: "string";
|
|
402
|
+
readonly description: "手机号";
|
|
403
|
+
};
|
|
404
|
+
readonly registerRegion: {
|
|
405
|
+
readonly type: "string";
|
|
406
|
+
readonly description: "注册地区,存地区编号";
|
|
407
|
+
};
|
|
408
|
+
readonly roles: {
|
|
409
|
+
readonly description: "角色";
|
|
410
|
+
readonly type: "array";
|
|
411
|
+
readonly items: {
|
|
412
|
+
readonly type: "string";
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
readonly super: {
|
|
416
|
+
readonly type: "boolean";
|
|
417
|
+
readonly description: "是否超级管理员";
|
|
418
|
+
};
|
|
419
|
+
readonly username: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
readonly description: "用户名";
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
export const $UpdateUserDto: {
|
|
426
|
+
readonly type: "object";
|
|
427
|
+
readonly properties: {
|
|
428
|
+
readonly hasPassword: {
|
|
429
|
+
readonly type: "boolean";
|
|
430
|
+
readonly description: "是否有密码";
|
|
431
|
+
readonly readOnly: true;
|
|
432
|
+
};
|
|
433
|
+
readonly avatar: {
|
|
434
|
+
readonly type: "string";
|
|
435
|
+
readonly description: "头像";
|
|
436
|
+
};
|
|
437
|
+
readonly data: {
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
readonly description: "额外数据";
|
|
440
|
+
};
|
|
441
|
+
readonly email: {
|
|
442
|
+
readonly type: "string";
|
|
443
|
+
readonly description: "邮箱";
|
|
444
|
+
};
|
|
445
|
+
readonly name: {
|
|
446
|
+
readonly type: "string";
|
|
447
|
+
readonly description: "姓名";
|
|
448
|
+
};
|
|
449
|
+
readonly identity: {
|
|
450
|
+
readonly type: "string";
|
|
451
|
+
};
|
|
452
|
+
readonly identityVerifiedAt: {
|
|
453
|
+
readonly format: "date-time";
|
|
454
|
+
readonly type: "string";
|
|
455
|
+
readonly description: "实名认证时间";
|
|
456
|
+
};
|
|
457
|
+
readonly identityVerified: {
|
|
458
|
+
readonly type: "boolean";
|
|
459
|
+
readonly description: "实名认证是否通过";
|
|
460
|
+
};
|
|
461
|
+
readonly intro: {
|
|
462
|
+
readonly type: "string";
|
|
463
|
+
readonly description: "简介";
|
|
464
|
+
};
|
|
465
|
+
readonly language: {
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
readonly description: "使用语言";
|
|
468
|
+
};
|
|
469
|
+
readonly lastLoginIp: {
|
|
470
|
+
readonly type: "string";
|
|
471
|
+
readonly description: "最后登录 IP";
|
|
472
|
+
};
|
|
473
|
+
readonly lastSeenAt: {
|
|
474
|
+
readonly format: "date-time";
|
|
475
|
+
readonly type: "string";
|
|
476
|
+
readonly description: "最后活跃时间";
|
|
477
|
+
};
|
|
478
|
+
readonly nickname: {
|
|
479
|
+
readonly type: "string";
|
|
480
|
+
readonly description: "昵称";
|
|
481
|
+
};
|
|
482
|
+
readonly ns: {
|
|
483
|
+
readonly type: "string";
|
|
484
|
+
readonly description: "所属命名空间";
|
|
485
|
+
};
|
|
486
|
+
readonly phone: {
|
|
487
|
+
readonly type: "string";
|
|
488
|
+
readonly description: "手机号";
|
|
489
|
+
};
|
|
490
|
+
readonly registerIp: {
|
|
491
|
+
readonly type: "string";
|
|
492
|
+
readonly description: "注册 IP";
|
|
493
|
+
};
|
|
494
|
+
readonly registerRegion: {
|
|
495
|
+
readonly type: "string";
|
|
496
|
+
readonly description: "注册地区,存地区编号";
|
|
497
|
+
};
|
|
498
|
+
readonly roles: {
|
|
499
|
+
readonly description: "角色";
|
|
500
|
+
readonly type: "array";
|
|
501
|
+
readonly items: {
|
|
502
|
+
readonly type: "string";
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
readonly super: {
|
|
506
|
+
readonly type: "boolean";
|
|
507
|
+
readonly description: "是否超级管理员";
|
|
508
|
+
};
|
|
509
|
+
readonly username: {
|
|
510
|
+
readonly type: "string";
|
|
511
|
+
readonly description: "用户名";
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
export const $ResetPasswordDto: {
|
|
516
|
+
readonly type: "object";
|
|
517
|
+
readonly properties: {
|
|
518
|
+
readonly password: {
|
|
519
|
+
readonly type: "string";
|
|
520
|
+
readonly description: "密码";
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
export const $UpdatePasswordDto: {
|
|
525
|
+
readonly type: "object";
|
|
526
|
+
readonly properties: {
|
|
527
|
+
readonly oldPassword: {
|
|
528
|
+
readonly type: "string";
|
|
529
|
+
readonly description: "旧密码";
|
|
530
|
+
};
|
|
531
|
+
readonly newPassword: {
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
readonly description: "新密码";
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
readonly required: readonly ["newPassword"];
|
|
537
|
+
};
|
|
538
|
+
export const $CreateNamespaceDto: {
|
|
539
|
+
readonly type: "object";
|
|
540
|
+
readonly properties: {
|
|
541
|
+
readonly data: {
|
|
542
|
+
readonly type: "string";
|
|
543
|
+
readonly description: "额外数据";
|
|
544
|
+
};
|
|
545
|
+
readonly desc: {
|
|
546
|
+
readonly type: "string";
|
|
547
|
+
readonly description: "描述";
|
|
548
|
+
};
|
|
549
|
+
readonly labels: {
|
|
550
|
+
readonly description: "标签";
|
|
551
|
+
readonly type: "array";
|
|
552
|
+
readonly items: {
|
|
553
|
+
readonly type: "string";
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
readonly name: {
|
|
557
|
+
readonly type: "string";
|
|
558
|
+
readonly description: "名称";
|
|
559
|
+
};
|
|
560
|
+
readonly key: {
|
|
561
|
+
readonly type: "string";
|
|
562
|
+
readonly description: "命名空间的 key\n\n允许的字符 ^[a-zA-Z][a-zA-Z0-9._/-]{0,30}$";
|
|
563
|
+
};
|
|
564
|
+
readonly ns: {
|
|
565
|
+
readonly type: "string";
|
|
566
|
+
readonly description: "所属的 namespace";
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
readonly required: readonly ["name", "key"];
|
|
570
|
+
};
|
|
571
|
+
export const $Namespace: {
|
|
572
|
+
readonly type: "object";
|
|
573
|
+
readonly properties: {
|
|
574
|
+
readonly data: {
|
|
575
|
+
readonly type: "string";
|
|
576
|
+
readonly description: "额外数据";
|
|
577
|
+
};
|
|
578
|
+
readonly desc: {
|
|
579
|
+
readonly type: "string";
|
|
580
|
+
readonly description: "描述";
|
|
581
|
+
};
|
|
582
|
+
readonly labels: {
|
|
583
|
+
readonly description: "标签";
|
|
584
|
+
readonly type: "array";
|
|
585
|
+
readonly items: {
|
|
586
|
+
readonly type: "string";
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
readonly name: {
|
|
590
|
+
readonly type: "string";
|
|
591
|
+
readonly description: "名称";
|
|
592
|
+
};
|
|
593
|
+
readonly key: {
|
|
594
|
+
readonly type: "string";
|
|
595
|
+
readonly description: "命名空间的 key\n\n允许的字符 ^[a-zA-Z][a-zA-Z0-9._/-]{0,30}$";
|
|
596
|
+
};
|
|
597
|
+
readonly ns: {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
readonly description: "所属的 namespace";
|
|
600
|
+
};
|
|
601
|
+
readonly id: {
|
|
602
|
+
readonly type: "string";
|
|
603
|
+
readonly description: "Entity id";
|
|
604
|
+
};
|
|
605
|
+
readonly createdAt: {
|
|
606
|
+
readonly format: "date-time";
|
|
607
|
+
readonly type: "string";
|
|
608
|
+
readonly description: "Entity created at when";
|
|
609
|
+
};
|
|
610
|
+
readonly updatedAt: {
|
|
611
|
+
readonly format: "date-time";
|
|
612
|
+
readonly type: "string";
|
|
613
|
+
readonly description: "Entity updated at when";
|
|
614
|
+
};
|
|
615
|
+
readonly createdBy: {
|
|
616
|
+
readonly type: "string";
|
|
617
|
+
readonly description: "Entity created by who";
|
|
618
|
+
};
|
|
619
|
+
readonly updatedBy: {
|
|
620
|
+
readonly type: "string";
|
|
621
|
+
readonly description: "Entity updated by who";
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
readonly required: readonly ["name", "key", "id"];
|
|
625
|
+
};
|
|
626
|
+
export const $UpdateNamespaceDto: {
|
|
627
|
+
readonly type: "object";
|
|
628
|
+
readonly properties: {
|
|
629
|
+
readonly data: {
|
|
630
|
+
readonly type: "string";
|
|
631
|
+
readonly description: "额外数据";
|
|
632
|
+
};
|
|
633
|
+
readonly desc: {
|
|
634
|
+
readonly type: "string";
|
|
635
|
+
readonly description: "描述";
|
|
636
|
+
};
|
|
637
|
+
readonly labels: {
|
|
638
|
+
readonly description: "标签";
|
|
639
|
+
readonly type: "array";
|
|
640
|
+
readonly items: {
|
|
641
|
+
readonly type: "string";
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
readonly name: {
|
|
645
|
+
readonly type: "string";
|
|
646
|
+
readonly description: "名称";
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
export const $CreateSessionDto: {
|
|
651
|
+
readonly type: "object";
|
|
652
|
+
readonly properties: {
|
|
653
|
+
readonly uid: {
|
|
654
|
+
readonly type: "string";
|
|
655
|
+
readonly description: "用户 ID";
|
|
656
|
+
};
|
|
657
|
+
readonly acl: {
|
|
658
|
+
readonly type: "object";
|
|
659
|
+
readonly description: "访问控制列表";
|
|
660
|
+
};
|
|
661
|
+
readonly expireAt: {
|
|
662
|
+
readonly format: "date-time";
|
|
663
|
+
readonly type: "string";
|
|
664
|
+
readonly description: "会话过期时间";
|
|
665
|
+
};
|
|
666
|
+
readonly client: {
|
|
667
|
+
readonly type: "string";
|
|
668
|
+
readonly description: "客户端/设备";
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
readonly required: readonly ["uid", "expireAt"];
|
|
672
|
+
};
|
|
673
|
+
export const $Session: {
|
|
674
|
+
readonly type: "object";
|
|
675
|
+
readonly properties: {
|
|
676
|
+
readonly acl: {
|
|
677
|
+
readonly type: "object";
|
|
678
|
+
readonly description: "访问控制列表";
|
|
679
|
+
};
|
|
680
|
+
readonly expireAt: {
|
|
681
|
+
readonly format: "date-time";
|
|
682
|
+
readonly type: "string";
|
|
683
|
+
readonly description: "会话过期时间";
|
|
684
|
+
};
|
|
685
|
+
readonly key: {
|
|
686
|
+
readonly type: "string";
|
|
687
|
+
readonly description: "refresh token key";
|
|
688
|
+
};
|
|
689
|
+
readonly user: {
|
|
690
|
+
readonly description: "用户,实际存储 uid";
|
|
691
|
+
readonly allOf: readonly [{
|
|
692
|
+
readonly $ref: "#/components/schemas/User";
|
|
693
|
+
}];
|
|
694
|
+
};
|
|
695
|
+
readonly client: {
|
|
696
|
+
readonly type: "string";
|
|
697
|
+
readonly description: "客户端/设备";
|
|
698
|
+
};
|
|
699
|
+
readonly id: {
|
|
700
|
+
readonly type: "string";
|
|
701
|
+
readonly description: "Entity id";
|
|
702
|
+
};
|
|
703
|
+
readonly createdAt: {
|
|
704
|
+
readonly format: "date-time";
|
|
705
|
+
readonly type: "string";
|
|
706
|
+
readonly description: "Entity created at when";
|
|
707
|
+
};
|
|
708
|
+
readonly updatedAt: {
|
|
709
|
+
readonly format: "date-time";
|
|
710
|
+
readonly type: "string";
|
|
711
|
+
readonly description: "Entity updated at when";
|
|
712
|
+
};
|
|
713
|
+
readonly createdBy: {
|
|
714
|
+
readonly type: "string";
|
|
715
|
+
readonly description: "Entity created by who";
|
|
716
|
+
};
|
|
717
|
+
readonly updatedBy: {
|
|
718
|
+
readonly type: "string";
|
|
719
|
+
readonly description: "Entity updated by who";
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
readonly required: readonly ["expireAt", "key", "user", "id"];
|
|
723
|
+
};
|
|
724
|
+
export const $UpdateSessionDto: {
|
|
725
|
+
readonly type: "object";
|
|
726
|
+
readonly properties: {
|
|
727
|
+
readonly acl: {
|
|
728
|
+
readonly type: "object";
|
|
729
|
+
readonly description: "访问控制列表";
|
|
730
|
+
};
|
|
731
|
+
readonly expireAt: {
|
|
732
|
+
readonly format: "date-time";
|
|
733
|
+
readonly type: "string";
|
|
734
|
+
readonly description: "会话过期时间";
|
|
735
|
+
};
|
|
736
|
+
readonly client: {
|
|
737
|
+
readonly type: "string";
|
|
738
|
+
readonly description: "客户端/设备";
|
|
739
|
+
};
|
|
740
|
+
readonly uid: {
|
|
741
|
+
readonly type: "string";
|
|
742
|
+
readonly description: "用户 ID";
|
|
743
|
+
};
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
export const $CreateCaptchaDto: {
|
|
747
|
+
readonly type: "object";
|
|
748
|
+
readonly properties: {
|
|
749
|
+
readonly code: {
|
|
750
|
+
readonly type: "string";
|
|
751
|
+
readonly description: "验证码";
|
|
752
|
+
};
|
|
753
|
+
readonly expireAt: {
|
|
754
|
+
readonly format: "date-time";
|
|
755
|
+
readonly type: "string";
|
|
756
|
+
readonly description: "过期时间";
|
|
757
|
+
};
|
|
758
|
+
readonly key: {
|
|
759
|
+
readonly type: "string";
|
|
760
|
+
readonly description: "key";
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
readonly required: readonly ["key"];
|
|
764
|
+
};
|
|
765
|
+
export const $Captcha: {
|
|
766
|
+
readonly type: "object";
|
|
767
|
+
readonly properties: {
|
|
768
|
+
readonly code: {
|
|
769
|
+
readonly type: "string";
|
|
770
|
+
readonly description: "验证码";
|
|
771
|
+
};
|
|
772
|
+
readonly expireAt: {
|
|
773
|
+
readonly format: "date-time";
|
|
774
|
+
readonly type: "string";
|
|
775
|
+
readonly description: "过期时间";
|
|
776
|
+
};
|
|
777
|
+
readonly key: {
|
|
778
|
+
readonly type: "string";
|
|
779
|
+
readonly description: "key";
|
|
780
|
+
};
|
|
781
|
+
readonly id: {
|
|
782
|
+
readonly type: "string";
|
|
783
|
+
readonly description: "Entity id";
|
|
784
|
+
};
|
|
785
|
+
readonly createdAt: {
|
|
786
|
+
readonly format: "date-time";
|
|
787
|
+
readonly type: "string";
|
|
788
|
+
readonly description: "Entity created at when";
|
|
789
|
+
};
|
|
790
|
+
readonly updatedAt: {
|
|
791
|
+
readonly format: "date-time";
|
|
792
|
+
readonly type: "string";
|
|
793
|
+
readonly description: "Entity updated at when";
|
|
794
|
+
};
|
|
795
|
+
readonly createdBy: {
|
|
796
|
+
readonly type: "string";
|
|
797
|
+
readonly description: "Entity created by who";
|
|
798
|
+
};
|
|
799
|
+
readonly updatedBy: {
|
|
800
|
+
readonly type: "string";
|
|
801
|
+
readonly description: "Entity updated by who";
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
readonly required: readonly ["code", "expireAt", "key", "id"];
|
|
805
|
+
};
|
|
806
|
+
export const $UpdateCaptchaDto: {
|
|
807
|
+
readonly type: "object";
|
|
808
|
+
readonly properties: {
|
|
809
|
+
readonly code: {
|
|
810
|
+
readonly type: "string";
|
|
811
|
+
readonly description: "验证码";
|
|
812
|
+
};
|
|
813
|
+
readonly expireAt: {
|
|
814
|
+
readonly format: "date-time";
|
|
815
|
+
readonly type: "string";
|
|
816
|
+
readonly description: "过期时间";
|
|
817
|
+
};
|
|
818
|
+
readonly key: {
|
|
819
|
+
readonly type: "string";
|
|
820
|
+
readonly description: "key";
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
export const $SendEmailDto: {
|
|
825
|
+
readonly type: "object";
|
|
826
|
+
readonly properties: {
|
|
827
|
+
readonly from: {
|
|
828
|
+
readonly type: "string";
|
|
829
|
+
};
|
|
830
|
+
readonly to: {
|
|
831
|
+
readonly type: "string";
|
|
832
|
+
};
|
|
833
|
+
readonly subject: {
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
};
|
|
836
|
+
readonly content: {
|
|
837
|
+
readonly type: "string";
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
readonly required: readonly ["from", "to", "subject", "content"];
|
|
841
|
+
};
|
|
842
|
+
export const $EmailStatus: {
|
|
843
|
+
readonly type: "string";
|
|
844
|
+
readonly description: "发送状态";
|
|
845
|
+
readonly enum: readonly ["pending", "sent"];
|
|
846
|
+
};
|
|
847
|
+
export const $CreateEmailRecordDto: {
|
|
848
|
+
readonly type: "object";
|
|
849
|
+
readonly properties: {
|
|
850
|
+
readonly status: {
|
|
851
|
+
readonly $ref: "#/components/schemas/EmailStatus";
|
|
852
|
+
};
|
|
853
|
+
readonly from: {
|
|
854
|
+
readonly type: "string";
|
|
855
|
+
readonly description: "发件者";
|
|
856
|
+
};
|
|
857
|
+
readonly to: {
|
|
858
|
+
readonly type: "string";
|
|
859
|
+
readonly description: "收件者";
|
|
860
|
+
};
|
|
861
|
+
readonly subject: {
|
|
862
|
+
readonly type: "string";
|
|
863
|
+
readonly description: "主题";
|
|
864
|
+
};
|
|
865
|
+
readonly content: {
|
|
866
|
+
readonly type: "string";
|
|
867
|
+
readonly description: "内容";
|
|
868
|
+
};
|
|
869
|
+
readonly sentAt: {
|
|
870
|
+
readonly format: "date-time";
|
|
871
|
+
readonly type: "string";
|
|
872
|
+
readonly description: "发送时间";
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
readonly required: readonly ["status", "from", "to", "subject", "content"];
|
|
876
|
+
};
|
|
877
|
+
export const $EmailRecord: {
|
|
878
|
+
readonly type: "object";
|
|
879
|
+
readonly properties: {
|
|
880
|
+
readonly status: {
|
|
881
|
+
readonly $ref: "#/components/schemas/EmailStatus";
|
|
882
|
+
};
|
|
883
|
+
readonly from: {
|
|
884
|
+
readonly type: "string";
|
|
885
|
+
readonly description: "发件者";
|
|
886
|
+
};
|
|
887
|
+
readonly to: {
|
|
888
|
+
readonly type: "string";
|
|
889
|
+
readonly description: "收件者";
|
|
890
|
+
};
|
|
891
|
+
readonly subject: {
|
|
892
|
+
readonly type: "string";
|
|
893
|
+
readonly description: "主题";
|
|
894
|
+
};
|
|
895
|
+
readonly content: {
|
|
896
|
+
readonly type: "string";
|
|
897
|
+
readonly description: "内容";
|
|
898
|
+
};
|
|
899
|
+
readonly sentAt: {
|
|
900
|
+
readonly format: "date-time";
|
|
901
|
+
readonly type: "string";
|
|
902
|
+
readonly description: "发送时间";
|
|
903
|
+
};
|
|
904
|
+
readonly id: {
|
|
905
|
+
readonly type: "string";
|
|
906
|
+
readonly description: "Entity id";
|
|
907
|
+
};
|
|
908
|
+
readonly createdAt: {
|
|
909
|
+
readonly format: "date-time";
|
|
910
|
+
readonly type: "string";
|
|
911
|
+
readonly description: "Entity created at when";
|
|
912
|
+
};
|
|
913
|
+
readonly updatedAt: {
|
|
914
|
+
readonly format: "date-time";
|
|
915
|
+
readonly type: "string";
|
|
916
|
+
readonly description: "Entity updated at when";
|
|
917
|
+
};
|
|
918
|
+
readonly createdBy: {
|
|
919
|
+
readonly type: "string";
|
|
920
|
+
readonly description: "Entity created by who";
|
|
921
|
+
};
|
|
922
|
+
readonly updatedBy: {
|
|
923
|
+
readonly type: "string";
|
|
924
|
+
readonly description: "Entity updated by who";
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
readonly required: readonly ["status", "from", "to", "subject", "content", "id"];
|
|
928
|
+
};
|
|
929
|
+
export const $UpdateEmailRecordDto: {
|
|
930
|
+
readonly type: "object";
|
|
931
|
+
readonly properties: {
|
|
932
|
+
readonly status: {
|
|
933
|
+
readonly $ref: "#/components/schemas/EmailStatus";
|
|
934
|
+
};
|
|
935
|
+
readonly from: {
|
|
936
|
+
readonly type: "string";
|
|
937
|
+
readonly description: "发件者";
|
|
938
|
+
};
|
|
939
|
+
readonly to: {
|
|
940
|
+
readonly type: "string";
|
|
941
|
+
readonly description: "收件者";
|
|
942
|
+
};
|
|
943
|
+
readonly subject: {
|
|
944
|
+
readonly type: "string";
|
|
945
|
+
readonly description: "主题";
|
|
946
|
+
};
|
|
947
|
+
readonly content: {
|
|
948
|
+
readonly type: "string";
|
|
949
|
+
readonly description: "内容";
|
|
950
|
+
};
|
|
951
|
+
readonly sentAt: {
|
|
952
|
+
readonly format: "date-time";
|
|
953
|
+
readonly type: "string";
|
|
954
|
+
readonly description: "发送时间";
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
export const $Industry: {
|
|
959
|
+
readonly type: "object";
|
|
960
|
+
readonly properties: {
|
|
961
|
+
readonly code: {
|
|
962
|
+
readonly type: "string";
|
|
963
|
+
readonly description: "编码";
|
|
964
|
+
};
|
|
965
|
+
readonly name: {
|
|
966
|
+
readonly type: "string";
|
|
967
|
+
readonly description: "名称";
|
|
968
|
+
};
|
|
969
|
+
readonly children: {
|
|
970
|
+
readonly description: "子集";
|
|
971
|
+
readonly type: "array";
|
|
972
|
+
readonly items: {
|
|
973
|
+
readonly $ref: "#/components/schemas/Industry";
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
readonly required: readonly ["code", "name", "children"];
|
|
978
|
+
};
|
|
979
|
+
export const $Region: {
|
|
980
|
+
readonly type: "object";
|
|
981
|
+
readonly properties: {
|
|
982
|
+
readonly code: {
|
|
983
|
+
readonly type: "string";
|
|
984
|
+
readonly description: "缩写";
|
|
985
|
+
};
|
|
986
|
+
readonly nameZh: {
|
|
987
|
+
readonly type: "string";
|
|
988
|
+
readonly description: "中文名称";
|
|
989
|
+
};
|
|
990
|
+
readonly namePinyin: {
|
|
991
|
+
readonly type: "string";
|
|
992
|
+
readonly description: "中文拼音";
|
|
993
|
+
};
|
|
994
|
+
readonly nameEn: {
|
|
995
|
+
readonly type: "string";
|
|
996
|
+
readonly description: "英文名称";
|
|
997
|
+
};
|
|
998
|
+
readonly dialingPrefix: {
|
|
999
|
+
readonly type: "string";
|
|
1000
|
+
readonly description: "电话前缀";
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
readonly required: readonly ["code", "nameZh", "namePinyin", "nameEn", "dialingPrefix"];
|
|
1004
|
+
};
|
|
1005
|
+
export const $SendSmsDto: {
|
|
1006
|
+
readonly type: "object";
|
|
1007
|
+
readonly properties: {
|
|
1008
|
+
readonly phone: {
|
|
1009
|
+
readonly type: "string";
|
|
1010
|
+
};
|
|
1011
|
+
readonly sign: {
|
|
1012
|
+
readonly type: "string";
|
|
1013
|
+
};
|
|
1014
|
+
readonly template: {
|
|
1015
|
+
readonly type: "string";
|
|
1016
|
+
};
|
|
1017
|
+
readonly params: {
|
|
1018
|
+
readonly type: "object";
|
|
1019
|
+
};
|
|
1020
|
+
};
|
|
1021
|
+
readonly required: readonly ["phone", "sign", "template"];
|
|
1022
|
+
};
|
|
1023
|
+
export const $SmsStatus: {
|
|
1024
|
+
readonly type: "string";
|
|
1025
|
+
readonly description: "发送状态";
|
|
1026
|
+
readonly enum: readonly ["pending", "sent"];
|
|
1027
|
+
};
|
|
1028
|
+
export const $CreateSmsRecordDto: {
|
|
1029
|
+
readonly type: "object";
|
|
1030
|
+
readonly properties: {
|
|
1031
|
+
readonly status: {
|
|
1032
|
+
readonly $ref: "#/components/schemas/SmsStatus";
|
|
1033
|
+
};
|
|
1034
|
+
readonly phone: {
|
|
1035
|
+
readonly type: "string";
|
|
1036
|
+
readonly description: "手机号";
|
|
1037
|
+
};
|
|
1038
|
+
readonly sign: {
|
|
1039
|
+
readonly type: "string";
|
|
1040
|
+
readonly description: "签名";
|
|
1041
|
+
};
|
|
1042
|
+
readonly template: {
|
|
1043
|
+
readonly type: "string";
|
|
1044
|
+
readonly description: "模板";
|
|
1045
|
+
};
|
|
1046
|
+
readonly params: {
|
|
1047
|
+
readonly type: "string";
|
|
1048
|
+
readonly description: "参数";
|
|
1049
|
+
};
|
|
1050
|
+
readonly sentAt: {
|
|
1051
|
+
readonly format: "date-time";
|
|
1052
|
+
readonly type: "string";
|
|
1053
|
+
readonly description: "发送时间";
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
readonly required: readonly ["status", "phone", "sign", "template"];
|
|
1057
|
+
};
|
|
1058
|
+
export const $SmsRecord: {
|
|
1059
|
+
readonly type: "object";
|
|
1060
|
+
readonly properties: {
|
|
1061
|
+
readonly status: {
|
|
1062
|
+
readonly $ref: "#/components/schemas/SmsStatus";
|
|
1063
|
+
};
|
|
1064
|
+
readonly phone: {
|
|
1065
|
+
readonly type: "string";
|
|
1066
|
+
readonly description: "手机号";
|
|
1067
|
+
};
|
|
1068
|
+
readonly sign: {
|
|
1069
|
+
readonly type: "string";
|
|
1070
|
+
readonly description: "签名";
|
|
1071
|
+
};
|
|
1072
|
+
readonly template: {
|
|
1073
|
+
readonly type: "string";
|
|
1074
|
+
readonly description: "模板";
|
|
1075
|
+
};
|
|
1076
|
+
readonly params: {
|
|
1077
|
+
readonly type: "string";
|
|
1078
|
+
readonly description: "参数";
|
|
1079
|
+
};
|
|
1080
|
+
readonly sentAt: {
|
|
1081
|
+
readonly format: "date-time";
|
|
1082
|
+
readonly type: "string";
|
|
1083
|
+
readonly description: "发送时间";
|
|
1084
|
+
};
|
|
1085
|
+
readonly id: {
|
|
1086
|
+
readonly type: "string";
|
|
1087
|
+
readonly description: "Entity id";
|
|
1088
|
+
};
|
|
1089
|
+
readonly createdAt: {
|
|
1090
|
+
readonly format: "date-time";
|
|
1091
|
+
readonly type: "string";
|
|
1092
|
+
readonly description: "Entity created at when";
|
|
1093
|
+
};
|
|
1094
|
+
readonly updatedAt: {
|
|
1095
|
+
readonly format: "date-time";
|
|
1096
|
+
readonly type: "string";
|
|
1097
|
+
readonly description: "Entity updated at when";
|
|
1098
|
+
};
|
|
1099
|
+
readonly createdBy: {
|
|
1100
|
+
readonly type: "string";
|
|
1101
|
+
readonly description: "Entity created by who";
|
|
1102
|
+
};
|
|
1103
|
+
readonly updatedBy: {
|
|
1104
|
+
readonly type: "string";
|
|
1105
|
+
readonly description: "Entity updated by who";
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
readonly required: readonly ["status", "phone", "sign", "template", "id"];
|
|
1109
|
+
};
|
|
1110
|
+
export const $UpdateSmsRecordDto: {
|
|
1111
|
+
readonly type: "object";
|
|
1112
|
+
readonly properties: {
|
|
1113
|
+
readonly status: {
|
|
1114
|
+
readonly $ref: "#/components/schemas/SmsStatus";
|
|
1115
|
+
};
|
|
1116
|
+
readonly phone: {
|
|
1117
|
+
readonly type: "string";
|
|
1118
|
+
readonly description: "手机号";
|
|
1119
|
+
};
|
|
1120
|
+
readonly sign: {
|
|
1121
|
+
readonly type: "string";
|
|
1122
|
+
readonly description: "签名";
|
|
1123
|
+
};
|
|
1124
|
+
readonly template: {
|
|
1125
|
+
readonly type: "string";
|
|
1126
|
+
readonly description: "模板";
|
|
1127
|
+
};
|
|
1128
|
+
readonly params: {
|
|
1129
|
+
readonly type: "string";
|
|
1130
|
+
readonly description: "参数";
|
|
1131
|
+
};
|
|
1132
|
+
readonly sentAt: {
|
|
1133
|
+
readonly format: "date-time";
|
|
1134
|
+
readonly type: "string";
|
|
1135
|
+
readonly description: "发送时间";
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
export type HealthCheckResult = {
|
|
3
1140
|
message: string;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
1141
|
+
};
|
|
1142
|
+
export type LoginDto = {
|
|
6
1143
|
login: string;
|
|
7
1144
|
password: string;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
1145
|
+
};
|
|
1146
|
+
export type User = {
|
|
10
1147
|
password?: string;
|
|
11
|
-
hasPassword?: boolean;
|
|
1148
|
+
readonly hasPassword?: boolean;
|
|
12
1149
|
avatar?: string;
|
|
13
1150
|
data?: string;
|
|
14
1151
|
email?: string;
|
|
@@ -25,7 +1162,7 @@ export interface User {
|
|
|
25
1162
|
phone?: string;
|
|
26
1163
|
registerIp?: string;
|
|
27
1164
|
registerRegion?: string;
|
|
28
|
-
roles?: string
|
|
1165
|
+
roles?: Array<string>;
|
|
29
1166
|
super?: boolean;
|
|
30
1167
|
username?: string;
|
|
31
1168
|
id: string;
|
|
@@ -33,9 +1170,11 @@ export interface User {
|
|
|
33
1170
|
updatedAt?: string;
|
|
34
1171
|
createdBy?: string;
|
|
35
1172
|
updatedBy?: string;
|
|
36
|
-
}
|
|
37
|
-
export
|
|
38
|
-
acl?:
|
|
1173
|
+
};
|
|
1174
|
+
export type SessionWithToken = {
|
|
1175
|
+
acl?: {
|
|
1176
|
+
[key: string]: unknown;
|
|
1177
|
+
};
|
|
39
1178
|
expireAt: string;
|
|
40
1179
|
key: string;
|
|
41
1180
|
user: User;
|
|
@@ -47,57 +1186,51 @@ export interface SessionWithToken {
|
|
|
47
1186
|
updatedBy?: string;
|
|
48
1187
|
token: string;
|
|
49
1188
|
tokenExpireAt: string;
|
|
50
|
-
}
|
|
51
|
-
export
|
|
52
|
-
interface Acl {
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
export interface LoginByEmailDto {
|
|
1189
|
+
};
|
|
1190
|
+
export type LoginByEmailDto = {
|
|
56
1191
|
email: string;
|
|
57
1192
|
key: string;
|
|
58
1193
|
code: string;
|
|
59
|
-
}
|
|
60
|
-
export
|
|
1194
|
+
};
|
|
1195
|
+
export type LoginByPhoneDto = {
|
|
61
1196
|
phone: string;
|
|
62
1197
|
key: string;
|
|
63
1198
|
code: string;
|
|
64
|
-
}
|
|
65
|
-
export
|
|
1199
|
+
};
|
|
1200
|
+
export type RegisterDto = {
|
|
66
1201
|
username: string;
|
|
67
1202
|
password: string;
|
|
68
1203
|
ns?: string;
|
|
69
|
-
}
|
|
70
|
-
export
|
|
1204
|
+
};
|
|
1205
|
+
export type RegisterbyPhoneDto = {
|
|
71
1206
|
phone: string;
|
|
72
1207
|
key: string;
|
|
73
1208
|
code: string;
|
|
74
1209
|
ns?: string;
|
|
75
|
-
}
|
|
76
|
-
export
|
|
1210
|
+
};
|
|
1211
|
+
export type RegisterByEmailDto = {
|
|
77
1212
|
email: string;
|
|
78
1213
|
key: string;
|
|
79
1214
|
code: string;
|
|
80
1215
|
ns?: string;
|
|
81
|
-
}
|
|
82
|
-
export
|
|
1216
|
+
};
|
|
1217
|
+
export type SignTokenDto = {
|
|
83
1218
|
expiresIn: string;
|
|
84
|
-
acl?:
|
|
1219
|
+
acl?: {
|
|
1220
|
+
[key: string]: unknown;
|
|
1221
|
+
};
|
|
85
1222
|
uid: string;
|
|
86
|
-
}
|
|
87
|
-
export
|
|
88
|
-
interface Acl {
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export interface Token {
|
|
1223
|
+
};
|
|
1224
|
+
export type Token = {
|
|
92
1225
|
token: string;
|
|
93
1226
|
tokenExpireAt: string;
|
|
94
|
-
}
|
|
95
|
-
export
|
|
1227
|
+
};
|
|
1228
|
+
export type RefreshTokenDto = {
|
|
96
1229
|
key: string;
|
|
97
|
-
}
|
|
98
|
-
export
|
|
1230
|
+
};
|
|
1231
|
+
export type CreateUserDto = {
|
|
99
1232
|
password?: string;
|
|
100
|
-
hasPassword?: boolean;
|
|
1233
|
+
readonly hasPassword?: boolean;
|
|
101
1234
|
avatar?: string;
|
|
102
1235
|
data?: string;
|
|
103
1236
|
email?: string;
|
|
@@ -111,12 +1244,12 @@ export interface CreateUserDto {
|
|
|
111
1244
|
ns?: string;
|
|
112
1245
|
phone?: string;
|
|
113
1246
|
registerRegion?: string;
|
|
114
|
-
roles?: string
|
|
1247
|
+
roles?: Array<string>;
|
|
115
1248
|
super?: boolean;
|
|
116
1249
|
username?: string;
|
|
117
|
-
}
|
|
118
|
-
export
|
|
119
|
-
hasPassword?: boolean;
|
|
1250
|
+
};
|
|
1251
|
+
export type UpdateUserDto = {
|
|
1252
|
+
readonly hasPassword?: boolean;
|
|
120
1253
|
avatar?: string;
|
|
121
1254
|
data?: string;
|
|
122
1255
|
email?: string;
|
|
@@ -133,29 +1266,29 @@ export interface UpdateUserDto {
|
|
|
133
1266
|
phone?: string;
|
|
134
1267
|
registerIp?: string;
|
|
135
1268
|
registerRegion?: string;
|
|
136
|
-
roles?: string
|
|
1269
|
+
roles?: Array<string>;
|
|
137
1270
|
super?: boolean;
|
|
138
1271
|
username?: string;
|
|
139
|
-
}
|
|
140
|
-
export
|
|
1272
|
+
};
|
|
1273
|
+
export type ResetPasswordDto = {
|
|
141
1274
|
password?: string;
|
|
142
|
-
}
|
|
143
|
-
export
|
|
1275
|
+
};
|
|
1276
|
+
export type UpdatePasswordDto = {
|
|
144
1277
|
oldPassword?: string;
|
|
145
1278
|
newPassword: string;
|
|
146
|
-
}
|
|
147
|
-
export
|
|
1279
|
+
};
|
|
1280
|
+
export type CreateNamespaceDto = {
|
|
148
1281
|
data?: string;
|
|
149
1282
|
desc?: string;
|
|
150
|
-
labels?: string
|
|
1283
|
+
labels?: Array<string>;
|
|
151
1284
|
name: string;
|
|
152
1285
|
key: string;
|
|
153
1286
|
ns?: string;
|
|
154
|
-
}
|
|
155
|
-
export
|
|
1287
|
+
};
|
|
1288
|
+
export type Namespace = {
|
|
156
1289
|
data?: string;
|
|
157
1290
|
desc?: string;
|
|
158
|
-
labels?: string
|
|
1291
|
+
labels?: Array<string>;
|
|
159
1292
|
name: string;
|
|
160
1293
|
key: string;
|
|
161
1294
|
ns?: string;
|
|
@@ -164,25 +1297,25 @@ export interface Namespace {
|
|
|
164
1297
|
updatedAt?: string;
|
|
165
1298
|
createdBy?: string;
|
|
166
1299
|
updatedBy?: string;
|
|
167
|
-
}
|
|
168
|
-
export
|
|
1300
|
+
};
|
|
1301
|
+
export type UpdateNamespaceDto = {
|
|
169
1302
|
data?: string;
|
|
170
1303
|
desc?: string;
|
|
171
|
-
labels?: string
|
|
1304
|
+
labels?: Array<string>;
|
|
172
1305
|
name?: string;
|
|
173
|
-
}
|
|
174
|
-
export
|
|
1306
|
+
};
|
|
1307
|
+
export type CreateSessionDto = {
|
|
175
1308
|
uid: string;
|
|
176
|
-
acl?:
|
|
1309
|
+
acl?: {
|
|
1310
|
+
[key: string]: unknown;
|
|
1311
|
+
};
|
|
177
1312
|
expireAt: string;
|
|
178
1313
|
client?: string;
|
|
179
|
-
}
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
export interface Session {
|
|
185
|
-
acl?: Session.Acl;
|
|
1314
|
+
};
|
|
1315
|
+
export type Session = {
|
|
1316
|
+
acl?: {
|
|
1317
|
+
[key: string]: unknown;
|
|
1318
|
+
};
|
|
186
1319
|
expireAt: string;
|
|
187
1320
|
key: string;
|
|
188
1321
|
user: User;
|
|
@@ -192,27 +1325,21 @@ export interface Session {
|
|
|
192
1325
|
updatedAt?: string;
|
|
193
1326
|
createdBy?: string;
|
|
194
1327
|
updatedBy?: string;
|
|
195
|
-
}
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
export interface UpdateSessionDto {
|
|
201
|
-
acl?: UpdateSessionDto.Acl;
|
|
1328
|
+
};
|
|
1329
|
+
export type UpdateSessionDto = {
|
|
1330
|
+
acl?: {
|
|
1331
|
+
[key: string]: unknown;
|
|
1332
|
+
};
|
|
202
1333
|
expireAt?: string;
|
|
203
1334
|
client?: string;
|
|
204
1335
|
uid?: string;
|
|
205
|
-
}
|
|
206
|
-
export
|
|
207
|
-
interface Acl {
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
export interface CreateCaptchaDto {
|
|
1336
|
+
};
|
|
1337
|
+
export type CreateCaptchaDto = {
|
|
211
1338
|
code?: string;
|
|
212
1339
|
expireAt?: string;
|
|
213
1340
|
key: string;
|
|
214
|
-
}
|
|
215
|
-
export
|
|
1341
|
+
};
|
|
1342
|
+
export type Captcha = {
|
|
216
1343
|
code: string;
|
|
217
1344
|
expireAt: string;
|
|
218
1345
|
key: string;
|
|
@@ -221,32 +1348,28 @@ export interface Captcha {
|
|
|
221
1348
|
updatedAt?: string;
|
|
222
1349
|
createdBy?: string;
|
|
223
1350
|
updatedBy?: string;
|
|
224
|
-
}
|
|
225
|
-
export
|
|
1351
|
+
};
|
|
1352
|
+
export type UpdateCaptchaDto = {
|
|
226
1353
|
code?: string;
|
|
227
1354
|
expireAt?: string;
|
|
228
1355
|
key?: string;
|
|
229
|
-
}
|
|
230
|
-
export
|
|
1356
|
+
};
|
|
1357
|
+
export type SendEmailDto = {
|
|
231
1358
|
from: string;
|
|
232
1359
|
to: string;
|
|
233
1360
|
subject: string;
|
|
234
1361
|
content: string;
|
|
235
|
-
}
|
|
236
|
-
export
|
|
237
|
-
|
|
238
|
-
SENT = "sent"
|
|
239
|
-
}
|
|
240
|
-
export type EmailStatusType = (typeof EmailStatus)[keyof typeof EmailStatus];
|
|
241
|
-
export interface CreateEmailRecordDto {
|
|
1362
|
+
};
|
|
1363
|
+
export type EmailStatus = 'pending' | 'sent';
|
|
1364
|
+
export type CreateEmailRecordDto = {
|
|
242
1365
|
status: EmailStatus;
|
|
243
1366
|
from: string;
|
|
244
1367
|
to: string;
|
|
245
1368
|
subject: string;
|
|
246
1369
|
content: string;
|
|
247
1370
|
sentAt?: string;
|
|
248
|
-
}
|
|
249
|
-
export
|
|
1371
|
+
};
|
|
1372
|
+
export type EmailRecord = {
|
|
250
1373
|
status: EmailStatus;
|
|
251
1374
|
from: string;
|
|
252
1375
|
to: string;
|
|
@@ -258,51 +1381,45 @@ export interface EmailRecord {
|
|
|
258
1381
|
updatedAt?: string;
|
|
259
1382
|
createdBy?: string;
|
|
260
1383
|
updatedBy?: string;
|
|
261
|
-
}
|
|
262
|
-
export
|
|
1384
|
+
};
|
|
1385
|
+
export type UpdateEmailRecordDto = {
|
|
263
1386
|
status?: EmailStatus;
|
|
264
1387
|
from?: string;
|
|
265
1388
|
to?: string;
|
|
266
1389
|
subject?: string;
|
|
267
1390
|
content?: string;
|
|
268
1391
|
sentAt?: string;
|
|
269
|
-
}
|
|
270
|
-
export
|
|
1392
|
+
};
|
|
1393
|
+
export type Industry = {
|
|
271
1394
|
code: string;
|
|
272
1395
|
name: string;
|
|
273
|
-
children: Industry
|
|
274
|
-
}
|
|
275
|
-
export
|
|
1396
|
+
children: Array<Industry>;
|
|
1397
|
+
};
|
|
1398
|
+
export type Region = {
|
|
276
1399
|
code: string;
|
|
277
1400
|
nameZh: string;
|
|
278
1401
|
namePinyin: string;
|
|
279
1402
|
nameEn: string;
|
|
280
1403
|
dialingPrefix: string;
|
|
281
|
-
}
|
|
282
|
-
export
|
|
1404
|
+
};
|
|
1405
|
+
export type SendSmsDto = {
|
|
283
1406
|
phone: string;
|
|
284
1407
|
sign: string;
|
|
285
1408
|
template: string;
|
|
286
|
-
params?:
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
export enum SmsStatus {
|
|
293
|
-
PENDING = "pending",
|
|
294
|
-
SENT = "sent"
|
|
295
|
-
}
|
|
296
|
-
export type SmsStatusType = (typeof SmsStatus)[keyof typeof SmsStatus];
|
|
297
|
-
export interface CreateSmsRecordDto {
|
|
1409
|
+
params?: {
|
|
1410
|
+
[key: string]: unknown;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
export type SmsStatus = 'pending' | 'sent';
|
|
1414
|
+
export type CreateSmsRecordDto = {
|
|
298
1415
|
status: SmsStatus;
|
|
299
1416
|
phone: string;
|
|
300
1417
|
sign: string;
|
|
301
1418
|
template: string;
|
|
302
1419
|
params?: string;
|
|
303
1420
|
sentAt?: string;
|
|
304
|
-
}
|
|
305
|
-
export
|
|
1421
|
+
};
|
|
1422
|
+
export type SmsRecord = {
|
|
306
1423
|
status: SmsStatus;
|
|
307
1424
|
phone: string;
|
|
308
1425
|
sign: string;
|
|
@@ -314,321 +1431,1074 @@ export interface SmsRecord {
|
|
|
314
1431
|
updatedAt?: string;
|
|
315
1432
|
createdBy?: string;
|
|
316
1433
|
updatedBy?: string;
|
|
317
|
-
}
|
|
318
|
-
export
|
|
1434
|
+
};
|
|
1435
|
+
export type UpdateSmsRecordDto = {
|
|
319
1436
|
status?: SmsStatus;
|
|
320
1437
|
phone?: string;
|
|
321
1438
|
sign?: string;
|
|
322
1439
|
template?: string;
|
|
323
1440
|
params?: string;
|
|
324
1441
|
sentAt?: string;
|
|
325
|
-
}
|
|
326
|
-
export
|
|
327
|
-
|
|
328
|
-
export
|
|
1442
|
+
};
|
|
1443
|
+
export type HelloResponse = HealthCheckResult;
|
|
1444
|
+
export type HelloError = unknown;
|
|
1445
|
+
export type LoginData = {
|
|
329
1446
|
body: LoginDto;
|
|
330
|
-
}
|
|
331
|
-
export
|
|
1447
|
+
};
|
|
1448
|
+
export type LoginResponse = SessionWithToken;
|
|
1449
|
+
export type LoginError = unknown;
|
|
1450
|
+
export type LoginByEmailData = {
|
|
332
1451
|
body: LoginByEmailDto;
|
|
333
|
-
}
|
|
334
|
-
export
|
|
1452
|
+
};
|
|
1453
|
+
export type LoginByEmailResponse = SessionWithToken;
|
|
1454
|
+
export type LoginByEmailError = unknown;
|
|
1455
|
+
export type LoginByPhoneData = {
|
|
335
1456
|
body: LoginByPhoneDto;
|
|
336
|
-
}
|
|
337
|
-
export
|
|
1457
|
+
};
|
|
1458
|
+
export type LoginByPhoneResponse = SessionWithToken;
|
|
1459
|
+
export type LoginByPhoneError = unknown;
|
|
1460
|
+
export type RegisterData = {
|
|
338
1461
|
body: RegisterDto;
|
|
339
|
-
}
|
|
340
|
-
export
|
|
1462
|
+
};
|
|
1463
|
+
export type RegisterResponse = User | {
|
|
1464
|
+
[key: string]: unknown;
|
|
1465
|
+
};
|
|
1466
|
+
export type RegisterError = unknown;
|
|
1467
|
+
export type RegisterByPhoneData = {
|
|
341
1468
|
body: RegisterbyPhoneDto;
|
|
342
|
-
}
|
|
343
|
-
export
|
|
1469
|
+
};
|
|
1470
|
+
export type RegisterByPhoneResponse = User | {
|
|
1471
|
+
[key: string]: unknown;
|
|
1472
|
+
};
|
|
1473
|
+
export type RegisterByPhoneError = unknown;
|
|
1474
|
+
export type RegisterByEmailData = {
|
|
344
1475
|
body: RegisterByEmailDto;
|
|
345
|
-
}
|
|
346
|
-
export
|
|
1476
|
+
};
|
|
1477
|
+
export type RegisterByEmailResponse = User | {
|
|
1478
|
+
[key: string]: unknown;
|
|
1479
|
+
};
|
|
1480
|
+
export type RegisterByEmailError = unknown;
|
|
1481
|
+
export type SignTokenData = {
|
|
347
1482
|
body: SignTokenDto;
|
|
348
|
-
}
|
|
349
|
-
export
|
|
1483
|
+
};
|
|
1484
|
+
export type SignTokenResponse = Token;
|
|
1485
|
+
export type SignTokenError = unknown;
|
|
1486
|
+
export type RefreshData = {
|
|
350
1487
|
body: RefreshTokenDto;
|
|
351
|
-
}
|
|
352
|
-
export
|
|
1488
|
+
};
|
|
1489
|
+
export type RefreshResponse = SessionWithToken | Token;
|
|
1490
|
+
export type RefreshError = unknown;
|
|
1491
|
+
export type CreateUserData = {
|
|
353
1492
|
body: CreateUserDto;
|
|
354
|
-
}
|
|
355
|
-
export
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
export
|
|
384
|
-
|
|
1493
|
+
};
|
|
1494
|
+
export type CreateUserResponse = User;
|
|
1495
|
+
export type CreateUserError = unknown;
|
|
1496
|
+
export type ListUsersData = {
|
|
1497
|
+
query?: {
|
|
1498
|
+
_limit?: number;
|
|
1499
|
+
_offset?: number;
|
|
1500
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt';
|
|
1501
|
+
email?: string;
|
|
1502
|
+
id?: Array<string>;
|
|
1503
|
+
name_like?: string;
|
|
1504
|
+
nickname_like?: string;
|
|
1505
|
+
ns?: Array<string>;
|
|
1506
|
+
ns_start?: Array<string>;
|
|
1507
|
+
phone?: string;
|
|
1508
|
+
registerRegion?: string;
|
|
1509
|
+
roles?: Array<string>;
|
|
1510
|
+
username?: string;
|
|
1511
|
+
username_like?: string;
|
|
1512
|
+
};
|
|
1513
|
+
};
|
|
1514
|
+
export type ListUsersResponse = Array<User>;
|
|
1515
|
+
export type ListUsersError = unknown;
|
|
1516
|
+
export type GetUserData = {
|
|
1517
|
+
path: {
|
|
1518
|
+
userId: string;
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
export type GetUserResponse = User;
|
|
1522
|
+
export type GetUserError = unknown;
|
|
1523
|
+
export type UpdateUserData = {
|
|
385
1524
|
body: UpdateUserDto;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
}
|
|
390
|
-
export
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
1525
|
+
path: {
|
|
1526
|
+
userId: string;
|
|
1527
|
+
};
|
|
1528
|
+
};
|
|
1529
|
+
export type UpdateUserResponse = User;
|
|
1530
|
+
export type UpdateUserError = unknown;
|
|
1531
|
+
export type DeleteUserData = {
|
|
1532
|
+
path: {
|
|
1533
|
+
userId: string;
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
export type DeleteUserResponse = void;
|
|
1537
|
+
export type DeleteUserError = unknown;
|
|
1538
|
+
export type VerifyIdentityData = {
|
|
1539
|
+
path: {
|
|
1540
|
+
userId: string;
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1543
|
+
export type VerifyIdentityResponse = User;
|
|
1544
|
+
export type VerifyIdentityError = unknown;
|
|
1545
|
+
export type ResetPasswordData = {
|
|
395
1546
|
body: ResetPasswordDto;
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
1547
|
+
path: {
|
|
1548
|
+
userId: string;
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
export type ResetPasswordResponse = void;
|
|
1552
|
+
export type ResetPasswordError = unknown;
|
|
1553
|
+
export type UpdatePasswordData = {
|
|
399
1554
|
body: UpdatePasswordDto;
|
|
400
|
-
|
|
401
|
-
|
|
1555
|
+
path: {
|
|
1556
|
+
userId: string;
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
export type UpdatePasswordResponse = void;
|
|
1560
|
+
export type UpdatePasswordError = unknown;
|
|
1561
|
+
export type CreateNamespaceData = {
|
|
402
1562
|
body: CreateNamespaceDto;
|
|
403
|
-
}
|
|
404
|
-
export
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
export
|
|
428
|
-
namespaceIdOrKey: string;
|
|
429
|
-
}
|
|
430
|
-
export interface UpdateNamespaceRequest {
|
|
431
|
-
namespaceId: string;
|
|
1563
|
+
};
|
|
1564
|
+
export type CreateNamespaceResponse = Namespace;
|
|
1565
|
+
export type CreateNamespaceError = unknown;
|
|
1566
|
+
export type ListNamespacesData = {
|
|
1567
|
+
query?: {
|
|
1568
|
+
_limit?: number;
|
|
1569
|
+
_offset?: number;
|
|
1570
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'key' | '-key' | 'name' | '-name';
|
|
1571
|
+
key?: string;
|
|
1572
|
+
labels?: Array<string>;
|
|
1573
|
+
name_like?: string;
|
|
1574
|
+
ns?: Array<string>;
|
|
1575
|
+
ns_start?: Array<string>;
|
|
1576
|
+
};
|
|
1577
|
+
};
|
|
1578
|
+
export type ListNamespacesResponse = Array<Namespace>;
|
|
1579
|
+
export type ListNamespacesError = unknown;
|
|
1580
|
+
export type GetNamespaceData = {
|
|
1581
|
+
path: {
|
|
1582
|
+
namespaceIdOrKey: string;
|
|
1583
|
+
};
|
|
1584
|
+
};
|
|
1585
|
+
export type GetNamespaceResponse = Namespace;
|
|
1586
|
+
export type GetNamespaceError = unknown;
|
|
1587
|
+
export type UpdateNamespaceData = {
|
|
432
1588
|
body: UpdateNamespaceDto;
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}
|
|
437
|
-
export
|
|
1589
|
+
path: {
|
|
1590
|
+
namespaceId: string;
|
|
1591
|
+
};
|
|
1592
|
+
};
|
|
1593
|
+
export type UpdateNamespaceResponse = Namespace;
|
|
1594
|
+
export type UpdateNamespaceError = unknown;
|
|
1595
|
+
export type DeleteNamespaceData = {
|
|
1596
|
+
path: {
|
|
1597
|
+
namespaceId: string;
|
|
1598
|
+
};
|
|
1599
|
+
};
|
|
1600
|
+
export type DeleteNamespaceResponse = void;
|
|
1601
|
+
export type DeleteNamespaceError = unknown;
|
|
1602
|
+
export type CreateSessionData = {
|
|
438
1603
|
body: CreateSessionDto;
|
|
439
|
-
}
|
|
440
|
-
export
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
}
|
|
459
|
-
export
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
export interface UpdateSessionRequest {
|
|
463
|
-
sessionId: string;
|
|
1604
|
+
};
|
|
1605
|
+
export type CreateSessionResponse = Session;
|
|
1606
|
+
export type CreateSessionError = unknown;
|
|
1607
|
+
export type ListSessionsData = {
|
|
1608
|
+
query?: {
|
|
1609
|
+
_limit?: number;
|
|
1610
|
+
_offset?: number;
|
|
1611
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'expireAt' | '-expireAt';
|
|
1612
|
+
client?: string;
|
|
1613
|
+
key?: string;
|
|
1614
|
+
uid?: string;
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
export type ListSessionsResponse = Array<Session>;
|
|
1618
|
+
export type ListSessionsError = unknown;
|
|
1619
|
+
export type GetSessionData = {
|
|
1620
|
+
path: {
|
|
1621
|
+
sessionId: string;
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
export type GetSessionResponse = Session;
|
|
1625
|
+
export type GetSessionError = unknown;
|
|
1626
|
+
export type UpdateSessionData = {
|
|
464
1627
|
body: UpdateSessionDto;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
export
|
|
1628
|
+
path: {
|
|
1629
|
+
sessionId: string;
|
|
1630
|
+
};
|
|
1631
|
+
};
|
|
1632
|
+
export type UpdateSessionResponse = Session;
|
|
1633
|
+
export type UpdateSessionError = unknown;
|
|
1634
|
+
export type DeleteSessionData = {
|
|
1635
|
+
path: {
|
|
1636
|
+
sessionId: string;
|
|
1637
|
+
};
|
|
1638
|
+
};
|
|
1639
|
+
export type DeleteSessionResponse = void;
|
|
1640
|
+
export type DeleteSessionError = unknown;
|
|
1641
|
+
export type CreateCaptchaData = {
|
|
470
1642
|
body: CreateCaptchaDto;
|
|
471
|
-
}
|
|
472
|
-
export
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
}
|
|
490
|
-
export
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
export interface UpdateCaptchaRequest {
|
|
494
|
-
captchaId: string;
|
|
1643
|
+
};
|
|
1644
|
+
export type CreateCaptchaResponse = Captcha;
|
|
1645
|
+
export type CreateCaptchaError = unknown;
|
|
1646
|
+
export type ListCaptchasData = {
|
|
1647
|
+
query?: {
|
|
1648
|
+
_limit?: number;
|
|
1649
|
+
_offset?: number;
|
|
1650
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'expireAt' | '-expireAt';
|
|
1651
|
+
code?: string;
|
|
1652
|
+
key?: string;
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
export type ListCaptchasResponse = Array<Captcha>;
|
|
1656
|
+
export type ListCaptchasError = unknown;
|
|
1657
|
+
export type GetCaptchaData = {
|
|
1658
|
+
path: {
|
|
1659
|
+
captchaId: string;
|
|
1660
|
+
};
|
|
1661
|
+
};
|
|
1662
|
+
export type GetCaptchaResponse = Captcha;
|
|
1663
|
+
export type GetCaptchaError = unknown;
|
|
1664
|
+
export type UpdateCaptchaData = {
|
|
495
1665
|
body: UpdateCaptchaDto;
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}
|
|
500
|
-
export
|
|
1666
|
+
path: {
|
|
1667
|
+
captchaId: string;
|
|
1668
|
+
};
|
|
1669
|
+
};
|
|
1670
|
+
export type UpdateCaptchaResponse = Captcha;
|
|
1671
|
+
export type UpdateCaptchaError = unknown;
|
|
1672
|
+
export type DeleteCaptchaData = {
|
|
1673
|
+
path: {
|
|
1674
|
+
captchaId: string;
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
export type DeleteCaptchaResponse = void;
|
|
1678
|
+
export type DeleteCaptchaError = unknown;
|
|
1679
|
+
export type SendEmailData = {
|
|
501
1680
|
body: SendEmailDto;
|
|
502
|
-
}
|
|
503
|
-
export
|
|
1681
|
+
};
|
|
1682
|
+
export type SendEmailResponse = void;
|
|
1683
|
+
export type SendEmailError = unknown;
|
|
1684
|
+
export type CreateEmailRecordData = {
|
|
504
1685
|
body: CreateEmailRecordDto;
|
|
505
|
-
}
|
|
506
|
-
export
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
}
|
|
529
|
-
export
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
export interface UpdateEmailRecordRequest {
|
|
533
|
-
emailRecordId: string;
|
|
1686
|
+
};
|
|
1687
|
+
export type CreateEmailRecordResponse = EmailRecord;
|
|
1688
|
+
export type CreateEmailRecordError = unknown;
|
|
1689
|
+
export type ListEmailRecordsData = {
|
|
1690
|
+
query?: {
|
|
1691
|
+
_limit?: number;
|
|
1692
|
+
_offset?: number;
|
|
1693
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'sentAt' | '-sentAt';
|
|
1694
|
+
createdAt_gt?: string;
|
|
1695
|
+
createdAt_lt?: string;
|
|
1696
|
+
from?: string;
|
|
1697
|
+
sentAt_gt?: string;
|
|
1698
|
+
sentAt_lt?: string;
|
|
1699
|
+
status?: EmailStatus;
|
|
1700
|
+
to?: string;
|
|
1701
|
+
};
|
|
1702
|
+
};
|
|
1703
|
+
export type ListEmailRecordsResponse = Array<EmailRecord>;
|
|
1704
|
+
export type ListEmailRecordsError = unknown;
|
|
1705
|
+
export type GetEmailRecordData = {
|
|
1706
|
+
path: {
|
|
1707
|
+
emailRecordId: string;
|
|
1708
|
+
};
|
|
1709
|
+
};
|
|
1710
|
+
export type GetEmailRecordResponse = EmailRecord;
|
|
1711
|
+
export type GetEmailRecordError = unknown;
|
|
1712
|
+
export type UpdateEmailRecordData = {
|
|
534
1713
|
body: UpdateEmailRecordDto;
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
}
|
|
539
|
-
export
|
|
540
|
-
|
|
541
|
-
export
|
|
542
|
-
|
|
543
|
-
|
|
1714
|
+
path: {
|
|
1715
|
+
emailRecordId: string;
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
export type UpdateEmailRecordResponse = EmailRecord;
|
|
1719
|
+
export type UpdateEmailRecordError = unknown;
|
|
1720
|
+
export type DeleteEmailRecordData = {
|
|
1721
|
+
path: {
|
|
1722
|
+
emailRecordId: string;
|
|
1723
|
+
};
|
|
1724
|
+
};
|
|
1725
|
+
export type DeleteEmailRecordResponse = void;
|
|
1726
|
+
export type DeleteEmailRecordError = unknown;
|
|
1727
|
+
export type ListIndustriesResponse = Array<Industry>;
|
|
1728
|
+
export type ListIndustriesError = unknown;
|
|
1729
|
+
export type ListRegionsResponse = Array<Region>;
|
|
1730
|
+
export type ListRegionsError = unknown;
|
|
1731
|
+
export type SendSmsData = {
|
|
544
1732
|
body: SendSmsDto;
|
|
545
|
-
}
|
|
546
|
-
export
|
|
1733
|
+
};
|
|
1734
|
+
export type SendSmsResponse = void;
|
|
1735
|
+
export type SendSmsError = unknown;
|
|
1736
|
+
export type CreateSmsRecordData = {
|
|
547
1737
|
body: CreateSmsRecordDto;
|
|
548
|
-
}
|
|
549
|
-
export
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
}
|
|
572
|
-
export
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
export interface UpdateSmsRecordRequest {
|
|
576
|
-
smsRecordId: string;
|
|
1738
|
+
};
|
|
1739
|
+
export type CreateSmsRecordResponse = SmsRecord;
|
|
1740
|
+
export type CreateSmsRecordError = unknown;
|
|
1741
|
+
export type ListSmsRecordsData = {
|
|
1742
|
+
query?: {
|
|
1743
|
+
_limit?: number;
|
|
1744
|
+
_offset?: number;
|
|
1745
|
+
_sort?: 'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt' | 'sentAt' | '-sentAt';
|
|
1746
|
+
createdAt_gt?: string;
|
|
1747
|
+
createdAt_lt?: string;
|
|
1748
|
+
phone?: string;
|
|
1749
|
+
sentAt_gt?: string;
|
|
1750
|
+
sentAt_lt?: string;
|
|
1751
|
+
sign?: string;
|
|
1752
|
+
status?: SmsStatus;
|
|
1753
|
+
};
|
|
1754
|
+
};
|
|
1755
|
+
export type ListSmsRecordsResponse = Array<SmsRecord>;
|
|
1756
|
+
export type ListSmsRecordsError = unknown;
|
|
1757
|
+
export type GetSmsRecordData = {
|
|
1758
|
+
path: {
|
|
1759
|
+
smsRecordId: string;
|
|
1760
|
+
};
|
|
1761
|
+
};
|
|
1762
|
+
export type GetSmsRecordResponse = SmsRecord;
|
|
1763
|
+
export type GetSmsRecordError = unknown;
|
|
1764
|
+
export type UpdateSmsRecordData = {
|
|
577
1765
|
body: UpdateSmsRecordDto;
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
}
|
|
582
|
-
export
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
1766
|
+
path: {
|
|
1767
|
+
smsRecordId: string;
|
|
1768
|
+
};
|
|
1769
|
+
};
|
|
1770
|
+
export type UpdateSmsRecordResponse = SmsRecord;
|
|
1771
|
+
export type UpdateSmsRecordError = unknown;
|
|
1772
|
+
export type DeleteSmsRecordData = {
|
|
1773
|
+
path: {
|
|
1774
|
+
smsRecordId: string;
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1777
|
+
export type DeleteSmsRecordResponse = void;
|
|
1778
|
+
export type DeleteSmsRecordError = unknown;
|
|
1779
|
+
export const client: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1780
|
+
export const hello: <ThrowOnError extends boolean = false>(options?: {
|
|
1781
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
1782
|
+
cache?: RequestCache;
|
|
1783
|
+
credentials?: RequestCredentials;
|
|
1784
|
+
integrity?: string;
|
|
1785
|
+
keepalive?: boolean;
|
|
1786
|
+
mode?: RequestMode;
|
|
1787
|
+
redirect?: RequestRedirect;
|
|
1788
|
+
referrer?: string;
|
|
1789
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1790
|
+
signal?: AbortSignal;
|
|
1791
|
+
window?: null;
|
|
1792
|
+
path?: Record<string, unknown>;
|
|
1793
|
+
query?: Record<string, unknown>;
|
|
1794
|
+
baseUrl?: string;
|
|
1795
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
1796
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
1797
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
1798
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
1799
|
+
throwOnError?: ThrowOnError;
|
|
1800
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1801
|
+
}) => import("@hey-api/client-fetch").RequestResult<import("types.gen").HealthCheckResult, unknown, ThrowOnError>;
|
|
1802
|
+
export const login: <ThrowOnError extends boolean = false>(options: {
|
|
1803
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
1804
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
1805
|
+
cache?: RequestCache;
|
|
1806
|
+
credentials?: RequestCredentials;
|
|
1807
|
+
integrity?: string;
|
|
1808
|
+
keepalive?: boolean;
|
|
1809
|
+
mode?: RequestMode;
|
|
1810
|
+
redirect?: RequestRedirect;
|
|
1811
|
+
referrer?: string;
|
|
1812
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1813
|
+
signal?: AbortSignal;
|
|
1814
|
+
window?: null;
|
|
1815
|
+
path?: Record<string, unknown>;
|
|
1816
|
+
query?: Record<string, unknown>;
|
|
1817
|
+
baseUrl?: string;
|
|
1818
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
1819
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
1820
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
1821
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
1822
|
+
throwOnError?: ThrowOnError;
|
|
1823
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1824
|
+
} & LoginData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
1825
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1826
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SessionWithToken, unknown, ThrowOnError>;
|
|
1827
|
+
export const loginByEmail: <ThrowOnError extends boolean = false>(options: {
|
|
1828
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
1829
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
1830
|
+
cache?: RequestCache;
|
|
1831
|
+
credentials?: RequestCredentials;
|
|
1832
|
+
integrity?: string;
|
|
1833
|
+
keepalive?: boolean;
|
|
1834
|
+
mode?: RequestMode;
|
|
1835
|
+
redirect?: RequestRedirect;
|
|
1836
|
+
referrer?: string;
|
|
1837
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1838
|
+
signal?: AbortSignal;
|
|
1839
|
+
window?: null;
|
|
1840
|
+
path?: Record<string, unknown>;
|
|
1841
|
+
query?: Record<string, unknown>;
|
|
1842
|
+
baseUrl?: string;
|
|
1843
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
1844
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
1845
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
1846
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
1847
|
+
throwOnError?: ThrowOnError;
|
|
1848
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1849
|
+
} & LoginByEmailData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
1850
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1851
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SessionWithToken, unknown, ThrowOnError>;
|
|
1852
|
+
export const loginByPhone: <ThrowOnError extends boolean = false>(options: {
|
|
1853
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
1854
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
1855
|
+
cache?: RequestCache;
|
|
1856
|
+
credentials?: RequestCredentials;
|
|
1857
|
+
integrity?: string;
|
|
1858
|
+
keepalive?: boolean;
|
|
1859
|
+
mode?: RequestMode;
|
|
1860
|
+
redirect?: RequestRedirect;
|
|
1861
|
+
referrer?: string;
|
|
1862
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1863
|
+
signal?: AbortSignal;
|
|
1864
|
+
window?: null;
|
|
1865
|
+
path?: Record<string, unknown>;
|
|
1866
|
+
query?: Record<string, unknown>;
|
|
1867
|
+
baseUrl?: string;
|
|
1868
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
1869
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
1870
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
1871
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
1872
|
+
throwOnError?: ThrowOnError;
|
|
1873
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1874
|
+
} & LoginByPhoneData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
1875
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1876
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SessionWithToken, unknown, ThrowOnError>;
|
|
1877
|
+
export const register: <ThrowOnError extends boolean = false>(options: {
|
|
1878
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
1879
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
1880
|
+
cache?: RequestCache;
|
|
1881
|
+
credentials?: RequestCredentials;
|
|
1882
|
+
integrity?: string;
|
|
1883
|
+
keepalive?: boolean;
|
|
1884
|
+
mode?: RequestMode;
|
|
1885
|
+
redirect?: RequestRedirect;
|
|
1886
|
+
referrer?: string;
|
|
1887
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1888
|
+
signal?: AbortSignal;
|
|
1889
|
+
window?: null;
|
|
1890
|
+
path?: Record<string, unknown>;
|
|
1891
|
+
query?: Record<string, unknown>;
|
|
1892
|
+
baseUrl?: string;
|
|
1893
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
1894
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
1895
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
1896
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
1897
|
+
throwOnError?: ThrowOnError;
|
|
1898
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1899
|
+
} & RegisterData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
1900
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1901
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RegisterResponse, unknown, ThrowOnError>;
|
|
1902
|
+
export const registerByPhone: <ThrowOnError extends boolean = false>(options: {
|
|
1903
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
1904
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
1905
|
+
cache?: RequestCache;
|
|
1906
|
+
credentials?: RequestCredentials;
|
|
1907
|
+
integrity?: string;
|
|
1908
|
+
keepalive?: boolean;
|
|
1909
|
+
mode?: RequestMode;
|
|
1910
|
+
redirect?: RequestRedirect;
|
|
1911
|
+
referrer?: string;
|
|
1912
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1913
|
+
signal?: AbortSignal;
|
|
1914
|
+
window?: null;
|
|
1915
|
+
path?: Record<string, unknown>;
|
|
1916
|
+
query?: Record<string, unknown>;
|
|
1917
|
+
baseUrl?: string;
|
|
1918
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
1919
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
1920
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
1921
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
1922
|
+
throwOnError?: ThrowOnError;
|
|
1923
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1924
|
+
} & RegisterByPhoneData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
1925
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1926
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RegisterByPhoneResponse, unknown, ThrowOnError>;
|
|
1927
|
+
export const registerByEmail: <ThrowOnError extends boolean = false>(options: {
|
|
1928
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
1929
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
1930
|
+
cache?: RequestCache;
|
|
1931
|
+
credentials?: RequestCredentials;
|
|
1932
|
+
integrity?: string;
|
|
1933
|
+
keepalive?: boolean;
|
|
1934
|
+
mode?: RequestMode;
|
|
1935
|
+
redirect?: RequestRedirect;
|
|
1936
|
+
referrer?: string;
|
|
1937
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1938
|
+
signal?: AbortSignal;
|
|
1939
|
+
window?: null;
|
|
1940
|
+
path?: Record<string, unknown>;
|
|
1941
|
+
query?: Record<string, unknown>;
|
|
1942
|
+
baseUrl?: string;
|
|
1943
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
1944
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
1945
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
1946
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
1947
|
+
throwOnError?: ThrowOnError;
|
|
1948
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1949
|
+
} & RegisterByEmailData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
1950
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1951
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RegisterByEmailResponse, unknown, ThrowOnError>;
|
|
1952
|
+
export const signToken: <ThrowOnError extends boolean = false>(options: {
|
|
1953
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
1954
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
1955
|
+
cache?: RequestCache;
|
|
1956
|
+
credentials?: RequestCredentials;
|
|
1957
|
+
integrity?: string;
|
|
1958
|
+
keepalive?: boolean;
|
|
1959
|
+
mode?: RequestMode;
|
|
1960
|
+
redirect?: RequestRedirect;
|
|
1961
|
+
referrer?: string;
|
|
1962
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1963
|
+
signal?: AbortSignal;
|
|
1964
|
+
window?: null;
|
|
1965
|
+
path?: Record<string, unknown>;
|
|
1966
|
+
query?: Record<string, unknown>;
|
|
1967
|
+
baseUrl?: string;
|
|
1968
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
1969
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
1970
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
1971
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
1972
|
+
throwOnError?: ThrowOnError;
|
|
1973
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1974
|
+
} & SignTokenData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
1975
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1976
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Token, unknown, ThrowOnError>;
|
|
1977
|
+
export const refresh: <ThrowOnError extends boolean = false>(options: {
|
|
1978
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
1979
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
1980
|
+
cache?: RequestCache;
|
|
1981
|
+
credentials?: RequestCredentials;
|
|
1982
|
+
integrity?: string;
|
|
1983
|
+
keepalive?: boolean;
|
|
1984
|
+
mode?: RequestMode;
|
|
1985
|
+
redirect?: RequestRedirect;
|
|
1986
|
+
referrer?: string;
|
|
1987
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1988
|
+
signal?: AbortSignal;
|
|
1989
|
+
window?: null;
|
|
1990
|
+
path?: Record<string, unknown>;
|
|
1991
|
+
query?: Record<string, unknown>;
|
|
1992
|
+
baseUrl?: string;
|
|
1993
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
1994
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
1995
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
1996
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
1997
|
+
throwOnError?: ThrowOnError;
|
|
1998
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
1999
|
+
} & RefreshData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2000
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2001
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<RefreshResponse, unknown, ThrowOnError>;
|
|
2002
|
+
export const createUser: <ThrowOnError extends boolean = false>(options: {
|
|
2003
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2004
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2005
|
+
cache?: RequestCache;
|
|
2006
|
+
credentials?: RequestCredentials;
|
|
2007
|
+
integrity?: string;
|
|
2008
|
+
keepalive?: boolean;
|
|
2009
|
+
mode?: RequestMode;
|
|
2010
|
+
redirect?: RequestRedirect;
|
|
2011
|
+
referrer?: string;
|
|
2012
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2013
|
+
signal?: AbortSignal;
|
|
2014
|
+
window?: null;
|
|
2015
|
+
path?: Record<string, unknown>;
|
|
2016
|
+
query?: Record<string, unknown>;
|
|
2017
|
+
baseUrl?: string;
|
|
2018
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2019
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2020
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2021
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2022
|
+
throwOnError?: ThrowOnError;
|
|
2023
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2024
|
+
} & CreateUserData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2025
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2026
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2027
|
+
export const listUsers: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2028
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2029
|
+
} & ListUsersData) => import("@hey-api/client-fetch").RequestResult<ListUsersResponse, unknown, ThrowOnError>;
|
|
2030
|
+
export const getUser: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2031
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2032
|
+
} & GetUserData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2033
|
+
export const updateUser: <ThrowOnError extends boolean = false>(options: {
|
|
2034
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2035
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2036
|
+
cache?: RequestCache;
|
|
2037
|
+
credentials?: RequestCredentials;
|
|
2038
|
+
integrity?: string;
|
|
2039
|
+
keepalive?: boolean;
|
|
2040
|
+
mode?: RequestMode;
|
|
2041
|
+
redirect?: RequestRedirect;
|
|
2042
|
+
referrer?: string;
|
|
2043
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2044
|
+
signal?: AbortSignal;
|
|
2045
|
+
window?: null;
|
|
2046
|
+
path?: Record<string, unknown>;
|
|
2047
|
+
query?: Record<string, unknown>;
|
|
2048
|
+
baseUrl?: string;
|
|
2049
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2050
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2051
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2052
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2053
|
+
throwOnError?: ThrowOnError;
|
|
2054
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2055
|
+
} & UpdateUserData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2056
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2057
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2058
|
+
export const deleteUser: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2059
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2060
|
+
} & DeleteUserData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2061
|
+
export const verifyIdentity: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2062
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2063
|
+
} & VerifyIdentityData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").User, unknown, ThrowOnError>;
|
|
2064
|
+
export const resetPassword: <ThrowOnError extends boolean = false>(options: {
|
|
2065
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2066
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2067
|
+
cache?: RequestCache;
|
|
2068
|
+
credentials?: RequestCredentials;
|
|
2069
|
+
integrity?: string;
|
|
2070
|
+
keepalive?: boolean;
|
|
2071
|
+
mode?: RequestMode;
|
|
2072
|
+
redirect?: RequestRedirect;
|
|
2073
|
+
referrer?: string;
|
|
2074
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2075
|
+
signal?: AbortSignal;
|
|
2076
|
+
window?: null;
|
|
2077
|
+
path?: Record<string, unknown>;
|
|
2078
|
+
query?: Record<string, unknown>;
|
|
2079
|
+
baseUrl?: string;
|
|
2080
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2081
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2082
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2083
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2084
|
+
throwOnError?: ThrowOnError;
|
|
2085
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2086
|
+
} & ResetPasswordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2087
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2088
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2089
|
+
export const updatePassword: <ThrowOnError extends boolean = false>(options: {
|
|
2090
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2091
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2092
|
+
cache?: RequestCache;
|
|
2093
|
+
credentials?: RequestCredentials;
|
|
2094
|
+
integrity?: string;
|
|
2095
|
+
keepalive?: boolean;
|
|
2096
|
+
mode?: RequestMode;
|
|
2097
|
+
redirect?: RequestRedirect;
|
|
2098
|
+
referrer?: string;
|
|
2099
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2100
|
+
signal?: AbortSignal;
|
|
2101
|
+
window?: null;
|
|
2102
|
+
path?: Record<string, unknown>;
|
|
2103
|
+
query?: Record<string, unknown>;
|
|
2104
|
+
baseUrl?: string;
|
|
2105
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2106
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2107
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2108
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2109
|
+
throwOnError?: ThrowOnError;
|
|
2110
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2111
|
+
} & UpdatePasswordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2112
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2113
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2114
|
+
export const createNamespace: <ThrowOnError extends boolean = false>(options: {
|
|
2115
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2116
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2117
|
+
cache?: RequestCache;
|
|
2118
|
+
credentials?: RequestCredentials;
|
|
2119
|
+
integrity?: string;
|
|
2120
|
+
keepalive?: boolean;
|
|
2121
|
+
mode?: RequestMode;
|
|
2122
|
+
redirect?: RequestRedirect;
|
|
2123
|
+
referrer?: string;
|
|
2124
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2125
|
+
signal?: AbortSignal;
|
|
2126
|
+
window?: null;
|
|
2127
|
+
path?: Record<string, unknown>;
|
|
2128
|
+
query?: Record<string, unknown>;
|
|
2129
|
+
baseUrl?: string;
|
|
2130
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2131
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2132
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2133
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2134
|
+
throwOnError?: ThrowOnError;
|
|
2135
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2136
|
+
} & CreateNamespaceData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2137
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2138
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Namespace, unknown, ThrowOnError>;
|
|
2139
|
+
export const listNamespaces: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2140
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2141
|
+
} & ListNamespacesData) => import("@hey-api/client-fetch").RequestResult<ListNamespacesResponse, unknown, ThrowOnError>;
|
|
2142
|
+
export const getNamespace: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2143
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2144
|
+
} & GetNamespaceData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Namespace, unknown, ThrowOnError>;
|
|
2145
|
+
export const updateNamespace: <ThrowOnError extends boolean = false>(options: {
|
|
2146
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2147
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2148
|
+
cache?: RequestCache;
|
|
2149
|
+
credentials?: RequestCredentials;
|
|
2150
|
+
integrity?: string;
|
|
2151
|
+
keepalive?: boolean;
|
|
2152
|
+
mode?: RequestMode;
|
|
2153
|
+
redirect?: RequestRedirect;
|
|
2154
|
+
referrer?: string;
|
|
2155
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2156
|
+
signal?: AbortSignal;
|
|
2157
|
+
window?: null;
|
|
2158
|
+
path?: Record<string, unknown>;
|
|
2159
|
+
query?: Record<string, unknown>;
|
|
2160
|
+
baseUrl?: string;
|
|
2161
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2162
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2163
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2164
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2165
|
+
throwOnError?: ThrowOnError;
|
|
2166
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2167
|
+
} & UpdateNamespaceData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2168
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2169
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Namespace, unknown, ThrowOnError>;
|
|
2170
|
+
export const deleteNamespace: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2171
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2172
|
+
} & DeleteNamespaceData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2173
|
+
export const createSession: <ThrowOnError extends boolean = false>(options: {
|
|
2174
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2175
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2176
|
+
cache?: RequestCache;
|
|
2177
|
+
credentials?: RequestCredentials;
|
|
2178
|
+
integrity?: string;
|
|
2179
|
+
keepalive?: boolean;
|
|
2180
|
+
mode?: RequestMode;
|
|
2181
|
+
redirect?: RequestRedirect;
|
|
2182
|
+
referrer?: string;
|
|
2183
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2184
|
+
signal?: AbortSignal;
|
|
2185
|
+
window?: null;
|
|
2186
|
+
path?: Record<string, unknown>;
|
|
2187
|
+
query?: Record<string, unknown>;
|
|
2188
|
+
baseUrl?: string;
|
|
2189
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2190
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2191
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2192
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2193
|
+
throwOnError?: ThrowOnError;
|
|
2194
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2195
|
+
} & CreateSessionData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2196
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2197
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Session, unknown, ThrowOnError>;
|
|
2198
|
+
export const listSessions: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2199
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2200
|
+
} & ListSessionsData) => import("@hey-api/client-fetch").RequestResult<ListSessionsResponse, unknown, ThrowOnError>;
|
|
2201
|
+
export const getSession: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2202
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2203
|
+
} & GetSessionData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Session, unknown, ThrowOnError>;
|
|
2204
|
+
export const updateSession: <ThrowOnError extends boolean = false>(options: {
|
|
2205
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2206
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2207
|
+
cache?: RequestCache;
|
|
2208
|
+
credentials?: RequestCredentials;
|
|
2209
|
+
integrity?: string;
|
|
2210
|
+
keepalive?: boolean;
|
|
2211
|
+
mode?: RequestMode;
|
|
2212
|
+
redirect?: RequestRedirect;
|
|
2213
|
+
referrer?: string;
|
|
2214
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2215
|
+
signal?: AbortSignal;
|
|
2216
|
+
window?: null;
|
|
2217
|
+
path?: Record<string, unknown>;
|
|
2218
|
+
query?: Record<string, unknown>;
|
|
2219
|
+
baseUrl?: string;
|
|
2220
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2221
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2222
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2223
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2224
|
+
throwOnError?: ThrowOnError;
|
|
2225
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2226
|
+
} & UpdateSessionData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2227
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2228
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Session, unknown, ThrowOnError>;
|
|
2229
|
+
export const deleteSession: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2230
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2231
|
+
} & DeleteSessionData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2232
|
+
export const createCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
2233
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2234
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2235
|
+
cache?: RequestCache;
|
|
2236
|
+
credentials?: RequestCredentials;
|
|
2237
|
+
integrity?: string;
|
|
2238
|
+
keepalive?: boolean;
|
|
2239
|
+
mode?: RequestMode;
|
|
2240
|
+
redirect?: RequestRedirect;
|
|
2241
|
+
referrer?: string;
|
|
2242
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2243
|
+
signal?: AbortSignal;
|
|
2244
|
+
window?: null;
|
|
2245
|
+
path?: Record<string, unknown>;
|
|
2246
|
+
query?: Record<string, unknown>;
|
|
2247
|
+
baseUrl?: string;
|
|
2248
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2249
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2250
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2251
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2252
|
+
throwOnError?: ThrowOnError;
|
|
2253
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2254
|
+
} & CreateCaptchaData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2255
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2256
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2257
|
+
export const listCaptchas: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2258
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2259
|
+
} & ListCaptchasData) => import("@hey-api/client-fetch").RequestResult<ListCaptchasResponse, unknown, ThrowOnError>;
|
|
2260
|
+
export const getCaptcha: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2261
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2262
|
+
} & GetCaptchaData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2263
|
+
export const updateCaptcha: <ThrowOnError extends boolean = false>(options: {
|
|
2264
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2265
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2266
|
+
cache?: RequestCache;
|
|
2267
|
+
credentials?: RequestCredentials;
|
|
2268
|
+
integrity?: string;
|
|
2269
|
+
keepalive?: boolean;
|
|
2270
|
+
mode?: RequestMode;
|
|
2271
|
+
redirect?: RequestRedirect;
|
|
2272
|
+
referrer?: string;
|
|
2273
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2274
|
+
signal?: AbortSignal;
|
|
2275
|
+
window?: null;
|
|
2276
|
+
path?: Record<string, unknown>;
|
|
2277
|
+
query?: Record<string, unknown>;
|
|
2278
|
+
baseUrl?: string;
|
|
2279
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2280
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2281
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2282
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2283
|
+
throwOnError?: ThrowOnError;
|
|
2284
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2285
|
+
} & UpdateCaptchaData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2286
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2287
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").Captcha, unknown, ThrowOnError>;
|
|
2288
|
+
export const deleteCaptcha: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2289
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2290
|
+
} & DeleteCaptchaData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2291
|
+
export const sendEmail: <ThrowOnError extends boolean = false>(options: {
|
|
2292
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2293
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2294
|
+
cache?: RequestCache;
|
|
2295
|
+
credentials?: RequestCredentials;
|
|
2296
|
+
integrity?: string;
|
|
2297
|
+
keepalive?: boolean;
|
|
2298
|
+
mode?: RequestMode;
|
|
2299
|
+
redirect?: RequestRedirect;
|
|
2300
|
+
referrer?: string;
|
|
2301
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2302
|
+
signal?: AbortSignal;
|
|
2303
|
+
window?: null;
|
|
2304
|
+
path?: Record<string, unknown>;
|
|
2305
|
+
query?: Record<string, unknown>;
|
|
2306
|
+
baseUrl?: string;
|
|
2307
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2308
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2309
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2310
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2311
|
+
throwOnError?: ThrowOnError;
|
|
2312
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2313
|
+
} & SendEmailData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2314
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2315
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2316
|
+
export const createEmailRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2317
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2318
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2319
|
+
cache?: RequestCache;
|
|
2320
|
+
credentials?: RequestCredentials;
|
|
2321
|
+
integrity?: string;
|
|
2322
|
+
keepalive?: boolean;
|
|
2323
|
+
mode?: RequestMode;
|
|
2324
|
+
redirect?: RequestRedirect;
|
|
2325
|
+
referrer?: string;
|
|
2326
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2327
|
+
signal?: AbortSignal;
|
|
2328
|
+
window?: null;
|
|
2329
|
+
path?: Record<string, unknown>;
|
|
2330
|
+
query?: Record<string, unknown>;
|
|
2331
|
+
baseUrl?: string;
|
|
2332
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2333
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2334
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2335
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2336
|
+
throwOnError?: ThrowOnError;
|
|
2337
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2338
|
+
} & CreateEmailRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2339
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2340
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2341
|
+
export const listEmailRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2342
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2343
|
+
} & ListEmailRecordsData) => import("@hey-api/client-fetch").RequestResult<ListEmailRecordsResponse, unknown, ThrowOnError>;
|
|
2344
|
+
export const getEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2345
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2346
|
+
} & GetEmailRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2347
|
+
export const updateEmailRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2348
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2349
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2350
|
+
cache?: RequestCache;
|
|
2351
|
+
credentials?: RequestCredentials;
|
|
2352
|
+
integrity?: string;
|
|
2353
|
+
keepalive?: boolean;
|
|
2354
|
+
mode?: RequestMode;
|
|
2355
|
+
redirect?: RequestRedirect;
|
|
2356
|
+
referrer?: string;
|
|
2357
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2358
|
+
signal?: AbortSignal;
|
|
2359
|
+
window?: null;
|
|
2360
|
+
path?: Record<string, unknown>;
|
|
2361
|
+
query?: Record<string, unknown>;
|
|
2362
|
+
baseUrl?: string;
|
|
2363
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2364
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2365
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2366
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2367
|
+
throwOnError?: ThrowOnError;
|
|
2368
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2369
|
+
} & UpdateEmailRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2370
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2371
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").EmailRecord, unknown, ThrowOnError>;
|
|
2372
|
+
export const deleteEmailRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2373
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2374
|
+
} & DeleteEmailRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2375
|
+
export const listIndustries: <ThrowOnError extends boolean = false>(options?: {
|
|
2376
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2377
|
+
cache?: RequestCache;
|
|
2378
|
+
credentials?: RequestCredentials;
|
|
2379
|
+
integrity?: string;
|
|
2380
|
+
keepalive?: boolean;
|
|
2381
|
+
mode?: RequestMode;
|
|
2382
|
+
redirect?: RequestRedirect;
|
|
2383
|
+
referrer?: string;
|
|
2384
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2385
|
+
signal?: AbortSignal;
|
|
2386
|
+
window?: null;
|
|
2387
|
+
path?: Record<string, unknown>;
|
|
2388
|
+
query?: Record<string, unknown>;
|
|
2389
|
+
baseUrl?: string;
|
|
2390
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2391
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2392
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2393
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2394
|
+
throwOnError?: ThrowOnError;
|
|
2395
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2396
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListIndustriesResponse, unknown, ThrowOnError>;
|
|
2397
|
+
export const listRegions: <ThrowOnError extends boolean = false>(options?: {
|
|
2398
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2399
|
+
cache?: RequestCache;
|
|
2400
|
+
credentials?: RequestCredentials;
|
|
2401
|
+
integrity?: string;
|
|
2402
|
+
keepalive?: boolean;
|
|
2403
|
+
mode?: RequestMode;
|
|
2404
|
+
redirect?: RequestRedirect;
|
|
2405
|
+
referrer?: string;
|
|
2406
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2407
|
+
signal?: AbortSignal;
|
|
2408
|
+
window?: null;
|
|
2409
|
+
path?: Record<string, unknown>;
|
|
2410
|
+
query?: Record<string, unknown>;
|
|
2411
|
+
baseUrl?: string;
|
|
2412
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2413
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2414
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2415
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2416
|
+
throwOnError?: ThrowOnError;
|
|
2417
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2418
|
+
}) => import("@hey-api/client-fetch").RequestResult<ListRegionsResponse, unknown, ThrowOnError>;
|
|
2419
|
+
export const sendSms: <ThrowOnError extends boolean = false>(options: {
|
|
2420
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2421
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2422
|
+
cache?: RequestCache;
|
|
2423
|
+
credentials?: RequestCredentials;
|
|
2424
|
+
integrity?: string;
|
|
2425
|
+
keepalive?: boolean;
|
|
2426
|
+
mode?: RequestMode;
|
|
2427
|
+
redirect?: RequestRedirect;
|
|
2428
|
+
referrer?: string;
|
|
2429
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2430
|
+
signal?: AbortSignal;
|
|
2431
|
+
window?: null;
|
|
2432
|
+
path?: Record<string, unknown>;
|
|
2433
|
+
query?: Record<string, unknown>;
|
|
2434
|
+
baseUrl?: string;
|
|
2435
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2436
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2437
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2438
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2439
|
+
throwOnError?: ThrowOnError;
|
|
2440
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2441
|
+
} & SendSmsData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2442
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2443
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
2444
|
+
export const createSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2445
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2446
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2447
|
+
cache?: RequestCache;
|
|
2448
|
+
credentials?: RequestCredentials;
|
|
2449
|
+
integrity?: string;
|
|
2450
|
+
keepalive?: boolean;
|
|
2451
|
+
mode?: RequestMode;
|
|
2452
|
+
redirect?: RequestRedirect;
|
|
2453
|
+
referrer?: string;
|
|
2454
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2455
|
+
signal?: AbortSignal;
|
|
2456
|
+
window?: null;
|
|
2457
|
+
path?: Record<string, unknown>;
|
|
2458
|
+
query?: Record<string, unknown>;
|
|
2459
|
+
baseUrl?: string;
|
|
2460
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2461
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2462
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2463
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2464
|
+
throwOnError?: ThrowOnError;
|
|
2465
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2466
|
+
} & CreateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2467
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2468
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2469
|
+
export const listSmsRecords: <ThrowOnError extends boolean = false>(options?: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2470
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2471
|
+
} & ListSmsRecordsData) => import("@hey-api/client-fetch").RequestResult<ListSmsRecordsResponse, unknown, ThrowOnError>;
|
|
2472
|
+
export const getSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2473
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2474
|
+
} & GetSmsRecordData) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2475
|
+
export const updateSmsRecord: <ThrowOnError extends boolean = false>(options: {
|
|
2476
|
+
headers?: Record<string, unknown> | HeadersInit;
|
|
2477
|
+
method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
|
|
2478
|
+
cache?: RequestCache;
|
|
2479
|
+
credentials?: RequestCredentials;
|
|
2480
|
+
integrity?: string;
|
|
2481
|
+
keepalive?: boolean;
|
|
2482
|
+
mode?: RequestMode;
|
|
2483
|
+
redirect?: RequestRedirect;
|
|
2484
|
+
referrer?: string;
|
|
2485
|
+
referrerPolicy?: ReferrerPolicy;
|
|
2486
|
+
signal?: AbortSignal;
|
|
2487
|
+
window?: null;
|
|
2488
|
+
path?: Record<string, unknown>;
|
|
2489
|
+
query?: Record<string, unknown>;
|
|
2490
|
+
baseUrl?: string;
|
|
2491
|
+
bodySerializer?: import("@hey-api/client-fetch").BodySerializer;
|
|
2492
|
+
fetch?: (request: Request) => Promise<Response>;
|
|
2493
|
+
parseAs?: "arrayBuffer" | "blob" | "formData" | "json" | "text" | "auto" | "stream";
|
|
2494
|
+
querySerializer?: import("@hey-api/client-fetch").QuerySerializer | import("@hey-api/client-fetch").QuerySerializerOptions;
|
|
2495
|
+
throwOnError?: ThrowOnError;
|
|
2496
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2497
|
+
} & UpdateSmsRecordData & Pick<Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2498
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2499
|
+
}, "headers">) => import("@hey-api/client-fetch").RequestResult<import("types.gen").SmsRecord, unknown, ThrowOnError>;
|
|
2500
|
+
export const deleteSmsRecord: <ThrowOnError extends boolean = false>(options: Omit<import("@hey-api/client-fetch").RequestOptionsBase<ThrowOnError>, "url"> & {
|
|
2501
|
+
client?: import("@hey-api/client-fetch").Client<Request, Response, import("@hey-api/client-fetch").RequestOptions>;
|
|
2502
|
+
} & DeleteSmsRecordData) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
633
2503
|
|
|
634
2504
|
//# sourceMappingURL=types.d.ts.map
|